/* Kit Digital traffic landing — digitaliza-tu-negocio-gratis-con-el-kit-digital */

body.kdt-page{padding-top:0}

/* ── Heading scale (override kit-digital.css globals) ── */
.kdt-page .kdt-hero h1{
  font-size:clamp(2rem,3.8vw,3.1rem);
  font-weight:600;
  line-height:1.06;
  letter-spacing:-.03em;
}

/* H2 — títulos de sección (mismo tamaño en toda la página) */
.kdt-page .pts-head h2,
.kdt-page .kdt-explainer-copy > h2,
.kdt-page .kdt-solutions-head h2,
.kdt-page .kdt-reqs-head h2,
.kdt-page .kdt-faq-head h2,
.kdt-page .kd-sectors-sec .sec-head h2{
  font-size:clamp(1.65rem,2.8vw,2.25rem);
  line-height:1.1;
  letter-spacing:-.025em;
  font-weight:600;
  max-width:none;
}

/* H3 — subtítulo de sección o bloque dentro del hero */
.kdt-page .kdt-explainer-copy > h3,
.kdt-page .kdt-form-card .kdt-form-title{
  font-size:clamp(1.1rem,1.8vw,1.3rem);
  line-height:1.25;
  letter-spacing:-.02em;
  font-weight:600;
}

/* H4 — ítems de tarjetas */
.kdt-page .kdt-solution-card h4{
  font-size:.95rem;
  line-height:1.35;
  font-weight:600;
}

/* FAQ — preguntas individuales */
.kdt-page .kdt-faq-item summary h3{
  font-size:.95rem;
  font-weight:600;
  line-height:1.35;
}

/* Instrument Serif — solo en H1 y H2 */
.kdt-page h1 em,
.kdt-page h1 .serif-it,
.kdt-page h2 em,
.kdt-page h2 .serif-it{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  letter-spacing:-.01em;
  color:var(--p);
}

/* ── Form card (reused) ── */
.kdt-form-card{
  background:var(--wh);
  border:1px solid var(--g2);
  border-radius:24px;
  padding:clamp(1.5rem,3vw,2rem);
  box-shadow:0 24px 60px -32px rgba(46,16,101,.14);
}
.kdt-form-card .kdt-form-title{
  margin-bottom:1.1rem;
  text-align:left;
}
.kdt-form-card--hero .kdt-tagline{margin-bottom:1rem}
.kdt-hero .kdt-form-card{max-width:520px;width:100%}
.kdt-form-card--wide{width:100%;max-width:none}
.kdt-phone-form{display:flex;flex-direction:column;gap:.85rem}
.kdt-phone-row{display:flex;gap:.65rem;flex-wrap:wrap}
.kdt-phone-input{
  flex:1;min-width:0;display:flex;align-items:center;
  border:1px solid var(--g3);border-radius:999px;overflow:hidden;background:var(--g1);
}
.kdt-phone-input .prefix{padding:0 .85rem;font-size:.88rem;font-weight:600;color:var(--g6);border-right:1px solid var(--g3)}
.kdt-phone-input input{
  flex:1;border:none;background:transparent;padding:.85rem 1rem;
  font-size:.95rem;font-family:var(--body);min-width:0;width:100%;
}
.kdt-phone-form .btn{width:100%}
.kdt-form-legal{font-size:.72rem;color:var(--g6);line-height:1.45;text-align:left}
.kdt-form-legal a{text-decoration:underline;color:var(--p)}

.kdt-tagline{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.35rem .85rem;border-radius:999px;
  background:var(--lm-soft);color:var(--bk);
  font-size:.78rem;font-weight:600;
}

/* ── Hero (H1 + form + marcas, imagen de fondo) ── */
.kdt-hero{
  position:relative;
  z-index:1;
  padding:calc(6.5rem + 8px) 0 clamp(2.5rem,5vw,3.5rem);
  min-height:640px;
  overflow:hidden;
  background-color:#F5F2ED;
  background-repeat:no-repeat;
  background-position:right center;
  background-size:cover;
}
.kdt-hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right top;
}
.kdt-hero::before{
  content:"";
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 40%,rgba(255,255,255,.62) 56%,rgba(255,255,255,.08) 72%,transparent 82%);
}
.kdt-hero .w{position:relative;z-index:2}
.kdt-hero-stack{
  display:flex;
  flex-direction:column;
  gap:clamp(1.5rem,3vw,2rem);
  max-width:860px;
}
.kdt-hero-intro{
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.kdt-hero h1{
  margin-bottom:0;
  max-width:22ch;
}
.kdt-hero-lead{
  font-size:clamp(1rem,1.25vw,1.12rem);
  color:var(--g7);
  line-height:1.6;
  max-width:72ch;
  margin:0;
}
.kdt-hero-lead b{color:var(--bk);font-weight:600}
.kdt-brands--hero{
  width:100%;
  padding-top:1.25rem;
  border-top:1px solid rgba(0,0,0,.08);
}
.kdt-brands p{
  font-size:.78rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--g6);margin-bottom:.85rem;
}
.kdt-brands-logos{
  display:flex;flex-wrap:wrap;align-items:center;
  gap:1rem 1.5rem;
}
.kdt-brands-logos img{
  height:26px;width:auto;max-width:100px;
  object-fit:contain;opacity:.85;
}

/* Tablet: image as a real right-column next to the text (no absolute overlap) */
@media(max-width:1180px) and (min-width:641px){
  .kdt-hero{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:clamp(1rem,3vw,2rem);
    min-height:auto;
    padding:calc(6.5rem + 8px) 1.5rem clamp(2rem,4vw,3rem);
  }
  .kdt-hero::before{display:none}
  .kdt-hero .w{
    flex:1 1 60%;
    order:1;
    min-width:0;
    max-width:none;
    padding:0;
    margin:0;
    position:relative;
    z-index:1;
  }
  .kdt-hero-bg{
    position:static;
    flex:0 0 38%;
    width:38%;
    height:auto;
    max-height:520px;
    object-fit:cover;
    /* Hero subjects sit on the right of the source image — anchor the
       crop to the right edge so the 38%-wide tablet column doesn't chop
       them off. */
    object-position:right center;
    border-radius:18px;
    align-self:stretch;
    order:2;
  }
  .kdt-hero-stack{max-width:none}
  .kdt-hero h1{max-width:none;font-size:clamp(1.75rem,3vw,2.4rem)}
}
/* Mobile: hide image entirely, single column */
@media(max-width:640px){
  .kdt-hero{
    display:block;
    padding-top:5rem;
    padding-bottom:2.5rem;
    min-height:auto;
  }
  .kdt-hero-bg{display:none}
  .kdt-hero::before{
    display:block;
    background:linear-gradient(180deg,#F5F2ED 0%,#FFF 100%);
  }
  .kdt-hero-stack{max-width:none}
  .kdt-hero h1{max-width:none}
}

/* ── Ordenadores carousel ── */
.kdt-page .pts-section{padding:clamp(3rem,6vw,5rem) 0;background:var(--wh)}
.kdt-page .pts-section .pts-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 2.5rem;
}
.kdt-page .pts-section .pts-head h2{
  max-width:none;
  margin-bottom:.85rem;
}
.kdt-page .pts-section .pts-head p{
  max-width:none;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.6;
  color:var(--g7);
}
.kdt-page .pts-section .pts-head p b{color:var(--bk);font-weight:600}

.kdt-page .pts-card.is-out{
  opacity:.55;
  filter:grayscale(1);
  pointer-events:none;
}
.kdt-page .pts-card.is-out .pts-img img{opacity:.7}
.kdt-page .pts-out-badge{
  background:#E5E7EB;
  color:#4B5563;
}
.kdt-page .pts-details--soldout{
  display:flex;align-items:center;justify-content:center;
  width:100%;padding:.75rem 1rem;
  border-radius:999px;background:var(--g3);color:var(--g6);
  font-size:.88rem;font-weight:600;text-align:center;
  cursor:not-allowed;pointer-events:none;
}

.pts-name{
  font-family:var(--display);font-size:1rem;font-weight:600;
  line-height:1.25;letter-spacing:-.01em;color:var(--bk);
  min-height:2.4em;padding-top:.35rem;
}

/* ── Explainer ── */
.kdt-explainer{
  padding:clamp(2.5rem,5vw,4rem) 0;
  background:linear-gradient(180deg,var(--g1) 0%,var(--wh) 100%);
}
.kdt-explainer-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,.62fr);
  gap:clamp(1.5rem,3vw,2.5rem);
  align-items:start;
  margin-bottom:1.75rem;
}
.kdt-explainer-copy{text-align:left}
.kdt-explainer-copy > h2{
  margin-bottom:.85rem;
  max-width:28ch;
}
.kdt-explainer-copy > h3{
  margin:0 0 .85rem;
  color:var(--p);
}
.kdt-explainer p{
  color:var(--g7);
  line-height:1.6;
  margin-bottom:.85rem;
  max-width:52ch;
  font-size:1rem;
}
.kdt-explainer p b{color:var(--bk)}
.kdt-explainer-copy .kdt-tagline{margin:1rem 0 .5rem}
.kdt-explainer-cta{margin-top:.25rem}
.kdt-explainer-media{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:.15rem;
}
.kdt-explainer-media img{
  width:100%;
  max-width:min(400px,100%);
  height:auto;
  border-radius:18px;
  box-shadow:0 20px 48px -32px rgba(46,16,101,.2);
  object-fit:cover;
}
.kdt-explainer-logos{
  display:flex;justify-content:center;
  padding-top:1.75rem;
  border-top:1px solid var(--g2);
  text-align:center;
}
.kdt-explainer-logos img{
  width:100%;max-width:min(1068px,100%);
  height:auto;margin:0 auto;
}

@media(max-width:960px){
  .kdt-explainer-layout{grid-template-columns:1fr}
  .kdt-explainer-copy > h2{max-width:none}
  .kdt-explainer-media{
    order:-1;
    padding-top:0;
    margin-bottom:.5rem;
  }
  .kdt-explainer-media img{max-width:min(360px,100%)}
}

/* ── Solutions cards ── */
.kdt-solutions{
  padding:clamp(3rem,6vw,5rem) 0;
  background:var(--wh);
}
.kdt-solutions-head{
  text-align:center;
  max-width:680px;
  margin:0 auto 2.5rem;
}
.kdt-solutions-head h2{
  margin-bottom:.75rem;
}
.kdt-solutions-head p{
  color:var(--g7);
  font-size:1.05rem;
  line-height:1.55;
  margin:0;
}
.kdt-solutions-head p b{color:var(--bk);font-weight:600}
.kdt-solutions-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  max-width:var(--content-max,1180px);
  margin:0 auto 2rem;
}
.kdt-solution-card{
  background:var(--g1);
  border:1px solid var(--g2);
  border-radius:18px;
  padding:1.35rem 1.25rem;
  text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:.55rem;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.kdt-solution-card:hover{
  border-color:rgba(109,22,223,.2);
  box-shadow:0 16px 40px -28px rgba(46,16,101,.18);
  transform:translateY(-2px);
}
.kdt-solution-icon{
  width:44px;height:44px;border-radius:12px;
  background:var(--p-soft);color:var(--p);
  display:grid;place-items:center;margin-bottom:.15rem;
}
.kdt-solution-icon svg{width:22px;height:22px}
.kdt-solution-card h4{
  font-family:var(--display);
  color:var(--bk);
  margin:0;
}
.kdt-solutions-note{
  text-align:center;
  color:var(--g7);
  font-size:.98rem;
  line-height:1.6;
  max-width:62ch;
  margin:0 auto;
}
@media(max-width:900px){.kdt-solutions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.kdt-solutions-grid{grid-template-columns:1fr}}

/* ── Requisitos ── */
.kdt-reqs{
  padding:clamp(3rem,6vw,5rem) 0;
  background:var(--g1);
}
.kdt-reqs-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 2.5rem;
}
.kdt-reqs-head .eyebrow{justify-content:center;display:inline-flex;margin-bottom:.85rem}
.kdt-reqs-head h2{
  margin-bottom:.75rem;
}
.kdt-reqs-head p{
  color:var(--g7);
  font-size:1.05rem;
  line-height:1.55;
  margin:0;
}
.kdt-reqs-grid{
  list-style:none;margin:0 0 2.5rem;padding:0;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:1rem;
  width:100%;
}
.kdt-req-card{
  background:var(--wh);
  border:1px solid var(--g2);
  border-radius:18px;
  padding:1.25rem 1rem;
  display:flex;flex-direction:column;gap:.65rem;
  min-height:100%;
}
.kdt-req-num{
  font-family:var(--display);
  font-size:.72rem;font-weight:700;
  letter-spacing:.08em;
  color:var(--p);
}
.kdt-req-card p{
  font-size:.88rem;line-height:1.5;color:var(--ink);margin:0;
}
.kdt-steps{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;width:100%;margin:0 auto 2rem;
}
@media(max-width:1024px){.kdt-reqs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
  .kdt-reqs-grid{grid-template-columns:1fr}
  .kdt-steps{grid-template-columns:1fr}
}
.kdt-step{
  background:var(--wh);border:1px solid var(--g2);border-radius:20px;
  padding:1.35rem 1.25rem;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:.55rem;
}
.kdt-step-icon{
  width:72px;height:72px;display:grid;place-items:center;
  margin-bottom:.15rem;
}
.kdt-step-icon img{width:72px;height:72px;object-fit:contain}
.kdt-step-title{font-family:var(--display);font-weight:700;font-size:1rem;color:var(--bk)}
.kdt-step p{font-size:.88rem;color:var(--g7);line-height:1.5;margin:0}
.kdt-reqs-cta{text-align:center}

/* ── FAQ ── */
.kdt-faq{padding:clamp(3rem,6vw,5rem) 0;background:var(--wh)}
.kdt-faq-head{text-align:center;max-width:46rem;margin:0 auto 2rem}
.kdt-faq-head .eyebrow{justify-content:center;display:inline-flex}
.kdt-faq-head h2{margin-bottom:0}
.kdt-faq-list{
  width:100%;max-width:1120px;margin:0 auto;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem;align-items:start;
}
@media(max-width:820px){.kdt-faq-list{grid-template-columns:1fr}}
.kdt-faq-item{
  background:var(--wh);border:1px solid var(--g2);border-radius:16px;
  overflow:hidden;transition:border-color .2s,box-shadow .2s;
}
.kdt-faq-item[open]{
  border-color:rgba(109,22,223,.22);
  box-shadow:0 14px 34px -24px rgba(46,16,101,.16);
}
.kdt-faq-item summary{
  list-style:none;cursor:pointer;
  padding:1.1rem 1.25rem;display:flex;align-items:center;
  justify-content:space-between;gap:1rem;
}
.kdt-faq-item summary::-webkit-details-marker{display:none}
.kdt-faq-item summary h3{
  color:var(--bk);text-align:left;margin:0;flex:1;
}
.kdt-faq-item[open] summary h3{color:var(--p)}
.kdt-faq-chev{
  width:32px;height:32px;flex-shrink:0;border-radius:999px;
  background:var(--g2);display:grid;place-items:center;color:var(--p);
  transition:transform .25s,background .25s;
}
.kdt-faq-item[open] .kdt-faq-chev{transform:rotate(180deg);background:var(--p-soft)}
.kdt-faq-chev svg{width:14px;height:14px}
.kdt-faq-body{
  padding:0 1.25rem 1.15rem;color:var(--g7);
  font-size:.92rem;line-height:1.65;border-top:1px solid var(--g2);
}
.kdt-faq-body p{margin-bottom:.65rem}
.kdt-faq-body ul{margin:.5rem 0 .65rem 1.1rem;display:flex;flex-direction:column;gap:.35rem}
.kdt-faq-body li{list-style:disc}

/* ── Sectores (match kit-digital / home) ── */
.kdt-page .kd-sectors-sec{
  background:var(--wh);
  border-top:1px solid var(--g2);
  padding-bottom:calc(clamp(3.5rem,7vw,5.5rem) + 4rem);
}
.kdt-page footer{margin-top:0}
.kdt-page .kd-sectors-sec .sec-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 2.5rem;
}
.kdt-page .kd-sectors-sec .sec-head h2{margin-bottom:.75rem}
.kdt-page .kd-sectors-sec .sec-head p{
  color:var(--g7);
  font-size:1.05rem;
  line-height:1.55;
  max-width:60ch;
  margin:0 auto;
}

/* ── Qualification modal ── */
.kdt-qual-modal{
  position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;
  padding:1rem;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;
}
.kdt-qual-modal.is-open{opacity:1;visibility:visible}
.kdt-qual-backdrop{position:absolute;inset:0;background:rgba(10,10,15,.55);backdrop-filter:blur(6px)}
.kdt-qual-panel{
  position:relative;width:min(480px,100%);background:var(--wh);border-radius:24px;
  padding:2rem;box-shadow:0 40px 80px -24px rgba(46,16,101,.35);
  max-height:90vh;overflow-y:auto;
}
.kdt-qual-close{
  position:absolute;top:1rem;right:1rem;width:36px;height:36px;
  border-radius:999px;background:var(--g1);display:grid;place-items:center;color:var(--g7);
}
.kdt-qual-panel h2{font-size:1.35rem;margin-bottom:1.25rem;line-height:1.2;text-align:left}
.kdt-qual-field{margin-bottom:1.25rem;border:none;padding:0}
.kdt-qual-field legend{font-size:.88rem;font-weight:600;color:var(--bk);margin-bottom:.65rem;padding:0}
.kdt-qual-options{display:flex;flex-direction:column;gap:.5rem}
.kdt-qual-option{
  display:flex;align-items:center;gap:.55rem;padding:.75rem 1rem;
  border:1px solid var(--g2);border-radius:12px;cursor:pointer;
  transition:border-color .15s,background .15s;font-size:.9rem;
}
.kdt-qual-option:has(input:checked){border-color:var(--p);background:var(--p-soft)}
.kdt-qual-option input{accent-color:var(--p)}
.kdt-qual-hidden{display:none}
.kdt-qual-hidden.is-visible{display:block}
.kdt-qual-ok{text-align:center;color:var(--grn);font-weight:600;padding:1rem 0}
