/* =========================================================
   Maya Complete Garden Care – estilos
   Mobile-first. Todos los colores, tipografías y espacios
   están en variables (:root) para editarlos fácilmente.
   ========================================================= */

:root {
  /* --- Colores ---
     El verde del logo es #6cb424 (--color-leaf). Para botones y textos se usa
     una versión más oscura del mismo tono, para que el texto blanco se lea bien. */
  --color-leaf: #6cb424;           /* verde exacto del logo */
  --color-primary: #3d7a1f;        /* verde principal (mismo tono, accesible) */
  --color-primary-dark: #2a5714;   /* hover */
  --color-forest: #1d3516;         /* fondos oscuros */
  --color-primary-soft: #e6f0dc;   /* verde muy claro (badges, tintes) */
  --color-accent: #a86b3c;         /* acento tierra */
  --color-accent-soft: #f1e4d6;
  --color-bg: #fbf8f2;             /* crema */
  --color-surface: #ffffff;
  --color-tint: #f3efe4;           /* fondo alterno de secciones */
  --color-text: #1e2a21;
  --color-muted: #5b6a5f;
  --color-border: #e2ddd0;
  --color-error: #b3261e;
  --color-placeholder: #dfe6dc;    /* gris verdoso de los espacios de imagen */
  --color-placeholder-alt: #e9e2d4;

  /* --- Tipografía --- */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 4vw, 4.25rem);

  /* --- Espaciado --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7rem);
  --container: 1180px;
  --gutter: 1.25rem;

  /* --- Formas y sombras --- */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(30 42 33 / 6%), 0 2px 8px rgb(30 42 33 / 5%);
  --shadow: 0 6px 24px rgb(30 42 33 / 9%);
  --shadow-lg: 0 18px 48px rgb(30 42 33 / 14%);

  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-4); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--space-4); }
a { color: var(--color-primary); text-underline-offset: 3px; }
ul { margin: 0; padding: 0; }
[role="list"], .nav__menu, .footer__list, .contact-list, .values, .checklist { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--color-primary); color: #fff; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

/* ---------- Espacios para imágenes (placeholder) ----------
   El contenedor reserva el tamaño con aspect-ratio. Mientras la imagen
   no exista se ve el fondo verdoso con icono + etiqueta (data-label). */
.media {
  position: relative;
  overflow: hidden;
  background-color: var(--color-placeholder);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8f7d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center calc(50% - 14px);
  background-size: 36px;
}
.media::after {
  content: attr(data-label);
  position: absolute; left: 0; right: 0; top: calc(50% + 14px);
  text-align: center; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
  color: #5f7562; padding-inline: var(--space-2);
}
.media--alt { background-color: var(--color-placeholder-alt); }
.media > img, .media > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  color: transparent; /* oculta el texto alt si la imagen falla */
}
.media > img.is-missing { display: none; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--reel { aspect-ratio: 9 / 16; }
.media--logo {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background-size: 22px; background-position: center;
}
.media--logo::after { display: none; }
.media--logo > img { object-fit: contain; }
.media--logo.has-image { background: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  font-weight: 600; font-size: var(--fs-base); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow); }
.btn--ghost { background: rgb(255 255 255 / 12%); color: #fff; border-color: rgb(255 255 255 / 55%); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgb(255 255 255 / 22%); }
.btn--outline { color: var(--color-primary); border-color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--sm { padding: 0.55rem 1rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1rem 1.7rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s var(--ease); }
.link-arrow:hover::after { margin-left: 4px; }

.eyebrow { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.eyebrow--light { color: #e8d3bd; }
.badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-primary-soft); color: var(--color-primary-dark); font-size: 0.8rem; font-weight: 600; margin-bottom: var(--space-3); }
.badge--earth { background: var(--color-accent-soft); color: #7a4a25; }
.card { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgb(251 248 242 / 92%); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; gap: var(--space-4); }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); margin-right: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--color-primary); }
.brand__sub { white-space: nowrap; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: #c9d6c7; }

.nav { order: 3; }
.nav__toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm);
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px;
  transition: transform .25s var(--ease), background-color .25s;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -7px; }
.nav__toggle-bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--color-bg); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow);
  padding: var(--space-3) var(--gutter) var(--space-5);
  display: none;
}
.nav__menu.is-open { display: block; }
.nav__menu a { display: block; padding: var(--space-3) 0; text-decoration: none; color: var(--color-text); font-weight: 500; border-bottom: 1px solid var(--color-border); }
.nav__menu li:last-child a { border-bottom: 0; }
.header__call span { display: none; } /* en móvil solo el icono; hay botón flotante */
.header__call { padding: 0.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(92svh, 860px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-8);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background-color: var(--color-forest); background-position: right 24px bottom 48px; background-size: 28px; opacity: .9; }
.hero__media::after { top: auto; bottom: var(--space-4); text-align: right; padding-right: var(--space-4); color: rgb(255 255 255 / 50%); left: auto; right: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(12 24 10 / 62%) 0%, rgb(12 24 10 / 25%) 65%, rgb(12 24 10 / 0%) 100%),
    linear-gradient(180deg, rgb(12 24 10 / 30%) 0%, rgb(12 24 10 / 35%) 40%, rgb(12 24 10 / 78%) 100%);
}
.hero__content { max-width: var(--container); }
.hero h1 { max-width: 15ch; margin-bottom: var(--space-5); }
.hero h1 em { font-style: italic; color: #c5e6a6; }
.hero__lead { font-size: var(--fs-lg); max-width: 54ch; color: rgb(255 255 255 / 90%); margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__actions .btn { flex: 1 1 auto; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--color-tint); }
.section--dark { background: var(--color-forest); color: #eef3ec; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 640px; margin: 0 auto var(--space-7); text-align: center; }
.section__lead { color: var(--color-muted); font-size: var(--fs-lg); margin: 0; }

/* ---------- Servicios ---------- */
.service {
  background: var(--color-surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__body { padding: var(--space-5); }
.service__body p { color: var(--color-muted); margin-bottom: 0; }
.service h3 { display: flex; align-items: center; gap: var(--space-2); color: var(--color-primary-dark); }
.service h3 .icon { color: var(--color-primary); }
.service--featured { margin-bottom: var(--space-5); border: 2px solid var(--color-primary-soft); }
.service--featured h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.service--featured .service__body p { margin-bottom: var(--space-4); }
.service--featured .service__body { padding: var(--space-6) var(--space-5); }
.service--extra { background: var(--color-accent-soft); box-shadow: none; justify-content: center; }
.service--extra .service__body p { color: #6b4e38; margin-bottom: var(--space-4); }
.service--extra h3 .icon { color: var(--color-accent); }
.services-grid { display: grid; gap: var(--space-5); }
.checklist { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--color-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Antes y después (slider) ---------- */
.ba-grid { display: grid; gap: var(--space-6); }
.ba { margin: 0; }
.ba__stage {
  --pos: 50%;
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  user-select: none; touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; background-position: 75% calc(50% - 14px); }
.ba__before { background-position: 25% calc(50% - 14px); }
/* etiquetas del placeholder abajo, a cada lado, para que el tirador no las tape */
.ba__layer::after { top: auto; bottom: var(--space-3); text-align: right; padding-inline: var(--space-3); }
.ba__before::after { text-align: left; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: var(--space-3); z-index: 3; pointer-events: none;
  padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600;
  background: rgb(20 30 22 / 65%); color: #fff;
}
.ba__tag--before { left: var(--space-3); }
.ba__tag--after { right: var(--space-3); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 3px; margin-left: -1.5px;
  background: #fff; pointer-events: none; box-shadow: 0 0 8px rgb(0 0 0 / 25%);
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a1f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: var(--shadow);
}
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100vh; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 44px; height: 100vh; border: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__handle::after { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.ba figcaption { margin-top: var(--space-3); font-weight: 500; color: var(--color-muted); text-align: center; }

/* ---------- Sobre Miguel ---------- */
.about { display: grid; gap: var(--space-7); align-items: center; }
.about__photo .media { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__photo { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.about__photo::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border-radius: var(--radius-lg); background: var(--color-accent-soft); z-index: -1;
}
.about__text p { color: var(--color-muted); font-size: var(--fs-lg); }
.values { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.values li { display: flex; gap: var(--space-4); align-items: flex-start; }
.values .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); }
.values strong { display: block; font-family: var(--font-serif); font-size: var(--fs-h3); }
.values span { color: var(--color-muted); }
.gallery__title { margin-top: var(--space-8); text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); list-style: none; }
.gallery .media { border-radius: var(--radius); }
.gallery .media img { transition: transform .5s var(--ease); }
.gallery li:hover .media img { transform: scale(1.04); }

/* ---------- Por qué elegirnos ---------- */
.why-grid { display: grid; gap: var(--space-5); }
.why {
  padding: var(--space-6) var(--space-5); border-radius: var(--radius);
  background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 10%);
}
.why .icon { color: var(--color-leaf); margin-bottom: var(--space-4); }
.why p { color: #c9d6c7; margin: 0; }

/* ---------- Reseñas ---------- */
.reviews { display: grid; gap: var(--space-5); }
.review {
  background: var(--color-surface); border-radius: var(--radius); padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
}
.review::before {
  content: "“"; font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; color: var(--color-primary-soft);
  position: absolute; top: var(--space-3); right: var(--space-5);
}
.review blockquote { margin: 0 0 var(--space-5); flex: 1; }
.review blockquote p { font-size: var(--fs-lg); margin: 0; }
.review__author { margin: 0; display: flex; flex-direction: column; }
.review__author span { color: var(--color-muted); font-size: var(--fs-sm); }

/* ---------- Reels ---------- */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-4); margin-bottom: var(--space-5);
  -webkit-overflow-scrolling: touch;
}
.reel { scroll-snap-align: center; }
.reel .media { border-radius: var(--radius); box-shadow: var(--shadow); }
.reel video { background: transparent; }

/* ---------- Formulario ---------- */
.quote { display: grid; gap: var(--space-7); align-items: start; }
.quote__intro > p { color: var(--color-muted); font-size: var(--fs-lg); }
.contact-list { display: grid; gap: var(--space-3); margin: var(--space-5) 0 var(--space-6); }
.contact-list li { display: flex; align-items: center; gap: var(--space-3); }
.contact-list .icon { color: var(--color-primary); }
.contact-list a { color: var(--color-text); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--color-primary); text-decoration: underline; }
.areas__title { font-size: var(--fs-base); font-family: var(--font-sans); font-weight: 600; margin-bottom: var(--space-3); }
.areas { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; }
.areas li { padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-primary-soft); color: var(--color-primary-dark); font-size: var(--fs-sm); }

.quote__form { padding: var(--space-6) var(--space-5); }
.field { margin-bottom: var(--space-4); }
.field-row { display: grid; gap: 0 var(--space-4); }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--space-1); }
.field label span { color: var(--color-accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; font-size: 1rem; /* 16px evita zoom en iOS */
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgb(61 122 31 / 18%); background: #fff;
}
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field__error { color: var(--color-error); font-size: var(--fs-sm); margin: var(--space-1) 0 0; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: var(--space-4) 0 0; font-weight: 500; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--color-primary); }
.form__status.is-error { color: var(--color-error); }
button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: #17271c; color: #c9d6c7; padding: var(--space-8) 0 calc(var(--space-6) + 72px); font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: var(--space-6); }
.footer__brand p { margin-top: var(--space-4); max-width: 30ch; font-family: var(--font-serif); font-size: var(--fs-lg); color: #e6eee3; }
.footer__title { font-family: var(--font-sans); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: var(--space-3); }
.footer__list { display: grid; gap: var(--space-2); }
.site-footer a { color: #e6eee3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgb(255 255 255 / 12%);
}
.footer__bottom p { margin: 0; }

/* ---------- Botón flotante (móvil) ---------- */
.call-fab {
  position: fixed; right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-primary); color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease);
}
.call-fab .icon { width: 26px; height: 26px; }
.call-fab:active { transform: scale(.94); }

/* ---------- Animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Breakpoints (mobile-first)
   ========================================================= */
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reels { grid-auto-columns: 42%; }
  .hero__actions .btn { flex: 0 0 auto; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 2rem; --header-h: 80px; }
  .nav { order: 0; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; display: flex; gap: var(--space-5); padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav__menu a { padding: var(--space-2) 0; border: 0; font-size: 0.95rem; position: relative; }
  .nav__menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav__menu a:hover::after { transform: scaleX(1); }
  .header__call { padding: 0.55rem 1rem; margin-left: var(--space-5); }
  .header__call span { display: inline; }
  .call-fab { display: none; }
  .site-footer { padding-bottom: var(--space-6); }

  .hero { align-items: center; }
  .service--featured { flex-direction: row; }
  .service--featured .service__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 420px; }
  .service--featured .service__body { padding: var(--space-7); align-self: center; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 5fr 6fr; gap: var(--space-8); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .reels { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 960px; margin-inline: auto; margin-bottom: var(--space-6); }
  .quote { grid-template-columns: 5fr 6fr; gap: var(--space-8); }
  .quote__form { padding: var(--space-7); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
