/* ============================================
   Dr. Rodrigo Helou — Urologista
   Premium Medical Website
   ============================================ */

:root {
  /* Brand palette */
  --navy:           #0E3349;
  --navy-deep:      #082432;
  --navy-soft:      #1d4a64;
  --navy-tint:      #2a5b78;

  /* Accents */
  --gold:           #B8946A;
  --gold-light:     #d4b78a;
  --gold-soft:      #efe4d3;

  /* Neutrals */
  --cream:          #F7F4EE;
  --warm-white:     #FBFAF6;
  --off-white:      #FAFAF8;
  --paper:          #F2EFE8;

  --gray-50:        #F5F4F0;
  --gray-100:       #EFEDE8;
  --gray-200:       #E0DDD6;
  --gray-300:       #C9C6BE;
  --gray-400:       #8B8B86;
  --gray-500:       #6B6B66;
  --gray-700:       #3C434A;
  --ink:            #14242F;
  --ink-soft:       #2A3742;

  --green-wa:       #25D366;

  /* Typography */
  --font-serif:     "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container:      1240px;
  --container-wide: 1380px;
  --radius:         6px;
  --radius-lg:      18px;
  --radius-pill:    999px;

  --header-h:       80px;

  /* Motion */
  --ease:           cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============== RESET ============== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease);
}

button { font: inherit; cursor: pointer; }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--navy); color: var(--cream); }

/* ============== LAYOUT ============== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
  position: relative;
}

.section-dark {
  background: var(--navy);
  color: var(--cream);
}
.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark .eyebrow.light {
  color: var(--cream);
}

/* ============== TYPOGRAPHY UTILS ============== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.light { color: var(--gold-light); }
.eyebrow.light::before { background: var(--gold); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.section-title.light { color: var(--cream); }
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}
.section-dark .section-title em { color: var(--gold-light); }

.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--gray-700);
  max-width: 620px;
  margin: 0;
}
.section-lead.light { color: rgba(247,244,238,0.78); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--gray-700);
  margin-bottom: 20px;
  font-weight: 400;
}

.section-head {
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 720px;
}

/* ============== BUTTONS ============== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  box-shadow: 0 10px 30px -12px rgba(14, 51, 73, 0.45);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(14, 51, 73, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247,244,238,0.4);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 0;
}
.btn-ghost svg { transition: transform .35s var(--ease); }
.btn-ghost:hover { color: var(--navy); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 22px -10px rgba(184,148,106,0.6);
}
.btn-gold:hover {
  background: #a78058;
  border-color: #a78058;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(184,148,106,0.7);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: #fff;
  border-color: var(--green-wa);
  border-radius: var(--radius-pill);
  padding: 17px 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,0.55);
}
.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(37,211,102,0.65);
}
.btn-whatsapp svg { width: 20px; height: 20px; }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247,244,238,0.45);
  border-radius: var(--radius-pill);
  padding: 17px 32px;
  font-weight: 500;
}
.btn-outline-light:hover {
  background: rgba(247,244,238,0.08);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 15.5px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap .3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============== HEADER ============== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(0px);
  background: transparent;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--cream);
}

/* Default (over dark hero) */
.site-header .nav-desktop a { color: rgba(247,244,238,0.85); }
.site-header .nav-desktop a:hover { color: var(--cream); }
.site-header .nav-desktop a::after { background: var(--gold-light); }
.site-header .menu-toggle span { background: var(--cream); }

/* Scrolled (over light sections) */
.site-header.scrolled {
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: rgba(20, 36, 47, 0.06);
  box-shadow: 0 4px 30px -20px rgba(14, 36, 47, 0.2);
}
.site-header.scrolled .nav-desktop a { color: var(--ink-soft); }
.site-header.scrolled .nav-desktop a:hover { color: var(--navy); }
.site-header.scrolled .nav-desktop a::after { background: var(--navy); }
.site-header.scrolled .menu-toggle span { background: var(--navy); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  user-select: none;
  -webkit-user-drag: none;
}
/* Header: stack both PNGs and crossfade between cream (on dark) and navy (on light) */
.site-header .brand { display: inline-block; height: 42px; }
.site-header .brand-logo {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .45s var(--ease);
}
.site-header .brand-logo-cream { position: relative; opacity: 1; }
.site-header .brand-logo-navy  { opacity: 0; }
.site-header.scrolled .brand-logo-cream { opacity: 0; }
.site-header.scrolled .brand-logo-navy  { opacity: 1; }

.footer-brand .brand-logo { height: 44px; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transition: right .35s var(--ease);
}
.nav-desktop a:hover { color: var(--navy); }
.nav-desktop a:hover::after { right: 0; }

.header-cta {
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-right: -10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  padding: calc(var(--header-h) + 40px) 32px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  padding: 16px 0;
  border-bottom: 1px solid rgba(247,244,238,0.08);
}
.mobile-nav a.btn {
  margin-top: 28px;
  border-bottom: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
}

/* ============== HERO (full-bleed editorial) ============== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--cream);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 25%;
  filter: grayscale(8%) contrast(0.96) brightness(0.92);
  animation: heroZoom 18s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8,28,40,0.95) 0%,
      rgba(8,28,40,0.85) 30%,
      rgba(8,28,40,0.55) 60%,
      rgba(8,28,40,0.35) 100%),
    linear-gradient(180deg,
      rgba(8,28,40,0.55) 0%,
      rgba(8,28,40,0.35) 45%,
      rgba(8,28,40,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 140px;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 36px;
  padding-bottom: 4px;
  position: relative;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 32px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero-paragraph {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: rgba(247,244,238,0.82);
  max-width: 540px;
  margin: 0 0 48px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


/* ============== ABOUT ============== */

.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.about-visual { position: relative; }

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 0 rgba(20,36,47,0.04),
    0 30px 60px -30px rgba(14,36,47,0.25);
}

.about-quote {
  position: absolute;
  bottom: -30px;
  right: -20px;
  max-width: 280px;
  padding: 26px 28px 28px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(14,36,47,0.4);
}
.quote-mark {
  display: block;
  font-size: 60px;
  line-height: 0.5;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--gray-200);
}
.credentials li {
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
}
.credentials li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--gray-200); }
.credentials li:nth-child(even) { padding-left: 24px; }

.credentials strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.credentials span {
  display: block;
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============== SPECIALTIES ============== */

.specialties { background: var(--cream); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card {
  background: var(--cream);
  padding: 36px 32px 40px;
  transition: background .4s var(--ease), transform .4s var(--ease);
  position: relative;
}
.card:hover {
  background: var(--warm-white);
}
.card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .5s var(--ease), left .5s var(--ease);
}
.card:hover::after {
  width: 100%;
  left: 0;
}

.card-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  font-weight: 400;
}

.card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14.5px;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.6;
}

/* ============== VALUES (dark) ============== */

.values { background: var(--navy); }

.values::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,106,0.3), transparent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247,244,238,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(247,244,238,0.08);
}

.value {
  background: var(--navy);
  padding: 44px 32px 48px;
  transition: background .5s var(--ease);
}
.value:hover {
  background: var(--navy-soft);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(212,183,138,0.3);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  margin-bottom: 28px;
}
.value-icon svg { width: 26px; height: 26px; }

.value h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
}

.value p {
  font-size: 14px;
  color: rgba(247,244,238,0.7);
  margin: 0;
  line-height: 1.6;
}

/* ============== EXPERIENCE (Clinic) ============== */

.experience { background: var(--off-white); }

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.experience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.experience-pills span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-pill);
}

.experience-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--cream);
  padding: 42px 32px;
  text-align: left;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.5;
}

/* ============== CTA SECTION ============== */

.cta-section {
  padding-block: clamp(80px, 11vw, 140px);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.cta-section::before {
  top: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(184,148,106,0.1), transparent 70%);
}
.cta-section::after {
  bottom: -40%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(184,148,106,0.08), transparent 70%);
}

.cta-inner {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.cta-inner .eyebrow {
  justify-content: center;
}
.cta-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.1;
}
.cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.cta-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(247,244,238,0.78);
  max-width: 580px;
  margin: 0 auto 44px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============== LOCATION ============== */

.location { background: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.location-copy .lead { margin-bottom: 32px; }

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}
.location-info li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.location-info li:first-child { border-top: 0; padding-top: 0; }
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; }
.location-info strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.location-info div {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.location-info a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

.location-map {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow:
    0 1px 0 0 rgba(20,36,47,0.04),
    0 30px 60px -30px rgba(14,36,47,0.25);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%) contrast(0.96);
}

/* ============== FOOTER ============== */

.site-footer {
  background: var(--navy-deep);
  color: rgba(247,244,238,0.7);
  padding-top: 80px;
  font-size: 14px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(247,244,238,0.55);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-col a,
.footer-col span {
  display: block;
  padding: 6px 0;
  color: rgba(247,244,238,0.7);
  font-size: 14px;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(247,244,238,0.08);
  padding-block: 24px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(247,244,238,0.5);
}
.footer-credit { letter-spacing: 0.05em; }

/* ============== FLOATING WHATSAPP ============== */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--green-wa);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,0.55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(37,211,102,0.65);
}
.wa-float svg { width: 22px; height: 22px; }

/* Mobile sticky CTA bar */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 75;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(20,36,47,0.08);
}
.mobile-sticky .btn { width: 100%; }

/* ============== REVEAL ANIMATIONS ============== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }

  .nav-desktop, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero { min-height: 100svh; }
  .hero-content { padding-top: calc(var(--header-h) + 36px); padding-bottom: 80px; }
  .hero-media img { object-position: 70% 18%; }
  .hero-shade {
    background:
      linear-gradient(180deg,
        rgba(8,28,40,0.7) 0%,
        rgba(8,28,40,0.55) 35%,
        rgba(8,28,40,0.85) 80%,
        rgba(8,28,40,0.95) 100%);
  }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .about-quote { right: 20px; bottom: -20px; max-width: 240px; font-size: 14px; padding: 22px 24px; }
  .credentials { grid-template-columns: 1fr; }
  .credentials li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .credentials li:nth-child(even) { padding-left: 0; }

  .experience-grid { grid-template-columns: 1fr; gap: 48px; }
  .location-grid { grid-template-columns: 1fr; gap: 48px; }
  .location-map { aspect-ratio: 4 / 3; }

  .mobile-sticky { display: block; }
  .wa-float { bottom: 88px; }
  body { padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }

  .section { padding-block: 72px; }

  .hero-headline { font-size: clamp(2.2rem, 10vw, 3.2rem); max-width: 100%; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.28em; margin-bottom: 28px; }
  .hero-paragraph { font-size: 1rem; margin-bottom: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn-whatsapp,
  .hero-actions .btn-outline-light { padding: 16px 24px; font-size: 14.5px; }

  .section-head { margin-bottom: 40px; }

  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .experience-stats { grid-template-columns: 1fr; }

  .cta-buttons .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
  .footer-bottom-inner { justify-content: flex-start; flex-direction: column; align-items: flex-start; }

  .wa-float span { display: none; }
  .wa-float { padding: 14px; }

  .about-quote { position: relative; right: auto; bottom: auto; margin: 20px auto 0; max-width: 100%; }
}

@media (max-width: 420px) {
  .brand-logo { height: 32px; }
}
