/* ============================================
   MANTENIMIENTOS CID — Global Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  /* Brand Colors */
  --verde:         #9ddb00;
  --verde-oscuro:  #80b701;
  --verde-claro:   #c1f73c;
  --navy:          #010030;
  --navy-logo:     #080e4b;
  --gris-oscuro:   #3b3b3b;
  --gris-medio:    #a4a4a4;
  --gris-claro:    #d8d8d8;
  --blanco:        #ffffff;
  --negro:         #0a0a0a;

  /* Functional */
  --bg:            var(--blanco);
  --bg-alt:        #f5f5f5;
  --bg-dark:       var(--navy-logo);
  --text:          var(--navy);
  --text-secondary: var(--gris-oscuro);
  --text-muted:    var(--gris-medio);
  --accent:        var(--verde);
  --accent-hover:  var(--verde-oscuro);
  --accent-light:  var(--verde-claro);

  /* Typography */
  --font-heading:  'Barlow', sans-serif;
  --font-heading-condensed: 'Barlow Condensed', sans-serif;
  --font-body:     'Source Sans 3', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container:     1200px;
  --container-sm:  900px;
  --radius:        6px;
  --radius-lg:     12px;
  --radius-xl:     20px;

  /* Transitions */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration:      0.3s;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(1,0,48,0.08);
  --shadow-md:  0 4px 12px rgba(1,0,48,0.10);
  --shadow-lg:  0 8px 30px rgba(1,0,48,0.12);
  --shadow-xl:  0 16px 50px rgba(1,0,48,0.15);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-accent {
  color: var(--accent);
}

.text-condensed {
  font-family: var(--font-heading-condensed);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--sm {
  max-width: var(--container-sm);
}

section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--blanco);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--blanco);
}

.section-label {
  font-family: var(--font-heading-condensed);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-title,
.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--verde-oscuro);
  border: 2px solid var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: var(--blanco);
}

.btn--white {
  background: var(--blanco);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  border-color: var(--blanco);
  background: rgba(255,255,255,0.08);
}

.btn--lg {
  padding: 1.15rem 2.75rem;
  font-size: 1.2rem;
}

.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e8e8;
  transition: box-shadow var(--duration) var(--ease);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.375rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-sm);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch__active {
  color: var(--navy);
}

.lang-switch__divider {
  color: var(--gris-medio);
}

.lang-switch__link {
  color: var(--gris-medio);
  transition: color var(--duration) var(--ease);
}

.lang-switch__link:hover {
  color: var(--verde-oscuro);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

/* --- Historia section --- */
.historia__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-areas:
    "header image"
    "body   image";
  gap: var(--space-2xl);
  align-items: start;
}

.historia__header { grid-area: header; }
.historia__body   { grid-area: body; }
.historia__image  {
  grid-area: image;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--gris-claro);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .historia__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }

  .historia__header { order: 1; }

  .historia__image {
    order: 2;
    width: 160px;
    height: 210px;
    aspect-ratio: auto;
    align-self: center;
    border-radius: 0.75rem;
  }

  .historia__body { order: 3; }
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--blanco);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
    transform: translateY(-200%);
    visibility: hidden;
    transition: transform var(--duration) var(--ease), visibility var(--duration);
    z-index: 999;
  }

  .nav--open {
    visibility: visible;
  }

  .nav--open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav__link {
    font-size: 1.05rem;
    padding: var(--space-xs) 0;
  }

  .nav__cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .nav__toggle--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle--open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --- Hero --- */
.hero {
  padding: calc(72px + var(--space-xl)) 0 var(--space-md);
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #f4f6fb 0%, #ffffff 55%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  font-family: var(--font-heading-condensed);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.hero__label::before {
  display: none;
}

.hero__title {
  font-size: clamp(3rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
}

.hero__subtitle--jardineria {
  font-size: 1.45rem;
}

.hero__subtitle {
  font-size: 1.55rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-top: -1rem;
  align-self: start;
}

.hero__image img {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,14,75,0.15), transparent 60%);
  pointer-events: none;
}

/* Stats bar */
.stats-bar {
  background: var(--navy);
  width: 100%;
  margin-bottom: var(--space-2xl);
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.5rem;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.stat {
  text-align: left;
  padding-right: 4.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
}

.stat__number {
  font-family: var(--font-heading-condensed);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
}

.stat__label {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(64px + var(--space-md)) 0 var(--space-sm);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero__title {
    font-size: 2.35rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
    max-width: 100%;
    text-wrap: balance;
  }

  .hero__actions {
    margin-bottom: var(--space-md);
  }

  .hero__image {
    order: -1;
    aspect-ratio: 4/3;
    margin-top: 0;
  }

  .hero__image--portrait {
    aspect-ratio: 3/4;
  }

  .stats-bar .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) 0;
    padding: var(--space-lg) var(--space-md);
    justify-items: center;
  }

  .stat {
    border-right: none !important;
    padding-right: 0 !important;
    text-align: center;
    width: 100%;
  }

  .stat:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.12) !important;
  }

  .stat__number {
    font-size: 1.8rem;
  }

  .footer__logo-img {
    height: 70px;
  }
}

/* --- Problem Section --- */
.problem {
  position: relative;
  padding: var(--space-xl) 0;
}

.problem .section-label {
  letter-spacing: 0.18em;
}

.problem .section-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.problem .section-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.problem .section-subtitle a,
.problem .section-subtitle * {
  text-decoration: none;
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.problem__visual {
  position: relative;
}

.problem__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.problem__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--blanco);
  border-radius: var(--radius-lg);
  border-left: 4px solid #e74c3c;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease);
}

.problem__item:hover {
  box-shadow: var(--shadow-md);
}

.problem__item-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #e74c3c;
  margin-top: 3px;
}

.problem__item-text {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .problem .section-title {
    font-size: 2.3rem;
  }

  .problem .section-subtitle {
    font-size: 1.05rem;
  }

  .problem .section-header {
    margin-bottom: var(--space-sm);
  }
}

@media (max-width: 580px) {
  .problem .section-title {
    font-size: 2rem;
  }

  .problem .section-subtitle {
    font-size: 1.2rem;
    text-wrap: balance;
  }

  .problem__item {
    padding: var(--space-sm) var(--space-md);
  }

  .problem__item-text {
    font-size: 0.95rem;
  }
}

/* --- Solution --- */
.solution__highlight {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  color: var(--blanco);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solution__highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(157,219,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.solution__highlight h2 {
  color: var(--blanco);
  margin-bottom: var(--space-sm);
}

.solution__highlight p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  max-width: 820px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .solution__highlight {
    padding: var(--space-lg) var(--space-md);
    text-align: left;
  }

  .solution__highlight p {
    font-size: 1.02rem;
  }

  .solution__highlight .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }

  .cta-section {
    padding: var(--space-xl) 0;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section h2 br {
    display: none;
  }

  .cta-section__actions {
    gap: var(--space-xs);
  }

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

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(157,219,0,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--verde-oscuro);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  margin-bottom: var(--space-xs);
}

.service-card__desc {
  font-size: 1rem;
  color: #3b3b3b;
  margin-bottom: var(--space-sm);
}

.service-card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
}

.service-card__link:hover {
  gap: 0.625rem;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Benefits / Pillars --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pillar {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--blanco);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow var(--duration) var(--ease);
}

.pillar:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.pillar__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(157,219,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-oscuro);
}

.pillar__icon svg {
  width: 28px;
  height: 28px;
}

.pillar__title {
  margin-bottom: var(--space-xs);
}

.pillar__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-wrap: balance;
}

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* --- Social Proof / Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial__attribution {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.testimonial__stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.testimonial__author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Process / How We Work --- */
.process {
  counter-reset: step;
}

.process .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gris-claro);
  z-index: 0;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__step-number {
  counter-increment: step;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading-condensed);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto var(--space-sm);
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-alt);
}

.process__step-number::before {
  content: counter(step);
}

.process__step-title {
  font-size: 0.95rem;
  margin-bottom: 0.375rem;
}

.process__step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .process__steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .process__steps::before {
    display: none;
  }

  .process__step {
    display: grid;
    grid-template-columns: 68px 1fr;
    text-align: left;
    gap: var(--space-sm);
    align-items: center;
  }

  .process__step-number {
    width: 68px;
    height: 68px;
    font-size: 1.5rem;
    margin: 0;
    box-shadow: none;
  }

  .process__step-title {
    font-size: 1.15rem;
  }

  .process__step-desc {
    font-size: 0.95rem;
  }

  .process__step-content {
    display: flex;
    flex-direction: column;
  }
}

/* --- Coverage Zone --- */
.coverage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.coverage__zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.coverage__zone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a.coverage__zone:hover {
  color: var(--accent);
}

.coverage__zone svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.coverage__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gris-claro);
}

.coverage__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .coverage__grid {
    grid-template-columns: 1fr;
  }

  .coverage__grid h2 {
    font-size: 2.1rem;
  }

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

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--blanco);
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

.cta-section__subtitle {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  text-wrap: balance;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cta-section__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--negro);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  column-gap: 1.75rem;
  row-gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.footer__logo-img {
  height: 157px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-xs, 0.25rem);
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--accent);
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer__social a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration) var(--ease);
}

.footer__social a:hover {
  color: var(--accent);
}

.footer__social svg {
  width: 30px;
  height: 30px;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer__legal a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration) var(--ease);
}

.footer__legal a:hover {
  color: var(--blanco);
}

.footer__legal span {
  color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: span 2;
    flex-direction: column;
  }

  .footer__brand-desc {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .footer__brand {
    grid-column: span 2;
  }

  .footer__brand-desc {
    font-size: 1rem;
  }

  .footer__links a {
    font-size: 1rem;
  }

  .footer__contact-item {
    font-size: 1rem;
  }

  .footer__title {
    font-size: 1rem;
  }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}

.whatsapp-float__text {
  display: block;
}

@media (max-width: 580px) {
  .whatsapp-float {
    padding: 0.875rem;
    border-radius: 50%;
  }

  .whatsapp-float__text {
    display: none;
  }
}

/* --- Presupuesto Form Section --- */
.form-section {
  background: var(--blanco);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: var(--space-lg) var(--space-md);
  }

  .form__trust {
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  .form-section .btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
  }
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__trust {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  letter-spacing: 0.02em;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gris-claro);
  border-radius: var(--radius);
  background: var(--bg-alt);
  font-size: 0.95rem;
  transition: border-color var(--duration) var(--ease);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  background: var(--blanco);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- FAQs --- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--gris-claro);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  text-align: left;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.faq__question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq__item--open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq__item--open .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Utility: Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--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; }
.reveal--delay-5 { transition-delay: 0.5s; }

br.mobile-only { display: none; }
br.desktop-only { display: block; }

/* --- Service Page: Includes Grid --- */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.include-item {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.include-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.include-item__icon {
  width: 56px;
  height: 56px;
  background: rgba(157,219,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--verde-oscuro);
}

.include-item__icon svg {
  width: 28px;
  height: 28px;
}

.include-item h3 {
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem;
}

.include-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: var(--space-xs);
}

@media (max-width: 960px) {
  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .includes-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Service Page: Specialized Grid --- */
.specialized-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 860px;
  margin: 0 auto;
}

.specialized-card {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.specialized-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.specialized-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(157,219,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--verde-oscuro);
}

.specialized-card__icon svg {
  width: 32px;
  height: 32px;
}

.specialized-card h3 {
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem;
  text-wrap: balance;
}

.specialized-card strong {
  display: block;
  text-wrap: balance;
}

.specialized-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: var(--space-xs);
  text-wrap: balance;
}

@media (max-width: 580px) {
  .specialized-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Mobile: global overrides --- */
@media (max-width: 768px) {
  section {
    padding: var(--space-xl) 0;
  }

  .section-header--center {
    text-align: left;
  }

  .section-header--center .section-subtitle {
    margin: 0;
  }

  br.mobile-only {
    display: block;
  }

  br.desktop-only {
    display: none;
  }

  .seccion-incluye-sub {
    font-size: 1rem;
    text-wrap: balance;
  }

  .hero__label {
    font-size: 1rem;
    letter-spacing: 0.05em;
  }

  .section-label {
    font-size: 1.15rem;
    letter-spacing: 0.1em;
  }

  h2 {
    font-size: clamp(2.4rem, 6vw, 3rem);
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
    text-wrap: balance;
  }

  #quienes-somos .section-subtitle {
    font-size: 1rem;
    text-wrap: balance;
  }

  #equipo h2 {
    font-size: 2rem;
  }

  .equipo-duo {
    grid-template-columns: 1fr !important;
  }

  .antonio-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contacto__grid {
    grid-template-columns: 1fr !important;
  }

  .form-duo {
    grid-template-columns: 1fr !important;
  }

  /* Sección por sección */
  #solucion h2 {
    font-size: 1.95rem;
  }

  #servicios h2 {
    font-size: 2.5rem;
  }

  #servicios .section-subtitle {
    font-size: 1.2rem;
  }

  #nosotros h2 {
    font-size: 2.5rem;
  }

  #testimonios h2 {
    font-size: 2.1rem;
  }

  #presupuesto h2 {
    font-size: 2.4rem;
  }

  #presupuesto .section-subtitle {
    font-size: 1.1rem;
  }

  #cta-jardineria .section-label {
    font-size: 0.85rem;
  }
}

/* ========== COOKIE BANNER ========== */
#cid-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy, #010030);
  border-top: 3px solid var(--verde-cid, #8DC63F);
  padding: 1rem 0;
}

.cid-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cid-cookie__text {
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cid-cookie__link {
  color: var(--verde-cid, #8DC63F);
  text-decoration: underline;
}

.cid-cookie__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cid-cookie__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--verde-cid, #8DC63F);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.cid-cookie__btn--accept {
  background: var(--verde-cid, #8DC63F);
  color: var(--navy, #010030);
}

.cid-cookie__btn--reject {
  background: transparent;
  color: #fff;
}

.cid-cookie__btn:hover {
  opacity: 0.85;
}

/* ========== COOKIE BANNER ========== */
#cid-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-logo, #080e4b);
  color: #fff;
  z-index: 9999;
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cid-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg, 2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cid-cookie__text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  min-width: 200px;
}

.cid-cookie__link {
  color: var(--verde-claro, #c1f73c);
  text-decoration: underline;
}

.cid-cookie__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cid-cookie__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  transition: opacity 0.2s;
}

.cid-cookie__btn:hover { opacity: 0.85; }

.cid-cookie__btn--accept {
  background: var(--verde-cid, #8DC63F);
  color: #fff;
}

.cid-cookie__btn--reject {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ========== Blog post body + TOC ========== */
.blog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-2xl);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.blog-article {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.blog-article h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  scroll-margin-top: 100px;
  text-wrap: balance;
  line-height: 1.25;
}

.blog-article > h2:first-of-type {
  margin-top: 2rem;
  padding-top: 0;
  border-top: none;
}

.blog-article p {
  margin-bottom: 1.25rem;
  text-wrap: pretty;
}

.blog-article ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 2rem;
}

.blog-article ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.blog-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--verde);
  border-radius: 2px;
  transform: rotate(45deg);
}

.blog-article strong {
  color: var(--navy);
  font-weight: 700;
}

.blog-article a:not(.btn) {
  color: var(--verde-oscuro);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.blog-article a:not(.btn):hover {
  color: var(--navy);
}

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 0.92rem;
}

.toc__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.toc__link {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.3rem 0 0.3rem 0.85rem;
  border-left: 2px solid transparent;
  line-height: 1.35;
  transition: color 0.15s, border-color 0.15s;
}

.toc__link:hover {
  color: var(--navy);
  border-left-color: rgba(0,0,0,0.15);
}

.toc__link--active {
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--verde);
}

@media (max-width: 960px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .toc {
    position: static;
    padding: var(--space-md) var(--space-lg);
    background: rgba(0,0,0,0.025);
    border-radius: 8px;
  }
  .toc__list {
    max-height: none;
  }
}
