/*
Theme Name: Jardineria
Theme URI: https://asjardineria.com
Author: AS Jardinería
Description: Diseño y mantenimiento de jardines y piscinas en Málaga
Version: 1.0
*/
/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --green-dark:   oklch(32% 0.11 148);
  --green-mid:    oklch(46% 0.14 148);
  --green-light:  oklch(64% 0.14 148);
  --green-pale:   oklch(94% 0.04 148);
  --green-wash:   oklch(97% 0.018 148);
  --blue-pool:    oklch(54% 0.13 222);
  --blue-light:   oklch(70% 0.11 222);
  --blue-pale:    oklch(94% 0.04 222);
  --cream:        oklch(97% 0.012 88);
  --white:        oklch(99% 0.004 145);
  --ink:          oklch(18% 0.018 145);
  --ink-mid:      oklch(42% 0.018 145);
  --ink-light:    oklch(68% 0.012 145);
  --border:       oklch(88% 0.022 148);

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 24px;
  --r-xl: 40px;

  --shadow-soft: 0 4px 24px oklch(32% 0.1 148 / 0.10);
  --shadow-card: 0 2px 12px oklch(32% 0.1 148 / 0.08);
  --shadow-hover: 0 8px 32px oklch(32% 0.1 148 / 0.18);
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── UTILITIES ──────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section-label.blue { color: var(--blue-pool); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.text-center { text-align: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--blue-pool);
  color: var(--white);
}
.btn-blue:hover {
  background: oklch(46% 0.14 222);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px oklch(54% 0.13 222 / 0.3);
}

/* ─── PLACEHOLDERS ───────────────────────────────── */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      oklch(88% 0.025 148) 0px, oklch(88% 0.025 148) 1px,
      oklch(93% 0.018 148) 1px, oklch(93% 0.018 148) 12px
    );
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--green-mid);
  font-family: monospace;
  font-size: 11px;
  text-align: center;
  padding: 24px;
}
.img-placeholder .ph-icon {
  font-size: 32px;
  opacity: 0.5;
}
.img-placeholder .ph-label {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  max-width: 140px;
}

/* ─── NAVIGATION ─────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px oklch(32% 0.1 148 / 0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 6px oklch(0% 0 0 / 0.35);
}
#nav.scrolled .nav-logo-text .brand {
  color: var(--green-dark);
  text-shadow: none;
}
.nav-logo-text .sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: oklch(80% 0.08 222);
  text-transform: uppercase;
}
#nav.scrolled .nav-logo-text .sub {
  color: var(--blue-pool);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
  position: relative;
}
#nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green-mid);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--green-light); }
#nav.scrolled .nav-links a:hover { color: var(--green-dark); }
.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--r-sm);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--green-mid); }
#nav.scrolled .nav-cta { color: var(--white) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s;
}
#nav.scrolled .nav-hamburger span { background: var(--ink); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  padding: 40px;
  gap: 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

/* ─── HERO ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(22% 0.10 148) 0%,
    oklch(32% 0.13 148) 45%,
    oklch(30% 0.12 205) 100%
  );
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 40%, oklch(46% 0.14 148 / 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, oklch(54% 0.13 222 / 0.12) 0%, transparent 40%);
}
.hero-img-area {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  opacity: 0.18;
  background: repeating-linear-gradient(
    45deg,
    oklch(64% 0.14 148) 0px,
    oklch(64% 0.14 148) 1px,
    transparent 1px,
    transparent 18px
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 40px 80px;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: oklch(99% 0.004 145 / 0.12);
  border: 1px solid oklch(99% 0.004 145 / 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(88% 0.06 148);
  margin-bottom: 28px;
}
.hero-eyebrow span { color: oklch(74% 0.10 222); }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.hero-content h1 em {
  font-style: italic;
  color: oklch(78% 0.10 148);
}
.hero-content p {
  color: oklch(85% 0.03 145);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 11px;
  color: oklch(70% 0.04 148);
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: oklch(80% 0.04 145);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, oklch(80% 0.04 145), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── SERVICES STRIP ─────────────────────────────── */
#services-strip {
  background: var(--green-dark);
  padding: 0;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid oklch(99% 0.004 145 / 0.1);
}
.strip-item {
  padding: 40px 48px;
  border-right: 1px solid oklch(99% 0.004 145 / 0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.25s;
  cursor: pointer;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: oklch(38% 0.12 148); }
.strip-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: oklch(99% 0.004 145 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
.strip-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.strip-item p {
  font-size: 13px;
  color: oklch(75% 0.04 145);
  line-height: 1.5;
}

/* ─── SECTION COMMON ─────────────────────────────── */
.section {
  padding: 100px 0;
}
.section-head {
  margin-bottom: 64px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 560px;
}
.section-head.centered { text-align: center; }
.section-head.centered p { margin: 0 auto; }

/* ─── SERVICIOS ──────────────────────────────────── */
#servicios { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  height: 220px;
}
.service-card-body {
  padding: 28px 32px 32px;
}
.service-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.service-tag.blue {
  background: var(--blue-pale);
  color: var(--blue-pool);
}
.service-card-body h3 { margin-bottom: 10px; color: var(--green-dark); }
.service-card-body p { font-size: 14px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 20px; }
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-mid);
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
}
.service-card.pool .service-list li::before { background: var(--blue-pool); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  transition: gap 0.2s;
}
.service-card.pool .service-link { color: var(--blue-pool); }
.service-link:hover { gap: 12px; }

/* ─── NOSOTROS ───────────────────────────────────── */
#nosotros { background: var(--green-wash); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-stack {
  position: relative;
  height: 560px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 85%;
  border-radius: var(--r-lg);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--r-lg);
  border: 6px solid var(--green-wash);
}
.about-badge {
  position: absolute;
  bottom: 60px; left: 0;
  background: var(--green-dark);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.about-badge .big { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-badge .sm { font-size: 11px; letter-spacing: 0.08em; color: oklch(80% 0.04 145); margin-top: 4px; }
.about-text p { color: var(--ink-mid); margin-bottom: 20px; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.about-value {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 20px;
  border-left: 3px solid var(--green-mid);
}
.about-value h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.about-value p { font-size: 12px; color: var(--ink-light); margin: 0; }

/* ─── VENTAJAS ───────────────────────────────────── */
#ventajas {
  background: var(--white);
  padding: 100px 0;
}
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ventaja-item {
  background: var(--white);
  padding: 48px 36px;
  transition: background 0.25s;
}
.ventaja-item:hover { background: var(--green-wash); }
.ventaja-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 16px;
}
.ventaja-item:hover .ventaja-num { color: oklch(86% 0.06 148); }
.ventaja-item h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 10px; }
.ventaja-item p { font-size: 13px; color: var(--ink-mid); line-height: 1.6; }

/* ─── PROYECTOS ──────────────────────────────────── */
#proyectos {
  background: var(--green-wash);
  padding: 100px 0;
}
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 220px;
  gap: 20px;
}
.proyecto-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.proyecto-card:hover { transform: scale(1.02); }
.proyecto-card:first-child {
  grid-row: span 2;
}
.proyecto-card .img-placeholder { height: 100%; border-radius: 0; }
.proyecto-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, oklch(18% 0.05 145 / 0.85) 0%, transparent 100%);
  color: var(--white);
}
.proyecto-overlay h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.proyecto-overlay span { font-size: 11px; color: oklch(75% 0.06 148); letter-spacing: 0.06em; }

/* ─── TESTIMONIOS ────────────────────────────────── */
#testimonios {
  background: var(--green-dark);
  padding: 100px 0;
}
#testimonios .section-label { color: oklch(74% 0.10 148); }
#testimonios h2 { color: var(--white); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonio-card {
  background: oklch(38% 0.10 148);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}
.testimonio-card:hover {
  background: oklch(42% 0.11 148);
  transform: translateY(-4px);
}
.testimonio-card.featured {
  background: var(--white);
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.5;
  color: oklch(55% 0.09 148);
  margin-bottom: 16px;
  display: block;
}
.testimonio-card.featured .quote-mark { color: var(--green-mid); }
.testimonio-text {
  font-size: 14px;
  line-height: 1.7;
  color: oklch(85% 0.03 145);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonio-card.featured .testimonio-text { color: var(--ink-mid); }
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: oklch(55% 0.12 148 / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: oklch(78% 0.08 148);
  flex-shrink: 0;
}
.testimonio-card.featured .author-avatar { background: var(--green-pale); color: var(--green-dark); }
.author-name { font-size: 14px; font-weight: 700; color: var(--white); }
.testimonio-card.featured .author-name { color: var(--ink); }
.author-loc { font-size: 12px; color: oklch(64% 0.04 145); }
.stars { color: oklch(72% 0.14 80); font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }

/* ─── CTA ─────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, oklch(46% 0.14 148) 0%, oklch(54% 0.13 222) 100%);
  padding: 100px 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.cta-text h2 { color: var(--white); margin-bottom: 16px; }
.cta-text p { color: oklch(90% 0.03 145); font-size: 1.05rem; max-width: 520px; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: oklch(99% 0.004 145 / 0.15);
  border: 1px solid oklch(99% 0.004 145 / 0.3);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--font-head);
  transition: background 0.25s;
}
.cta-phone:hover { background: oklch(99% 0.004 145 / 0.25); }

/* ─── CONTACTO ───────────────────────────────────── */
#contacto {
  background: var(--white);
  padding: 100px 0;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contacto-info h2 { margin-bottom: 20px; }
.contacto-info p { color: var(--ink-mid); margin-bottom: 36px; }
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 13px; font-weight: 700; color: var(--green-dark); margin-bottom: 3px; }
.contact-item p { font-size: 14px; color: var(--ink-mid); margin: 0; }
.contact-social {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--green-dark);
  transition: all 0.25s;
}
.social-btn:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-3px);
}
/* Form */
.contact-form {
  background: var(--green-wash);
  border-radius: var(--r-lg);
  padding: 48px;
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--green-dark);
}
.contact-form .sub {
  font-size: 13px;
  color: var(--ink-mid);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px oklch(46% 0.14 148 / 0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--green-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check label {
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.5;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: oklch(16% 0.02 145);
  color: oklch(70% 0.03 145);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand img { height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1) opacity(0.85); }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; color: oklch(58% 0.03 145); }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(80% 0.04 145);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: oklch(58% 0.03 145);
  transition: color 0.2s;
}
.footer-col a:hover { color: oklch(72% 0.08 148); }
.footer-bottom {
  border-top: 1px solid oklch(28% 0.02 145);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: oklch(44% 0.02 145);
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-badge span { color: oklch(54% 0.10 148); font-size: 14px; }

/* ─── ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonios-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid .testimonio-card:last-child { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-stack { height: 380px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { align-items: flex-start; flex-direction: row; }
  .proyectos-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 220px 220px; }
  .proyecto-card:first-child { grid-row: span 1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 110px 20px 80px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid oklch(99% 0.004 145 / 0.12); }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .ventajas-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .testimonios-grid .testimonio-card:last-child { display: block; }
  .cta-actions { flex-direction: column; }
  .proyectos-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .proyectos-grid .proyecto-card { height: 220px; }
  .hero-stats { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .ventajas-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
}
