/* ==========================================================================
   DarteIA — Landing corporativa
   styles.css
   Paleta derivada de los logos del ecosistema (azul marino + naranja DarteIA).
   ========================================================================== */

:root {
  /* --- Marca DarteIA --- */
  --ink: #0A1F44;          /* Azul marino principal (logo DarteIA) */
  --ink-700: #12315F;
  --ink-500: #2A4A7A;
  --accent: #F0621A;       /* Naranja DarteIA */
  --accent-600: #D64F0C;
  --accent-soft: #FFF1E8;

  /* --- Superficies --- */
  --canvas: #FBFAF8;       /* Fondo base, cálido y neutro */
  --surface: #FFFFFF;
  --tint: #F2F5F9;         /* Fondo de secciones alternas */
  --line: rgba(10, 31, 68, .12);
  --line-strong: rgba(10, 31, 68, .22);

  /* --- Texto --- */
  --text: #12203A;
  --muted: #5B6B85;

  /* --- Colores de acento por marca (se usan también desde JS) --- */
  --brand-connect: #2563C9;
  --brand-sabor: #1F6B36;
  --brand-salud: #1478D8;
  --brand-crm: #0E9B96;
  --brand-lore: #F0621A;

  --whatsapp: #1EA855;

  /* --- Sistema --- */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .04), 0 6px 20px rgba(10, 31, 68, .05);
  --shadow-md: 0 2px 4px rgba(10, 31, 68, .05), 0 18px 40px rgba(10, 31, 68, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Bricolage Grotesque", "Trebuchet MS", Georgia, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Tahoma, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  background-color: var(--canvas);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
}

p { color: var(--muted); }

::selection { background: var(--ink); color: #fff; }

/* Accesibilidad: foco visible y salto de contenido */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* --------------------------------------------------------------------------
   Utilidades de layout y tipografía
   -------------------------------------------------------------------------- */
.container { max-width: 1180px; }

/* Compensa los gutters amplios (g-lg-5) para que ninguna fila desborde el viewport */
@media (min-width: 992px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-600);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--light { color: #FFB183; }
.eyebrow--light::before { background: #FFB183; }

.section-title {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  margin-bottom: .85rem;
  max-width: 22ch;
}
.section-lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  max-width: 62ch;
  margin-bottom: 0;
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head--center { text-align: center; }
.section-head--center .section-title,
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

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

.dot-grid {
  background-image: radial-gradient(circle at 1px 1px, rgba(10, 31, 68, .10) 1px, transparent 0);
  background-size: 22px 22px;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: .78rem 1.5rem;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus { background: var(--ink-700); color: #fff; box-shadow: var(--shadow-md); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-600); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline-ink { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline-ink:hover, .btn-outline-ink:focus { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover, .btn-wa:focus { background: #178A45; color: #fff; box-shadow: var(--shadow-md); }

.btn-light-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-light-ghost:hover, .btn-light-ghost:focus { background: #fff; color: var(--ink); border-color: #fff; }

.btn-lg { padding: .95rem 1.75rem; font-size: 1.02rem; }
.btn i { font-size: 1.1em; }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(251, 250, 248, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 31, 68, .05);
}
.site-header .navbar { padding-top: .85rem; padding-bottom: .85rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__img { height: 42px; width: auto; display: block; }
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1;
}
.brand__wordmark .ia { color: var(--accent); }
.brand__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .25rem;
  font-weight: 500;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .45rem .6rem;
  color: var(--ink);
}
.navbar-toggler:focus { box-shadow: none; }

.nav-link {
  font-weight: 500;
  color: var(--ink) !important;
  padding: .5rem .9rem !important;
  position: relative;
  border-radius: 8px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .28rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink) !important; font-weight: 600; }

.navbar-nav .btn { margin-left: .5rem; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: .85rem;
    box-shadow: var(--shadow-md);
  }
  .nav-link { padding: .75rem .5rem !important; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .navbar-nav .nav-item:last-of-type .nav-link { border-bottom: 0; }
  .navbar-nav .btn { margin: .75rem 0 .25rem; width: 100%; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10, 31, 68, .09) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 85% at 78% 12%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 85% at 78% 12%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__title {
  font-size: clamp(2.15rem, 6.2vw, 4rem);
  letter-spacing: -.035em;
  margin-bottom: 1.15rem;
}
.hero__lead {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__meta {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta i { color: var(--accent); font-size: 1rem; }

/* Diagrama de ecosistema (SVG) */
.hero__visual { position: relative; }
.eco-diagram { width: 100%; height: auto; display: block; }
.eco-diagram .link {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.25;
  stroke-dasharray: 5 7;
  animation: flow 9s linear infinite;
}
.eco-diagram .node-ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.eco-diagram .node-chip { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.eco-diagram .node-dot { fill: var(--accent); }
.eco-diagram .node-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
}
.eco-diagram .core { fill: var(--ink); }
.eco-diagram .core-label {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  fill: #fff;
  letter-spacing: -.02em;
}
.eco-diagram .core-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  fill: rgba(255, 255, 255, .72);
  letter-spacing: .16em;
}
.eco-diagram .pulse { transform-origin: center; animation: pulse 4.5s ease-in-out infinite; }

@media (max-width: 991.98px) {
  .eco-diagram .node-label { font-size: 15.5px; }
  .eco-diagram .core-label { font-size: 21px; }
  .eco-diagram .core-sub { font-size: 9.5px; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
}

@keyframes flow { to { stroke-dashoffset: -120; } }
@keyframes pulse {
  0%, 100% { opacity: .18; transform: scale(1); }
  50% { opacity: .45; transform: scale(1.06); }
}

/* --------------------------------------------------------------------------
   Tarjetas genéricas
   -------------------------------------------------------------------------- */
.card-flat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-flat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-flat h3 { font-size: 1.16rem; margin-bottom: .55rem; }
.card-flat p { margin-bottom: 0; font-size: .96rem; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-600);
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.icon-box--ink { background: rgba(10, 31, 68, .07); color: var(--ink); }

/* Qué hacemos: lista escaneable */
.do-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  height: 100%;
  font-weight: 500;
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.do-item:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.do-item i { color: var(--accent); font-size: 1.3rem; flex: none; }

/* --------------------------------------------------------------------------
   Ecosistema
   -------------------------------------------------------------------------- */
.eco-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.eco-filter {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .92rem;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.eco-filter:hover { border-color: var(--line-strong); }
.eco-filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.eco-card {
  --brand: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.eco-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand);
  opacity: .85;
}
.eco-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }

.eco-card__media {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 9%, #fff) 0%, color-mix(in srgb, var(--brand) 4%, #fff) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.eco-card__logo {
  max-height: 100%;
  max-width: 82%;
  object-fit: contain;
  transition: transform .35s var(--ease);
}
.eco-card:hover .eco-card__logo { transform: scale(1.04); }

.eco-card__media--photo { padding: 0; align-items: flex-start; }
.eco-card__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .5s var(--ease);
}
.eco-card:hover .eco-card__media--photo img { transform: scale(1.03); }

.eco-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.eco-card__cat {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.eco-card__cat::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
.eco-card__name { font-size: 1.32rem; margin-bottom: .55rem; }
.eco-card__desc { font-size: .95rem; margin-bottom: 1.35rem; }
.eco-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .55rem; }

.eco-card__cta {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: .62rem 1.15rem;
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.eco-card__cta:hover { color: #fff; filter: brightness(.9); transform: translateX(2px); }

.eco-card__wa {
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: .62rem 1.05rem;
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: all .2s var(--ease);
}
.eco-card__wa:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }

.eco-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
  z-index: 2;
}
.eco-card__badge--soon { background: var(--muted); }

.eco-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: .95rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Para quién
   -------------------------------------------------------------------------- */
.who-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .65rem 1.15rem;
  font-weight: 500;
  color: var(--ink);
  font-size: .97rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.who-chip:hover { transform: translateY(-2px); border-color: var(--ink); }
.who-chip i { color: var(--accent); }
.who-list { display: flex; flex-wrap: wrap; gap: .7rem; }

/* --------------------------------------------------------------------------
   Proceso
   -------------------------------------------------------------------------- */
.step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line); height: 100%; }
.step__num {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.step h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.step p { font-size: .96rem; margin-bottom: 0; }
.step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 42px; height: 2px;
  background: var(--accent);
  transition: width .5s var(--ease);
}
.step:hover::after { width: 100%; }

/* --------------------------------------------------------------------------
   Banda destacada (idea)
   -------------------------------------------------------------------------- */
.band {
  background: var(--ink);
  color: #fff;
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2.25rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(90% 90% at 92% 8%, #000, transparent 70%);
  mask-image: radial-gradient(90% 90% at 92% 8%, #000, transparent 70%);
}
.band > * { position: relative; }
.band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .9rem; }
.band p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; max-width: 56ch; margin-bottom: 0; }
.band__accent { height: 4px; width: 56px; background: var(--accent); border-radius: 2px; margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item i { color: var(--accent); font-size: 1.35rem; margin-top: .15rem; }
.contact-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.contact-item p, .contact-item a { font-size: .97rem; margin-bottom: 0; color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--accent-600); text-decoration: underline; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: clamp(3rem, 7vw, 4.5rem); }
.site-footer .brand__wordmark { color: #fff; }
.site-footer .brand__tag { color: rgba(255, 255, 255, .55); }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer p { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .95rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 1.5rem 0;
  font-size: .87rem;
}
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  transition: all .2s var(--ease);
}
.footer-social a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* --------------------------------------------------------------------------
   Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(10, 31, 68, .22);
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover { background: #178A45; color: #fff; transform: scale(1.06); }
.wa-float .visually-hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (min-width: 992px) {
  .wa-float { right: 28px; bottom: 28px; width: 58px; height: 58px; }
}

/* --------------------------------------------------------------------------
   Animaciones de entrada
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Ajustes móviles finos
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .hero__actions .btn { width: 100%; }
  .eco-card__actions { flex-direction: column; align-items: stretch; }
  .eco-card__cta, .eco-card__wa { justify-content: center; }
  .hero__meta { gap: .85rem 1.5rem; }
  .brand__img { height: 36px; }
  .brand__wordmark { font-size: 1.28rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}
