/* Amigo Agrario — tema corporativo premium (clon visual Finagil + identidad agraria)
   Paleta: #0B2E1A / #14532d · oro #C4A35A · crema #F7F3EA · tierra #6B4F3A
   Tipografía: Montserrat (display) / Open Sans (cuerpo) */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap");

:root {
  --aa-green-950: #0B2E1A;
  --aa-green-900: #0f3a22;
  --aa-green-800: #14532d;
  --aa-green-700: #1a6b3a;
  --aa-green-600: #228B4A;
  --aa-cream: #F7F3EA;
  --aa-cream-dark: #ebe4d4;
  --aa-earth: #C4A35A;
  --aa-earth-dark: #6B4F3A;
  --aa-earth-light: #d4b87a;
  --aa-sand: #d9cbb0;
  --aa-ink: #1a1f1c;
  --aa-muted: #5a635c;
  --aa-white: #ffffff;
  --aa-danger: #8b2e1a;
  --aa-ok: #1a6b3f;
  --aa-shadow: 0 10px 32px rgba(11, 46, 26, 0.12);
  --aa-shadow-lg: 0 18px 48px rgba(11, 46, 26, 0.16);
  --aa-radius: 12px;
  --aa-radius-lg: 16px;
  --aa-font: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --aa-display: "Montserrat", "Open Sans", system-ui, sans-serif;
  --aa-max: 1140px;
  --aa-header-h: 96px;
  --aa-chips-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--aa-font);
  color: var(--aa-ink);
  background: var(--aa-cream);
  line-height: 1.6;
  padding-bottom: 88px;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aa-green-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--aa-green-600); }
h1, h2, h3, h4 {
  font-family: var(--aa-display);
  line-height: 1.22;
  color: var(--aa-green-950);
  margin: 0 0 0.55em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: min(100% - 2rem, var(--aa-max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ——— Top utility bar (Finagil pattern) ——— */
.topbar {
  background: var(--aa-green-950);
  color: rgba(247, 243, 235, 0.92);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  letter-spacing: 0.01em;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; align-items: center;
}
.topbar-left, .topbar-right {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.15rem; align-items: center;
}
.topbar a { color: var(--aa-cream); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--aa-earth-light); text-decoration: underline; }
.topbar-social { display: inline-flex; gap: 0.55rem; align-items: center; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 700;
}
.topbar-social a:hover { background: var(--aa-earth); text-decoration: none; color: #fff; }

/* ——— Main nav ——— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--aa-white);
  border-bottom: 3px solid var(--aa-green-800);
  box-shadow: 0 2px 16px rgba(11, 46, 26, 0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--aa-header-h);
}
.brand {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--aa-green-950); font-weight: 800;
  font-family: var(--aa-display);
  padding: 0.35rem 0;
}
.brand img {
  width: 78px; height: 78px; object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(11,46,26,0.14);
  flex-shrink: 0;
  display: block;
}
/* El logo oficial ya incluye el wordmark: el texto al lado es refuerzo opcional */
.brand-text {
  display: flex; flex-direction: column; justify-content: center;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 1.05rem; letter-spacing: 0.02em;
  font-family: var(--aa-display); font-weight: 800;
}
.brand-tag {
  display: block; font-size: 0.65rem; font-weight: 600;
  color: var(--aa-muted); letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--aa-font); margin-top: 0.15rem;
}
@media (max-width: 720px) {
  .brand img { width: 64px; height: 64px; }
  .brand-text strong { font-size: 0.95rem; }
}

.nav-toggle {
  display: none; background: var(--aa-green-800); color: #fff;
  border: 0; border-radius: 8px; padding: 0.55rem 0.9rem; cursor: pointer;
  font-weight: 700; font-family: inherit;
}
.nav-primary {
  display: flex; flex-wrap: wrap; gap: 0.15rem 0.15rem; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-primary a {
  text-decoration: none; color: var(--aa-green-950); font-weight: 600;
  font-size: 0.9rem; font-family: var(--aa-display);
  padding: 0.55rem 0.85rem; border-radius: 8px; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 0.78rem;
}
.nav-primary a:hover {
  background: var(--aa-cream); color: var(--aa-green-800);
}
.nav-primary a[aria-current="page"] {
  color: var(--aa-green-800); background: var(--aa-cream);
  box-shadow: inset 0 -2px 0 var(--aa-earth);
}
.btn-nav-ventanilla {
  background: var(--aa-green-800) !important; color: #fff !important;
  padding: 0.55rem 1.1rem !important; border-radius: 999px !important;
  box-shadow: none !important;
}
.btn-nav-ventanilla:hover {
  background: var(--aa-green-700) !important; color: #fff !important;
}
.btn-nav-ventanilla[aria-current="page"] {
  background: var(--aa-earth) !important;
}

/* ——— Sticky Ventanilla chips ——— */
.sticky-chips {
  position: sticky; top: var(--aa-header-h); z-index: 90;
  background: linear-gradient(90deg, var(--aa-green-900), var(--aa-green-800));
  box-shadow: 0 4px 12px rgba(11,46,26,0.15);
}
.sticky-chips .container {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  padding: 0.5rem 0; justify-content: center; align-items: center;
}
.sticky-chips-label {
  color: rgba(255,255,255,0.75); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-right: 0.35rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.12); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 0.84rem;
  font-family: var(--aa-display);
  padding: 0.42rem 1.05rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  transition: background .15s, transform .15s, border-color .15s;
}
.chip:hover {
  background: #fff; color: var(--aa-green-950); border-color: #fff;
  transform: translateY(-1px);
}
.chip--cita { border-color: var(--aa-earth-light); }
.chip--buzon { border-color: rgba(255,255,255,0.35); }
.chip--orientacion { border-color: #7dcea0; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.92rem; border-radius: 999px;
  padding: 0.78rem 1.4rem; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; font-family: var(--aa-display);
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .15s;
  letter-spacing: 0.02em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--aa-green-800); color: #fff;
  box-shadow: 0 6px 18px rgba(26, 92, 56, 0.28);
}
.btn-primary:hover { background: var(--aa-green-700); color: #fff; }
.btn-secondary {
  background: transparent; color: var(--aa-green-900);
  border-color: var(--aa-green-800);
}
.btn-secondary:hover { background: var(--aa-green-800); color: #fff; }
.btn-earth {
  background: var(--aa-earth); color: #fff;
  box-shadow: 0 6px 18px rgba(166, 124, 82, 0.3);
}
.btn-earth:hover { background: var(--aa-earth-dark); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.55; cursor: not-allowed; pointer-events: none; transform: none;
}

/* ——— Photo hero (Finagil full-width agrarian) ——— */
.hero {
  position: relative;
  min-height: clamp(420px, 62vh, 580px);
  display: flex; align-items: center;
  background:
    linear-gradient(105deg, rgba(11,46,26,0.88) 0%, rgba(11,46,26,0.70) 45%, rgba(20,83,45,0.42) 100%),
    url("../img/banner-home-hero.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--aa-cream);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.hero--photo {
  min-height: 70vh;
  min-height: clamp(480px, 70vh, 720px);
  background:
    linear-gradient(105deg, rgba(11,46,26,0.92) 0%, rgba(11,46,26,0.72) 42%, rgba(20,83,45,0.38) 100%),
    url("../img/banner-home-hero.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center 40%;
}
.hero--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(11,46,26,0.35) 70%);
  pointer-events: none;
}
.hero--alt {
  background:
    linear-gradient(105deg, rgba(11,46,26,0.9) 0%, rgba(11,46,26,0.65) 55%, rgba(166,124,82,0.35) 100%),
    url("../img/banner-band-horizonte.jpg") center/cover no-repeat;
  background-size: cover;
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--aa-earth-light); margin-bottom: 0.85rem;
  font-family: var(--aa-display);
}
.hero h1 {
  color: #fff; font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  max-width: 16ch; margin-bottom: 0.75rem; font-weight: 800;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero p.lead {
  font-size: 1.12rem; max-width: 44ch; color: rgba(247,243,235,0.92);
  font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.65rem; }
.hero-note {
  margin-top: 1.4rem; font-size: 0.84rem; opacity: 0.88; max-width: 52ch;
  border-left: 3px solid var(--aa-earth); padding-left: 0.85rem;
}

/* ——— Full-bleed photo bands between sections ——— */
.band-photo {
  position: relative;
  min-height: clamp(180px, 28vh, 320px);
  display: flex; align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.band-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,26,0.15) 0%, rgba(11,46,26,0.82) 100%);
  pointer-events: none;
}
.band-photo .container {
  position: relative; z-index: 1;
  padding: 2.25rem 0 1.85rem;
}
.band-photo-caption {
  margin: 0;
  font-family: var(--aa-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  max-width: 36ch;
}
.band-photo-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aa-earth-light);
  margin-bottom: 0.4rem;
}
.band-photo--campo {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.2), rgba(11,46,26,0.85)),
    url("../img/banner-band-campo.jpg");
  background-size: cover;
  background-position: center;
}
.band-photo--horizonte {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.18), rgba(11,46,26,0.88)),
    url("../img/banner-band-horizonte.jpg");
  background-size: cover;
  background-position: center 60%;
}
.band-photo--parcela {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.2), rgba(11,46,26,0.86)),
    url("../img/banner-band-parcela.jpg");
  background-size: cover;
  background-position: center;
}
.band-photo--cosecha {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.22), rgba(11,46,26,0.88)),
    url("../img/banner-band-cosecha.jpg");
  background-size: cover;
  background-position: center;
}
.band-photo--sendero {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.2), rgba(11,46,26,0.86)),
    url("../img/banner-band-sendero.jpg");
  background-size: cover;
  background-position: center;
}
.band-photo--trigo {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.18), rgba(11,46,26,0.85)),
    url("../img/banner-band-trigo.jpg");
  background-size: cover;
  background-position: center;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0;
}
.photo-strip figure {
  margin: 0;
  border-radius: var(--aa-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--aa-shadow);
  background: var(--aa-green-900);
}
.photo-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-strip figure:hover img { transform: scale(1.04); }
.photo-strip figcaption {
  display: none;
}
@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip figure:nth-child(n+2) { display: none; }
  .photo-strip figure:first-child { display: block; }
}

/* ——— Interior page hero with photo ——— */
.page-hero {
  position: relative;
  min-height: clamp(200px, 28vh, 300px);
  display: flex; align-items: center;
  background:
    linear-gradient(100deg, rgba(11,46,26,0.9), rgba(26,92,56,0.72)),
    url("../img/banner-brand-texture.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--aa-cream);
  padding: 2.75rem 0 2.25rem;
}
.page-hero--servicios {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.88), rgba(26,92,56,0.68)),
    url("../img/banner-page-servicios.jpg") center/cover no-repeat;
  background-size: cover;
}
.page-hero--sucesion {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.88), rgba(26,92,56,0.68)),
    url("../img/banner-page-sucesion.jpg") center/cover no-repeat;
  background-size: cover;
}
.page-hero--transmision {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.88), rgba(26,92,56,0.68)),
    url("../img/banner-page-transmision.jpg") center/cover no-repeat;
  background-size: cover;
}
.page-hero--posesion {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.88), rgba(26,92,56,0.68)),
    url("../img/banner-page-posesion.jpg") center/cover no-repeat;
  background-size: cover;
}
.page-hero--ventanilla {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.9), rgba(26,92,56,0.7)),
    url("../img/banner-page-ventanilla.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center 45%;
  min-height: clamp(240px, 34vh, 360px);
}
.page-hero--nosotros {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.9), rgba(26,92,56,0.7)),
    url("../img/banner-page-nosotros.jpg") center/cover no-repeat;
  background-size: cover;
}
.page-hero--contacto {
  background:
    linear-gradient(100deg, rgba(11,46,26,0.9), rgba(26,92,56,0.7)),
    url("../img/banner-page-contacto.jpg") center/cover no-repeat;
  background-size: cover;
}
.page-hero h1 { color: #fff; font-size: clamp(1.55rem, 3vw, 2.15rem); text-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.page-hero p { color: rgba(247,243,235,0.9); max-width: 58ch; }
.breadcrumb {
  font-size: 0.82rem; margin-bottom: 0.85rem; opacity: 0.88;
  font-weight: 500;
}
.breadcrumb a { color: var(--aa-cream); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--aa-earth-light); }

/* ——— Sections ——— */
.section { padding: 4rem 0; }
.section--alt { background: var(--aa-white); }
.section--dark {
  background: var(--aa-green-950);
  color: var(--aa-cream);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-intro { color: rgba(247,243,235,0.78); }
.section--earth {
  background: linear-gradient(180deg, var(--aa-cream-dark), var(--aa-cream));
}
.section--band {
  background: var(--aa-green-800);
  color: #fff;
  padding: 2.25rem 0;
  text-align: center;
}
.section--band p { margin: 0; font-size: 1.05rem; color: rgba(255,255,255,0.92); }
.section--band a { color: var(--aa-earth-light); font-weight: 700; }
.section-title { font-size: clamp(1.45rem, 3vw, 1.95rem); }
.section-intro { color: var(--aa-muted); max-width: 62ch; margin-bottom: 0; }
.section-head {
  margin-bottom: 2.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-end;
}
.section-head > div:first-child { flex: 1; min-width: 240px; }
.section-eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--aa-earth); margin-bottom: 0.45rem;
  font-family: var(--aa-display);
}
.section--dark .section-eyebrow { color: var(--aa-earth-light); }

.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ——— Cards ——— */
.card {
  background: #fff; border: 1px solid rgba(217, 203, 176, 0.65);
  border-radius: var(--aa-radius-lg); padding: 1.5rem 1.45rem;
  box-shadow: var(--aa-shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--aa-shadow-lg); }
.card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.card p { color: var(--aa-muted); font-size: 0.94rem; margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--aa-cream), var(--aa-cream-dark));
  color: var(--aa-green-800);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem;
  border: 1px solid var(--aa-sand);
}
.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1rem; font-weight: 700; font-family: var(--aa-display);
  text-decoration: none; font-size: 0.9rem; color: var(--aa-green-800);
}
.card-link:hover { color: var(--aa-earth); }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }

.card--green {
  background: var(--aa-green-900); color: var(--aa-cream); border-color: transparent;
}
.card--green:hover { box-shadow: 0 16px 40px rgba(11,46,26,0.35); }
.card--green h3, .card--green p { color: inherit; }
.card--green .card-link { color: var(--aa-earth-light); }

/* Photo service cards (Finagil solutions) */
.sol-card {
  background: #fff; border-radius: var(--aa-radius-lg); overflow: hidden;
  box-shadow: var(--aa-shadow); border: 1px solid rgba(217,203,176,0.5);
  border-top: 3px solid var(--aa-earth);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--aa-shadow-lg); }
.sol-card-media {
  aspect-ratio: 16/10; min-height: 180px; overflow: hidden; background: var(--aa-green-900);
}
.sol-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.sol-card:hover .sol-card-media img { transform: scale(1.05); }
.sol-card-body { padding: 1.35rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sol-card-body h3 { font-size: 1.15rem; }
.sol-card-body p { flex: 1; color: var(--aa-muted); font-size: 0.93rem; }
.sol-card .btn { margin-top: 1rem; align-self: flex-start; padding: 0.55rem 1.15rem; font-size: 0.84rem; }

/* Why-us icon grid */
.why-card {
  text-align: center; padding: 1.65rem 1.2rem;
  background: #fff; border-radius: var(--aa-radius-lg);
  border: 1px solid rgba(217,203,176,0.55);
  box-shadow: 0 6px 20px rgba(11,46,26,0.07);
  transition: transform .18s, border-color .18s;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--aa-green-800);
}
.why-card .card-icon { margin-inline: auto; }

.card-icon:empty::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  box-shadow: 0 0 0 4px rgba(26,92,56,0.12);
}
.card--green .card-icon:empty::before {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
  opacity: 0.85;
}

.why-card h3 { font-size: 1rem; margin-top: 0.25rem; }
.why-card p { font-size: 0.88rem; color: var(--aa-muted); }

/* Filter chips (services catalog) */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.75rem; padding: 0.35rem;
  background: var(--aa-cream-dark); border-radius: 999px;
  width: fit-content; max-width: 100%;
}
.filter-chip {
  appearance: none; border: 0; cursor: pointer;
  background: transparent; color: var(--aa-green-950);
  font-family: var(--aa-display); font-weight: 700; font-size: 0.82rem;
  padding: 0.5rem 1.1rem; border-radius: 999px;
  transition: background .15s, color .15s, box-shadow .15s;
}
.filter-chip:hover { background: rgba(255,255,255,0.7); }
.filter-chip.is-active {
  background: var(--aa-green-800); color: #fff;
  box-shadow: 0 4px 12px rgba(26,92,56,0.25);
}
.sol-card.is-hidden { display: none; }

/* Product page modules */
.product-layout { display: grid; gap: 2.5rem; }
.product-block {
  background: #fff; border-radius: var(--aa-radius-lg);
  padding: 1.75rem 1.6rem; box-shadow: var(--aa-shadow);
  border: 1px solid rgba(217,203,176,0.5);
}
.product-block h2 { font-size: 1.35rem; }
.product-media {
  border-radius: var(--aa-radius); overflow: hidden;
  aspect-ratio: 16/9; background: var(--aa-cream-dark);
  margin: 1rem 0;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder {
  aspect-ratio: 16/9; border-radius: var(--aa-radius);
  background: linear-gradient(145deg, var(--aa-green-950), var(--aa-green-800));
  display: grid; place-items: center; color: rgba(255,255,255,0.85);
  text-align: center; padding: 1.5rem; font-weight: 600;
}
.cta-band {
  background: linear-gradient(120deg, var(--aa-green-900), var(--aa-green-800));
  color: #fff; border-radius: var(--aa-radius-lg);
  padding: 2rem 1.75rem; display: flex; flex-wrap: wrap;
  gap: 1.25rem; align-items: center; justify-content: space-between;
  box-shadow: var(--aa-shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0 0 0.35rem; font-size: 1.35rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); max-width: 42ch; }

.disclaimer, .alert {
  border-radius: 12px; padding: 1rem 1.2rem; font-size: 0.92rem;
  border: 1px solid var(--aa-sand); background: #fffef8; color: var(--aa-muted);
}
.disclaimer strong, .alert strong { color: var(--aa-green-950); }
.alert--warn {
  background: #fff8ef; border-color: var(--aa-earth-light); color: #5a3d1f;
}
.alert--ok {
  background: #eef8f1; border-color: #a8d4b8; color: var(--aa-ok);
}

.placeholder-block {
  border: 2px dashed var(--aa-sand); border-radius: var(--aa-radius);
  background: rgba(255,255,255,0.55); padding: 2rem 1.25rem;
  text-align: center; color: var(--aa-muted);
}
.placeholder-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.placeholder-item, .resource-card, .video-card {
  min-height: 160px; border-radius: var(--aa-radius-lg);
  border: 1px solid rgba(217,203,176,0.55);
  background: #fff; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  color: var(--aa-muted); font-size: 0.92rem; padding: 1.35rem 1.4rem;
  box-shadow: var(--aa-shadow); gap: 0.35rem;
}
.video-card {
  background:
    linear-gradient(160deg, rgba(11,46,26,0.75), rgba(26,92,56,0.55)),
    var(--aa-green-900);
  color: #fff; min-height: 180px; border: 0;
  position: relative; overflow: hidden;
}
.video-card::before {
  content: "▶"; position: absolute; right: 1.1rem; top: 1.1rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.2); display: grid; place-items: center;
  font-size: 0.9rem;
}
.video-card strong { color: #fff; font-family: var(--aa-display); font-size: 1.05rem; }
.resource-card strong {
  color: var(--aa-green-950); font-family: var(--aa-display); font-size: 1rem;
}
.resource-card .badge-soon {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--aa-cream-dark); color: var(--aa-earth-dark);
  padding: 0.2rem 0.55rem; border-radius: 999px; margin-top: 0.5rem;
}

.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: #fff; border-radius: var(--aa-radius-lg); padding: 1.15rem 1.25rem;
  border: 1px solid rgba(217,203,176,0.55); box-shadow: 0 4px 16px rgba(11,46,26,0.06);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--aa-green-800); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  font-family: var(--aa-display);
}

/* Forms / ventanilla (preserve behavior) */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 650; font-size: 0.92rem; color: var(--aa-green-950); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit; padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--aa-sand); background: #fff; color: var(--aa-ink);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--aa-green-600); outline-offset: 1px;
}
.form-check {
  display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem;
}
.form-check input { margin-top: 0.25rem; }
.form-error { color: var(--aa-danger); font-size: 0.85rem; display: none; }
.form-row.is-invalid .form-error { display: block; }
.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea { border-color: var(--aa-danger); }

.stepper {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem;
  list-style: none; padding: 0;
}
.stepper li {
  flex: 1; min-width: 100px; text-align: center; font-size: 0.82rem;
  font-weight: 700; color: var(--aa-muted); padding: 0.55rem 0.4rem;
  border-bottom: 3px solid var(--aa-sand); font-family: var(--aa-display);
}
.stepper li.is-active { color: var(--aa-green-800); border-color: var(--aa-green-800); }
.stepper li.is-done { color: var(--aa-ok); border-color: var(--aa-ok); }
.panel { display: none; }
.panel.is-active { display: block; }

.chat-layout {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .chat-layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
}
.chat-box {
  background: #fff; border: 1px solid rgba(217,203,176,0.55);
  border-radius: var(--aa-radius-lg); min-height: 420px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--aa-shadow);
}
.chat-log {
  flex: 1; padding: 1.1rem; overflow-y: auto; display: flex;
  flex-direction: column; gap: 0.75rem; max-height: 420px;
}
.bubble {
  max-width: 90%; padding: 0.75rem 1rem; border-radius: 14px;
  font-size: 0.95rem;
}
.bubble--bot {
  align-self: flex-start; background: var(--aa-cream-dark);
  color: var(--aa-ink); border-bottom-left-radius: 4px;
}
.bubble--user {
  align-self: flex-end; background: var(--aa-green-800); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-input {
  display: flex; gap: 0.5rem; padding: 0.85rem; border-top: 1px solid var(--aa-sand);
  background: var(--aa-cream);
}
.chat-input input {
  flex: 1; font: inherit; padding: 0.65rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--aa-sand);
}
.dossier {
  background: #fff; border: 1px solid rgba(217,203,176,0.55);
  border-radius: var(--aa-radius-lg); padding: 1.25rem; box-shadow: var(--aa-shadow);
}
.dossier h3 { font-size: 1rem; }
.dossier dl { margin: 0; }
.dossier dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--aa-muted); margin-top: 0.65rem;
}
.dossier dd { margin: 0.15rem 0 0; font-weight: 600; }

.coverage {
  display: grid; gap: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.coverage-badge {
  display: inline-block; background: var(--aa-green-800); color: #fff;
  font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.65rem;
  border-radius: 999px; margin-bottom: 0.65rem; letter-spacing: 0.04em;
  text-transform: uppercase; font-family: var(--aa-display);
}
.map-placeholder {
  border-radius: var(--aa-radius-lg); min-height: 260px;
  background:
    linear-gradient(160deg, rgba(11,46,26,0.08), rgba(166,124,82,0.12)),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(26,92,56,0.04) 24px, rgba(26,92,56,0.04) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(26,92,56,0.04) 24px, rgba(26,92,56,0.04) 25px),
    var(--aa-cream-dark);
  border: 1px solid var(--aa-sand);
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  color: var(--aa-muted); font-weight: 600;
}

/* ——— Footer trust ——— */
.site-footer {
  background: var(--aa-green-950); color: var(--aa-cream-dark);
  padding: 3rem 0 2rem; margin-top: 0;
}
.site-footer a { color: var(--aa-cream); text-decoration: none; }
.site-footer a:hover { color: var(--aa-earth-light); text-decoration: underline; }
.footer-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
.footer-brand strong {
  color: #fff; display: block; margin-bottom: 0.5rem;
  font-family: var(--aa-display); font-size: 1.1rem;
}
.footer-brand img {
  width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff;
}
.footer-col h4 {
  color: #fff; font-size: 0.88rem; margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-trust {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.15rem; font-size: 0.85rem;
  color: rgba(247,243,235,0.75);
}
.footer-bottom {
  font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: space-between; opacity: 0.85;
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); text-decoration: none;
  font-size: 1.7rem; line-height: 1;
  transition: transform .15s, box-shadow .15s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
.wa-float span { font-size: 0; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  background: var(--aa-green-950); padding: 0.5rem 0.55rem;
  border-top: 1px solid var(--aa-green-800);
  gap: 0.4rem; justify-content: space-around;
}
.mobile-cta a {
  flex: 1; text-align: center; color: #fff; text-decoration: none;
  font-size: 0.72rem; font-weight: 700; padding: 0.45rem 0.2rem;
  border-radius: 10px; font-family: var(--aa-display);
  background: rgba(255,255,255,0.06);
}
.mobile-cta a:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
  .site-header .container { position: relative; }
  .nav-primary {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--aa-white); flex-direction: column; align-items: stretch;
    padding: 0.75rem 1rem 1rem; border-bottom: 3px solid var(--aa-green-800);
    box-shadow: var(--aa-shadow-lg); z-index: 120;
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary a { padding: 0.75rem 0.5rem; text-transform: none; font-size: 0.95rem; }
  .sticky-chips { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 120px; }
  .wa-float { bottom: 4.75rem; }
  .hero, .hero--photo { min-height: 420px; padding: 3.25rem 0 2.75rem; }
  .band-photo { min-height: 160px; }
  .filter-bar { border-radius: 14px; }
  .topbar-left span:not(:first-child) { display: none; }
}

.two-col {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.list-check { list-style: none; padding: 0; }
.list-check li {
  position: relative; padding-left: 1.7rem; margin-bottom: 0.6rem;
}
.list-check li::before {
  content: "✓"; position: absolute; left: 0; color: var(--aa-green-700);
  font-weight: 800;
}
.muted { color: var(--aa-muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.25rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.25rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }


/* Photo-backed map / coverage */
.map-placeholder--photo {
  background:
    linear-gradient(160deg, rgba(247,243,234,0.88), rgba(247,243,234,0.72)),
    url("../img/BACKGROUND-marca.jpg") center/cover no-repeat;
  background-size: cover;
  min-height: 220px;
}


/* ——— Brand BACKGROUND texture (no cartoons) ——— */
.hero--brand-bg {
  background:
    linear-gradient(105deg, rgba(11,46,26,0.9) 0%, rgba(11,46,26,0.7) 48%, rgba(20,83,45,0.4) 100%),
    url("../img/BACKGROUND-marca.jpg") center/cover no-repeat;
  background-size: cover;
}
.band-photo--brand {
  background-image:
    linear-gradient(180deg, rgba(11,46,26,0.25), rgba(11,46,26,0.88)),
    url("../img/BACKGROUND-marca.jpg");
  background-size: cover;
  background-position: center;
}
.section--brand-texture {
  background:
    linear-gradient(180deg, rgba(247,243,234,0.92), rgba(247,243,234,0.88)),
    url("../img/BACKGROUND-marca.jpg") center/cover;
}

/* Cita — slots */
.slot-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.slot-btn {
  text-align: left; padding: 0.75rem 0.9rem; border: 1px solid #d5d0c6;
  border-radius: 10px; background: #fff; cursor: pointer; font: inherit;
  color: var(--aa-green-950);
}
.slot-btn:hover { border-color: var(--aa-green-800); }
.slot-btn.is-selected {
  border-color: var(--aa-green-800); background: #e8f2eb;
  box-shadow: 0 0 0 2px rgba(20,83,45,0.15);
}

/* —— Asistente Amigo Agrario (widget) —— */
.aa-assist-root { position: fixed; right: 1rem; bottom: 1rem; z-index: 9999; font-family: var(--aa-font); }
.aa-assist-fab {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(11,46,26,0.28);
  display: flex; align-items: center; justify-content: center;
}
.aa-assist-fab svg { width: 32px; height: 32px; fill: currentColor; }
.aa-assist-panel {
  position: absolute; right: 0; bottom: 72px; width: min(360px, calc(100vw - 1.5rem));
  max-height: min(520px, calc(100vh - 6rem));
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(11,46,26,0.22);
  display: none; flex-direction: column; border: 1px solid #e5dfd4;
}
.aa-assist-panel.is-open { display: flex; }
.aa-assist-head {
  background: linear-gradient(135deg, #0b2e1a, #1a5c38); color: #fff;
  padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.65rem;
}
.aa-assist-head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; }
.aa-assist-head strong { display: block; font-size: 0.95rem; }
.aa-assist-head span { font-size: 0.72rem; opacity: 0.85; }
.aa-assist-close {
  margin-left: auto; background: transparent; border: none; color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0.9;
}
.aa-assist-log {
  flex: 1; overflow-y: auto; padding: 0.85rem; background: #f7f4ee;
  display: flex; flex-direction: column; gap: 0.55rem; min-height: 220px;
}
.aa-assist-bubble {
  max-width: 92%; padding: 0.65rem 0.8rem; border-radius: 12px;
  font-size: 0.88rem; line-height: 1.45; white-space: pre-wrap;
}
.aa-assist-bubble--bot { align-self: flex-start; background: #fff; color: #1a2e22; border: 1px solid #e5dfd4; }
.aa-assist-bubble--user { align-self: flex-end; background: #0b2e1a; color: #fff; }
.aa-assist-ctas { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 0.85rem 0.55rem; background: #f7f4ee; }
.aa-assist-cta {
  border: 1px solid #0b2e1a; background: #fff; color: #0b2e1a;
  border-radius: 999px; padding: 0.4rem 0.7rem; font-size: 0.78rem;
  cursor: pointer; font-family: inherit; font-weight: 600;
}
.aa-assist-cta:hover { background: #e8f2eb; }
.aa-assist-cta.is-primary { background: #0b2e1a; color: #fff; }
.aa-assist-input {
  display: flex; gap: 0.4rem; padding: 0.65rem; border-top: 1px solid #e5dfd4; background: #fff;
}
.aa-assist-input input {
  flex: 1; border: 1px solid #d5d0c6; border-radius: 10px; padding: 0.55rem 0.7rem;
  font: inherit; font-size: 0.88rem;
}
.aa-assist-input button {
  border: none; border-radius: 10px; background: #0b2e1a; color: #fff;
  padding: 0 0.85rem; font-weight: 700; cursor: pointer; font-family: inherit;
}
.aa-assist-input button:disabled { opacity: 0.45; cursor: default; }
@media (max-width: 480px) {
  .aa-assist-root { right: 0.65rem; bottom: 0.65rem; }
  .aa-assist-panel { width: calc(100vw - 1.3rem); }
}

/* P0 despacho — definición y FAQ de proceso */
.entity-def {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--aa-ink);
  background: #fff;
  border-left: 4px solid var(--aa-earth);
  border-radius: var(--aa-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--aa-shadow);
  margin: 0;
}
.entity-official {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--aa-muted);
}
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(217, 203, 176, 0.55);
  border-radius: var(--aa-radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--aa-shadow);
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.faq-item p:last-child { margin: 0; }
