/* ============================================================
   COLMENA PADEL — PREMIUM LANDING PAGE
   Forest green #11402D · Lime accent #73CC33 · WA green #25D366
   Fonts: Sora (headings) / Inter (body)
   ============================================================ */

/* ---------------- Design tokens ---------------- */
:root {
  --primary:        #11402d;
  --primary-soft:   #0b3d2c;
  --primary-fg:     #ffffff;
  --secondary:      #f2f8f5;
  --muted:          #f2f6f4;
  --muted-fg:       #5c7066;
  --border:         #e1eae5;
  --ink:            #111814;
  --lime:           #73cc33;
  --lime-dim:       #7cac39;
  --lime-lit:       #96c653;
  --wa:             #25d366;
  --wa-deep:        #128c7e;

  --radius:         16px;
  --radius-lg:      24px;

  --shadow-xs:      0 2px 20px rgba(0, 0, 0, .03);
  --shadow-sm:      0 4px 30px rgba(0, 0, 0, .06);
  --shadow-lg:      0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --shadow-green:   0 10px 50px -20px rgba(11, 61, 44, .3);
  --shadow-green-hover: 0 18px 50px -12px rgba(11, 61, 44, .18);
  --shadow-wa:      0 10px 40px -10px rgba(37, 211, 102, .6);
  --shadow-wa-hover:0 14px 50px -8px rgba(37, 211, 102, .7);

  --font-heading: "Sora", "Cairo", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", "Cairo", ui-sans-serif, system-ui, sans-serif;
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--primary-fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------------- Heading system ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3, h4, h5, h6 { font-weight: 600; }

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--primary); color: var(--primary-fg); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------- Utilities ---------------- */
.container {
  width: min(1280px, 92%);
  margin-inline: auto;
}

.section { padding-block: clamp(84px, 12vw, 128px); }

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 300;
  padding: .7rem 1.2rem;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top .25s ease;
}
.skip-link:focus { top: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1),
              background-color .3s ease,
              color .3s ease,
              border-color .3s ease,
              box-shadow .3s ease;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(.98); }
.btn svg { flex-shrink: 0; }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-nav { padding: .62rem 1.25rem; font-size: .92rem; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 90%, white); box-shadow: var(--shadow-green-hover); }

.btn-wa {
  background: var(--wa);
  color: var(--primary-fg);
  box-shadow: var(--shadow-wa);
}
.btn-wa:hover { background: var(--wa-deep); box-shadow: var(--shadow-wa-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--primary-fg);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .55); }

.btn-outline {
  background: var(--primary-fg);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}
.btn-outline:hover { border-color: var(--lime-dim); color: var(--lime-dim); }

/* ---------------- Header / Nav ---------------- */
.site-header {
  --nav-fg: #ffffff;
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  transition: background-color .5s ease, box-shadow .5s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 80px;
  color: var(--nav-fg);
  transition: color .5s ease, height 350ms cubic-bezier(.22, 1, .36, 1), gap 350ms cubic-bezier(.22, 1, .36, 1);
}
.site-header.scrolled .nav { color: var(--primary); height: 60px; gap: .75rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo__img { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.logo--footer .logo__img { width: 34px; height: 34px; }
.logo__word { font-size: 1.25rem; font-weight: 800; font-family: var(--font-heading); letter-spacing: -.03em; }
.logo__accent { color: var(--lime-dim); }
.logo--footer .logo__word { color: var(--primary-fg); }
.logo--footer .logo__accent { color: var(--lime); }

.nav-links { display: none; align-items: center; gap: 2rem; }

/* Direction-aware hiding: only hide when scrolling down past threshold */
.site-header.nav-hidden .nav-links {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(.22, 1, .36, 1), transform 200ms cubic-bezier(.22, 1, .36, 1), visibility 200ms;
}

.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
  position: relative;
  padding-block: .35rem;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--lime-lit); }
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .7rem; }

/* ---- Language switcher (nav dropdown) ---- */
.lang-switcher { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  font-size: .85rem;
  font-weight: 600;
  transition: background-color .25s ease, border-color .25s ease;
}
.lang-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.lang-btn__current { min-width: 22px; text-align: center; }
.lang-btn__chev { transition: transform .25s ease; }
.lang-btn[aria-expanded="true"] .lang-btn__chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 170px;
  background: var(--primary-fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-green);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 30;
}
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .8rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease;
}
.lang-menu li:hover { background: var(--secondary); }
.lang-menu li[aria-selected="true"] { color: var(--primary); background: var(--secondary); }
.lang-menu li span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
}
.lang-menu li[aria-selected="true"] span:first-child { background: var(--primary); color: var(--primary-fg); }
.lang-menu__name { flex: 1; }

/* ---- Mobile toggle + menu ---- */
.nav-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  transition: background-color .25s ease;
}
.nav-toggle:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mobile-menu.open { display: block; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 5%;
}
.mobile-menu__links a {
  padding: .85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .2s ease;
}
.mobile-menu__links a:hover { background: var(--secondary); }
.mobile-menu__links .btn { margin-top: .5rem; justify-content: center; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--primary-fg);
  overflow: hidden;
}

.hero__media, .hero__overlay, .hero__tint { position: absolute; inset: 0; }

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .7), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .85));
}
.hero__tint { background: color-mix(in srgb, var(--primary) 30%, transparent); mix-blend-mode: multiply; }

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding-block: 96px 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero__title {
  margin-top: 1.4rem;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__title > span { display: block; }

.hero__subtitle {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  font-weight: 400;
  color: rgba(255, 255, 255, .8);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  margin-top: 2.4rem;
  width: min(100%, 360px);
}
.hero__actions .btn { width: 100%; }

.hero__scroll {
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .7);
  transition: color .25s ease;
}
.hero__scroll:hover { color: var(--primary-fg); }
.hero__scroll-icon { animation: heroBounce 2s ease-in-out infinite; }
@keyframes heroBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hero__scroll-text { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------- Section headers ---------------- */
.section__head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 56px); }

.section__kicker {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}

.section__title {
  margin-top: .75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}

.section__subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--muted-fg);
  text-wrap: pretty;
}

.section__head--light .section__kicker { color: var(--lime); }
.section__head--light .section__title { color: var(--primary-fg); }
.section__head--light .section__subtitle { color: rgba(255, 255, 255, .75); }

/* ---------------- Why cards ---------------- */
.why { background: var(--primary-fg); }

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(17, 64, 45, .06);
  border-radius: 20px;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  box-shadow: 0 4px 18px rgba(17, 64, 45, .04);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transition:
    transform 380ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 380ms cubic-bezier(.22, 1, .36, 1);
}
.card::before {
  display: none;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  color: var(--primary);
  background: rgba(17, 64, 45, .06);
  transition: background-color 380ms cubic-bezier(.22, 1, .36, 1), color 380ms cubic-bezier(.22, 1, .36, 1);
}
.card__icon svg { width: 26px; height: 26px; }

.card:hover {
  z-index: 2;
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 16px 40px rgba(17, 64, 45, .10);
}
.card:hover .card__icon {
  background: var(--primary);
  color: #ffffff;
}

.card__title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); margin-bottom: .5rem; }
.card__text { font-family: var(--font-body); font-size: .95rem; font-weight: 400; letter-spacing: 0; line-height: 1.65; color: var(--muted-fg); flex: 1; }

/* ---------------- Google Reviews ---------------- */
.reviews { background: var(--secondary); }

.reviews__embed {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(17, 64, 45, .06);
  background: var(--primary-fg);
}
.reviews__iframe-wrap {
  position: relative;
  width: 100%;
  min-height: 300px;
}
.reviews__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}
.reviews__cta { margin-top: 2.5rem; text-align: center; }

/* ---------------- Community Highlights ---------------- */
.reels { background: var(--secondary); }

.reels__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1080px;
  margin-inline: auto;
}

.reel-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--primary-fg);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.reel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-green-hover); }
.reel-card:focus-visible { outline: 3px solid var(--accent, #73cc33); outline-offset: 3px; }

.reel-card__skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--primary) 10%, white);
  overflow: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.reel-card__skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(17, 64, 45, .10), transparent);
  animation: reelShimmer 1.6s infinite;
}
.reel-card.is-loaded .reel-card__skeleton {
  opacity: 0;
  visibility: hidden;
}
@keyframes reelShimmer {
  100% { transform: translateX(100%); }
}

.reel-card__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .5s ease;
}
.reel-card:hover .reel-card__img { transform: scale(1.09); }

.reel-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 45%);
  opacity: 0;
  transition: opacity .4s ease;
}
.reel-card:hover .reel-card__overlay { opacity: 1; }

.reel-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--primary);
  box-shadow: var(--shadow-wa);
  transform: translate(-50%, -50%);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), background .3s ease;
}
.reel-card__play svg { margin-inline-start: 4px; }
.reel-card:hover .reel-card__play { transform: translate(-50%, -50%) scale(1.12); }

.reel-card__ig {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .3s ease, background .3s ease;
}
.reel-card:hover .reel-card__ig { transform: scale(1.1); }

.reels__cta { margin-top: 3rem; text-align: center; }

/* ---------------- Social band ---------------- */
.social { background: var(--primary); }

.social__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 560px;
  margin-inline: auto;
}

.social__link {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.social__link:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-lg);
}
.social__link--instagram:hover { color: #e1306c; }
.social__link--tiktok:hover { color: var(--primary-fg); }
.social__link--whatsapp:hover { color: var(--wa); }
.social__link--maps:hover { color: #4285f4; }

/* ---------------- Location ---------------- */
.location { background: color-mix(in srgb, var(--secondary) 50%, white); }

.location__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .95rem;
  color: var(--muted-fg);
  margin-bottom: 2.5rem;
}
.location__address svg { color: var(--primary); }

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-green);
}
.location__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(.9) contrast(1.02);
  transition: filter .5s ease;
}
.location__map:hover iframe { filter: grayscale(0); }

.location__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
  margin-top: 2.5rem;
}

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); }
.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding-block: clamp(52px, 7vw, 72px);
  text-align: center;
}

.footer__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.footer__social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .8);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, color .3s ease;
}
.footer__social:hover { transform: translateY(-4px); border-color: var(--lime-dim); color: var(--lime-lit); }

.footer__lang {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: 4px;
}
.footer__pill {
  padding: .4rem 1.1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  transition: background-color .25s ease, color .25s ease;
}
.footer__pill:hover { color: var(--primary-fg); }
.footer__pill.active { background: var(--primary-fg); color: var(--ink); }

.footer__divider { width: 100%; max-width: 320px; height: 1px; background: rgba(255, 255, 255, .1); }

.footer__copy { font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer__tagline { font-size: .78rem; color: rgba(255, 255, 255, .3); }

/* ---------------- Floating WhatsApp ---------------- */
.wa-float {
  position: fixed;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--primary-fg);
  box-shadow: var(--shadow-wa);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}
.wa-float:hover { transform: scale(1.1); box-shadow: var(--shadow-wa-hover); }

.wa-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: waPulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(.9);   opacity: .7; }
  70%  { transform: scale(1.6);  opacity: 0; }
  100% { transform: scale(1.6);  opacity: 0; }
}

/* ---------------- Scroll reveal ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (min-width: 640px) {
  .hero__actions { width: min(100%, 560px); flex-direction: row; }
  .hero__actions .btn { flex: 1 1 0; width: auto; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .reels__grid { grid-template-columns: repeat(2, 1fr); }
  .social__grid { grid-template-columns: repeat(4, 1fr); }
  .social__link { width: 80px; aspect-ratio: auto; height: 80px; justify-self: center; }
  .location__map iframe { height: 460px; }
  .location__actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .reels__grid { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 2.25rem; }
}

@media (max-width: 639px) {
  .nav__actions .btn-nav { display: none; }
  .reviews__iframe-wrap,
  .reviews__iframe { min-height: 260px; }
  .location__map iframe { height: 260px; }
  .social__grid { gap: .75rem; }
  .social__link { width: 70px; height: 70px; }
}

@media (min-width: 375px) and (max-width: 639px) {
  .reviews__iframe-wrap,
  .reviews__iframe { min-height: 300px; }
  .location__map iframe { height: 300px; }
}

/* ---------------- RTL adjustments ---------------- */
html[dir="rtl"] .section__title,
html[dir="rtl"] .hero__title { letter-spacing: 0; }
html[dir="rtl"] .hero__title { line-height: 1.25; }
html[dir="rtl"] .section__kicker,
html[dir="rtl"] .hero__scroll-text { letter-spacing: .04em; }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
