/* =========================================================
   LA GUARIDA BARBERÍA — Stylesheet
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ---------- Design tokens ---------- */
:root{
  /* Verdes */
  --green-950: #101d17;
  --green-900: #16231d;
  --green-800: #1d3229;
  --green-700: #26463a;
  --green-600: #335c4c;

  /* Marrones cuero */
  --brown-900: #3a2a1c;
  --brown-700: #6b4a32;
  --brown-500: #8c6142;
  --brown-300: #c79b6f;

  /* Dorados */
  --gold-700: #a5822f;
  --gold-500: #c9a24b;
  --gold-400: #d8b968;
  --gold-muted: #c3b48e;

  /* Neutros / cremas */
  --cream-100: #faf6ee;
  --cream-200: #f3ecdf;
  --cream-300: #e8ddc8;
  --ink: #1c1712;
  --ink-soft: #4a4238;

  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 8px 24px -12px rgba(16, 29, 23, 0.35);
  --shadow-md: 0 20px 50px -18px rgba(16, 29, 23, 0.45);

  --ease: cubic-bezier(.4,0,.2,1);

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

/* ---------- Base ---------- */
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container{
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

::selection{ background: var(--gold-500); color: var(--green-950); }

:focus-visible{ outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* Bilingual helper */
.es, .en{ display: block; }
.en{
  font-style: italic;
  font-weight: 400;
  opacity: .68;
  font-size: .82em;
  margin-top: .3em;
}
h1 .en, h2 .en{ font-size: .42em; letter-spacing: 0; margin-top: .35em; }
p.about__paragraph.en{ font-size: .92em; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn .icon{ width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn .icon--stroke{ fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn span.es, .btn span.en{ display: inline; font-style: normal; opacity: 1; font-size: 1em; margin: 0; }
.btn span.en{ display: none; }

.btn--gold{
  background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
  color: var(--green-950);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover{ transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(197,150,40,.55); }
.btn--gold:active{ transform: translateY(0); }

.btn--ghost{
  background: transparent;
  color: var(--cream-100);
  border: 1.5px solid rgba(250,246,238,.4);
}
.btn--ghost:hover{ border-color: var(--gold-400); color: var(--gold-400); }

.btn--outline-light{
  background: transparent;
  border: 1.5px solid var(--gold-muted);
  color: var(--cream-100);
  margin-top: 8px;
}
.btn--outline-light:hover{ background: var(--gold-500); color: var(--green-950); border-color: var(--gold-500); }

.btn--outline-dark{
  background: transparent;
  border: 1.5px solid var(--brown-500);
  color: var(--green-950);
}
.btn--outline-dark:hover{ background: var(--green-950); color: var(--cream-100); border-color: var(--green-950); }

.btn--sm{ padding: 11px 20px; font-size: 13px; }
.btn--block{ width: 100%; }

/* ---------- Nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled{
  background: rgba(16, 29, 23, .92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 8px 30px -16px rgba(0,0,0,.5);
}
.nav__inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand{ flex-shrink: 0; }
.nav__logo{ height: 46px; width: auto; transition: height .3s var(--ease); }
.nav.is-scrolled .nav__logo{ height: 38px; }

.nav__links{ display: flex; align-items: center; gap: 30px; }
.nav__link{
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream-200);
  position: relative;
  padding-bottom: 4px;
  margin-right: 30px;
}
.nav__link:last-of-type{ margin-right: 0; }
@supports (gap: 1px){
  .nav__link{ margin-right: 0; }
}
.nav__link .en{ display: none; }
.nav__link::after{
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold-500);
  transition: right .25s var(--ease);
}
.nav__link:hover::after{ right: 0; }
.nav__link:hover{ color: var(--gold-400); }

.nav__cta{ margin-left: 6px; }
.nav__cta .en{ display: none; }

.nav__burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
}
.nav__burger span{
  display: block; height: 2px; width: 100%;
  background: var(--cream-100);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-950);
}
.hero__media{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero__img{ width: 100%; height: 100%; object-fit: cover; object-position: 78% 14%; }
.hero__scrim{
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(0deg, rgba(16,29,23,.97) 0%, rgba(16,29,23,.6) 40%, rgba(16,29,23,.3) 60%, rgba(16,29,23,.62) 100%),
    linear-gradient(100deg, rgba(16,29,23,.92) 0%, rgba(16,29,23,.72) 30%, rgba(16,29,23,.2) 58%, rgba(16,29,23,0) 72%);
}
.hero__content{
  position: relative;
  z-index: 2;
  padding-bottom: 110px;
  padding-top: 160px;
  max-width: 760px;
}
.eyebrow{
  font-family: var(--font-head);
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  margin-bottom: 18px;
}
.eyebrow .en{ opacity: .75; margin-top: 4px; letter-spacing: .08em; }
.eyebrow::before{
  content: "";
  display: inline-block;
  width: 30px; height: 2px;
  background: var(--gold-500);
  margin-right: 10px;
  vertical-align: middle;
}

.hero__title{
  color: var(--cream-100);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__sub{ max-width: 520px; margin-bottom: 36px; }
.hero__sub .es{ color: var(--cream-200); font-size: 1.05rem; }
.hero__sub .en{ color: var(--cream-300); }

.hero__actions{ display: flex; flex-wrap: wrap; gap: 16px; }
.hero__link-services{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cream-300);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.hero__link-services span[aria-hidden]{ transition: transform .2s var(--ease); }
.hero__link-services:hover{ color: var(--gold-400); border-color: var(--gold-400); }
.hero__link-services:hover span[aria-hidden]{ transform: translateY(2px); }

.hero__scroll{
  position: absolute;
  right: 40px; bottom: 40px;
  z-index: 2;
  width: 30px; height: 50px;
  border: 1.5px solid rgba(250,246,238,.5);
  border-radius: 20px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 8px;
}
.hero__scroll span{
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: scrollDot 1.8s infinite var(--ease);
}
@keyframes scrollDot{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(14px); opacity: 0; }
  100%{ opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee{
  background: var(--green-900);
  border-top: 1px solid rgba(201,162,75,.25);
  border-bottom: 1px solid rgba(201,162,75,.25);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track{
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  color: var(--gold-muted);
}
.marquee__dot{ color: var(--gold-500); font-size: 12px; }
@keyframes marqueeScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Section shared ---------- */
section{ padding: 110px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }

.section-eyebrow{
  font-family: var(--font-head);
  color: var(--brown-500);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  margin-bottom: 12px;
}
.section-eyebrow .en{ opacity: .7; margin-top: 2px; }
.section-eyebrow::before{
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--gold-500);
  margin-right: 10px;
  vertical-align: middle;
}

.section-title{
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-950);
}
.section-title .en{ color: var(--brown-500); }

/* Variantes para fondos oscuros — declaradas después de las reglas
   base para ganar la cascada (misma especificidad, orden decide) */
.section-head--light .section-title,
.section-eyebrow--light,
.section-title--light{ color: var(--cream-100); }
.section-head--light .section-title .en,
.section-title--light .en{ color: var(--gold-muted); }

/* ---------- About ---------- */
.about{ background: var(--cream-100); }
.about__grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about__media{ position: relative; }
.about__img{
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
}
.about__badge{
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gold-500);
  color: var(--green-950);
  border-radius: 50%;
  width: 118px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about__badge-year{ font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.about__badge-text{ font-family: var(--font-head); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.about__badge-text .en{ opacity: .75; font-size: 9px; margin-top: 1px; }

.about__paragraph{ color: var(--ink-soft); margin-bottom: 16px; }
.about__paragraph.es{ font-size: 1.02rem; }
.about__paragraph.en{ font-style: italic; opacity: .72; }

.about__stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-300);
}
.about__stat-num{
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-700);
}
.about__stat-label{ font-size: .8rem; color: var(--ink-soft); margin-top: 4px; }
.about__stat-label .en{ font-size: .85em; margin-top: 1px; }

/* ---------- Services ---------- */
.services{ background: var(--cream-200); }
.services__grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.service-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border-top: 3px solid transparent;
  flex: 1 1 300px;
  max-width: 360px;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold-500);
}
.service-card__icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card__icon svg{
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card__title{
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--green-950);
  margin-bottom: 10px;
}
.service-card__title .en{ color: var(--brown-500); }
.service-card__desc{ color: var(--ink-soft); font-size: .95rem; }
.service-card__desc.en{ font-size: .88rem; }

.services__cta{
  text-align: center;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--cream-300);
}
.services__note{
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brown-700);
  font-size: 1rem;
  margin-bottom: 22px;
}
.services__note .en{ opacity: .7; margin-top: 4px; font-size: .82em; }
.services__cta-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Gallery ---------- */
.gallery{ background: var(--green-950); padding-bottom: 90px; }
.gallery__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery__item{
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
  width: 100%;
}
.gallery__item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
  filter: saturate(.92) brightness(.93);
}
.gallery__item::after{
  content: "+";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--cream-100);
  background: rgba(16,29,23,0);
  transition: background .35s var(--ease), opacity .35s var(--ease);
  opacity: 0;
}
.gallery__item:hover::after{ background: rgba(16,29,23,.45); opacity: 1; }
.gallery__item:hover img{ transform: scale(1.07); filter: saturate(1) brightness(1); }

/* Lightbox */
.lightbox{
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 300;
  background: rgba(10,16,13,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open{ display: flex; }
.lightbox img{ max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: var(--shadow-md); }
.lightbox__close{
  position: absolute; top: 24px; right: 28px;
  color: var(--cream-100);
  font-size: 2.4rem;
  line-height: 1;
}

/* ---------- Location ---------- */
.location{ background: var(--green-900); color: var(--cream-100); }
.location__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.location__row{
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.location__icon{
  width: 24px; height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.6;
  margin-top: 3px;
}
.location__row strong{
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  color: var(--gold-400);
  display: block;
  margin-bottom: 4px;
}
.location__row strong .en{ opacity: .75; font-size: .82em; margin-top: 1px; color: var(--gold-muted); }
.location__row p{ color: var(--cream-100); font-size: .97rem; font-weight: 500; }
.location__row a:hover{ color: var(--gold-400); }
.location__closed{ opacity: .7; font-size: .85rem !important; margin-top: 2px; color: var(--cream-300) !important; font-weight: 400 !important; }

.location__map{
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201,162,75,.25);
}

/* ---------- FAQ ---------- */
.faq{ background: var(--cream-100); }
.faq__list{ max-width: 780px; }
.faq__item{
  border-bottom: 1px solid var(--cream-300);
  padding: 22px 0;
}
.faq__item summary{
  cursor: pointer;
  font-family: var(--font-head);
  color: var(--green-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq__item summary::-webkit-details-marker{ display: none; }
.faq__q{ font-size: 1.05rem; }
.faq__q .en{ font-size: .78em; margin-top: 5px; }
.faq__item summary::after{
  content: "+";
  font-size: 1.6rem;
  color: var(--gold-700);
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after{ content: "–"; }
.faq__item p{ color: var(--ink-soft); margin-top: 14px; max-width: 640px; }
.faq__item p.en{ font-style: italic; opacity: .72; font-size: .92em; }

/* ---------- Contact / Form ---------- */
.contact{ background: var(--cream-200); }
.contact__grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}
.contact__lead{ color: var(--ink-soft); margin-top: 18px; }
.contact__lead.en{ font-style: italic; opacity: .72; margin-top: 6px; }

.contact__alt{
  margin-top: 36px;
  padding: 26px 28px;
  background: var(--cream-100);
  border: 1.5px dashed var(--brown-300);
  border-radius: var(--radius-md);
}
.contact__alt-text{ margin-bottom: 16px; }
.contact__alt-text .es{ color: var(--green-950); font-family: var(--font-head); font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.contact__alt-text .en{ color: var(--ink-soft); margin-top: 4px; }

.contact__form{
  background: var(--white);
  padding: 42px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.field{ margin-bottom: 22px; }
.field label{
  display: block;
  font-family: var(--font-head);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--green-900);
  margin-bottom: 8px;
}
.field label .en{ display: inline; opacity: .6; font-style: italic; font-size: .9em; margin: 0 0 0 4px; }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  background: var(--cream-100);
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--gold-500);
  background: var(--white);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 100px; }
.field__hint{ text-align: center; margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }
.field__hint .en{ opacity: .65; }

/* ---------- Footer ---------- */
.footer{ background: var(--green-950); color: var(--cream-200); padding-top: 90px; }
.footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,246,238,.1);
}
.footer__logo{ height: 52px; width: auto; margin-bottom: 18px; }
.footer__tagline{ max-width: 280px; font-size: .9rem; }
.footer__tagline .es{ color: var(--cream-200); }
.footer__tagline .en{ color: var(--cream-300); opacity: .6; }
.footer__social{ display: flex; gap: 14px; margin-top: 22px; }
.footer__social a{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,238,.25);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.footer__social svg{ width: 18px; height: 18px; fill: none; stroke: var(--cream-100); stroke-width: 1.6; }
.footer__social a:hover{ background: var(--gold-500); border-color: var(--gold-500); }
.footer__social a:hover svg{ stroke: var(--green-950); }

.footer__col h4{
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold-muted);
  margin-bottom: 18px;
}
.footer__col h4 .en{ opacity: .7; }
.footer__col a, .footer__col p{
  display: block;
  font-size: .9rem;
  color: var(--cream-300);
  margin-bottom: 10px;
}
.footer__col a:hover{ color: var(--gold-400); }
.footer__col .en{ opacity: .6; }

.footer__bottom{
  text-align: center;
  padding: 26px 0;
  font-size: .8rem;
  color: var(--cream-300);
  opacity: .6;
}
.footer__bottom .en{ display: inline; opacity: 1; margin: 0 0 0 6px; font-style: normal; }

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp{
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3fbf6f, #1f9e52);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 32px -10px rgba(31,158,82,.55);
  animation: fabPulse 2.6s infinite var(--ease);
}
.fab-whatsapp svg{ width: 28px; height: 28px; fill: var(--white); }
.fab-whatsapp:hover{ animation: none; transform: scale(1.08); }
@keyframes fabPulse{
  0%, 100%{ box-shadow: 0 14px 32px -10px rgba(31,158,82,.55), 0 0 0 0 rgba(63,191,111,.5); }
  50%{ box-shadow: 0 14px 32px -10px rgba(31,158,82,.55), 0 0 0 12px rgba(63,191,111,0); }
}

/* ---------- Scroll reveal (below-the-fold, JS-driven) ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Hero entrance (CSS-only, never depends on JS) ---------- */
.hero-anim{
  opacity: 0;
  animation: heroIn .8s var(--ease) forwards;
}
@keyframes heroIn{
  from{ opacity: 0; transform: translateY(22px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .hero-anim{ opacity: 1; animation: none; }
  .marquee__track, .fab-whatsapp, .hero__scroll span{ animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .about__grid{ grid-template-columns: 1fr; gap: 48px; }
  .about__media{ max-width: 460px; margin-inline: auto; }
  .services__grid .service-card{ flex-basis: 45%; }
  .location__grid{ grid-template-columns: 1fr; }
  .location__map{ min-height: 340px; }
  .contact__grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer__grid{ grid-template-columns: 1fr 1fr; gap: 40px 30px; }
}

@media (max-width: 860px){
  .nav__links{
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(78vw, 340px);
    background: var(--green-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.5);
  }
  .nav__links.is-open{ transform: translateX(0); }
  .nav__link{ font-size: 18px; }
  .nav__cta{ margin-left: 0; margin-top: 10px; }
  .nav__burger{ display: flex; }

  .gallery__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px){
  section{ padding: 76px 0; }
  .container{ padding-inline: 20px; }

  .hero__content{ padding-top: 130px; padding-bottom: 80px; }
  .hero__title{ font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn{ width: 100%; }
  .hero__scroll{ display: none; }

  .services__grid .service-card{ flex-basis: 100%; max-width: 440px; }
  .about__stats{ grid-template-columns: 1fr; gap: 18px; }
  .about__badge{ width: 92px; height: 92px; right: -12px; bottom: -18px; }

  .footer__grid{ grid-template-columns: 1fr; }
  .contact__form{ padding: 28px 22px; }

  .location__map{ min-height: 280px; }
}

@media (max-width: 420px){
  .hero__title{ font-size: 2rem; }
  .btn{ padding: 14px 22px; font-size: 13px; }
}
