/* ==========================================================================
   also-it. — design system (dark, minimalist)
   ========================================================================== */

:root{
  /* base: azul noche + blanco */
  --bg: #0F1B3D;
  --bg-alt: #0A1330;
  --surface: #162349;
  --surface-2: #1C2B56;
  --border: #283A6B;
  --border-soft: #1A2547;
  --text: #FFFFFF;
  --text-muted: #9AA7C9;
  --text-dim: #64748B;
  /* marca / CTA / enlaces: índigo, con violeta apoyo e índigo oscuro como estados */
  --accent: #3E00FF;
  --accent-strong: #7B61FF;
  --accent-dim: #1E0B8C;
  --accent-bg: rgba(62,0,255,.14);
  /* índigo puro (#3E00FF) sobre azul noche solo da ~2.1:1 de contraste — insuficiente
     para texto/íconos (falla WCAG incluso a tamaño grande). accent-text usa violeta
     apoyo, que da ~4:1, para todo lo que es texto/ícono sobre el fondo oscuro.
     --accent sigue siendo el índigo real para rellenos sólidos (botones, logo-badge). */
  --accent-text: #7B61FF;
  /* apoyo visual puntual (glows, chips, detalles — no como color principal) */
  --lavender: #EADDFF;
  --gray-light: #E5EAF2;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 76px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  --ff: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-weight: 700; letter-spacing: -0.02em; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.accent{ color: var(--accent-text); }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before{
  content:''; width:16px; height:1px; background: var(--accent-text);
}
.text-muted{ color: var(--text-muted); }

section{ padding: 96px 0; }
@media (max-width: 720px){ section{ padding: 64px 0; } }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--accent); color: #FFFFFF; }
.btn-primary:hover{ background: var(--accent-strong); }
.btn-outline{ border-color: var(--border); color: var(--text); }
.btn-outline:hover{ border-color: var(--accent-text); color: var(--accent-text); }
.btn-ghost{ color: var(--text-muted); }
.btn-ghost:hover{ color: var(--text); }
.btn svg{ width:16px; height:16px; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  height: var(--header-h);
}
/* backdrop-filter lives on a pseudo-element, not .site-header itself: putting it on
   the header would make it a containing block for position:fixed descendants (the
   mobile nav overlay), trapping that overlay inside the header's own height. */
.site-header::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: rgba(15,27,61,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.logo{ display:flex; align-items:center; }
.logo-img{ display:block; height:26px; width:auto; }
.footer-brand .logo-img{ height:30px; }

.nav{ display:flex; align-items:center; gap: 6px; }
.nav > li{ position: relative; }
.nav a.nav-link, .nav button.nav-link{
  display:flex; align-items:center; gap:6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-muted);
  background: none; border:none;
}
.nav a.nav-link:hover, .nav button.nav-link:hover{ color: var(--text); }
.nav li.active > a.nav-link{ color: var(--text); }
.nav-link svg{ width:14px; height:14px; transition: transform .15s ease; }
.nav li:hover .nav-link svg{ transform: rotate(180deg); }

.header-cta{ display:flex; align-items:center; gap: 12px; }

/* mega menu */
.mega{
  position:absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  opacity:0; visibility:hidden; translate: 0 8px;
  transition: opacity .16s ease, translate .16s ease, visibility .16s ease;
  display:grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.nav li:hover .mega, .nav li.mega-open .mega{ opacity:1; visibility:visible; translate:0 0; }
.mega-item{ display:flex; align-items:flex-start; gap: 12px; padding: 12px; border-radius: var(--radius-sm); }
.mega-item:hover{ background: var(--surface-2); }
.mega-item .ic{
  flex: none; width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: var(--accent-bg); color: var(--accent-text);
}
.mega-item .ic svg{ width:18px; height:18px; }
.mega-item strong{ display:block; font-size: 14px; font-weight:600; color: var(--text); }
.mega-item small{ display:block; margin-top:2px; font-size:12.5px; color: var(--text-dim); line-height:1.4; }
.mega-foot{
  grid-column: 1 / -1; margin-top: 4px; padding: 12px; border-top: 1px solid var(--border-soft);
  display:flex; align-items:center; justify-content:space-between;
}
.mega-foot a{ font-size: 13px; font-weight:600; color: var(--accent-text); display:flex; align-items:center; gap:6px; }

/* mobile nav */
.nav-toggle{ display:none; background:none; border:1px solid var(--border); border-radius: 10px; padding: 9px; color: var(--text); }
.nav-toggle svg{ width:20px; height:20px; }

@media (max-width: 980px){
  .nav{ display:none; }
  .header-cta .btn-outline{ display:none; }
  .nav-toggle{ display:flex; }
  body.nav-open .nav{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    padding: 8px 16px 24px; overflow:auto; z-index: 90;
  }
  body.nav-open .nav > li{ border-bottom: 1px solid var(--border-soft); }
  body.nav-open .nav-link{ width:100%; padding: 16px 8px; border-radius:0; justify-content:space-between; }
  body.nav-open .mega{
    position: static; transform:none; width:auto; opacity:1; visibility:visible; translate:0;
    display:none; grid-template-columns: 1fr; box-shadow:none; border:none; background:none; padding: 0 0 8px;
  }
  body.nav-open li.mega-open .mega{ display:grid; }
  body.nav-open .mega-foot{ display:none; }
}

/* ---------- hero ---------- */
.hero{ padding: 84px 0 72px; position:relative; overflow:hidden; }
/* Backdrop behind the hero message — the client's building photo, full-bleed,
   with a fade on its left/bottom so the centered copy stays readable. */
.hero-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.hero-bg img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: 78% center; }
.hero-bg::after{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(15,27,61,.25) 20%, rgba(15,27,61,.25) 70%, var(--bg) 100%),
    linear-gradient(100deg, var(--bg) 0%, var(--bg) 24%, rgba(15,27,61,.72) 42%, rgba(15,27,61,.28) 62%, rgba(15,27,61,.05) 80%, transparent 100%);
}
.hero-inner{ position:relative; z-index:1; text-align:left; max-width: 620px; }
@media (max-width: 900px){ .hero-bg img{ opacity:.4; } }
@media (max-width: 680px){ .hero-bg{ display:none; } }
.hero h1{ font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.06; }
.hero p.lead{ margin-top:24px; font-size: 18px; color: var(--text-muted); max-width: 540px; }
.hero-cta{ margin-top: 36px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero .hero-cta{ justify-content:flex-start; }

.hero-sm{ padding: 56px 0 48px; }
.hero-sm .hero-inner{ text-align:left; margin:0; max-width: 760px; }
.hero-sm h1{ font-size: clamp(1.9rem, 4.2vw, 3rem); }

.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color: var(--text-dim); margin-bottom:20px; flex-wrap:wrap; }
.breadcrumb a:hover{ color: var(--accent-text); }
.breadcrumb span.sep{ opacity:.5; }
.breadcrumb .current{ color: var(--text-muted); }

/* ---------- decorative art (cards / hero panels) ---------- */
.art{
  position:relative; border-radius: var(--radius); overflow:hidden;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(234,221,255,.10), transparent 55%),
    radial-gradient(80% 100% at 100% 100%, var(--accent-bg), transparent 60%),
    linear-gradient(160deg, #182755 0%, #101c3f 60%, #0B1530 100%);
  border: 1px solid var(--border-soft);
}
.art::after{
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
  opacity:.5;
}
.art .art-icon{ position:absolute; color: var(--accent-text); opacity:.9; }
.art .art-icon svg{ width:100%; height:100%; }

/* ---------- service cards grid (home / servicios index) ---------- */
.grid{ display:grid; gap: 22px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:44px; flex-wrap:wrap; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top:12px; max-width:560px; }
.section-head p{ color: var(--text-muted); max-width: 420px; }

.card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color .18s ease, transform .18s ease, background .18s ease;
  display:flex; flex-direction:column; height:100%;
}
.card:hover{ border-color: var(--accent-dim); transform: translateY(-4px); background: var(--surface-2); }
.card .ic{
  width:46px; height:46px; border-radius:12px; background: var(--accent-bg); color: var(--accent-text);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.card .ic svg{ width:22px; height:22px; }
.card h3{ font-size: 18px; margin-bottom:10px; }
.card p{ color: var(--text-muted); font-size: 14.5px; flex:1; }
.card .card-link{ margin-top:18px; display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color: var(--accent-text); }
.card .card-link svg{ width:14px; height:14px; transition: translate .15s ease; }
.card:hover .card-link svg{ translate: 4px 0; }

/* service card variant with number */
.card-num{ font-family: var(--ff); font-size:13px; color: var(--text-dim); margin-bottom:14px; }

/* ---------- pillar cards (service detail page) ---------- */
.pillar-card{
  border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); background: var(--surface);
  display:flex; flex-direction:column; height:100%; transition: border-color .18s ease, transform .18s ease;
}
.pillar-card:hover{ border-color: var(--accent-dim); transform: translateY(-4px); }
.pillar-card .art{ height: 220px; border-radius:0; border:none; border-bottom: 1px solid var(--border-soft); }
.pillar-card .pillar-body{ padding: 24px; display:flex; flex-direction:column; flex:1; }
.pillar-card .eyebrow{ margin-bottom:10px; }
.pillar-card h3{ font-size: 19px; margin-bottom: 10px; }
.pillar-card p{ color: var(--text-muted); font-size: 14.5px; flex:1; }
.pillar-card .card-link{ margin-top:20px; display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color: var(--accent-text); }
.pillar-card .card-link svg{ width:14px; height:14px; transition: translate .15s ease; }
.pillar-card:hover .card-link svg{ translate: 4px 0; }

/* ---------- content blocks (landing pages) ---------- */
.prose{ max-width: 720px; }
.prose p{ color: var(--text-muted); margin-bottom: 18px; font-size: 16px; }
.prose p:last-child{ margin-bottom:0; }

.check-list{ display:grid; gap:14px; margin-top: 8px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; color: var(--text-muted); font-size:15px; }
.check-list li svg{ flex:none; width:20px; height:20px; color: var(--accent-text); margin-top:1px; }

.benefit-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-top:16px; }
@media (max-width: 780px){ .benefit-grid{ grid-template-columns: 1fr; } }
.benefit{ padding:22px; border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.benefit .ic{ width:38px; height:38px; border-radius:10px; background:var(--accent-bg); color:var(--accent-text); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.benefit .ic svg{ width:18px; height:18px; }
.benefit h4{ font-size:15.5px; margin-bottom:8px; }
.benefit p{ font-size:13.5px; color: var(--text-muted); }

.split{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:center; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap:36px; } }
.split.rev{ grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px){ .split.rev{ grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); padding: 44px 0; }
@media (max-width: 780px){ .stats{ grid-template-columns: 1fr 1fr; } }
.stat b{ display:block; font-size: clamp(1.7rem,4vw,2.4rem); color: var(--text); }
.stat span{ font-size: 13px; color: var(--text-dim); }

/* ---------- values / about ---------- */
.value-card{ padding:26px; border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.value-card .ic{ width:42px; height:42px; border-radius:10px; background:var(--accent-bg); color:var(--accent-text); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.value-card .ic svg{ width:20px; height:20px; }
.value-card h3{ font-size:16px; margin-bottom:8px; }
.value-card p{ font-size:14px; color:var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-band{
  border-radius: 24px; padding: 56px; text-align:center;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; width:520px; height:320px; border-radius:50%;
  background: radial-gradient(closest-side, var(--accent-bg), transparent 70%);
  top:-160px; right:-80px;
}
.cta-band h2{ font-size: clamp(1.6rem,3.4vw,2.4rem); position:relative; }
.cta-band p{ color:var(--text-muted); margin-top:14px; max-width:520px; margin-inline:auto; position:relative; }
.cta-band .hero-cta{ position:relative; margin-top:30px; }

/* ---------- news / newsletter ---------- */
.news-card{ border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; background: var(--surface); }
.news-card .art{ height:170px; border-radius:0; border:none; border-bottom:1px solid var(--border-soft); }
.news-card .news-body{ padding:22px; }
.news-card time{ font-size:12px; color:var(--text-dim); letter-spacing:.06em; text-transform:uppercase; }
.news-card h3{ font-size:16.5px; margin: 10px 0 8px; }
.news-card p{ font-size:13.5px; color:var(--text-muted); }
.news-empty{ text-align:center; padding: 40px 24px; border:1px dashed var(--border); border-radius: var(--radius); color: var(--text-dim); font-size:14px; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:13px; color: var(--text-muted); margin-bottom:8px; }
.field input, .field textarea{
  width:100%; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 14px; color: var(--text); font-family: inherit; font-size:14.5px;
}
.field input:focus, .field textarea:focus{ outline:none; border-color: var(--accent-text); }
.field textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size:12.5px; color: var(--text-dim); margin-top:14px; }

.info-list{ display:grid; gap:20px; }
.info-item{ display:flex; gap:16px; align-items:flex-start; padding:20px; border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.info-item .ic{ flex:none; width:40px; height:40px; border-radius:10px; background:var(--accent-bg); color:var(--accent-text); display:flex; align-items:center; justify-content:center; }
.info-item .ic svg{ width:19px; height:19px; }
.info-item strong{ display:block; font-size:14.5px; margin-bottom:4px; }
.info-item span, .info-item a{ font-size:13.5px; color: var(--text-muted); }
.info-item a:hover{ color: var(--accent-text); }

.social-row{ display:flex; gap:10px; margin-top: 4px; }
.social-row a{
  width:38px; height:38px; border-radius:10px; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color: var(--text-muted);
}
.social-row a:hover{ color: var(--accent-text); border-color: var(--accent-dim); }
.social-row svg{ width:17px; height:17px; }

/* ---------- footer ---------- */
.site-footer{ border-top: 1px solid var(--border-soft); padding: 64px 0 28px; background: var(--bg-alt); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand p{ margin-top:14px; color: var(--text-muted); font-size:14px; max-width: 280px; }
.footer-col h4{ font-size:13px; color: var(--text-dim); text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }
.footer-col li{ margin-bottom: 12px; }
.footer-col a{ font-size:14px; color: var(--text-muted); }
.footer-col a:hover{ color: var(--accent-text); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding-top:28px; border-top:1px solid var(--border-soft); font-size:13px; color: var(--text-dim); }

/* ---------- misc ---------- */
.mt-8{ margin-top:8px;} .mt-16{ margin-top:16px;} .mt-24{ margin-top:24px;} .mt-32{ margin-top:32px;} .mt-48{ margin-top:48px;}

/* ---------- v2 (SAP): additions ---------- */
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px){ .grid-4{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .grid-4{ grid-template-columns: 1fr; } }

.value-card .eyebrow{ margin-bottom:10px; }
.value-card .mission-text{ font-size:17px; color: var(--text); line-height:1.5; }

.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.chips li{ padding:7px 14px; border-radius:999px; border:1px solid var(--border); background: var(--surface-2); font-size:13.5px; color: var(--text-muted); }

/* isotipo como marca de agua */
.art-watermark{ display:flex; align-items:center; justify-content:center; }
.art-watermark .watermark{ position:relative; z-index:1; width:58%; max-width:300px; height:auto; opacity:.16; }

/* selector en formulario */
.field select{
  width:100%; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 40px 13px 14px; color: var(--text); font-family: inherit; font-size:14.5px;
  appearance:none; -webkit-appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA7C9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 14px center; background-size:16px;
}
.field select:focus{ outline:none; border-color: var(--accent-text); }
.field select option{ background: var(--surface); color: var(--text); }
.form-status.ok{ color:#7FE0A8; }
.form-status.err{ color:#FF9B9B; }

/* botón flotante de WhatsApp */
.wa-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  display:flex; align-items:center; gap:8px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25D366; color: #0B2A17; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.55);
  transition: transform .15s ease;
}
.wa-float:hover{ transform: translateY(-2px); }
.wa-float svg{ width:22px; height:22px; }
@media (max-width: 560px){ .wa-float span{ display:none; } .wa-float{ padding:14px; } }

/* ---------- v3: cabecera móvil, formulario, legal ---------- */
.logo{ flex: none; }
.logo-img{ max-width: none; }
.nav-toggle{ flex: none; align-items:center; justify-content:center; width:44px; height:44px; padding:0; }
.nav-cta{ display:none; }
@media (max-width: 980px){
  .site-header .container{ gap:12px; }
  .header-cta{ gap:10px; }
  .header-btn{ padding: 10px 16px; font-size: 13.5px; }
  body.nav-open{ overflow:hidden; }
  body.nav-open .nav-cta{ display:block; border-bottom:none !important; padding-top:20px; }
  body.nav-open .nav-cta .btn{ width:100%; padding:15px 20px; }
}
@media (max-width: 600px){
  .header-btn{ display:none; }            /* el CTA pasa al menú desplegable */
  .container{ padding: 0 16px; }
  .logo-img{ height: 24px; }
}

/* honeypot anti-spam */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.contact-form{ position:relative; }
.consent{ display:flex; gap:10px; align-items:flex-start; font-size:13px; color: var(--text-muted); margin: 4px 0 20px; cursor:pointer; }
.consent input{ flex:none; width:18px; height:18px; margin-top:1px; accent-color: var(--accent); }
.consent a, .form-note a{ color: var(--accent-text); text-decoration: underline; }
.field.invalid input, .field.invalid select, .field.invalid textarea{ border-color:#FF9B9B; }
.btn[disabled]{ opacity:.6; pointer-events:none; }

/* página legal */
.legal{ max-width: 780px; }
.legal h2{ font-size: 19px; margin: 36px 0 12px; }
.legal h2:first-child{ margin-top:0; }
.legal a{ color: var(--accent-text); text-decoration: underline; }
.legal b{ color: var(--text); }
.footer-bottom a:hover{ color: var(--accent-text); }
body.nav-open .wa-float{ display:none; }
@media (max-width: 560px){ .btn{ white-space: normal; text-align:center; } }

/* ---------- franja de clientes ---------- */
.clients{ padding: 8px 0 72px; }
.clients-title{ text-align:center; font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color: var(--text-dim); margin-bottom: 28px; }
.marquee{ overflow:hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; align-items:center; gap: 72px; width:max-content; padding: 0 36px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track li{ flex:none; display:flex; align-items:center; }
.marquee-track img{ height: 38px; width:auto; max-width: 150px; object-fit: contain; opacity:.72; transition: opacity .2s ease; }
.marquee-track img:hover{ opacity:1; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (max-width: 600px){ .marquee-track{ gap: 48px; } .marquee-track img{ height: 30px; max-width: 120px; } }
@media (prefers-reduced-motion: reduce){
  .marquee{ -webkit-mask-image:none; mask-image:none; }
  .marquee-track{ animation:none; flex-wrap:wrap; justify-content:center; width:auto; row-gap:28px; }
  .marquee-track li[aria-hidden="true"]{ display:none; }
}
