/* ============================================
   Infinex Wealth — Site Styles
   Dark navy + gold accent design
   Cormorant Garamond (headings) + Manrope (body)
   Dark/light alternating sections
   ============================================ */

:root {
  /* Dark Navy Backgrounds */
  --bg:            #0A1628;
  --bg-alt:        #0D1E35;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.055);

  /* Light Backgrounds */
  --bg-light:      #F7F5F1;
  --bg-light-alt:  #FFFFFF;

  /* Gold Palette */
  --gold:          #C9A84C;
  --gold-bright:   #E4C06E;
  --gold-dim:      rgba(201, 168, 76, 0.12);
  --gold-border:   rgba(201, 168, 76, 0.38);
  --gold-border-hover: rgba(201, 168, 76, 0.7);

  /* Green — logo accent only, not used for buttons */
  --green:         #2EBD59;

  /* Text — dark section defaults */
  --text:          #FFFFFF;
  --text-muted:    rgba(255, 255, 255, 0.55);
  --text-dim:      rgba(255, 255, 255, 0.3);
  --border:        rgba(255, 255, 255, 0.08);

  /* Typography */
  --font:          'Manrope', system-ui, sans-serif;
  --font-display:  'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --xs:  0.5rem;
  --sm:  1rem;
  --md:  2rem;
  --lg:  4rem;
  --xl:  6.5rem;

  --max:    1140px;
  --radius: 8px;
}

/* ─── LIGHT SECTION OVERRIDE ─── */
/* Redefine CSS variables at section level — all children inherit automatically */
.section-light {
  background: var(--bg-light);
  --text:          #0A1628;
  --text-muted:    #3A4E65;
  --text-dim:      rgba(10, 22, 40, 0.35);
  --border:        rgba(10, 22, 40, 0.1);
  --bg-card:       #FFFFFF;
  --bg-card-hover: #F0EDE8;
  --gold-dim:      rgba(201, 168, 76, 0.1);
}
/* Specific overrides for elements with hardcoded rgba whites */
.section-light .qualifications li {
  background: rgba(10, 22, 40, 0.04);
  border-color: var(--border);
}
.section-light .contact-form input,
.section-light .contact-form textarea,
.section-light .contact-form select {
  background: white;
  border-color: rgba(10, 22, 40, 0.15);
  color: #0A1628;
}
.section-light .contact-form input::placeholder,
.section-light .contact-form textarea::placeholder {
  color: rgba(10, 22, 40, 0.38);
}
.section-light .contact-form select option {
  background: white;
  color: #0A1628;
}
.section-light .framework-note strong { color: #0A1628; }
.section-light .services-additional strong { color: #0A1628; }

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--md); }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 48px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.02em;
}
.logo-divider {
  display: block;
  width: 1px; height: 32px;
  background: var(--gold-border);
  flex-shrink: 0;
}
.logo-tagline {
  display: flex; flex-direction: column; gap: 0.08rem;
}
.logo-tagline span {
  display: block;
  font-size: 0.52rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0.75;
  line-height: 1.3;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links li a:not(.btn) {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); transition: color 0.2s;
}
.nav-links li a:not(.btn):hover { color: var(--text); }
.nav-cta a:not(.btn-gold-fill) { color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--text);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600; font-size: 0.9rem; font-family: var(--font);
  border: none; cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-gold-outline {
  background: transparent;
  border: 1.5px solid var(--gold-border);
  color: var(--gold);
}
.btn-gold-outline:hover { border-color: var(--gold); background: var(--gold-dim); }
.btn-white-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.btn-white-outline:hover { border-color: rgba(255,255,255,0.55); color: white; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn-gold-fill { background: var(--gold); color: #0A1628; font-weight: 700; }
.btn-gold-fill:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.85rem;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bg);
  padding: calc(var(--xl) + 60px) 0 var(--xl);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-tagline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}
.tag-sep { color: rgba(201,168,76,0.4); font-weight: 300; }

.hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1rem; color: var(--text-muted);
  margin-bottom: 2rem; max-width: 440px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* Hero image right panel */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.hero-visual .hero-tagline { margin-bottom: 0; }
.hero-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%;
  max-height: 480px;
  position: relative;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* CSS-only fallback grid pattern if no image */
.hero-image-fallback {
  width: 100%; height: 100%; min-height: 400px;
  background: linear-gradient(160deg, #0F2A45 0%, #1B3E66 50%, #0D2035 100%);
  position: relative;
}
.hero-image-fallback::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px, transparent 1px, transparent 64px);
}
.hero-image-fallback::after {
  content: 'Add hero-building.jpg\Ato images/';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-family: monospace;
  color: rgba(201,168,76,0.3); text-align: center; white-space: pre;
  letter-spacing: 0.05em;
}

/* ─── THE INFINEX EDGE ─── */
.edge-section {
  padding: var(--lg) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.edge-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem; align-items: start;
}
.edge-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600; color: var(--gold); line-height: 1.2;
}
.edge-heading p {
  font-size: 0.875rem; color: var(--text-muted);
  margin-top: 0.75rem; line-height: 1.7;
}
.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.edge-item { display: flex; flex-direction: column; gap: 0.65rem; }
.edge-icon { width: 38px; height: 38px; color: var(--gold); }
.edge-item h3 {
  font-size: 0.975rem; font-weight: 700; color: var(--text); line-height: 1.35;
}
.edge-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.68; }

/* ─── STATS ─── */
.stats-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: flex; }
.stat-item {
  flex: 1; text-align: center;
  padding: 2.75rem var(--md); position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 48px; background: var(--border);
}
.stat-num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: var(--text);
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
  max-width: 120px; margin: 0 auto; line-height: 1.45;
}
.stats-registrations {
  text-align: center;
  padding: 0.875rem; border-top: 1px solid var(--border);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── SECTION BASE ─── */
.section { padding: var(--xl) 0; }
.section-alt { background: var(--bg-alt); }
.section-header { margin-bottom: var(--lg); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; color: var(--gold);
  line-height: 1.2; margin-bottom: 0.75rem;
}
.section-header .section-sub {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 580px; line-height: 1.75;
}

/* ─── WHO WE WORK WITH ─── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.who-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 1.5rem; position: relative; overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}
.who-card:hover { background: var(--bg-card-hover); border-color: var(--gold-border-hover); }
.who-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; color: var(--gold); margin-bottom: 0.75rem;
}
.who-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.who-card::after {
  content: '↗'; position: absolute; bottom: 1rem; right: 1rem;
  font-size: 0.85rem; color: var(--gold-border); transition: color 0.2s;
}
.who-card:hover::after { color: var(--gold); }

.section-tagline {
  text-align: center; margin-top: var(--lg);
  font-size: 0.9rem; font-style: italic; color: var(--text-muted);
  max-width: 640px; margin-left: auto; margin-right: auto;
  padding-top: var(--md); border-top: 1px solid var(--border);
}

/* ─── PROBLEMS ─── */
.problems-inner { max-width: 800px; margin: 0 auto; }
.problems-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600;
  color: var(--gold); margin-bottom: var(--md); line-height: 1.25;
}
.problems-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem; margin-bottom: var(--md);
}
.problems-list li {
  font-size: 0.88rem; color: var(--text-muted);
  padding: 0.875rem 1rem 0.875rem 2.4rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); position: relative; line-height: 1.5;
  transition: border-color 0.2s;
}
.problems-list li:hover { border-color: var(--gold-border); }
.problems-list li::before {
  content: '→'; position: absolute; left: 0.875rem;
  color: var(--gold); font-weight: 700;
}
.problems-resolution {
  text-align: center; font-size: 0.95rem; font-weight: 600; color: var(--gold);
  padding: 1.25rem; background: var(--gold-dim);
  border: 1px solid var(--gold-border); border-radius: var(--radius);
}

/* ─── ABOUT ─── */
.about-inner {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 4rem; align-items: start;
}
.about-photo img {
  border-radius: var(--radius); width: 100%;
  aspect-ratio: 3/4; object-fit: cover; object-position: top center;
  border: 1px solid var(--gold-border);
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600;
  color: var(--gold); margin-bottom: 0.25rem;
}
.about-role {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: var(--sm);
}
.about-content > p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: var(--sm); }
.qualifications {
  margin: var(--sm) 0; padding: 1.25rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.qual-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.6rem;
}
.qualifications ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.qualifications li {
  font-size: 0.8rem; color: var(--text-muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 20px; padding: 0.25rem 0.75rem;
}
.about-firm {
  font-size: 0.9rem; color: var(--text-muted);
  margin-top: var(--sm); font-style: italic; line-height: 1.7;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 1rem;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--gold-border);
  border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  position: relative; overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}
.service-card:hover { background: var(--bg-card-hover); border-color: var(--gold-border-hover); }
.service-card::after {
  content: '↗'; position: absolute; bottom: 1rem; right: 1rem;
  font-size: 0.85rem; color: var(--gold-border); transition: color 0.2s;
}
.service-card:hover::after { color: var(--gold); }
.service-icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 0.25rem; }
.service-num { font-size: 0.7rem; font-weight: 800; color: var(--gold-border); letter-spacing: 0.1em; }
.service-card h3 { font-size: 0.975rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.68; }
.services-additional {
  padding: 1.5rem; background: var(--gold-dim);
  border: 1px solid var(--gold-border); border-radius: var(--radius);
}
.services-additional-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem;
}
.services-additional p { font-size: 0.9rem; color: var(--text-muted); }
.services-additional strong { color: var(--text); }

/* ─── PHILOSOPHY ─── */
.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 1rem;
}
.philosophy-item {
  padding: 1.75rem; border-top: 2px solid var(--gold-border);
  background: var(--bg-card);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: border-top-color 0.2s;
}
.philosophy-item:hover { border-top-color: var(--gold); }
.philosophy-item h3 { font-size: 0.925rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; line-height: 1.4; }
.philosophy-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.framework-note {
  text-align: center; padding: 1.25rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--text-muted); background: var(--bg-card);
}
.framework-note strong { color: var(--text); }

/* ─── PROCESS ─── */
.process-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: var(--lg); align-items: start;
}
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-dim); border: 1.5px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-circle span { font-size: 0.68rem; font-weight: 800; color: var(--gold); }
.step-content h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.step-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.process-visual img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--gold-border);
  position: sticky; top: 100px;
}

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  color: var(--text); position: relative; line-height: 1.4; transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--gold); transition: transform 0.2s; font-weight: 300;
}
.faq-item.open .faq-q { color: var(--gold); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* ─── CONTACT ─── */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--lg); align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600;
  color: var(--gold); margin-bottom: 0.75rem;
}
.contact-info > p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--md); }
.contact-details { display: flex; flex-direction: column; gap: var(--sm); margin-bottom: var(--md); }
.contact-details p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.contact-details strong {
  display: block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.2rem;
}
.contact-details a { color: var(--text); transition: color 0.2s; }
.contact-details a:hover { color: var(--gold); }
.social-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-links a {
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 20px; padding: 0.35rem 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--gold-border); color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 0.875rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.8rem 1rem; border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 6px; font-family: var(--font); font-size: 0.9rem;
  background: rgba(255,255,255,0.04); color: var(--text); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form select { cursor: pointer; }
.contact-form select option { background: #0D1E35; color: var(--text); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none; border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; }

/* ─── FOOTER ─── */
.footer {
  background: #060F1C;
  border-top: 1px solid var(--border);
  padding: var(--lg) 0 var(--md);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--md); margin-bottom: var(--md);
  padding-bottom: var(--md); border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.footer-brand-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--gold); margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; max-width: 240px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { margin-bottom: var(--md); padding-bottom: var(--md); border-bottom: 1px solid var(--border); }
.footer-legal p { font-size: 0.72rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 0.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sm); }
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }
.footer-bottom a { color: var(--gold); }

/* ─── FLOATING WHATSAPP ─── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  background: #25D366; width: 54px; height: 54px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3); transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column; align-items: flex-start;
    padding: 1.5rem var(--md); gap: var(--sm); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-top: var(--xs); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .edge-inner { grid-template-columns: 1fr; gap: var(--md); }
  .edge-grid { grid-template-columns: 1fr; gap: var(--md); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo img { max-width: 200px; margin: 0 auto; aspect-ratio: 1; }
  .process-layout { grid-template-columns: 1fr; }
  .process-visual { order: -1; max-width: 480px; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --xl: 4.5rem; --lg: 3rem; }
  .stats-grid { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; }
  .stat-item + .stat-item::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .problems-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .who-grid { grid-template-columns: 1fr; }
  .stat-item { flex: 1 1 100%; }
}
