/* ============================================================
   Chumti Transportes — Landing
   Paleta tomada de la presentación institucional (PDF)
   ============================================================ */

:root{
  /* La página es solo modo claro: evita que el modo oscuro del sistema
     repinte inputs, selects, scrollbars y demás controles nativos. */
  color-scheme: light only;

  --navy:        #1E376D;
  --navy-deep:   #0E315B;
  --navy-dark:   #16294F;
  --blue-mid:    #2B4B96;
  --purple:      #914099;
  --purple-vivid:#9422B1;
  --purple-deep: #6E2A7A;
  --lilac:       #C3A1CB;
  --lilac-soft:  #EDE3F1;
  --ink:         #1B1B22;
  --body:        #4A4A55;
  --line:        #E4E6EF;
  --bg:          #FFFFFF;
  --bg-tint:     #F7F5FA;

  --wrap: 1160px;
  --r: 16px;
  --shadow-sm: 0 2px 10px rgba(30,55,109,.06);
  --shadow:    0 12px 34px rgba(30,55,109,.10);
  --shadow-lg: 0 24px 60px rgba(30,55,109,.16);

  --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

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

body{
  margin:0;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.7;
  color:var(--body);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

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

h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--navy-deep);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(2.1rem,5vw,3.5rem); font-weight:800; }
h2{ font-size:clamp(1.7rem,3.4vw,2.6rem); font-weight:800; }
h3{ font-size:1.15rem; font-weight:700; }
h4{ font-size:.95rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
p{ margin:0 0 1.1em; }
a{ color:var(--purple); text-decoration:none; }
a:hover{ color:var(--purple-vivid); }

.container{ width:min(100% - 2.5rem, var(--wrap)); margin-inline:auto; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--purple); color:#fff; padding:.7rem 1.2rem; border-radius:0 0 10px 0;
}
.skip-link:focus{ left:0; color:#fff; }

:focus-visible{ outline:3px solid var(--purple-vivid); outline-offset:3px; border-radius:4px; }

/* ---------- Botones ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family:var(--font-head); font-weight:700; font-size:.98rem;
  padding:.92rem 1.7rem; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align:center;
}
.btn:hover{ transform:translateY(-2px); }
.btn--sm{ padding:.6rem 1.25rem; font-size:.9rem; }
.btn--block{ width:100%; }

.btn--purple{ background:var(--purple); color:#fff; box-shadow:0 8px 22px rgba(145,64,153,.32); }
.btn--purple:hover{ background:var(--purple-vivid); color:#fff; box-shadow:0 12px 30px rgba(148,34,177,.4); }

.btn--navy{ background:var(--navy); color:#fff; box-shadow:0 8px 22px rgba(30,55,109,.28); }
.btn--navy:hover{ background:var(--navy-deep); color:#fff; }

.btn--ghost{ border-color:rgba(255,255,255,.6); color:#fff; }
.btn--ghost:hover{ background:#fff; color:var(--navy-deep); border-color:#fff; }

.btn--white{ background:#fff; color:var(--navy-deep); box-shadow:var(--shadow); }
.btn--white:hover{ background:var(--lilac-soft); color:var(--purple-deep); }

/* ---------- Tipografía auxiliar ---------- */
.eyebrow{
  font-family:var(--font-head); font-weight:700; font-size:.82rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--purple);
  margin:0 0 .6rem;
}
.eyebrow--light{ color:var(--lilac); }

.section{ padding:clamp(4rem,8vw,7rem) 0; }
.section--tint{ background:var(--bg-tint); }
.section--navy{ background:linear-gradient(160deg,var(--navy-deep) 0%,var(--navy) 55%,var(--navy-dark) 100%); }
.section--navy h2,.section--navy h3{ color:#fff; }
.section--navy p{ color:rgba(255,255,255,.82); }

.section__head{ max-width:760px; margin:0 auto clamp(2.5rem,5vw,3.5rem); text-align:center; }
.section__lead{ font-size:1.08rem; }
.section__head--light .section__lead{ color:rgba(255,255,255,.85); }

.lead-purple{ color:var(--purple); font-weight:700; font-size:1.1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  padding:.85rem 0;
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav__inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; }

.nav__brand{ display:block; flex:none; }
.nav__logo{ height:52px; width:auto; transition:height .3s ease; }
.nav__logo--dark{ display:none; }

.nav.is-stuck{ background:rgba(255,255,255,.96); box-shadow:0 2px 20px rgba(30,55,109,.10); backdrop-filter:blur(10px); }
.nav.is-stuck .nav__logo{ height:44px; }
.nav.is-stuck .nav__logo--dark{ display:block; }
.nav.is-stuck .nav__logo--light{ display:none; }
.nav.is-stuck .nav__menu a{ color:var(--navy-deep); }
.nav.is-stuck .nav__menu a.btn{ color:#fff; }
.nav.is-stuck .nav__toggle span{ background:var(--navy-deep); }

.nav__menu{ display:flex; align-items:center; gap:1.8rem; }
.nav__menu a{
  font-family:var(--font-head); font-weight:600; font-size:.95rem;
  color:#fff; transition:color .2s ease;
}
.nav__menu a:not(.btn):hover{ color:var(--lilac); }
.nav.is-stuck .nav__menu a:not(.btn):hover{ color:var(--purple); }

.nav__toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:0; padding:.5rem; cursor:pointer;
}
.nav__toggle span{ display:block; width:26px; height:3px; border-radius:3px; background:#fff; transition:.25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO — inspirado en la portada del PDF (diagonal navy/morado)
   ============================================================ */
.hero{
  position:relative;
  background:var(--navy-deep);
  color:#fff;
  padding:clamp(9rem,16vw,11rem) 0 clamp(5rem,9vw,7rem);
  overflow:hidden;
  isolation:isolate;
}
.hero__shapes{ position:absolute; inset:0; z-index:-1; }
.hero__diag{
  position:absolute; inset:0;
  background:linear-gradient(150deg,var(--purple-deep) 0%,var(--purple) 55%,var(--purple-vivid) 100%);
  clip-path:polygon(100% 0, 100% 100%, 0 100%, 62% 0);
}
.hero__cube{
  position:absolute; left:-10%; top:8%;
  width:min(46vw,520px); aspect-ratio:1;
  background:
    linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,0) 60%),
    var(--blue-mid);
  clip-path:polygon(50% 0,100% 28%,100% 74%,50% 100%,0 74%,0 28%);
  opacity:.55;
}

.hero__inner{
  display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:3rem;
  position:relative;
}
.hero__eyebrow{
  font-family:var(--font-head); font-weight:700; font-size:.82rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--lilac); margin-bottom:1rem;
}
.hero__title{ color:#fff; margin-bottom:1.1rem; }
.hero__title span{ color:var(--lilac); }
.hero__lead{
  font-size:1.12rem; color:rgba(255,255,255,.9); max-width:56ch; margin-bottom:2rem;
}
.hero__lead strong{ color:#fff; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2.4rem; }

.hero__badges{
  display:flex; flex-wrap:wrap; gap:.6rem; list-style:none; margin:0; padding:0;
}
.hero__badges li{
  font-family:var(--font-head); font-size:.82rem; font-weight:600;
  padding:.42rem 1rem; border-radius:999px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); color:#fff;
  backdrop-filter:blur(4px);
}

.hero__brand{ display:flex; justify-content:center; }
.hero__logo{ width:min(100%,320px); filter:drop-shadow(0 18px 40px rgba(0,0,0,.28)); }

/* ============================================================
   CIFRAS
   ============================================================ */
.stats{
  background:#fff; margin-top:-3.2rem; position:relative; z-index:5;
}
.stats__grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  background:#fff; border-radius:var(--r); box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.stat{ padding:2.4rem 1.6rem; text-align:center; border-right:1px solid var(--line); }
.stat:last-child{ border-right:0; }
.stat__num{
  display:block; font-family:var(--font-head); font-weight:800;
  font-size:clamp(1.9rem,3.6vw,2.7rem); color:var(--purple); line-height:1;
  margin-bottom:.45rem;
}
.stat__label{
  display:block; font-family:var(--font-head); font-weight:700; font-size:.95rem;
  color:var(--navy-deep);
}

/* ============================================================
   CARDS
   ============================================================ */
.cards{ display:grid; gap:1.6rem; }
.cards--3{ grid-template-columns:repeat(3,1fr); }
.cards--4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:2.1rem 1.7rem;
  box-shadow:var(--shadow-sm);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--lilac); }
.card p{ margin-bottom:0; font-size:.98rem; }
.card__icon{ width:64px; height:64px; margin-bottom:1.1rem; object-fit:contain; }

.card--dark{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.16);
  box-shadow:none;
}
.card--dark:hover{ background:rgba(255,255,255,.11); border-color:var(--lilac); transform:translateY(-6px); }

.card--rse{ background:linear-gradient(180deg,#fff,var(--bg-tint)); }
.card__badge{
  display:grid; place-items:center; width:56px; height:56px; border-radius:14px;
  background:var(--lilac-soft); color:var(--purple); margin-bottom:1.1rem;
}
.card__badge svg{ width:28px; height:28px; }

/* ============================================================
   MISIÓN / VISIÓN
   ============================================================ */
.mv{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.8rem; }
.mv__card{
  background:#fff; border-radius:var(--r); padding:2.6rem 2.2rem;
  box-shadow:var(--shadow-sm); border-top:5px solid var(--purple);
  transition:transform .25s ease, box-shadow .25s ease;
}
.mv__card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.mv__card:nth-child(2){ border-top-color:var(--navy); }
.mv__icon{ width:78px; height:78px; margin-bottom:1.2rem; object-fit:contain; }
.mv__card h3{ font-size:1.7rem; color:var(--purple); }
.mv__card:nth-child(2) h3{ color:var(--navy); }
.mv__card p{ margin-bottom:0; }

/* ============================================================
   VALORES
   ============================================================ */
.values{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(6,1fr); gap:1.2rem;
}
.value{
  text-align:center; padding:1.8rem .8rem;
  border-radius:var(--r); background:var(--bg-tint);
  transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.value:hover{ transform:translateY(-6px); background:var(--lilac-soft); box-shadow:var(--shadow-sm); }
.value img{ width:62px; height:62px; margin:0 auto .9rem; object-fit:contain; }
.value span{
  display:block; font-family:var(--font-head); font-weight:700; font-size:.95rem;
  color:var(--navy-deep);
}

/* ============================================================
   COBERTURA
   ============================================================ */
.cobertura{ display:grid; grid-template-columns:.95fr 1.05fr; gap:3rem; align-items:center; }
.cobertura__map img{ width:100%; }

.ticks{ list-style:none; margin:0 0 1.8rem; padding:0; }
.ticks li{ position:relative; padding-left:1.9rem; margin-bottom:.6rem; }
.ticks li::before{
  content:""; position:absolute; left:0; top:.62em;
  width:11px; height:11px; border-radius:3px;
  background:var(--purple); transform:rotate(45deg);
}

/* ============================================================
   MONITOREO
   ============================================================ */
.truck{ margin:0 0 2.6rem; border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow-lg); }
.truck img{ width:100%; }
.monitor__cards{ margin-bottom:2.4rem; }
.monitor__note{
  text-align:center; max-width:760px; margin:0 auto;
  color:rgba(255,255,255,.9); font-size:1.05rem;
}
.monitor__note strong{ color:var(--lilac); }

/* ============================================================
   RESPONSABILIDAD SOCIAL
   ============================================================ */
.rse{
  background:
    radial-gradient(1000px 420px at 88% -10%, var(--lilac-soft), transparent 70%),
    #fff;
}
.esr{
  display:grid; grid-template-columns:auto 1fr; align-items:center; gap:2.4rem;
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:2.2rem 2.4rem; margin-bottom:2.4rem; box-shadow:var(--shadow);
}
.esr__logo{ width:clamp(200px,22vw,290px); height:auto; }
.esr__title{
  font-family:var(--font-head); font-weight:800; font-size:1.25rem;
  color:var(--navy-deep); margin-bottom:.5rem;
}
.esr__title sup{ font-size:.55em; }
.esr__copy p:last-child{ margin-bottom:0; font-size:.99rem; }

.footer__esr{ margin-top:.4rem; }
.footer__esr img{ width:190px; height:auto; margin:0; }

.rse__pledge{
  margin-top:2.4rem; padding:1.8rem 2rem;
  border-left:5px solid var(--purple);
  background:var(--bg-tint); border-radius:0 var(--r) var(--r) 0;
}
.rse__pledge p{ margin:0; }
.rse__pledge strong{ color:var(--navy-deep); font-family:var(--font-head); }

/* ============================================================
   FAQ
   ============================================================ */
.faq{ max-width:840px; margin-inline:auto; }
.faq__item{
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  margin-bottom:.9rem; box-shadow:var(--shadow-sm);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open]{ border-color:var(--lilac); box-shadow:var(--shadow); }
.faq__item summary{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.25rem 1.6rem; cursor:pointer; list-style:none;
  font-family:var(--font-head); font-weight:700; font-size:1.02rem;
  color:var(--navy-deep);
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{
  content:""; flex:none; width:11px; height:11px;
  border-right:2.5px solid var(--purple); border-bottom:2.5px solid var(--purple);
  transform:rotate(45deg) translate(-2px,-2px); transition:transform .25s ease;
}
.faq__item[open] summary::after{ transform:rotate(-135deg) translate(-2px,-2px); }
.faq__item summary:hover{ color:var(--purple); }
.faq__item p{ margin:0; padding:0 1.6rem 1.4rem; font-size:.99rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta{
  position:relative; overflow:hidden;
  background:linear-gradient(115deg,var(--navy-deep) 0%,var(--navy) 42%,var(--purple) 100%);
  padding:clamp(3.5rem,7vw,5rem) 0;
  text-align:center; color:#fff;
}
.cta::after{
  content:""; position:absolute; right:-6%; bottom:-58%;
  width:420px; height:420px; background:rgba(255,255,255,.07);
  clip-path:polygon(50% 0,100% 28%,100% 74%,50% 100%,0 74%,0 28%);
}
.cta__inner{ position:relative; z-index:2; }
.cta h2{ color:#fff; }
.cta p{ color:rgba(255,255,255,.88); max-width:56ch; margin-inline:auto; margin-bottom:1.8rem; }

.cta__esr{
  margin:2.6rem auto 0; padding-top:2rem; max-width:340px;
  border-top:1px solid rgba(255,255,255,.22);
}
.cta__esr img{ width:190px; height:auto; margin:0 auto; opacity:.95; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto{ display:grid; grid-template-columns:.9fr 1.1fr; gap:3rem; align-items:start; }

.contacto__list{ list-style:none; margin:2rem 0 0; padding:0; }
.contacto__list li{ display:flex; gap:1.1rem; align-items:flex-start; margin-bottom:1.7rem; }
.contacto__list img{ width:46px; height:46px; flex:none; object-fit:contain; }
.contacto__label{
  display:block; font-family:var(--font-head); font-weight:700; font-size:.78rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--navy-deep); margin-bottom:.15rem;
}
.contacto__list a{ font-size:1.08rem; font-weight:600; }
.contacto__list address{ font-style:normal; }

.form{
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:2.2rem; box-shadow:var(--shadow);
}
.form h3{ margin-bottom:1.5rem; font-size:1.35rem; }
.form__row{ margin-bottom:1.1rem; }
.form__grid{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form label{
  display:block; font-family:var(--font-head); font-weight:600; font-size:.88rem;
  color:var(--navy-deep); margin-bottom:.4rem;
}
.form label span{ color:var(--purple); }
.form input,.form select,.form textarea{
  width:100%; padding:.8rem 1rem; font:inherit; font-size:.98rem; color:var(--ink);
  border:1.5px solid var(--line); border-radius:10px; background:#fff;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.form input:focus,.form select:focus,.form textarea:focus{
  border-color:var(--purple); box-shadow:0 0 0 4px rgba(145,64,153,.12); outline:none;
}
.form input.is-error,.form textarea.is-error{ border-color:#D9455F; }
.form textarea{ resize:vertical; }
.form__honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__hint{ font-size:.88rem; margin:1rem 0 0; text-align:center; }
.form__status{ margin:.9rem 0 0; font-size:.92rem; font-weight:600; min-height:1.2em; }
.form__status.is-ok{ color:#1E7A50; }
.form__status.is-bad{ color:#D9455F; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--navy-deep); color:rgba(255,255,255,.75); padding-top:clamp(3rem,6vw,4.5rem); }
.footer__inner{
  display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem;
}
.footer h4{ color:#fff; margin-bottom:1.1rem; }
.footer img{ width:170px; margin-bottom:1.2rem; }
.footer p{ font-size:.95rem; }
.footer__rse{
  display:inline-block; margin:0;
  font-family:var(--font-head); font-weight:700; font-size:.8rem;
  letter-spacing:.08em; text-transform:uppercase;
  color:#fff; background:rgba(195,161,203,.22);
  border:1px solid rgba(195,161,203,.5);
  padding:.42rem 1rem; border-radius:999px;
}
.footer__nav,.footer__contact{ display:flex; flex-direction:column; gap:.55rem; align-items:flex-start; }
.footer a{ color:rgba(255,255,255,.78); font-size:.95rem; }
.footer a:hover{ color:var(--lilac); }
.footer address{ font-style:normal; font-size:.95rem; }

.footer__bar{ border-top:1px solid rgba(255,255,255,.14); padding:1.2rem 0; }
.footer__bar-inner{
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-size:.86rem; color:rgba(255,255,255,.6);
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .65s ease, transform .65s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1000px){
  .hero__inner{ grid-template-columns:1fr; }
  .hero__brand{ display:none; }
  .hero__diag{ clip-path:polygon(100% 0,100% 100%,0 100%,0 62%); }
  .cards--4{ grid-template-columns:repeat(2,1fr); }
  .esr{ grid-template-columns:1fr; justify-items:center; text-align:center; gap:1.6rem; }
  .cobertura{ grid-template-columns:1fr; }
  .contacto{ grid-template-columns:1fr; }
  .values{ grid-template-columns:repeat(3,1fr); }
  .footer__inner{ grid-template-columns:1fr 1fr; }
}

@media (max-width:820px){
  .nav__toggle{ display:flex; }
  .nav__menu{
    position:absolute; inset:100% 0 auto 0;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; box-shadow:0 18px 36px rgba(30,55,109,.16);
    padding:.5rem 1.25rem 1.4rem;
    max-height:0; overflow:hidden; visibility:hidden;
    transition:max-height .3s ease, visibility .3s;
  }
  .nav__menu.is-open{ max-height:80vh; visibility:visible; }
  .nav__menu a{ color:var(--navy-deep); padding:.85rem 0; border-bottom:1px solid var(--line); }
  .nav__menu a.btn{ margin-top:1rem; border-bottom:0; color:#fff; }
  .nav{ background:rgba(255,255,255,.96); box-shadow:0 2px 20px rgba(30,55,109,.10); }
  .nav .nav__logo--dark{ display:block; }
  .nav .nav__logo--light{ display:none; }
  .nav .nav__toggle span{ background:var(--navy-deep); }

  .stats__grid{ grid-template-columns:1fr; }
  .stat{ border-right:0; border-bottom:1px solid var(--line); }
  .stat:last-child{ border-bottom:0; }
  .cards--3{ grid-template-columns:1fr; }
  .mv{ grid-template-columns:1fr; }
}

@media (max-width:560px){
  body{ font-size:16px; }
  .cards--4{ grid-template-columns:1fr; }
  .values{ grid-template-columns:repeat(2,1fr); }
  .form{ padding:1.5rem; }
  .form__grid{ grid-template-columns:1fr; }
  .footer__inner{ grid-template-columns:1fr; }
  .hero__actions .btn{ width:100%; }
}

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