/* =========================================================
   AVDA MANAGEMENT — style.css
   Navy & Gold modern consulting theme
   ========================================================= */

:root {
  --navy-950: #070b16;
  --navy-900: #0c1224;
  --navy-800: #10182f;
  --navy-700: #16203e;
  --navy-600: #1e2c52;

  --gold: #c9a24b;
  --gold-light: #e6cd8f;
  --gold-dark: #a5813a;

  --ink: #171b26;
  --ink-soft: #4a4f5c;
  --off-white: #f7f5f0;
  --white: #ffffff;
  --line: #e7e3d9;

  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 20px 45px -20px rgba(10, 15, 30, 0.25);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

/* Anchor offset so fixed header doesn't cover section titles */
#home, #about, #services, #contact {
  scroll-margin-top: 84px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.center { text-align: center; }

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-900);
  max-width: 720px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-title.center { margin-left: auto; margin-right: auto; }

.section-sub {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 56px;
}
.section-sub.center { margin-left: auto; margin-right: auto; }

.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--navy-950);
  box-shadow: 0 12px 30px -10px rgba(201, 162, 75, 0.55);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(201, 162, 75, 0.65); }

.btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy-700); }

.btn-full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(7, 11, 22, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-950);
  font-weight: 800;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.brand-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-light);
  margin-left: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:not(.nav-cta):hover { color: var(--white); }
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--navy-950) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Alerts ---------- */
.alert {
  margin: 90px auto 0;
  max-width: var(--max-width);
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert-success { background: #e5f6ec; color: #1e7a46; border: 1px solid #b7e3c8; }
.alert-error { background: #fbe9e7; color: #a3341f; border: 1px solid #f3c2ba; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at top left, var(--navy-800), var(--navy-950) 65%);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 30%, black 20%, transparent 75%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -120px; left: -100px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #2c4585 0%, transparent 70%);
  bottom: -140px; right: -80px;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- Value strip / marquee ---------- */
.value-strip {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  overflow: hidden;
  padding: 14px 0;
}
.value-strip-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 22s linear infinite;
  color: var(--navy-950);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.value-strip-track span { padding: 0 6px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about { padding: 120px 0; background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy-900); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.01em; }
.about-content p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.02rem; }

.about-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.about-stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; color: var(--gold-dark); }
.stat-label { font-size: 0.82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

.about-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.about-card-glow {
  position: absolute;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(201,162,75,0.35), transparent 70%);
  top: -80px; right: -80px;
}
.about-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 22px; position: relative; }
.check-list { position: relative; display: flex; flex-direction: column; gap: 16px; }
.check-list li {
  color: rgba(255,255,255,0.85);
  padding-left: 30px;
  position: relative;
  font-size: 0.98rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(201,162,75,0.18);
  border: 1px solid var(--gold);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 6px; top: 7px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- Services ---------- */
.services { padding: 120px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.28rem; color: var(--navy-900); margin-bottom: 12px; font-weight: 800; }
.service-card > p { color: var(--ink-soft); margin-bottom: 20px; font-size: 0.98rem; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Why ---------- */
.why { padding: 110px 0; background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.why-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
}
.why-feature h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.why-feature p { color: rgba(255,255,255,0.62); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 90px 0;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,162,75,0.22), transparent 70%);
  top: -200px; right: -150px;
}
.cta-band-inner { text-align: center; position: relative; z-index: 1; }
.cta-band-inner h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.cta-band-inner p { color: rgba(255,255,255,0.68); margin-bottom: 30px; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact { padding: 120px 0; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--navy-900); font-weight: 800; margin: 6px 0 16px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 30px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
}
.contact-detail strong { color: var(--navy-900); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.contact-detail a { color: var(--gold-dark); font-weight: 600; }
.contact-map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--navy-900); }
.form-group input, .form-group textarea {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.18);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.consent-group { margin-bottom: 26px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 400;
  cursor: pointer;
}
.checkbox-label input { margin-top: 3px; accent-color: var(--gold-dark); }
.checkbox-label a { color: var(--gold-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 12px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 16px; max-width: 260px; }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }

.footer-bottom { padding: 26px 0; }
.footer-bottom-inner p { color: rgba(255,255,255,0.4); font-size: 0.82rem; text-align: center; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.5);
  z-index: 900;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 0.85rem; flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--gold-light); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 150px 0 60px;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.legal-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 8px 0; }
.legal-updated { color: rgba(255,255,255,0.5); font-size: 0.88rem; }

.legal-page { padding: 70px 0 110px; background: var(--white); }
.legal-container { max-width: 780px; }
.legal-container h2 { color: var(--navy-900); font-size: 1.35rem; font-weight: 800; margin: 38px 0 14px; }
.legal-container h2:first-of-type { margin-top: 0; }
.legal-container p { color: var(--ink-soft); margin-bottom: 14px; font-size: 1rem; }
.legal-container ul { margin: 0 0 16px 0; display: flex; flex-direction: column; gap: 10px; }
.legal-container ul li {
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  font-size: 0.98rem;
}
.legal-container ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.legal-container a { color: var(--gold-dark); font-weight: 600; }
.legal-container strong { color: var(--navy-900); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 68px; left: 16px; right: 16px;
    background: var(--navy-950);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  }
  .main-nav.mobile-open a { width: 100%; padding: 12px 6px; }
  .main-nav.mobile-open .nav-cta { text-align: center; margin-top: 8px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 120px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { gap: 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; left: 12px; right: 12px; bottom: 12px; }
}
