/* ============================================================
   GARDEN OASIS — Premium Stylesheet
   Inspired by high-end agency design (Apple, Webflow, Awwwards)
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  /* Brand palette */
  --clr-green-900: #1B4332;
  --clr-green-700: #2D6A4F;
  --clr-green-500: #40916C;
  --clr-green-300: #52B788;
  --clr-green-100: #B7E4C7;
  --clr-green-50: #D8F3DC;

  /* Neutrals */
  --clr-white: #FFFFFF;
  --clr-off-white: #F8FAF9;
  --clr-grey-100: #EEF2EF;
  --clr-grey-300: #C4CFC7;
  --clr-grey-500: #7A9180;
  --clr-grey-700: #3D4D42;
  --clr-black: #0D1F16;

  /* Semantic tokens */
  --bg-body: var(--clr-white);
  --bg-subtle: var(--clr-off-white);
  --bg-dark: var(--clr-black);
  --text-primary: var(--clr-black);
  --text-secondary: var(--clr-grey-700);
  --text-muted: var(--clr-grey-500);
  --text-inverse: var(--clr-white);
  --accent: var(--clr-green-700);
  --accent-light: var(--clr-green-300);
  --border: var(--clr-grey-100);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad-y: clamp(5rem, 10vw, 9rem);
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* WhatsApp Button */
  --whatsapp-green: #25D366;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(13, 31, 22, .06);
  --shadow-md: 0 8px 32px rgba(13, 31, 22, .10);
  --shadow-lg: 0 20px 60px rgba(13, 31, 22, .14);

  /* Transitions */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 0.25s;
  --dur-mid: 0.45s;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Utility: Container ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Utility: Screen reader only ────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Utility: Section base ──────────────────────────────────── */
.section {
  padding-block: var(--section-pad-y);
}

/* ── Utility: Section header ────────────────────────────────── */
.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-green-500);
  margin-bottom: .75rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  padding: .875rem 2rem;
  border-radius: var(--radius-xl);
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast),
    color var(--dur-fast);
  white-space: nowrap;
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--clr-green-500) 100%);
  color: var(--text-inverse);
  box-shadow: 0 6px 20px rgba(45, 106, 79, .3);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--clr-green-900) 0%, var(--accent) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(45, 106, 79, .4);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--light {
  background: var(--clr-white);
  color: var(--clr-green-900);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.btn--light:hover {
  background: var(--clr-green-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--clr-white);
  border: 1.5px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===================== WHATSAPP WIDGET (nuevo) ===================== */

.wa-widget {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 12000;
}

.wa-widget__btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .65rem 1rem;
  background: linear-gradient(180deg, rgba(18, 140, 126, 0.12), rgba(18, 140, 126, 0.08));
  border-radius: 14px;
  border: 1px solid rgba(18, 140, 126, 0.12);
  box-shadow: 0 10px 30px rgba(14, 80, 60, 0.06);
  text-decoration: none;
  color: var(--clr-green-900);
  transition: transform .16s var(--ease-out), box-shadow .16s ease, background .16s ease;
  backdrop-filter: blur(6px);
}

.wa-widget__btn:focus,
.wa-widget__btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(14, 80, 60, 0.09);
  background: rgba(18, 140, 126, 0.12);
}

.wa-widget__logo {
  width: 28px;
  height: 28px;
  display: block;
}

.wa-widget__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}

.wa-widget__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22);
  margin-left: 2px;
  opacity: .95;
  animation: waPulse 1.8s infinite ease-in-out;
}

@keyframes waPulse {
  0% {
    transform: scale(.9);
    opacity: .9
  }

  50% {
    transform: scale(1.15);
    opacity: 1
  }

  100% {
    transform: scale(.9);
    opacity: .9
  }
}

/* Responsive: move to bottom-right on small screens and hide label */
@media (max-width: 768px) {
  .wa-widget {
    left: auto;
    right: 1rem;
    transform: none;
    bottom: 1rem;
  }

  .wa-widget__label {
    display: none;
  }
}


/* Review CTA spacing */
.cta-section__review {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

/* ── LOADER ─────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--clr-green-900);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader__leaf {
  font-size: 3rem;
  animation: leafPulse 1s ease-in-out infinite alternate;
}

@keyframes leafPulse {
  from {
    transform: scale(1) rotate(-5deg);
  }

  to {
    transform: scale(1.15) rotate(5deg);
  }
}

.loader__bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, .15);
  border-radius: 99px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  width: 0%;
  background: var(--clr-green-300);
  border-radius: 99px;
  transition: width .05s linear;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  /* Reducido para que la barra quede más cerca del borde superior */
  padding-block: .85rem;
  display: flex;
  align-items: center;
  transition: padding var(--dur-mid) var(--ease-out),
    background var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);
  will-change: background;
}

.header.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 30px rgba(45, 106, 79, .12), 0 1px 0 var(--border);
  padding-block: .85rem;
  border-bottom: 1px solid rgba(45, 106, 79, .08);
}

.header__container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-right: auto;
  flex-shrink: 0;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: color var(--dur-fast);
  letter-spacing: -.01em;
}

.header.scrolled .header__logo-text {
  color: var(--clr-green-900);
}

/* Nav */
.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: block;
  }
}

.header__nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header__nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .01em;
  transition: color var(--dur-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--clr-green-300);
  border-radius: 99px;
  transition: width var(--dur-mid) var(--ease-out);
}

.header__nav-link:hover {
  color: var(--clr-white);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header.scrolled .header__nav-link {
  color: var(--text-secondary);
}

.header.scrolled .header__nav-link:hover {
  color: var(--accent);
}

/* Controls */
.header__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* CTA */
.header__cta {
  display: none;
  padding: .625rem 1.375rem;
  font-size: .875rem;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-flex;
    background: var(--clr-green-500);
    color: var(--clr-white);
    box-shadow: none;
  }
}

.header.scrolled .header__cta {
  background: var(--accent);
}

/* Language selector */
.lang-selector {
  position: relative;
}

.lang-selector__btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, .25);
  transition: all var(--dur-fast);
}

.header.scrolled .lang-selector__btn {
  color: var(--text-secondary);
  border-color: var(--border);
}

.lang-selector__btn:hover {
  border-color: var(--clr-green-300);
}

.lang-selector__btn svg {
  transition: transform var(--dur-fast);
}

.lang-selector.open .lang-selector__btn svg {
  transform: rotate(180deg);
}

.lang-selector__dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  background: var(--clr-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .5rem;
  box-shadow: var(--shadow-md);
  min-width: 150px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  z-index: 100;
}

.lang-selector.open .lang-selector__dropdown {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lang-selector__dropdown li {
  padding: .6rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast);
  color: var(--text-primary);
}

.lang-selector__dropdown li:hover {
  background: var(--clr-green-50);
}

.lang-selector__dropdown li.active {
  background: var(--clr-green-100);
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 99px;
  transform-origin: center;
  transition: transform var(--dur-mid) var(--ease-out),
    opacity var(--dur-fast),
    background var(--dur-fast);
}

.header.scrolled .hamburger__line {
  background: var(--clr-green-900);
}

.hamburger.open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 1023px) {
  .header__nav {
    display: block;
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    height: 100svh;
    background: var(--clr-green-900);
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    transition: transform var(--dur-mid) var(--ease-out),
      opacity var(--dur-mid);
  }

  .header__nav.open {
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .header__nav-link {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--clr-white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--dur-mid), transform var(--dur-mid);
  }

  .header__nav.open .header__nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav.open .header__nav-link:nth-child(1) {
    transition-delay: .1s;
  }

  .header__nav.open .header__nav-link:nth-child(2) {
    transition-delay: .15s;
  }

  .header__nav.open .header__nav-link:nth-child(3) {
    transition-delay: .2s;
  }

  .header__nav.open .header__nav-link:nth-child(4) {
    transition-delay: .25s;
  }

  .header__nav.open .header__nav-link:nth-child(5) {
    transition-delay: .3s;
  }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Evitar que el header fijo solape el contenido del hero */
:root {
  --header-offset: 4.5rem;
  /* ~72px */
}

.hero {
  padding-top: var(--header-offset);
}

.hero__bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* ── HERO CAROUSEL ─────────────────────────────────────────────── */
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out, transform 6s linear;
  will-change: opacity, transform;
}

.hero-carousel__slide.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 1;
}

.hero-carousel__slide.prev {
  opacity: 0;
  transform: scale(1);
  z-index: 0;
}

.hero-carousel__indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 20;
}

.hero-carousel__indicator {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.hero-carousel__indicator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 5s linear;
}

.hero-carousel__indicator.active {
  background: rgba(255, 255, 255, .5);
}

.hero-carousel__indicator.active::before {
  transform: scaleX(1);
}

.hero-carousel__indicator:hover {
  background: rgba(255, 255, 255, .6);
}

@media (max-width: 768px) {
  .hero-carousel__indicators {
    bottom: 7.5rem;
    /* Subido para no chocar con el SCROLL vertical en móviles */
  }

  .hero-carousel__indicator {
    width: 32px;
    height: 3px;
  }
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Reducir brillo para mejorar legibilidad del nav */
.hero__img {
  filter: brightness(0.7) contrast(0.98);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Más oscuro para mejorar contraste con el menú */
  background: linear-gradient(125deg,
      rgba(0, 0, 0, .55) 0%,
      rgba(13, 31, 22, .78) 25%,
      rgba(45, 106, 79, .38) 60%,
      rgba(82, 183, 136, .10) 100%);
  backdrop-filter: blur(2px);
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-green-300);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  opacity: 0;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--clr-green-300);
  border-radius: 99px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 2.5rem;
  opacity: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
}

/* ===================== MOBILE-FIRST FORM + LAYOUT IMPROVEMENTS ===================== */

/* Make hero shorter on small devices and keep header offset compact */
.hero {
  min-height: 70svh;
  padding-top: calc(var(--header-offset) * 0.6);
}

/* Form base (mobile-first): stacked layout, full-width inputs */
.cta-section__form {
  width: 100%;
  display: block;
  gap: 1rem;
}

.cta-section__form .form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  margin-bottom: 0.75rem;
}

.form-field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-body);
  color: var(--text-primary);
  font-size: .95rem;
  outline: none;
  transition: box-shadow .15s var(--ease-out), border-color .15s var(--ease-out);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.08);
}

/* Buttons: ensure full-width on mobile */
.cta-section__form .btn--full {
  width: 100%;
}

/* Success / error message visible styling */
#contactFormMessage {
  display: block;
  margin-top: .75rem;
  text-align: center;
  font-weight: 600;
}

/* Larger screens: two-column form layout and increased hero height */
@media (min-width: 768px) {
  .cta-section__form .form-row {
    flex-direction: row;
    gap: 1rem;
  }

  .form-field {
    flex: 1;
    margin-bottom: 0;
  }

  .hero {
    min-height: 85svh;
    padding-top: var(--header-offset);
  }

  .cta-section__form {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100svh;
  }
}

/* Minor touch: improve clickable tap area for footer links on mobile */
.footer__links a,
.footer__contact-info a {
  padding: .35rem .25rem;
  display: inline-block;
}

/* ===================== AREAS MAP: responsive iframe wrapper ===================== */
.areas__map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.areas__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.areas__map-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: .5rem;
  pointer-events: none;
}

.areas__map-open-btn {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-inverse);
  border: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* Map modal */
.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 13000;
}

.map-modal[aria-hidden="false"] {
  display: block;
}

.map-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.map-modal__content {
  position: absolute;
  inset: 4vh 4vw;
  background: var(--bg-body);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 0;
  padding: .4rem .6rem;
  border-radius: 8px;
  font-size: 1rem;
}

.map-modal__iframe-wrap {
  flex: 1;
  position: relative;
}

.map-modal__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .map-modal__content {
    inset: 0.5rem;
    border-radius: 8px;
  }

  .areas__map-overlay {
    top: auto;
    bottom: 1rem;
    transform: translateX(-50%);
  }
}

@media (max-width: 520px) {
  .areas__map-frame {
    aspect-ratio: 4 / 3;
  }
}


/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
}

.hero__scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--clr-green-300), transparent);
  border-radius: 99px;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* ── STATS ─────────────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--clr-green-900) 0%, var(--clr-green-700) 100%);
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(82, 183, 136, .15) 0%, transparent 70%);
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stats__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: all var(--dur-fast) var(--ease-out);
}

.stats__icon i {
  font-size: 1.5rem;
  color: var(--clr-green-300);
}

.stats__item:hover .stats__icon {
  transform: scale(1.1);
  background: rgba(82, 183, 136, .25);
  border-color: rgba(82, 183, 136, .4);
}

.stats__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats__number {
  display: inline;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1;
  letter-spacing: -.04em;
}

.stats__plus {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--clr-green-300);
}

.stats__label {
  margin-top: .75rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
  letter-spacing: .02em;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services {
  background: var(--bg-subtle);
}

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

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(216, 243, 220, .5);
  border: 1px solid rgba(82, 183, 136, .2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform var(--dur-fast),
    box-shadow var(--dur-mid),
    border-color var(--dur-fast),
    background var(--dur-fast),
    backdrop-filter var(--dur-fast);
  will-change: transform;
  position: relative;
  backdrop-filter: blur(8px);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.01);
  border-color: rgba(82, 183, 136, .4);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(45, 106, 79, .15), 0 0 40px rgba(82, 183, 136, .1);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.service-card__desc {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-card__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .01em;
  transition: gap var(--dur-fast), color var(--dur-fast);
}

.service-card__link:hover {
  color: var(--clr-green-900);
}

/* ── SPLIT ──────────────────────────────────────────────────── */
.split {
  background: var(--bg-body);
  overflow: hidden;
}

.split+.split {
  background: var(--bg-subtle);
}

.split+.split+.split {
  background: var(--bg-body);
}

.split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split__inner {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }

  .split--reverse .split__image {
    order: 2;
  }

  .split--reverse .split__text {
    order: 1;
  }
}

.split__image {
  position: relative;
}

.split__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  will-change: transform;
}

.split__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
  will-change: transform;
}

.split__img-wrap:hover img {
  transform: scale(1.04);
}

.split__badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: var(--clr-green-900);
  color: var(--clr-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.split__badge span {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-green-300);
  line-height: 1;
}

.split__badge p {
  font-size: .75rem;
  color: rgba(255, 255, 255, .6);
  margin-top: .25rem;
}

.split__title {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.split__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.split__list {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.split__list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.split__list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clr-green-50);
  border: 2px solid var(--clr-green-300);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%232D6A4F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 6l3 3 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ── PROCESS ────────────────────────────────────────────────── */
.process {
  background: linear-gradient(180deg, var(--clr-green-900) 0%, var(--clr-black) 100%);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(82, 183, 136, .08) 0%, transparent 70%);
  pointer-events: none;
}

.process .section__eyebrow {
  color: var(--clr-green-300);
}

.process .section__title {
  color: var(--clr-white);
}

.process .section__desc {
  color: rgba(255, 255, 255, .65);
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process__card {
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-mid) var(--ease-out);
}

.process__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-green-300), var(--clr-green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}

.process__card:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(82, 183, 136, .3);
  transform: translateY(-8px);
}

.process__card:hover::before {
  transform: scaleX(1);
}

.process__card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(82, 183, 136, .2) 0%, rgba(82, 183, 136, .05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(82, 183, 136, .25);
}

.process__card-icon i {
  font-size: 1.25rem;
  color: var(--clr-green-300);
}

.process__card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(82, 183, 136, .08);
  line-height: 1;
  letter-spacing: -.04em;
}

.process__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: .75rem;
}

.process__card-desc {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials {
  background: var(--bg-subtle);
  overflow: hidden;
}

.testimonials__slider-wrap {
  position: relative;
}

.testimonials__slider {
  display: grid;
  grid-template-columns: repeat(4, 100%);
  gap: 1.5rem;
  transform: translateX(0%);
  transition: transform .6s var(--ease-inout);
  will-change: transform;
  touch-action: pan-y;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .95) 0%, rgba(216, 243, 220, .4) 100%);
  border: 1px solid rgba(82, 183, 136, .2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(45, 106, 79, .08);
}

.testimonial-card__stars {
  color: #F4A261;
  font-size: 1rem;
  letter-spacing: .1em;
}

.testimonial-card__quote {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  quotes: none;
  font-style: normal;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-green-700);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-style: normal;
}

.testimonial-card__role {
  font-size: .8125rem;
  color: var(--text-muted);
}

/* Controls */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  border: 1.5px solid rgba(82, 183, 136, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--dur-fast) var(--ease-out);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

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

.testimonials__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--clr-white);
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(45, 106, 79, .25);
}

.testimonials__dots {
  display: flex;
  gap: .5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-grey-300);
  transition: all var(--dur-mid) var(--ease-out);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 99px;
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  position: relative;
  background: var(--clr-green-900);
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 110%, rgba(82, 183, 136, .25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__eyebrow {
  color: var(--clr-green-300);
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

.cta-section__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* Form */
.cta-section__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-field label {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .01em;
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, .97);
  border: 1.5px solid rgba(82, 183, 136, .25);
  border-radius: var(--radius-md);
  padding: .875rem 1.125rem;
  transition: border-color var(--dur-fast),
    box-shadow var(--dur-fast),
    background var(--dur-fast),
    backdrop-filter var(--dur-fast);
  resize: vertical;
  width: 100%;
  backdrop-filter: blur(8px);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(122, 145, 128, .6);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--clr-green-300);
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, .25),
    0 4px 12px rgba(82, 183, 136, .1);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--clr-black);
  padding-block: 5rem 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 3rem;
  }
}

.footer__logo {
  margin-bottom: 1.25rem;
  display: inline-flex;
}

.footer__logo span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-white);
}

.footer__tagline {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: .75rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: all var(--dur-fast);
}

.footer__social-link svg {
  width: 17px;
  height: 17px;
}

.footer__social-link:hover {
  background: var(--clr-green-700);
  border-color: var(--clr-green-700);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer__links a {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .55);
  transition: color var(--dur-fast), transform var(--dur-fast);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--clr-green-300);
  transform: translateX(4px);
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-info li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.footer__contact-info svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .2rem;
}

.footer__contact-info a {
  color: rgba(255, 255, 255, .55);
  transition: color var(--dur-fast);
}

.footer__contact-info a:hover {
  color: var(--clr-green-300);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer__copy {
  font-size: .875rem;
  color: rgba(255, 255, 255, .3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .3);
  transition: color var(--dur-fast);
}

.footer__legal a:hover {
  color: var(--clr-green-300);
}

/* ── TOAST (form success) ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--clr-green-900);
  color: var(--clr-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: .75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--dur-mid) var(--ease-out);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── WHATSAPP BUTTON ───────────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 8999;
  text-decoration: none;
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  animation: none;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ── AREAS SECTION (Redesigned) ────────────────────────────── */
.areas {
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
}

.areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .areas__grid {
    grid-template-columns: 460px 1fr;
    gap: 3.5rem;
  }
}

/* Info Card */
.areas__info-card {
  background: linear-gradient(135deg, var(--clr-green-900) 0%, #17382b 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.areas__info-card::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.areas__card-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.areas__card-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.areas__card-ctas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.areas__card-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-green-300);
}

.areas__card-badge i {
  font-size: 1.125rem;
}

/* Locations Grid */
.areas__locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--dur-mid) var(--ease-out);
}

.area-item:hover {
  background: var(--clr-white);
  border-color: var(--clr-green-300);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.area-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--clr-green-50);
  color: var(--clr-green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all var(--dur-fast);
}

.area-item:hover .area-item__icon {
  background: var(--clr-green-700);
  color: var(--clr-white);
}

.area-item__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-green-900);
  margin-bottom: 0.25rem;
}

.area-item__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive fixes for ultra-small screens */
@media (max-width: 480px) {
  .areas__info-card {
    padding: 2.5rem 1.75rem;
  }

  .areas__card-title {
    font-size: 1.75rem;
  }

  .areas__locations-grid {
    grid-template-columns: 1fr;
  }
}

/* ── ELEGANT FLAME BACKGROUND ───────────────────────────────── */
.flame-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: .4;
}

.flame {
  position: absolute;
  bottom: -50px;
  width: 100px;
  height: 200px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(82, 183, 136, .1) 30%,
      rgba(45, 106, 79, .15) 60%,
      rgba(27, 67, 50, .1) 100%);
  border-radius: 50% 50% 0 0;
  filter: blur(30px);
  animation: flameRise 4s ease-in-out infinite;
}

.flame--1 {
  left: 5%;
  animation-delay: 0s;
  width: 80px;
}

.flame--2 {
  left: 25%;
  animation-delay: 0.5s;
  width: 120px;
}

.flame--3 {
  left: 50%;
  animation-delay: 1s;
  width: 100px;
  transform: translateX(-50%);
}

.flame--4 {
  right: 25%;
  animation-delay: 1.5s;
  width: 90px;
}

.flame--5 {
  right: 5%;
  animation-delay: 2s;
  width: 110px;
}

@keyframes flameRise {

  0%,
  100% {
    height: 150px;
    opacity: .3;
    transform: translateY(0);
  }

  50% {
    height: 220px;
    opacity: .6;
    transform: translateY(-30px);
  }
}

/* ── LANGUAGE SELECTOR WITH FLAGS ───────────────────────────── */
.lang-selector__btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all var(--dur-fast);
}

.header.scrolled .lang-selector__btn {
  background: var(--bg-subtle);
  border-color: var(--border);
}

.lang-selector__flag-img {
  border-radius: 2px;
  object-fit: cover;
}

.lang-selector__code {
  font-size: .75rem;
  font-weight: 600;
  color: inherit;
}

.lang-selector__dropdown li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.lang-selector__dropdown img {
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── ULTRA MOBILE OPTIMIZATIONS (< 400px) ────────────────────── */
@media (max-width: 400px) {
  :root {
    --container-pad: 1rem;
    --section-pad-y: 3.5rem;
  }

  .section__title {
    font-size: 2.25rem;
  }

  .section__desc {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card__title {
    font-size: 1.125rem;
  }

  /* Areas Section Optimization */
  .areas__info {
    padding: 1.5rem 0.5rem;
  }

  .areas__info-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .areas__cities-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .areas__cities-list li {
    font-size: 0.875rem;
  }

  /* Header adjustments */
  .header__logo-text {
    font-size: 0.95rem;
  }

  .lang-selector__btn {
    padding: 0.35rem 0.5rem;
  }

  /* Hero adjustments */
  .hero__title {
    font-size: 2.4rem;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* WhatsApp Widget tweaks */
  .wa-widget__btn {
    padding: 0.5rem 0.75rem;
  }
}

/* ── SMALL MOBILE FIXES ( < 520px ) ─────────────────────────── */
@media (max-width: 520px) {
  .header__container {
    gap: 0.75rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .flame-bg {
    display: none;
  }
}