/* =========================================================
   AGROPLAN 360 — Hoja de estilo del sitio público
   Paleta clara, superficies suaves, acentos verdes y cielo
   ========================================================= */

:root {
  --ap-ink:        #12261D;
  --ap-body:       #4C5D55;
  --ap-muted:      #7B8B83;

  --ap-green-900:  #0F4E37;
  --ap-green-700:  #1B7A55;
  --ap-green-500:  #2FA173;
  --ap-green-300:  #8AD3AE;
  --ap-green-100:  #D9F0E4;
  --ap-green-50:   #EFF8F3;

  --ap-sky-600:    #2E86C8;
  --ap-sky-400:    #62B3E5;
  --ap-sky-100:    #DCEDF9;
  --ap-sky-50:     #F0F7FD;

  --ap-sand:       #F7F1E4;
  --ap-gold:       #D9A13B;

  --ap-white:      #FFFFFF;
  --ap-mist:       #F6FAF8;
  --ap-line:       #E4EDE8;

  --ap-shadow-sm:  0 2px 8px rgba(18, 38, 29, .05);
  --ap-shadow:     0 10px 30px rgba(18, 38, 29, .07);
  --ap-shadow-lg:  0 24px 60px rgba(18, 38, 29, .10);

  --ap-radius:     18px;
  --ap-radius-lg:  28px;

  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { scroll-behavior: smooth; }

body {
  color: var(--ap-body);
  background: var(--ap-white);
  font-family: var(--bs-body-font-family);
  font-size: 1.03rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-ap {
  color: var(--ap-ink);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.15;
}

a { color: var(--ap-green-700); text-decoration: none; }
a:hover { color: var(--ap-green-900); }

.text-ap-muted { color: var(--ap-muted) !important; }
.text-ap-green { color: var(--ap-green-700) !important; }
.bg-ap-mist   { background: var(--ap-mist) !important; }
.bg-ap-green  { background: var(--ap-green-50) !important; }
.bg-ap-sky    { background: var(--ap-sky-50) !important; }
.bg-ap-sand   { background: var(--ap-sand) !important; }

.lead-ap { font-size: 1.16rem; color: var(--ap-body); line-height: 1.75; }

/* ---------- Marca y navegación ---------- */
.ap-navbar {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.ap-navbar.is-stuck {
  border-bottom-color: var(--ap-line);
  box-shadow: var(--ap-shadow-sm);
}
.ap-brand { display: flex; align-items: center; gap: .65rem; }
/* 42px: el isologo no lleva placa sólida detrás, así que necesita algo más de
   cuerpo que el antiguo cuadrado redondeado para sostenerse junto al nombre. */
.ap-brand__mark { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }

/* Los archivos de marca vienen con fondo blanco opaco, no transparente.
   `multiply` lo neutraliza sobre las superficies claras del sitio (blanco, mist,
   verde 50, cielo 50, arena) sin alterar los colores del logotipo. Si en el futuro
   se sirve el logo con transparencia real, basta con quitar esta regla. */
.ap-logo-img { mix-blend-mode: multiply; }
@media (prefers-contrast: more) {
  .ap-logo-img { mix-blend-mode: normal; }
}

/* Logotipo completo (isologo + nombre + claim) */
.ap-logo { display: block; height: auto; max-width: 100%; }
.ap-logo--hero { width: clamp(107px, 13.2vw, 172px); }
.ap-logo--center { width: clamp(240px, 30vw, 360px); margin-inline: auto; }
.ap-logo--sm { width: clamp(210px, 26vw, 280px); margin-inline: auto; }

/* Claim del logotipo, publicado como texto porque en el PNG está con alfa 0.
   Se limita al ancho del logotipo para que caiga en una sola línea. */
.ap-logo-claim {
  margin: .45rem 0 0;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.4;
  color: var(--ap-muted);
}
/* El claim no sigue al logo del hero en el ancho: conserva el suyo para caer
   en una sola línea, que a 172px de logo sería imposible. */
.ap-logo--hero + .ap-logo-claim { max-width: clamp(268px, 33vw, 430px); }
.ap-logo--center + .ap-logo-claim { max-width: clamp(240px, 30vw, 360px); }
.ap-logo--sm + .ap-logo-claim { max-width: clamp(210px, 26vw, 280px); }
.ap-logo--center + .ap-logo-claim,
.ap-logo--sm + .ap-logo-claim { text-align: center; margin-inline: auto; }
.ap-brand__text { line-height: 1.05; }
.ap-brand__name {
  font-weight: 800; font-size: 1.12rem; color: var(--ap-ink); letter-spacing: -.03em;
}
.ap-brand__name sup { font-size: .52em; top: -.7em; color: var(--ap-green-500); }
.ap-brand__sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ap-muted); }

.ap-navbar .nav-link {
  color: var(--ap-body);
  font-weight: 500;
  font-size: .96rem;
  padding: .5rem .95rem !important;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.ap-navbar .nav-link:hover { color: var(--ap-green-700); background: var(--ap-green-50); }
.ap-navbar .nav-link.active { color: var(--ap-green-900); background: var(--ap-green-50); font-weight: 600; }

/* ---------- Selector de idioma ---------- */
.ap-lang {
  display: inline-flex;
  align-items: center;
  gap: .12rem;
  background: var(--ap-mist);
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  padding: .22rem .3rem .22rem .62rem;
}
.ap-lang__icon { color: var(--ap-muted); font-size: .92rem; margin-right: .3rem; }
.ap-lang__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.05rem;
  padding: .26rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ap-muted);
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ap-lang__btn:hover { color: var(--ap-green-900); background: var(--ap-green-50); }
.ap-lang__btn.is-active {
  color: var(--ap-green-900);
  background: #fff;
  box-shadow: var(--ap-shadow-sm);
}
.ap-lang--footer {
  background: #fff;
  padding: .3rem .45rem .3rem .8rem;
  flex-wrap: wrap;
}
.ap-lang--footer .ap-lang__btn { font-size: .82rem; font-weight: 600; letter-spacing: 0; min-width: 0; }
@media (max-width: 991.98px) {
  .ap-lang { width: 100%; justify-content: flex-start; padding: .35rem .5rem .35rem .8rem; }
  .ap-lang__btn { min-width: 2.6rem; padding: .4rem .7rem; font-size: .85rem; }
}

/* ---------- Botones ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: -.01em; }
.btn-lg { padding: .78rem 1.7rem; font-size: 1rem; }

.btn-ap {
  background: linear-gradient(135deg, var(--ap-green-700), var(--ap-green-500));
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(27, 122, 85, .26);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn-ap:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(27, 122, 85, .32); filter: saturate(115%); }

.btn-ap-outline {
  background: #fff;
  color: var(--ap-green-900);
  border: 1.5px solid var(--ap-green-100);
  box-shadow: var(--ap-shadow-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn-ap-outline:hover { color: var(--ap-green-900); border-color: var(--ap-green-300); transform: translateY(-2px); box-shadow: var(--ap-shadow); }

.btn-ap-ghost { color: var(--ap-green-800, var(--ap-green-900)); border: none; }
.btn-ap-ghost:hover { color: var(--ap-green-700); }

/* ---------- Píldoras / eyebrow ---------- */
.ap-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ap-green-700);
  background: var(--ap-green-50);
  border: 1px solid var(--ap-green-100);
  border-radius: 999px;
  padding: .38rem .95rem;
}
.ap-eyebrow--sky { color: var(--ap-sky-600); background: var(--ap-sky-50); border-color: var(--ap-sky-100); }
.ap-eyebrow--sand { color: #8A6B1F; background: var(--ap-sand); border-color: #EFE2C8; }

.ap-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--ap-line); border-radius: 999px;
  padding: .45rem 1rem; font-size: .88rem; font-weight: 500; color: var(--ap-body);
  box-shadow: var(--ap-shadow-sm);
}
.ap-chip i { color: var(--ap-green-500); }

/* ---------- Secciones ---------- */
.ap-section { padding: 6.5rem 0; position: relative; }
.ap-section--tight { padding: 4.5rem 0; }
@media (max-width: 767.98px) { .ap-section { padding: 4.25rem 0; } }

.ap-rule {
  height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--ap-line), transparent); margin: 0;
}

/* ---------- Hero ---------- */
.ap-hero {
  position: relative;
  padding: 7rem 0 6rem;
  background:
    radial-gradient(1100px 520px at 12% -8%, var(--ap-green-50) 0%, rgba(239, 248, 243, 0) 62%),
    radial-gradient(900px 480px at 92% 4%, var(--ap-sky-50) 0%, rgba(240, 247, 253, 0) 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--ap-mist) 100%);
  overflow: hidden;
}
.ap-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27, 122, 85, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 85, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}
.ap-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
  animation: ap-float 16s ease-in-out infinite;
}
.ap-blob--1 { width: 420px; height: 420px; top: -120px; left: -100px; background: rgba(138, 211, 174, .5); }
.ap-blob--2 { width: 360px; height: 360px; bottom: -140px; right: -80px; background: rgba(98, 179, 229, .38); animation-delay: -6s; }
.ap-blob--3 { width: 260px; height: 260px; top: 40%; right: 32%; background: rgba(217, 161, 59, .16); animation-delay: -11s; }

@keyframes ap-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(18px, -26px, 0) scale(1.06); }
}

.ap-hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.9rem); letter-spacing: -.035em; }
.ap-hero h1 .ap-underline { position: relative; white-space: nowrap; }
.ap-hero h1 .ap-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .32em;
  background: linear-gradient(90deg, rgba(138, 211, 174, .55), rgba(98, 179, 229, .35));
  border-radius: 4px; z-index: -1;
  transform: scaleX(0); transform-origin: left;
  animation: ap-underline 1s cubic-bezier(.2, .8, .2, 1) .5s forwards;
}
@keyframes ap-underline { to { transform: scaleX(1); } }

.ap-hero__stats { border-top: 1px solid var(--ap-line); padding-top: 1.75rem; margin-top: 2.5rem; }
.ap-stat__num { font-size: 1.85rem; font-weight: 800; color: var(--ap-green-900); letter-spacing: -.03em; line-height: 1; }
.ap-stat__lbl { font-size: .82rem; color: var(--ap-muted); }

/* ---------- Tarjetas ---------- */
.ap-card {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  padding: 1.9rem;
  height: 100%;
  box-shadow: var(--ap-shadow-sm);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.ap-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--ap-green-500), var(--ap-sky-400));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.ap-card:hover { transform: translateY(-6px); box-shadow: var(--ap-shadow-lg); border-color: var(--ap-green-100); }
.ap-card:hover::before { transform: scaleX(1); }
.ap-card h3, .ap-card h4 { font-size: 1.12rem; margin-bottom: .55rem; }
.ap-card p { margin-bottom: 0; font-size: .96rem; }

.ap-card--flat { box-shadow: none; }
.ap-card--flat:hover { transform: none; box-shadow: var(--ap-shadow); }

/* Tarjeta apilada dentro de una columna: debe medir su contenido.
   Sin esto, `height: 100%` resuelve contra la altura de la columna flex
   (Bootstrap estira las columnas de una fila) y la tarjeta desborda
   la sección hasta montarse sobre el pie. */
.ap-card--auto { height: auto; }

.ap-ico {
  width: 52px; height: 52px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.42rem; margin-bottom: 1.15rem;
  background: linear-gradient(140deg, var(--ap-green-50), var(--ap-green-100));
  color: var(--ap-green-700);
  border: 1px solid rgba(138, 211, 174, .45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.ap-card:hover .ap-ico { transform: translateY(-3px) rotate(-4deg) scale(1.05); }
.ap-ico--sky  { background: linear-gradient(140deg, var(--ap-sky-50), var(--ap-sky-100)); color: var(--ap-sky-600); border-color: rgba(98, 179, 229, .4); }
.ap-ico--sand { background: linear-gradient(140deg, #FDF8EE, var(--ap-sand)); color: #A87C1C; border-color: #EEE0C4; }

/* ---------- Lista de desafíos ---------- */
.ap-pain {
  display: flex; gap: 1rem; padding: 1.15rem 1.25rem;
  background: #fff; border: 1px solid var(--ap-line); border-radius: 14px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ap-pain:hover { border-color: rgba(217, 161, 59, .5); transform: translateX(4px); box-shadow: var(--ap-shadow-sm); }
.ap-pain i { color: var(--ap-gold); font-size: 1.2rem; line-height: 1.5; }
.ap-pain strong { color: var(--ap-ink); display: block; font-size: .99rem; }
.ap-pain span { font-size: .9rem; color: var(--ap-muted); }

/* ---------- Cita / statement ---------- */
.ap-statement {
  border-left: 3px solid var(--ap-green-300);
  padding: .35rem 0 .35rem 1.6rem;
  font-size: 1.22rem;
  color: var(--ap-ink);
  font-weight: 500;
  line-height: 1.55;
}
.ap-quote {
  background: linear-gradient(135deg, var(--ap-green-50), var(--ap-sky-50));
  border: 1px solid var(--ap-green-100);
  border-radius: var(--ap-radius-lg);
  padding: 3rem;
  position: relative;
}
.ap-quote::before {
  content: '\201C';
  position: absolute; top: -.15em; left: .3em;
  font-size: 8rem; line-height: 1; color: rgba(47, 161, 115, .16); font-family: Georgia, serif;
}
.ap-quote p { font-size: 1.3rem; color: var(--ap-ink); font-weight: 500; position: relative; line-height: 1.5; }

/* ---------- Capas de decisión ---------- */
.ap-layer {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  padding: 1.4rem 1.75rem;
  margin-bottom: .85rem;
  box-shadow: var(--ap-shadow-sm);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.ap-layer:hover { transform: translateX(6px); border-color: var(--ap-green-200, var(--ap-green-100)); box-shadow: var(--ap-shadow); }
.ap-layer__n {
  font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--ap-green-500), var(--ap-sky-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ap-layer__t { font-size: 1.06rem; font-weight: 700; color: var(--ap-ink); }
.ap-layer__f { font-size: .93rem; margin: .15rem 0 0; }
.ap-layer__h {
  white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--ap-green-700);
  background: var(--ap-green-50); border-radius: 999px; padding: .35rem .9rem; border: 1px solid var(--ap-green-100);
}
@media (max-width: 767.98px) {
  .ap-layer { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.15rem 1.25rem; }
  .ap-layer__h { grid-column: 2; justify-self: start; }
}

/* ---------- Escalera de madurez ---------- */
.ap-stairs { display: flex; align-items: flex-end; gap: .7rem; min-height: 300px; }
.ap-step {
  flex: 1; border-radius: 14px 14px 0 0; padding: 1rem .7rem .9rem;
  background: linear-gradient(180deg, var(--ap-green-50), #fff);
  border: 1px solid var(--ap-line); border-bottom: none;
  text-align: center; position: relative;
  transform-origin: bottom;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.ap-step:hover { box-shadow: var(--ap-shadow); transform: translateY(-4px); }
.ap-step__lvl {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-muted);
}
.ap-step__name { font-size: .93rem; font-weight: 700; color: var(--ap-ink); margin-top: .3rem; line-height: 1.25; }
.ap-step__desc { font-size: .78rem; color: var(--ap-muted); margin-top: .4rem; line-height: 1.4; }
.ap-step:nth-child(1) { height: 42%; }
.ap-step:nth-child(2) { height: 54%; }
.ap-step:nth-child(3) { height: 66%; }
.ap-step:nth-child(4) { height: 78%; }
.ap-step:nth-child(5) { height: 89%; background: linear-gradient(180deg, var(--ap-sky-50), #fff); }
.ap-step:nth-child(6) { height: 100%; background: linear-gradient(180deg, var(--ap-green-100), #fff); }
.ap-stairs.is-visible .ap-step { animation: ap-grow .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.ap-stairs.is-visible .ap-step:nth-child(1) { animation-delay: .05s; }
.ap-stairs.is-visible .ap-step:nth-child(2) { animation-delay: .15s; }
.ap-stairs.is-visible .ap-step:nth-child(3) { animation-delay: .25s; }
.ap-stairs.is-visible .ap-step:nth-child(4) { animation-delay: .35s; }
.ap-stairs.is-visible .ap-step:nth-child(5) { animation-delay: .45s; }
.ap-stairs.is-visible .ap-step:nth-child(6) { animation-delay: .55s; }
@keyframes ap-grow { from { transform: scaleY(.2); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@media (max-width: 767.98px) {
  .ap-stairs { flex-direction: column; align-items: stretch; min-height: 0; }
  .ap-step { height: auto !important; border-radius: 14px; border-bottom: 1px solid var(--ap-line); text-align: left; }
}

/* ---------- Línea de tiempo ---------- */
.ap-timeline { position: relative; padding-left: 0; }
.ap-timeline::before {
  content: ''; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--ap-green-300), var(--ap-sky-400));
  border-radius: 2px;
}
.ap-tl-item { position: relative; padding-left: 4.5rem; margin-bottom: 2.1rem; }
.ap-tl-item__dot {
  position: absolute; left: 14px; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ap-green-500);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: var(--ap-green-700);
  box-shadow: 0 0 0 5px rgba(47, 161, 115, .10);
}
.ap-tl-item__meta { font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ap-sky-600); }
.ap-tl-item__title { font-size: 1.1rem; font-weight: 700; color: var(--ap-ink); margin: .1rem 0 .35rem; }
.ap-tl-item p { font-size: .95rem; margin: 0; }
@media (max-width: 575.98px) { .ap-tl-item { padding-left: 3.4rem; } .ap-timeline::before { left: 21px; } }

/* ---------- Métricas ---------- */
.ap-metric {
  text-align: center; padding: 2.1rem 1.25rem; background: #fff;
  border: 1px solid var(--ap-line); border-radius: var(--ap-radius); height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ap-metric:hover { transform: translateY(-5px); box-shadow: var(--ap-shadow); }
.ap-metric__num {
  font-size: 2.75rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, var(--ap-green-700), var(--ap-sky-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ap-metric__lbl { font-weight: 600; color: var(--ap-ink); margin-top: .6rem; font-size: .98rem; }
.ap-metric__rng { font-size: .8rem; color: var(--ap-muted); margin-top: .2rem; }

/* ---------- Bandas y CTA ---------- */
.ap-cta {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(138, 211, 174, .3), transparent 60%),
    radial-gradient(600px 300px at 85% 80%, rgba(98, 179, 229, .26), transparent 60%),
    linear-gradient(135deg, var(--ap-green-50), var(--ap-sky-50));
  border-radius: var(--ap-radius-lg);
  padding: 3.6rem;
  border: 1px solid var(--ap-green-100);
  position: relative; overflow: hidden;
}
@media (max-width: 767.98px) { .ap-cta { padding: 2.25rem; border-radius: 20px; } }

.ap-nda {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--ap-sand); border: 1px solid #EFE2C8; border-radius: 14px;
  padding: 1.1rem 1.35rem; font-size: .9rem; color: #6E5A2A;
}
.ap-nda i { font-size: 1.05rem; color: var(--ap-gold); line-height: 1.5; }

/* ---------- Listas de verificación ---------- */
.ap-check { list-style: none; padding: 0; margin: 0; }
.ap-check li {
  position: relative; padding-left: 2rem; margin-bottom: .85rem; font-size: .99rem; color: var(--ap-body);
}
.ap-check li::before {
  content: '\F26E'; font-family: 'bootstrap-icons';
  position: absolute; left: 0; top: -.05rem; color: var(--ap-green-500); font-size: 1.05rem;
}

/* ---------- Datos de contacto directo ---------- */
.ap-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ap-contact-list li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .1rem; align-items: start; font-size: .95rem; }
.ap-contact-list i { color: var(--ap-green-500); font-size: 1rem; line-height: 1.55; }
.ap-contact-list address { font-style: normal; line-height: 1.5; color: var(--ap-body); }

.ap-pill-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.ap-pill {
  font-size: .86rem; padding: .42rem .95rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--ap-line); color: var(--ap-body);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.ap-pill:hover { border-color: var(--ap-green-300); color: var(--ap-green-900); transform: translateY(-2px); }

/* ---------- Formulario ---------- */
.ap-form-card {
  background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius-lg);
  padding: 2.6rem; box-shadow: var(--ap-shadow);
}
.form-label { font-weight: 600; color: var(--ap-ink); font-size: .92rem; margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: 12px; border: 1px solid var(--ap-line); padding: .72rem .95rem; font-size: .97rem;
  background: var(--ap-mist);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--ap-green-300); background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 161, 115, .12);
}
.ap-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Pie ---------- */
.ap-footer { background: var(--ap-mist); border-top: 1px solid var(--ap-line); padding: 4rem 0 2rem; }
.ap-footer a { color: var(--ap-body); font-size: .94rem; }
.ap-footer a:hover { color: var(--ap-green-700); }
.ap-footer__legal { font-size: .8rem; color: var(--ap-muted); }

/* ---------- Animaciones de aparición ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }
.reveal[data-delay="6"] { transition-delay: .54s; }

.ap-float-soft { animation: ap-float-soft 7s ease-in-out infinite; }
@keyframes ap-float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Ilustraciones SVG ---------- */
.ap-illus { width: 100%; height: auto; display: block; }
.ap-illus .ap-dash { stroke-dasharray: 6 8; animation: ap-dash 2.4s linear infinite; }
@keyframes ap-dash { to { stroke-dashoffset: -28; } }
.ap-illus .ap-pulse { animation: ap-pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ap-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .85; transform: scale(1.12); } }
.ap-illus .ap-sway { animation: ap-sway 5s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
@keyframes ap-sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.ap-illus .ap-rise { animation: ap-rise 6s ease-in-out infinite; }
@keyframes ap-rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.ap-illus .ap-spin-slow { animation: ap-spin 26s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ap-spin { to { transform: rotate(360deg); } }

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