/* ============================================================
   Dushi v2 — Sistema de diseño
   Mobile-first · fluid type · sin framework · <15KB
   ============================================================ */

:root {
  /* Paleta */
  --violet-950: #2a1238;
  --violet-900: #3b1b4d;
  --violet-700: #6b2d7b;
  --violet-600: #7d3a90;
  --violet-100: #f4edf7;
  --violet-50:  #faf6fc;
  --amber-500:  #f5a623;
  --amber-400:  #ffc107;
  --ink:        #1d1426;
  --muted:      #655a70;
  --line:       #e9e2ee;
  --bg:         #ffffff;
  --bg-soft:    #faf9fb;
  --white:      #ffffff;
  --green-600:  #1e9e5a;

  /* Sistema */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(42, 18, 56, .08);
  --shadow: 0 8px 30px rgba(42, 18, 56, .10);
  --shadow-lg: 0 20px 60px rgba(42, 18, 56, .16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }

/* ---------- Tipografía fluida ---------- */
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.18; letter-spacing: -0.015em; font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.3; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); line-height: 1.55; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--amber-500); color: var(--violet-950); box-shadow: 0 6px 20px rgba(245, 166, 35, .35); }
.btn-primary:hover { background: var(--amber-400); box-shadow: 0 10px 26px rgba(245, 166, 35, .45); }
.btn-secondary { background: var(--white); color: var(--violet-700); border-color: var(--violet-700); }
.btn-secondary:hover { background: var(--violet-100); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--violet-950); color: rgba(255,255,255,.85);
  font-size: .82rem; text-align: center; padding: 8px 16px;
}
.topbar strong { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--violet-900); letter-spacing: .02em; }
.brand img { height: 44px; width: auto; }
.brand:hover { text-decoration: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-dropdown > button {
  padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.main-nav > a:hover, .nav-dropdown > button:hover { background: var(--violet-100); text-decoration: none; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; display: none;
}
.nav-dropdown.open .dropdown-menu, .nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.dropdown-menu a:hover { background: var(--violet-100); text-decoration: none; }

.lang-switch { font-size: .85rem; color: var(--muted); padding: 0 8px; }
.lang-switch a { color: var(--muted); font-weight: 600; }
.lang-switch a.active { color: var(--violet-700); }

.header-cta { margin-left: 8px; }

.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: linear-gradient(135deg, var(--violet-950) 0%, var(--violet-900) 55%, var(--violet-700) 130%);
}
.hero .container { position: relative; z-index: 1; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 34px; max-width: 620px; }
.hero .lead strong { color: var(--white); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.2; object-fit: cover;
}
.hero-badge {
  position: absolute; bottom: 22px; left: -18px;
  background: var(--white); color: var(--ink);
  padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .88rem; line-height: 1.35;
}
.hero-badge .stars { color: var(--amber-500); letter-spacing: 1px; }
.hero-badge strong { color: var(--violet-900); font-size: 1.15rem; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255,255,255,.85); }
.trust-chips span { display: inline-flex; align-items: center; gap: 7px; }
.trust-chips .stars { color: var(--amber-400); }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--violet-900); color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { color: var(--violet-900); margin-bottom: 12px; }
.section-dark .section-head h2 { color: var(--white); }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Barra de confianza ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: var(--white); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-top: 18px; padding-bottom: 18px; }
.trustbar .score { font-size: 1.05rem; font-weight: 800; color: var(--violet-900); }
.trustbar .stars { color: var(--amber-500); font-size: 1.15rem; letter-spacing: 2px; }
.trustbar .sep { color: var(--line); font-size: 1.2rem; }
.trustbar .item { color: var(--muted); font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.trustbar .item strong { color: var(--ink); }

/* ---------- Cotizador ---------- */
.quoter {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 44px); max-width: 860px; margin: 0 auto;
  border: 1px solid var(--line); border-top: 4px solid var(--amber-500);
}
.quoter-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.quoter-steps .dot { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.quoter-steps .dot.active { background: var(--violet-700); }

.q-step { animation: qFade .28s ease; }
@keyframes qFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.q-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.q-product {
  position: relative;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 12px 16px;
  text-align: center; cursor: pointer; background: var(--white); transition: .15s;
  font-weight: 600; font-size: .95rem; color: var(--ink);
}
.q-product .ico {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: 0 auto 10px;
  background: var(--violet-100); border-radius: 16px; font-size: 1.75rem;
  transition: background .15s;
}
.q-product:hover { border-color: var(--violet-600); transform: translateY(-2px); }
.q-product:hover .ico { background: var(--violet-100); }
.q-product.selected { border-color: var(--violet-700); background: var(--violet-50); box-shadow: 0 0 0 2px var(--violet-700), var(--shadow); }
.q-product.selected .ico { background: var(--violet-700); }
.q-product.selected::after {
  content: '✓'; position: absolute; top: -9px; right: -9px;
  width: 26px; height: 26px; background: var(--green-600); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; box-shadow: var(--shadow-sm);
}

.q-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 8px; }
.q-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.q-field select, .q-field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--white);
}
.q-field select:focus, .q-field input:focus { outline: 2px solid var(--violet-600); outline-offset: 1px; border-color: var(--violet-600); }
.q-check { display: flex; align-items: center; gap: 10px; padding-top: 22px; font-weight: 600; }

.q-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.q-back { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 12px 8px; }
.q-back:hover { color: var(--ink); }

.q-result { text-align: center; padding: 12px 0 4px; }
.q-price { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; color: var(--violet-700); line-height: 1; animation: qPop .35s ease; }
@keyframes qPop { 0% { transform: scale(.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.q-unit { color: var(--muted); margin-top: 8px; }
.q-breakdown { margin: 22px auto 0; max-width: 460px; text-align: left; font-size: .92rem; border-top: 1px dashed var(--line); padding-top: 16px; }
.q-breakdown div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.q-breakdown div strong { color: var(--ink); }
.q-loading { color: var(--muted); padding: 30px 0; text-align: center; }
.q-error { background: #fdf0f0; color: #a33; border-radius: 12px; padding: 14px 18px; margin-top: 16px; font-size: .92rem; }
.q-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* ---------- Cotización formal (paso 5) ---------- */
.q-folio-box {
  background: var(--violet-50); border: 2px solid var(--violet-700);
  border-radius: var(--radius); padding: 22px; text-align: center; margin-bottom: 22px;
}
.q-folio-label { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.q-folio { font-size: clamp(1.6rem, 4.5vw, 2.2rem); font-weight: 800; color: var(--violet-700); letter-spacing: .02em; }
.q-folio-meta { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.q-pay-actions { display: grid; gap: 12px; max-width: 460px; margin: 0 auto; }
.q-pay-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }

/* ---------- Grid de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: .18s ease;
}
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--amber-500); color: var(--violet-950);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { color: var(--violet-900); }
.card-body p { font-size: .95rem; color: var(--muted); flex: 1; }
.card-body ul { list-style: none; font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }
.card-link { font-weight: 700; color: var(--violet-700); margin-top: 6px; }
.card-link::after { content: ' →'; }

/* ---------- Split (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(30px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list .tick { color: var(--green-600); font-weight: 800; }

/* ---------- Video ---------- */
.video-facade {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-lg); max-width: 880px; margin: 0 auto; background: #000;
}
.video-facade .ratio { position: relative; padding-top: 56.25%; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-facade .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; background: rgba(255,255,255,.95); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(0,0,0,.4);
}
.video-facade .play::after {
  content: ''; border-top: 16px solid transparent; border-bottom: 16px solid transparent;
  border-left: 26px solid var(--violet-700); margin-left: 6px;
}

/* ---------- Guía de papeles ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.guide-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.guide-card h3 { color: var(--violet-700); font-size: 1.05rem; margin-bottom: 10px; }
.guide-card p { font-size: .92rem; color: var(--muted); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; text-align: center; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--amber-500); color: var(--violet-950); font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { color: var(--white); margin-bottom: 8px; }
.step p { font-size: .9rem; color: rgba(255,255,255,.72); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; font-weight: 700; color: var(--violet-900); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--violet-600); transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }

/* ---------- Sin riesgo ---------- */
.risk-section { background: var(--violet-50); }
.risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.risk-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; gap: 16px; align-items: flex-start;
}
.risk-card .risk-ico {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  background: #e8f7ee; color: var(--green-600); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.risk-card h3 { color: var(--violet-900); font-size: 1.08rem; margin-bottom: 6px; }
.risk-card p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.risk-card.featured {
  grid-column: 1 / -1;
  border: 2px solid var(--amber-500);
  background: linear-gradient(135deg, #fffdf5, #fff);
  align-items: center;
}
.risk-card.featured .risk-ico { width: 60px; height: 60px; font-size: 1.9rem; background: var(--amber-500); color: var(--violet-950); }
.risk-card.featured h3 { font-size: 1.3rem; }

/* ---------- Logística ---------- */
.logi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.logi-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.logi-card h3 { color: var(--violet-700); margin-bottom: 12px; }
.logi-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Reseñas ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.review .stars { color: var(--amber-500); letter-spacing: 2px; }
.review p { color: #444; font-size: .93rem; line-height: 1.65; flex: 1; }
.review footer { display: flex; justify-content: space-between; align-items: center; }
.review footer strong { color: var(--violet-900); }
.review footer a { font-size: .8rem; color: #4285f4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--violet-950); color: rgba(255,255,255,.78); }
.site-footer a { color: rgba(255,255,255,.85); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding: 64px 0 40px; }
.footer-grid h4, .footer-grid .footer-title { color: var(--white); font-size: 1rem; margin-bottom: 14px; font-weight: 700; }
.footer-grid p, .footer-grid li { font-size: .9rem; margin-bottom: 8px; }
.footer-grid ul { list-style: none; }
.footer-grid ul a:hover { color: var(--amber-400); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-brand img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; padding-bottom: 20px; }
.social-links { display: flex; gap: 12px; margin-top: 10px; }
.social-links a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; }
.social-links a:hover { background: var(--violet-600); }
.map-facade { border-radius: var(--radius-lg); overflow: hidden; height: 380px; position: relative; cursor: pointer; background: #eee; border: 2px solid var(--amber-500); }
.map-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.map-facade .cta {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--white); padding: 12px 26px; border-radius: 12px; font-weight: 700;
  color: var(--violet-700); box-shadow: var(--shadow);
}

/* ============================================================
   Páginas interiores (servicios, artículos, contacto, legales)
   ============================================================ */

/* ---------- Hero compacto + breadcrumb ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--violet-950) 0%, var(--violet-900) 55%, var(--violet-700) 130%);
  color: var(--white);
}
.page-hero .container { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(1.75rem, 4.2vw, 2.7rem); margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.88); max-width: 780px; margin-bottom: 26px; }
.page-hero .hero-btns { margin-bottom: 0; }
.page-hero .trust-chips { margin-top: 24px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.88); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }

.page-hero .service-badge {
  display: inline-block; background: var(--amber-500); color: var(--violet-950);
  font-weight: 700; font-size: .8rem; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.page-hero .hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; }
.page-hero .hero-badge { left: auto; right: -14px; bottom: 18px; }
@media (max-width: 860px) { .page-hero .hero-badge { right: 12px; } }

/* ---------- Artículo / contenido editorial ---------- */
.kb-wrap { max-width: 780px; margin: 0 auto; }
.kb-body { font-size: 1.02rem; color: #3a3344; }
.kb-body h2 { font-size: clamp(1.35rem, 2.8vw, 1.7rem); color: var(--violet-900); margin: 2.1em 0 .7em; }
.kb-body h3 { font-size: clamp(1.12rem, 2.2vw, 1.3rem); color: var(--violet-900); margin: 1.8em 0 .6em; }
.kb-body h4 { font-size: 1.05rem; color: var(--violet-900); margin: 1.5em 0 .5em; }
.kb-body p { margin: 0 0 1.1em; }
.kb-body ul, .kb-body ol { margin: 0 0 1.2em; padding-left: 1.4em; display: grid; gap: .45em; }
.kb-body li::marker { color: var(--violet-700); }
.kb-body a { color: var(--violet-700); text-decoration: underline; text-underline-offset: 2px; }
.kb-body strong { color: var(--ink); }
.kb-body img { border-radius: var(--radius); margin: 1.6em auto; box-shadow: var(--shadow); }
.kb-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.kb-body blockquote {
  border-left: 4px solid var(--amber-500); background: var(--violet-50);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6em 0; color: var(--muted);
}
.kb-body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.kb-body th, .kb-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.kb-body th { background: var(--violet-100); color: var(--violet-900); }

/* FAQ heredada de artículos viejos (div + h3 + p) */
.kb-body .faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.kb-body .faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.kb-body .faq-item p:last-child { margin-bottom: 0; }

/* Nota destacada heredada */
.kb-body .note { background: var(--violet-50); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 1.2em; }

.toc { background: var(--violet-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 2em; }
.toc strong, .toc .toc-title { display: block; color: var(--violet-900); margin-bottom: 8px; }
.toc ul { padding-left: 1.2em; margin: 0; display: grid; gap: .3em; font-size: .95rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.cta-box {
  background: linear-gradient(135deg, var(--violet-900), var(--violet-700));
  color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); text-align: center; margin: 2.6em 0;
}
.cta-box h2, .cta-box h3 { color: var(--white); margin-top: 0; }
.cta-box p { color: rgba(255,255,255,.85); }
.kb-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber-500); color: var(--violet-950); font-weight: 700;
  padding: 14px 30px; border-radius: 999px; text-decoration: none; margin-top: 10px;
  transition: background .15s ease, transform .15s ease;
}
.kb-cta:hover { background: var(--amber-400); text-decoration: none; }
.kb-cta:active { transform: scale(.98); }

/* ---------- Servicios: specs / tipos / info / proceso claro ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.spec-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.spec-item .spec-body { padding: 18px 20px; }
.spec-item h3 { color: var(--violet-900); font-size: 1.05rem; margin-bottom: 6px; }
.spec-item p { font-size: .92rem; color: var(--muted); }

.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.type-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.type-card h3 { color: var(--violet-700); margin-bottom: 8px; font-size: 1.08rem; }
.type-card p { color: var(--muted); font-size: .94rem; }
.type-card ul { list-style: none; margin-top: 10px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { color: var(--violet-900); font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .93rem; }
.info-card ul { list-style: none; margin-top: 10px; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }

.steps-light .step h3 { color: var(--violet-900); }
.steps-light .step p { color: var(--muted); }

/* ---------- Formulario de contacto ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--violet-600); outline-offset: 1px; border-color: var(--violet-600);
}
.form-full { grid-column: 1 / -1; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; color: var(--violet-700); min-height: 1.2em; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { color: var(--violet-900); margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 10px; }
.contact-info p strong { color: var(--ink); }
#files { display: none; }
.file-list { font-size: .85rem; color: var(--green-600); margin-top: 8px; font-weight: 600; }
.file-help { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.note { background: var(--violet-50); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.note strong { color: var(--violet-900); }

/* ---------- Hub de guías ---------- */
.guide-section { margin-bottom: clamp(32px, 5vw, 48px); }
.guide-section h2 { color: var(--violet-900); font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-bottom: 14px; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 28px; list-style: none; }
.link-grid a { color: var(--ink); font-size: .96rem; display: inline-block; padding: 4px 0; }
.link-grid a:hover { color: var(--violet-700); }
.link-grid a::before { content: '→'; color: var(--amber-500); margin-right: 8px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-media { margin-top: 8px; }
  .hero-badge { left: 12px; bottom: 14px; padding: 10px 16px; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown > button { padding: 13px 14px; text-align: left; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding-left: 14px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .header-cta { margin: 10px 0 0; }
  .lang-switch { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
