:root{
  /* ---- Color tokens ---- */
  --ink: #121017;
  --ink-2: #1b1824;
  --ink-3: #0c0a10;
  --paper: #f7f4ee;
  --paper-dim: #efe9dd;
  --stone: #dfd8c8;
  /*--magenta: #ff00ff;*/
  --magenta: #113B92;
  /*--purple: #480199;*/
  --purple: #1D9DE2;
  --blue: #0071bc;
  --cyan: #29abe2;
  --line-dark: rgba(247,244,238,0.14);
  --line-dark-strong: rgba(247,244,238,0.28);
  --line-light: rgba(18,16,23,0.14);
  --line-light-strong: rgba(18,16,23,0.30);
  --ink-soft: rgba(18,16,23,0.64);
  --ink-softer: rgba(18,16,23,0.46);
  --paper-soft: rgba(247,244,238,0.68);
  --paper-softer: rgba(247,244,238,0.48);
  --grad-brand: linear-gradient(100deg, var(--magenta) 0%, var(--purple) 45%, var(--blue) 75%, var(--cyan) 100%);
  --grad-ray: linear-gradient(100deg, var(--magenta) 0%, var(--purple) 45%, var(--blue) 75%, var(--cyan) 100%);

  /* ---- Type ---- */
  /*--font-display: 'Unbounded', sans-serif;*/
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --container: 1240px;
  --edge: clamp(24px, 5vw, 72px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

section{ position: relative; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---- Buttons & links ---- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-brand{
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  transition: transform 160ms ease, background-position 500ms ease;
}
.btn-brand:hover{ background-position: 100% 50%; }
.btn-outline-dark{
  background: transparent;
  border-color: var(--line-light-strong);
  color: var(--ink);
}
.btn-outline-dark:hover{ border-color: var(--ink); }
.btn-outline-light{
  background: transparent;
  border-color: var(--line-dark-strong);
  color: var(--paper);
}
.btn-outline-light:hover{ border-color: var(--paper); }

.link-underline{
  position: relative;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 280ms ease;
}
.link-underline:hover{ background-size: 100% 1px; }

/* ---- Mono labels (used sparingly, for real data/sequence only) ---- */
.mono-tag{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* ================= NAV ================= */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18,16,23,0.0);
  transition: background 320ms ease, padding 320ms ease, border-color 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled{
  background: rgba(18,16,23,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}
.nav-logo img{ height: 50px; width: auto; }
.nav-logo .wordmark{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-logo .wordmark span{
  display:block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--paper-softer);
  margin-top: 2px;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a{
  color: var(--paper-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms ease;
}
.nav-links a:hover{ color: var(--paper); }
.nav-cta{ display:flex; align-items:center; gap: 22px; }
.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg{ width: 24px; height: 24px; }
.nav-links-cta{ display: none; }

/* ================= HERO ================= */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
  padding-top: 120px;
}
.hero-media{
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.72);
}
.hero-veil{
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,16,23,0.94) 0%, rgba(18,16,23,0.82) 28%, rgba(18,16,23,0.42) 58%, rgba(18,16,23,0.62) 100%),
    linear-gradient(0deg, rgba(18,16,23,0.96) 0%, rgba(18,16,23,0.15) 45%, rgba(18,16,23,0.05) 70%);
}
.hero-content{
  position: relative;
  z-index: 2;
  padding-bottom: 110px;
  padding-top: 40px;
}
.hero-eyebrow{
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-title{
  color: var(--paper);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 16ch;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  font-weight: 800;
}
.hero-title .line{ display: block; overflow: hidden; }
.hero-title-accent {
    /*background: var(--grad-brand);*/
     background: #29abe2;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

   /* filter: drop-shadow(0 0 1px rgba(255, 255, 255, 1))
            drop-shadow(0 0 1px rgba(255, 255, 255, 1));*/
}
.hero-sub{
  color: var(--paper-soft);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-top: 30px;
  line-height: 1.55;
}
.hero-actions{
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-scroll{ color: var(--paper); font-weight: 600; font-size: 0.95rem; }
.hero-markets{
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark);
  color: var(--paper-softer);
  padding: 20px var(--edge);
  letter-spacing: 0.04em;
}

/* reveal-on-load animation targets */
[data-reveal]{
  opacity: 0;
  transform: translateY(26px);
}
.reveal-ready [data-reveal]{
  animation: revealUp 900ms cubic-bezier(.2,.7,.2,1) forwards;
}
.reveal-ready .hero-title .line:nth-child(1){ animation-delay: 80ms; }
.reveal-ready .hero-title .line:nth-child(2){ animation-delay: 200ms; }
.reveal-ready .hero-title .line:nth-child(3){ animation-delay: 320ms; }
.reveal-ready .hero-eyebrow{ animation-delay: 0ms; }
.reveal-ready .hero-sub{ animation-delay: 440ms; }
.reveal-ready .hero-actions{ animation-delay: 560ms; }
@keyframes revealUp{
  to{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px){
  .hero{ padding-top: 96px; }
  .hero-title{ max-width: 100%; font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero-content{ padding-bottom: 70px; }
  .hero-actions{ gap: 20px; }
}

/* ============ MARQUEE ============ */
.marquee-band{
  border-top:1px solid rgba(246,243,255,.08); border-bottom:1px solid rgba(246,243,255,.08);
  background:var(--surface); overflow:hidden; padding:16px 0; position:relative; z-index:2;color: #fff !important;
}
.marquee-track{
  display:flex; gap:14px; white-space:nowrap; width:max-content;
  font-family:var(--font-display); font-weight:600; font-size:15px; letter-spacing:.02em;
  animation:marquee 26s linear infinite;

}
.marquee-track span:nth-child(3n+2){ background:var(--grad-ray); -webkit-background-clip:text; background-clip:text; color:transparent; }
@keyframes marquee{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* ================= DESAFÍOS ================= */
.challenges{
  background: var(--paper);
  padding: 130px 0 90px;
}
.challenges-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  padding-bottom: 76px;
}
.challenges-head h2{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.16;
 /* max-width: 12ch;*/
 /* position: sticky;
  top: 140px;*/
}
.challenges-list{
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line-light);
}
.challenges-list li{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
}
.challenges-index{ color: var(--purple); padding-top: 3px; }
.challenges-list p{
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 46ch;
}
.challenges-statement{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  /*max-width: 20ch;*/
  padding: 60px 0 10px;
  border-top: 1px solid var(--line-light);
  font-weight: 800;
  text-align: center;
}
.statement-accent{
  display: block;
  margin-top: 6px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 860px){
  .challenges-grid{ grid-template-columns: 1fr; gap: 36px; }
  .challenges-head h2{ position: static; max-width: 100%; }
}

/* ================= FILOSOFÍA ================= */
.philosophy{
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
}
.philosophy-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.philosophy-title{
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.18;
  text-transform: uppercase;
  font-weight: 800;
}
.philosophy-body p{
  font-size: 1.15rem;
  color: var(--paper-soft);
  max-width: 46ch;
  margin-bottom: 22px;
  line-height: 1.6;
}
.philosophy-close{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--paper);
  margin-top: 36px;
  line-height: 1.4;
}
@media (max-width: 860px){
  .philosophy-grid{ grid-template-columns: 1fr; gap: 30px; }
}

/* ================= PILARES ================= */
.pillars{
  background: var(--paper);
  padding: 40px 0 40px;
}
.section-kicker{
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  max-width: 24ch;
  margin-bottom: 70px;
}
.pillars-row{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 6px;
}
.pillars-line{
  position: absolute;
  top: -30px; left: var(--edge); right: var(--edge);
  width: calc(100% - 2 * var(--edge));
  height: 4px;
  overflow: visible;
}
#pillarsLinePath{
  transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1);
}
.pillar-card{
  padding: 0 30px 0 0;
  border-left: 1px solid var(--line-light);
  padding-left: 26px;
}
.pillar-card:first-child{ border-left: none; padding-left: 0; }
.pillar-mark{
  display: inline-flex;
  width: 80px; height: 80px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.pillar-mark svg{ color: var(--purple); }
.pillar-card h3{ font-size: 1.35rem; margin-bottom: 14px; }
.pillar-lead{ font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.pillar-card p:not(.pillar-lead){ color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }

@media (max-width: 900px){
  .pillars-row{ grid-template-columns: 1fr; gap: 36px; }
  .pillars-line{ display: none; }
  .pillar-card{ border-left: none; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 30px; }
  .pillar-card:first-child{ border-top: none; padding-top: 0; }
}

/* ================= PARA QUIÉN ================= */
.segments{
  background: var(--paper);
  padding: 40px 0 40px;
}
section#para-quien{
  background: var(--paper);
  padding: 40px 0 0px !important;
}
.segment{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line-light);
}
.segment:last-child{ border-bottom: 1px solid var(--line-light); }
.segment-media{
  overflow: hidden;
  min-height: 420px;
}
.segment-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1);
}
.segment:hover .segment-media img{ transform: scale(1.035); }
.segment-body{
  padding: 64px var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.segment-reverse{ direction: rtl; }
.segment-reverse .segment-body{ direction: ltr; }
.segment-tag{ color: var(--purple); text-transform: uppercase; }
.segment-body h3{
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.28;
  max-width: 16ch;
}
.segment-body p{ color: var(--ink-soft); font-size: 1.02rem; max-width: 42ch; line-height: 1.6; }
.segment-emphasis{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.5;
}
.segment-body .btn{ align-self: flex-start; margin-top: 6px; }

@media (max-width: 860px){
  .segment, .segment-reverse{ grid-template-columns: 1fr; direction: ltr; }
  .segment-media{ min-height: 280px; }
  .segment-body{ padding: 40px var(--edge); }
}

/* ================= FUNNEL ================= */
.funnel{
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0 100px;
}
.funnel-top h2{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  max-width: 18ch;
  margin-bottom: 26px;
}
.funnel-lead{ color: var(--paper-soft); font-size: 1.1rem; max-width: 48ch; margin-bottom: 18px; }
.funnel-questions{
  list-style: none;
  margin: 8px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  max-width: 62ch;
}
.funnel-questions li{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.funnel-flow{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 70px auto 0;
  padding-top: 10px;
}
.funnel-line{
  position: absolute;
  top: -26px; left: var(--edge); right: var(--edge);
  width: calc(100% - 2 * var(--edge));
  height: 4px;
}
#funnelLinePath{ transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.funnel-step{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding-right: 14px;
}
.funnel-arrow{
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  flex-shrink: 0;
}
.funnel-arrow svg{ width: 11px; height: 11px; fill: var(--cyan); }
.funnel-bottom{
  margin-top: 80px;
  padding-top: 46px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.funnel-close{
  font-family: var(--font-display);
  font-size: 1.3rem;
  max-width: 30ch;
}
.funnel-close span{ color: var(--cyan); }

@media (max-width: 860px){
  .funnel-questions{ grid-template-columns: 1fr; }
  .funnel-flow{ grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .funnel-line{ display: none; }
}

/* ================= SERVICIOS ================= */
.services{
  background: var(--paper-dim);
  padding: 120px 0;
}
.services-head {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: end;
    padding: 0 40px 40px 40px;
}

.services-head h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.services-head p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    max-width: 50ch;
    line-height: 1.65;
    align-self: end;
}
.services-list{
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line-light-strong);
}
.services-list li{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light-strong);
  transition: padding-left 300ms ease;
}
.services-list li:hover{ padding-left: 10px; }
.services-index{ color: var(--purple); font-size: 0.85rem; padding-top: 6px; }
.services-list h3{ font-size: 1.3rem; margin-bottom: 8px; }
.services-list p{ color: var(--ink-soft); max-width: 56ch; line-height: 1.55; }
@media (max-width: 860px){
  .services-head{ grid-template-columns: 1fr; gap: 20px; }
  .services-list li{ grid-template-columns: 50px 1fr; gap: 16px; }
}

/* ================= DESDE ADENTRO ================= */
.inside{
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
  overflow: hidden;
}
.inside-grid{ }
.inside-copy h2{
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  /*max-width: 16ch;*/
  margin-bottom: 24px;
  text-align: center;
}
.inside-copy p{ color: var(--paper-soft); font-size: 1.08rem; text-align: center; margin-bottom: 10px; }
.inside-close{ color: var(--paper) !important; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin-top: 18px; }
.inside-words{
  margin-top: 60px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  color: var(--paper-softer);
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 0 0.5ch;
  justify-content: center;
}
.inside-words span{
  padding: 0 0.35ch;
  transition: color 260ms ease;
    background: var(--paper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.inside-words span:hover{
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.inside-words span::after{ content: '·'; margin-left: 0.55ch; color: var(--line-dark-strong); }
.inside-words span:last-child::after{ content: ''; }

/* ================= PROCESO ================= */
.process{
  background: var(--paper);
  padding: 120px 0;
}
.process-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  border-top: 1px solid var(--line-light);
  padding-top: 50px;
}
.process-index{ color: var(--purple); display: block; margin-bottom: 20px; font-size: 0.85rem; }
.process-step h3{ font-size: 1.4rem; margin-bottom: 14px; }
.process-step p{ color: var(--ink-soft); line-height: 1.6; max-width: 34ch; }
@media (max-width: 860px){
  .process-row{ grid-template-columns: 1fr; gap: 36px; }
}

/* ================= MERCADOS ================= */
.markets{
  background: var(--paper-dim);
  padding: 90px 0 0px;
  border-top: 1px solid var(--line-light);
}
.markets-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 46px;
  align-items: center;
}
.markets h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 14ch; }
.markets-grid p{ color: var(--ink-soft); font-size: 1.02rem;  max-width: 44ch; }
.markets-list{
  border-top: 1px solid var(--line-light-strong);
  padding-top: 26px;
  color: var(--ink-softer);
  letter-spacing: 0.04em;
}
@media (max-width: 860px){
  .markets-grid{ grid-template-columns: 1fr; gap: 16px; }
}

/* ================= CONTACTO ================= */
.contact{
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 0;
}
.contact-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.contact-tag{ color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 22px; }
.contact-copy h2{
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.22;
  max-width: 15ch;
  margin-bottom: 22px;
}
.contact-copy p{ color: var(--paper-soft); font-size: 1.05rem; max-width: 40ch; margin-bottom: 14px; line-height: 1.6; }
.contact-highlight{ color: var(--paper) !important; font-weight: 600; }
.contact .markets-list.mono-tag {
    color: #fff;
}
.contact-form{ display: flex; flex-direction: column; gap: 30px;   padding: 40px;
    background: var(--ink-3);
    border: 1px solid var(--cyan);}
.form-row{ display: flex; flex-direction: column; gap: 10px; border: none; padding: 0; margin: 0; }
.form-row label, .form-fieldset legend{
  font-size: 0.88rem;
  color: var(--paper-soft);
  padding: 0;
}
.form-row label em{ color: var(--paper-softer); font-style: normal; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  background: var(--ink);
  border: none;
  border-bottom: 1px solid var(--line-dark-strong);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 10px 2px;
  transition: border-color 220ms ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus{
  border-color: var(--cyan);
  outline: none;
}
.chip-group{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip{ cursor: pointer; }
.chip input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span{
  display: inline-block;
  font-size: 0.88rem;
  padding: 10px 18px;
  border: 1px solid var(--line-dark-strong);
  color: var(--paper-soft);
  transition: all 200ms ease;
}
.chip input:checked + span{
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}
.chip input:focus-visible + span{ outline: 2px solid var(--cyan); outline-offset: 2px; }
.chip:hover span{ border-color: var(--paper-soft); }
.form-submit{ align-self: flex-start; margin-top: 10px; }
.form-note{ font-size: 0.9rem; color: var(--cyan); min-height: 1.2em; }

@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
}


.form-row select{
  width:100%;
  background-color:var(--ink); /* mismo tono oscuro que el fondo del sitio */
  border:none;
  border-bottom:1px solid rgba(255,255,255,0.25);
  color:#ffffff;
  font-family:'Manrope', sans-serif;
  font-size:16px;
  padding:10px 22px 10px 2px;
  outline:none;
  transition:border-color .25s ease;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none'/></svg>");
  background-repeat:no-repeat;
  background-position:right 4px center;
}
.form-row select:focus{ border-bottom-color: var(--cyan); }

/* Fuerza el fondo oscuro también en las opciones del dropdown */
.form-row select option{
  background-color:#0a0a0a;
  color:#ffffff;
}
.form-row select:focus{ border-bottom-color: var(--cyan); } /* usar tu variable de acento */

/* El select múltiple no usa la flechita ni el mismo padding derecho */
.form-row select[multiple]{
  background-image:none;
  padding-right:2px;
  border:1px solid rgba(255,255,255,0.25);
  border-radius:6px;
  padding:8px;
}
.form-row select[multiple] option{
  padding:8px 6px;
}

.form-hint{
  font-size:13px;
  opacity:.55;
  margin-top:6px;
}

/* ================= FOOTER ================= */
.site-footer{
  background: var(--ink-3);
  color: var(--paper-softer);
  padding: 70px 0 0;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.footer-logo{ display: flex; align-items: center; gap: 10px; color: var(--paper); }
.footer-logo img{ height: 26px; width: auto; }
.footer-logo span{ font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.footer-logo span em{ display: block; font-style: normal; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.08em; color: var(--paper-softer); margin-top: 2px; }
.footer-tagline{ font-size: 1rem; max-width: 26ch;  }
.footer-links{ display: flex; flex-direction: column; gap: 12px; }
.footer-links a{ font-size: 0.92rem; transition: color 200ms ease; }
.footer-links a:hover{ color: var(--paper); }
.footer-markets{ grid-column: 1 / -1; letter-spacing: 0.04em; margin-top: -10px; }
.footer-bottom{
  padding: 26px 0;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
  .footer-tagline{ align-self: start; }
}

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 380ms ease, opacity 380ms ease;
  }
  .nav-links.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a{ font-size: 1.4rem; color: var(--paper); }
  .nav-links-cta{ display: inline-flex; margin-top: 6px; }
  .nav-cta > .btn-brand{ display: none; }
  .nav-toggle{ display: block; z-index: 110; }
  .nav-cta .btn-brand{ padding: 11px 18px; font-size: 0.85rem; }
}

@media (max-width: 420px){
  .nav-logo .wordmark span{ display: none; }
}
/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float{
  position:fixed; right:26px; bottom:26px; z-index:999999 !important; width:58px; height:58px; border-radius:50%;
  background:var(--grad-brand); display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px -8px rgba(29,157,226,.5); opacity:1; transform:translateY(16px) scale(.9);
   transition:opacity .35s ease, transform .35s ease;
}
.whatsapp-float.show{opacity:1; transform:translateY(0) scale(1); }
.whatsapp-float svg{width:22px; height:22px; fill:#fff; margin-left:2px;}
.whatsapp-float:hover{transform:scale(1.08);}