/* ============================================================
   Marisol Esquivias — Nutrióloga
   styles.css
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Colors */
  --white:        #FFFFFF;
  --bg-alt:       #FAFAF8;
  --green:        #3E6B3E;
  --green-light:  #E8F0E4;
  --green-text:   #3A6632;
  --terra:        #C8783C;
  --terra-light:  #FDF6F2;
  --text:         #1A1E18;
  --text-sec:     #6B7468;
  --text-muted:   #8A9088;
  --text-faint:   #AAA;
  --border:       #E8E8E8;
  --border-alt:   #EDEDED;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py:   80px;
  --container:    1100px;
  --radius-card:  16px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 48px;
}

/* ── Section ────────────────────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section--alt { background: var(--bg-alt); }

.section__header { margin-bottom: 48px; }
.section__header--center { text-align: center; }
.section__header--center .tag { display: inline-block; }
.section__sub {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 13px;
}

/* ── Headings ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--text); }
h2 { font-size: 27px; line-height: 1.3; margin-top: 10px; }
h3 { font-size: 20px; line-height: 1.3; }

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}
.tag--green { background: var(--green-light); color: var(--green-text); }

/* ── Eyebrow ────────────────────────────────────────────────── */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

/* ── Hero tagline ───────────────────────────────────────────── */
.hero__tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--green-text);
  margin-bottom: 18px;
  opacity: 0.85;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 99px;
  transition: background 200ms, color 200ms, transform 200ms, box-shadow 200ms;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
}
.btn--primary:hover { background: #325a32; border-color: #325a32; }

/* Pulso en botón primario del hero únicamente */
.hero__actions .btn--primary {
  animation: ctaPulse 2.5s ease-in-out 2s infinite;
}
.btn--outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn--outline:hover { background: var(--green-light); }
.btn--full { width: 100%; justify-content: center; }
.btn:active { transform: scale(0.98); }

/* ── Badges ─────────────────────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge {
  font-size: 11px;
  font-weight: 400;
  color: var(--green-text);
  border: 1px solid #c2d8bc;
  background: var(--green-light);
  padding: 5px 14px;
  border-radius: 99px;
}
.badge--sm {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}
.badge--curso {
  background: var(--green-light);
  color: var(--green-text);
  border-color: #c2d8bc;
}

/* ── Checklist ──────────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist li {
  padding-left: 22px;
  position: relative;
  color: var(--text-sec);
  font-size: 13px;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 500;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 20px;
}

/* ── Card ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform 200ms, box-shadow 200ms;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

/* ── Fade-in animation ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in--delay { transition-delay: 0.15s; }
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border-alt);
}
.nav__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 48px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F0F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
}
.nav__logo-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__link {
  font-size: 11px;
  color: var(--text-faint);
  transition: color 200ms;
}
.nav__link:hover { color: var(--text); }
.nav__cta { margin-left: 20px; padding: 8px 18px; font-size: 12px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — Keyframes
   ============================================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes imgReveal {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62,107,62,0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(62,107,62,0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--bg-alt); padding-top: 70px; overflow: hidden; }

.hero__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: flex-end;
  min-height: 440px;
}

/* Entrada escalonada del copy */
.hero__copy { padding-bottom: 60px; max-width: 520px; }

.hero__copy .eyebrow {
  animation: heroFadeUp 0.6s ease both;
  animation-delay: 0.1s;
}
.hero__copy .hero__tagline {
  animation: heroFadeUp 0.6s ease both;
  animation-delay: 0.18s;
}
.hero__copy .hero__h1 {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.25s;
}
.hero__copy .hero__sub {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.4s;
}
.hero__copy .hero__quote {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.55s;
}
.hero__copy .hero__actions {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.7s;
}

.hero__h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
  margin-top: 6px;
}
.hero__h1-italic {
  font-style: italic;
  color: var(--green);
}

.hero__sub {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 22px;
}

.hero__quote {
  border-left: 2px solid var(--green);
  padding-left: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: #4A6845;
  margin-bottom: 28px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual — entrada desde la derecha */
.hero__visual {
  animation: heroFadeLeft 0.8s ease both;
  animation-delay: 0.3s;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero__img-wrap {
  width: 300px;
  height: 460px;
  border-radius: 150px 150px 0 0;
  overflow: hidden;
  flex-shrink: 0;
  animation: imgReveal 0.9s ease both;
  animation-delay: 0.35s;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Floating card — flota y rebota suavemente */
.hero__card {
  animation: heroFadeUp 0.7s ease both, float 4s ease-in-out 1s infinite;
  animation-delay: 0.8s, 1.5s;
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-width: 180px;
}
.hero__card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-sec);
  margin-bottom: 4px;
}
.hero__card-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--green);
  line-height: 1;
}
.hero__card-price span { font-size: 13px; color: var(--text-sec); }

/* Hero strip */
.hero__strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-sec);
}
.hero__strip-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-right: 4px;
}
.hero__strip-sep { color: var(--border); }

/* ============================================================
   SOBRE MÍ
   ============================================================ */
.sobre__grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 64px;
  align-items: start;
}
.sobre__img-wrap { border-radius: var(--radius-card); overflow: hidden; height: 520px; }
.sobre__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sobre__copy h2 { margin-top: 12px; margin-bottom: 18px; }
.sobre__copy p { color: var(--text-sec); margin-bottom: 14px; }

.sobre__extra { margin-top: 0; overflow: hidden; }
.sobre__extra[hidden] { display: none; }
.sobre__ver-mas { margin-bottom: 20px; font-size: 13px; padding: 7px 18px; }

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.esp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.esp__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.esp__label--green { background: var(--green-light); color: var(--green-text); }
.esp__label--terra { background: #fde8d4; color: #9b5a24; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.serv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
}
.serv__card--terra {
  background: var(--terra-light);
  border-color: #e8c5a0;
}
.serv__badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #fde8d4;
  color: #9b5a24;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.serv__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.serv__label--green { color: var(--green-text); }
.serv__label--terra { color: #9b5a24; }
.serv__card h3 { font-size: 19px; margin-bottom: 10px; }
.serv__location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-sec);
}
.serv__location-icon { flex-shrink: 0; }
.serv__location--sub { padding-left: 20px; margin-top: -6px; font-size: 11px; }
.serv__map-link { color: var(--green-text); text-decoration: none; font-weight: 500; }
.serv__map-link:hover { text-decoration: underline; }
.serv__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.serv__price {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--green);
}
.serv__price small { font-family: var(--font-sans); font-size: 13px; color: var(--text-sec); }
.serv__price--terra { color: var(--terra); }
.serv__duration { font-size: 12px; color: var(--text-muted); }

/* Info note */
.serv__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 820px;
  margin: 24px auto 0;
  background: #F8F8F6;
  border: 1px solid var(--border-alt);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 12px;
  color: var(--text-sec);
}
.serv__note-icon {
  flex-shrink: 0;
  font-size: 15px;
  color: var(--green);
  font-weight: 500;
  margin-top: 1px;
}

/* ============================================================
   PARA QUIÉN ES
   ============================================================ */
.paraquien {
  position: relative;
  overflow: hidden;
}

.servicios {
  position: relative;
  overflow: hidden;
}

/* Foto única como fondo de servicios */
.serv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.serv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Velo blanco encima de las fotos */
.paraquien__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.60);
  z-index: 1;
}

/* Contenido por encima del fondo */
.paraquien > .container,
.servicios > .container {
  position: relative;
  z-index: 2;
}

.pq__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pq__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 200ms, box-shadow 200ms;
}
.pq__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.pq__icon {
  font-size: 28px;
  margin-bottom: 14px;
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pq__card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.35;
}
.pq__card p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.75;
}

/* ============================================================
   GALERÍA / CAROUSEL (reservado para uso futuro)
   ============================================================ */
/* Carousel */
.carousel {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  user-select: none;
}
.carousel__track-wrap {
  overflow: hidden;
  border-radius: 20px;
}
.carousel__track {
  display: flex;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  height: 480px;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: background 200ms, transform 200ms;
  z-index: 2;
  cursor: pointer;
}
.carousel__btn:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }

/* Dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 200ms, transform 200ms;
  padding: 0;
}
.carousel__dot--active {
  background: var(--green);
  transform: scale(1.25);
}

/* ============================================================
   CERTIFICACIONES
   ============================================================ */

/* Degradado diagonal de marca: verde claro → terracota claro */
.certs {
  background: linear-gradient(
    135deg,
    #eef4ea 0%,
    #ffffff 45%,
    #fdf0e8 100%
  );
}

.certs__list {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.certs__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  margin-bottom: 10px;
}
.certs__item:last-child { margin-bottom: 0; }
.certs__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.certs__icon--green { background: var(--green-light); }
.certs__icon--terra { background: var(--terra-light); }
.certs__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.certs__info strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text);
}
.certs__info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */

/* Testimonios — fondo plano */
.testimonios {
  position: relative;
}

.test__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.test__stars {
  color: var(--terra);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.test__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 4px;
}
.test__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-text);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.test__author div { display: flex; flex-direction: column; gap: 2px; }
.test__author strong { font-size: 13px; font-weight: 500; }
.test__author span { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto__info h2 { margin-top: 12px; margin-bottom: 16px; }
.contacto__sub {
  color: var(--text-sec);
  font-size: 13px;
  margin-bottom: 28px;
}
.contacto__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.contacto__details li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.contacto__icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.contacto__details a { color: var(--green); }
.contacto__details a:hover { text-decoration: underline; }

.contacto__stats {
  display: flex;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--text);
  line-height: 1;
}
.stat__label { font-size: 11px; color: var(--text-muted); }

/* Form */
.contacto__form-wrap {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 32px;
}
.contacto__form-title {
  font-size: 18px;
  margin-bottom: 24px;
  font-family: var(--font-serif);
}
.contacto__form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-sec);
}
.form__input {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 200ms;
  appearance: none;
  width: 100%;
}
.form__input:focus { border-color: var(--green); }
.form__select { cursor: pointer; }
.form__note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1A1E18;
  padding-block: 36px;
}
.footer__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2A3028;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.footer__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  color: #c8d4c8;
}
.footer__role {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4A7A4A;
}
.footer__copy {
  font-size: 12px;
  color: #4A6040;
}
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__link {
  font-size: 12px;
  color: #4A6040;
  transition: color 200ms;
}
.footer__link:hover { color: #c8d4c8; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(62,107,62,0.35);
  z-index: 999;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 300ms, transform 300ms, background 200ms;
}
.wa-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.wa-float:hover { background: #325a32; }

/* ============================================================
   RESPONSIVE — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .container { padding-inline: 24px; }

  /* Nav */
  .nav__container { padding-inline: 24px; gap: 0; }
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-alt);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .nav__links.open { display: flex; }
  .nav__link {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
  }
  .nav__cta { display: none; }

  /* Hero — Opción A: imagen arriba, gradiente hacia blanco, texto abajo */
  .hero {
    padding-top: 0;
    min-height: calc(100svh - 62px);
    min-height: calc(100vh - 62px);
    display: flex;
    flex-direction: column;
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    flex: 1;
    min-height: unset;
    position: relative;
  }

  /* Imagen arriba, ocupa ~45% */
  .hero__visual {
    position: relative;
    order: 0;
    width: 100%;
    height: 42vh;
    padding: 0;
    flex-shrink: 0;
  }
  .hero__img-wrap {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .hero__img {
    object-position: center top;
    opacity: 1;
    filter: none;
    transform: none;
  }
  .hero__card { display: none; }

  /* Contenido debajo de la imagen */
  .hero__copy {
    order: 1;
    background: none;
    border-radius: 0;
    padding: 20px 24px 8px;
    margin-top: 0;
  }
  .hero__copy .hero__h1 { font-size: 26px; margin-bottom: 10px; }
  .hero__copy .hero__sub { font-size: 13px; margin-bottom: 10px; }
  .hero__copy .hero__quote { margin-bottom: 16px; }

  .hero__strip {
    padding: 14px 20px;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    gap: 6px 8px;
  }
  .hero__strip-label { display: none; }

  /* Sobre mí */
  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sobre__img-wrap { height: 380px; }

  /* Especialidades */
  .esp__grid { grid-template-columns: 1fr; }

  /* Servicios */
  .serv__grid { grid-template-columns: 1fr; max-width: 100%; }

  /* Para quién es */
  .pq__grid { grid-template-columns: 1fr; }

  /* Galería / Carousel */
  .carousel__slide { height: 300px; }
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }

  /* Testimonios */
  .test__grid { grid-template-columns: 1fr; }

  /* Contacto */
  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Footer */
  .footer__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-inline: 24px;
  }
}

/* ── Small phones ───────────────────────────────────────────── */
@media (max-width: 420px) {
  .hero__h1 { font-size: 28px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contacto__stats { gap: 20px; }
}
