/* =========================================================
   LLIR Riegos y Jardines · styles.css
   Estructura:
   1. Variables y reset
   2. Tipografía y utilidades
   3. Botones y elementos compartidos
   4. Header
   5. Hero
   6. Trust strip
   7. Servicios
   8. Servicio destacado
   9. Cada proyecto es único
   10. Proyectos
   11. Sobre LLIR
   12. Proceso (timeline)
   13. FAQ
   14. Instagram
   15. Contacto
   16. CTA final
   17. Footer
   18. WhatsApp flotante
   19. Responsive
   ========================================================= */

/* ---------- 1. VARIABLES Y RESET ---------- */
:root {
  /* Paleta */
  --verde-principal: #afd134;
  --verde-oscuro: #1f2a09;
  --celeste-agua: #42b3dd;
  --verde-claro: #cce472;
  --verde-suave: #e2f0a6;
  --verde-bg: #f0f7d0;
  --blanco: #ffffff;
  --gris-suave: #f7f8f3;
  --gris-borde: #e5e8db;
  --gris-texto: #5a6450;

  /* Tipografía */
  --font-display: 'Parkinsans', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Tamaños */
  --container: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Espaciados */
  --section-pad: clamp(4rem, 8vw, 7rem);

  /* Sombras */
  --shadow-soft: 0 4px 20px rgba(31, 42, 9, 0.06);
  --shadow-hover: 0 12px 32px rgba(31, 42, 9, 0.12);

  /* Transiciones */
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--verde-oscuro);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 2. TIPOGRAFÍA Y UTILIDADES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--verde-oscuro);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { color: var(--verde-oscuro); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gris-texto);
  margin-bottom: 1rem;
}

.eyebrow-light { color: rgba(255, 255, 255, 0.7); }

.section { padding: var(--section-pad) 0; }
.section-soft { background: var(--verde-bg); }
.section-dark {
  background: var(--verde-oscuro);
  color: var(--blanco);
}
.section-dark h2, .section-dark h3, .section-dark p { color: var(--blanco); }

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head .section-lead {
  font-size: 1.05rem;
  color: var(--gris-texto);
}
.section-head-light .section-lead { color: rgba(255,255,255,0.75); }
.section-head-light .eyebrow { color: var(--verde-principal); }

.accent { color: var(--verde-principal); }

/* ---------- 3. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--verde-oscuro);
  color: var(--blanco);
}
.btn-primary:hover {
  background: var(--verde-principal);
  color: var(--verde-oscuro);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
}
.btn-ghost:hover {
  background: var(--verde-oscuro);
  color: var(--blanco);
}

.ico-wa {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--verde-oscuro);
  transition: var(--transition);
  margin-top: auto;
}
.link-arrow span { transition: transform var(--transition); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--gris-borde);
  box-shadow: 0 2px 12px rgba(31,42,9,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.logo-img {
  width: auto;
  height: 40px;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  width: auto;
  height: 56px;
  display: block;
  margin-bottom: 1rem;
  object-fit: contain;
}
.logo-mark { width: 36px; height: 36px; display: block; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-size: 1.05rem; line-height: 1; }
.logo-text em { font-style: normal; font-weight: 500; opacity: 0.6; display: block; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-list a:not(.btn) {
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-list a:not(.btn):hover { color: var(--verde-oscuro); background: var(--verde-bg); }
.nav-cta { margin-left: 0.5rem; }
.nav-cta-li { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--verde-oscuro);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 var(--section-pad);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(175, 209, 52, 0.15), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--gris-texto);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.75rem;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris-texto);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--verde-principal);
  color: var(--verde-oscuro);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Hero media */
.hero-media {
  position: relative;
  aspect-ratio: 4/4;
}
.hero-image {
  position: absolute;
  background: linear-gradient(135deg, var(--verde-suave), var(--celeste-agua));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-1 {
  top: 0; left: 0;
  width: 65%; height: 75%;
}
.hero-image-2 {
  bottom: 0; right: 0;
  width: 55%; height: 60%;
}
.hero-floating-card {
  position: absolute;
  bottom: 8%;
  left: -2%;
  background: var(--blanco);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  max-width: 240px;
}
.hfc-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(66, 179, 221, 0.12);
  border-radius: 50%;
}
.hfc-icon svg { width: 18px; height: 18px; }
.hero-floating-card strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: block;
}
.hero-floating-card span {
  font-size: 0.8rem;
  color: var(--gris-texto);
}

/* ---------- 6. TRUST STRIP ---------- */
.trust-strip {
  background: var(--verde-bg);
  padding: 3rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.trust-item p {
  font-size: 0.9rem;
  color: var(--gris-texto);
  margin-top: 0.5rem;
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--verde-oscuro);
  display: block;
  line-height: 1;
}

/* ---------- 7. SERVICIOS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--verde-bg);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--verde-suave);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanco);
  border-radius: var(--radius-sm);
  color: var(--verde-oscuro);
  margin-bottom: 0.25rem;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.1rem; }
.service-card p {
  font-size: 0.9rem;
  color: var(--gris-texto);
  flex-grow: 1;
}

/* ---------- 8. SERVICIO DESTACADO ---------- */
.featured-service { background: var(--gris-suave); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.featured-media { position: relative; }
.featured-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--verde-suave), var(--verde-claro));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.featured-tag {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: var(--blanco);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 260px;
}
.featured-tag strong {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--celeste-agua);
  display: block;
  margin-bottom: 0.25rem;
}
.featured-tag span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  display: block;
}

.featured-copy h2 { margin-bottom: 1.25rem; }
.featured-copy > p {
  color: var(--gris-texto);
  margin-bottom: 2rem;
}

.process-list {
  counter-reset: process;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.process-list li {
  counter-increment: process;
  position: relative;
  padding-left: 3.25rem;
}
.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--verde-principal);
  background: var(--verde-oscuro);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.process-list span {
  font-size: 0.9rem;
  color: var(--gris-texto);
}

/* ---------- 9. CADA PROYECTO ES ÚNICO ---------- */
.unique-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.unique-head h2 { margin-bottom: 1rem; }
.unique-head p { color: var(--gris-texto); }

.unique-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.unique-list li {
  background: var(--blanco);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--verde-principal);
}
.unique-list strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
}
.unique-list span {
  font-size: 0.9rem;
  color: var(--gris-texto);
}

/* ---------- 10. PROYECTOS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: var(--verde-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.project-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--verde-suave), var(--celeste-agua));
  overflow: hidden;
}
.project-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.project-card:hover .project-media img { transform: scale(1.04); }
.project-meta { padding: 1.25rem 1.5rem 1.5rem; }
.project-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--celeste-agua);
  display: block;
  margin-bottom: 0.5rem;
}
.project-meta h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.project-meta p {
  font-size: 0.9rem;
  color: var(--gris-texto);
}

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

/* ---------- 11. SOBRE LLIR ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--verde-oscuro), var(--celeste-agua));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy > p {
  color: var(--gris-texto);
  margin-bottom: 1rem;
}
.about-sub {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-list li {
  padding-left: 1.5rem;
  position: relative;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--verde-principal);
  border-radius: 50%;
}
.about-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  display: inline;
}
.about-list span {
  color: var(--gris-texto);
  font-size: 0.95rem;
  display: block;
  margin-top: 0.15rem;
}

/* ---------- 12. PROCESO (TIMELINE) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.timeline li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}
.timeline li:hover {
  background: rgba(175, 209, 52, 0.08);
  border-color: rgba(175, 209, 52, 0.25);
}
.t-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--verde-principal);
  line-height: 1;
}
.timeline h3 {
  color: var(--blanco);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.timeline p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ---------- 13. FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-head { position: sticky; top: 100px; }
.faq-head h2 { margin-bottom: 1rem; }
.faq-head p {
  color: var(--gris-texto);
  margin-bottom: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--verde-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { background: var(--verde-suave); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--verde-oscuro);
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gris-texto);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- 14. INSTAGRAM ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ig-copy h2 { margin-bottom: 1rem; }
.ig-copy p {
  color: var(--gris-texto);
  margin-bottom: 1.5rem;
}

.ig-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.ig-tile {
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--verde-oscuro), var(--celeste-agua));
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.ig-tile:hover { transform: scale(1.03); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 15. CONTACTO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: var(--verde-bg);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.contact-card-primary {
  background: var(--verde-oscuro);
  color: var(--blanco);
}
.contact-card-primary strong,
.contact-card-primary span,
.contact-card-primary em { color: var(--blanco); }
.contact-card-primary .contact-icon {
  background: var(--verde-principal);
  color: var(--verde-oscuro);
}
.contact-card-zones { grid-column: 1 / -1; }
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-oscuro);
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.contact-card span {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.contact-card em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gris-texto);
}

/* ---------- 16. CTA FINAL ---------- */
.cta-final {
  background:
    radial-gradient(ellipse at top right, rgba(66, 179, 221, 0.25), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(175, 209, 52, 0.3), transparent 50%),
    var(--verde-oscuro);
  color: var(--blanco);
  text-align: center;
}
.cta-final-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta-final h2 {
  color: var(--blanco);
  margin-bottom: 1.25rem;
}
.cta-final p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.cta-final .btn-primary {
  background: var(--verde-principal);
  color: var(--verde-oscuro);
}
.cta-final .btn-primary:hover {
  background: var(--blanco);
}

/* ---------- 17. FOOTER ---------- */
.site-footer {
  background: var(--verde-oscuro);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: rgba(255, 255, 255, 0.65); max-width: 280px; }

.footer-nav h4, .footer-contact h4 {
  color: var(--verde-principal);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
}
.footer-nav ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a, .footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--verde-principal); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--verde-principal);
  font-weight: 500;
}

/* ---------- 18. WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: #25d366;
  color: var(--blanco);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-list { gap: 0.25rem; }
  .nav-list a:not(.btn) { padding: 0.5rem 0.7rem; font-size: 0.9rem; }
}

@media (max-width: 860px) {
  :root { --section-pad: clamp(3rem, 7vw, 5rem); }

  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  .hero-media {
    width: 100%;
    aspect-ratio: 4/3;
    order: -1;
    margin: 0 auto 1.5rem;
    max-width: 480px;
  }
  .hero-image-1 {
    top: 0; left: 0;
    width: 70%; height: 80%;
  }
  .hero-image-2 {
    bottom: 0; right: 0;
    width: 55%; height: 65%;
  }
  .hero-floating-card {
    bottom: -3%;
    left: 2%;
  }
  .hero-sub { max-width: 100%; }

  .featured-grid,
  .unique-grid,
  .about-grid,
  .faq-grid,
  .ig-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .unique-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--blanco);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-list.open { right: 0; }
  .nav-list a:not(.btn) {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gris-borde);
    border-radius: 0;
  }
  .nav-list a:not(.btn):hover { background: var(--verde-bg); }
  .nav-cta { margin-top: 1rem; margin-left: 0; width: 100%; }

  /* Backdrop cuando el menú está abierto */
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(31, 42, 9, 0.4);
    backdrop-filter: blur(4px);
    z-index: 98;
  }

  /* Header en mobile: logo más chico */
  .logo-img { height: 36px; }
  .logo-text { font-size: 0.95rem; }

  /* Servicio destacado: imagen aspect-ratio más bajo en mobile */
  .featured-image { aspect-ratio: 4/3.5; }
  .about-image { aspect-ratio: 4/4; }

  /* CTA final con más bottom space para que no lo tape el botón flotante */
  .cta-final { padding-bottom: calc(var(--section-pad) + 4rem); }
}

@media (max-width: 560px) {
  .container { padding: 0 1rem; }
  .services-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .trust-num { font-size: 1.75rem; }
  .trust-item p { font-size: 0.85rem; }

  .hero { padding-top: 1.5rem; padding-bottom: 3rem; }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: 1rem; }
  .hero-trust li { font-size: 0.85rem; }

  .hero-media {
    aspect-ratio: 4/3;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .hero-image-1 { width: 72%; height: 78%; }
  .hero-image-2 { width: 55%; height: 60%; }
  .hero-floating-card {
    left: 2%;
    bottom: -4%;
    padding: 0.7rem 0.9rem;
    max-width: 200px;
  }
  .hero-floating-card strong { font-size: 0.85rem; }
  .hero-floating-card span { font-size: 0.7rem; }

  .featured-tag {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.75rem 1rem;
    max-width: 220px;
  }
  .featured-tag span { font-size: 0.9rem; }

  /* WhatsApp flotante más chico */
  .wa-float span { display: none; }
  .wa-float {
    padding: 0.85rem;
    bottom: 1rem;
    right: 1rem;
  }

  /* Header */
  .header-inner { padding: 0.85rem 1rem; }
  .logo-text em { display: none; }
  .logo-img { height: 32px; }
  .logo-text { font-size: 0.9rem; }

  /* Cards: padding más chico */
  .service-card { padding: 1.5rem 1.25rem; }
  .contact-card { padding: 1.5rem 1.25rem; flex-direction: column; }

  /* Process list */
  .process-list li { padding-left: 2.75rem; }
  .process-list li::before { width: 32px; height: 32px; font-size: 0.85rem; }

  /* FAQ */
  .faq-item summary { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .faq-item p { padding: 0 1.25rem 1.25rem; }

  /* Timeline */
  .timeline { grid-template-columns: 1fr; gap: 1rem; }
  .timeline li { padding: 1.25rem; flex-direction: row; align-items: center; }
  .t-num { font-size: 1.25rem; }

  /* Footer */
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom p { font-size: 0.8rem; }

  /* Section heads */
  .section-head { margin-bottom: 2rem; }
  .section-lead { font-size: 0.95rem; }
}

@media (max-width: 380px) {
  h1 { font-size: clamp(1.65rem, 8.5vw, 2rem); }
  .trust-num { font-size: 1.5rem; }
  .trust-item p { font-size: 0.78rem; }
  .btn { padding: 0.8rem 1.25rem; font-size: 0.9rem; }
  .btn-lg { padding: 1rem 1.5rem; font-size: 0.95rem; }
  .logo-text { font-size: 0.85rem; }
  .header-inner { padding: 0.75rem 0.85rem; }
  .container { padding: 0 0.85rem; }
}

/* Landscape mobile / tablets pequeñas */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
  .nav-list {
    padding-top: 4rem;
    overflow-y: auto;
  }
  .hero { padding-top: 1rem; }
}
