/* =========================================================
   KAORI-RC MINIRACE PARK — Estilos
   ========================================================= */

:root{
  --black: #0b0d11;
  --asphalt: #14171d;
  --asphalt-soft: #1d212a;
  --white: #ffffff;
  --off-white: #f7f7f9;
  --ink: #16181d;
  --ink-soft: #4c5361;
  --muted: #868e9c;
  --line: #e7e8ec;
  --red: #e42313;
  --red-dark: #b81a0d;
  --yellow: #ffcc00;
  --yellow-dark: #e0b300;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px -24px rgba(10,12,16,.35);
  --shadow-sm: 0 8px 24px -12px rgba(10,12,16,.25);
  --font-head: 'Rajdhani', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; color: var(--ink); }
p{ margin: 0; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--yellow); color: var(--black); padding: 12px 18px;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-size: 0.98rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--red); color: var(--white);
  box-shadow: 0 12px 28px -10px rgba(228,35,19,.55);
}
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost{ background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover{ border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-large{ padding: 16px 32px; font-size: 1.05rem; }
.btn-form-submit{ width: 100%; justify-content: center; margin-top: 4px; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-container{
  max-width: var(--container); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.logo-link, .footer-logo{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo{ height: 38px; width: auto; }
.footer-logo-img{ height: 34px; width: auto; filter: invert(1) brightness(1.15); }

.nav-links{ display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a{ font-size: .95rem; font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover{ color: var(--red); }
.nav-links a.active{ color: var(--red); }

.nav-cta{
  background: var(--red); color: var(--white); font-weight: 700;
  padding: 11px 22px; border-radius: 999px; font-size: .92rem;
  transition: background .15s ease, transform .15s ease;
  flex-shrink: 0;
}
.nav-cta:hover{ background: var(--red-dark); transform: translateY(-1px); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span{ display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ padding: 14px 0; background: var(--off-white); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumb a{ color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover{ color: var(--red); }
.breadcrumb span{ margin: 0 8px; color: var(--muted); }
.breadcrumb [aria-current="page"]{ color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero-section{
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: 76px 0 64px;
}
.hero-section::before{
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 55%, rgba(255,204,0,.08) 55%, rgba(255,204,0,.08) 58%, transparent 58%),
    linear-gradient(115deg, transparent 62%, rgba(228,35,19,.12) 62%, rgba(228,35,19,.12) 66%, transparent 66%);
  pointer-events: none;
}
.hero-section::after{
  content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%), linear-gradient(-45deg, #fff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #fff 75%), linear-gradient(-45deg, transparent 75%, #fff 75%);
  background-size: 28px 28px; background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  opacity: .05; transform: rotate(10deg); pointer-events: none;
}
.hero-inner{
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.hero-eyebrow{
  color: var(--yellow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-size: .82rem; margin-bottom: 14px;
}
.hero-title{
  color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: .01em;
}
.hero-title em{ color: var(--yellow); font-style: normal; }
.hero-subtitle{
  color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.65;
  margin: 22px 0 32px; max-width: 560px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-stats{ display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stat{ display: flex; flex-direction: column; }
.stat strong{ font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.stat span{ font-size: .82rem; color: rgba(255,255,255,.55); }
.stat-divider{ width: 1px; height: 34px; background: rgba(255,255,255,.18); }

.hero-visual{ position: relative; }
.img-ph{
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--asphalt-soft), var(--asphalt));
  box-shadow: var(--shadow);
}
.img-ph.ratio-4-3{ aspect-ratio: 4/3; }
.img-ph.ratio-1-1{ aspect-ratio: 1/1; }
.img-ph.ratio-16-9{ aspect-ratio: 16/9; }
.img-ph img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-ph-fallback{
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: rgba(255,255,255,.4); font-size: 2rem; text-align: center;
}
.img-ph-fallback em{ font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.img-ph--hero{ box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); }

/* ---------- Section basics ---------- */
.section-header{ text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-eyebrow{
  color: var(--red); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-size: .8rem; margin: 0 0 10px;
}
.section-header h2, .intro-text h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-desc{ margin-top: 14px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }

/* ---------- Intro ---------- */
.intro-section{ padding: 84px 0; background: var(--off-white); }
.intro-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-text h2{ margin: 10px 0 20px; }
.intro-text p{ color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; font-size: 1.02rem; }
.intro-text strong{ color: var(--ink); }
.intro-highlights{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.highlight-item{ display: flex; gap: 14px; }
.highlight-icon{ font-size: 1.5rem; flex-shrink: 0; }
.highlight-item strong{ display: block; margin-bottom: 4px; font-size: 1.02rem; color: var(--ink); }
.highlight-item p{ color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }

/* ---------- Experiencias ---------- */
.experiencias-section{ padding: 84px 0; }
.exp-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.exp-grid--3col{ grid-template-columns: repeat(3, 1fr); }
.exp-card{
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.exp-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: transparent; }
.exp-card .img-ph{ border-radius: 0; box-shadow: none; }
.exp-body{ padding: 22px; flex: 1; }
.exp-body h3{ font-size: 1.12rem; margin-bottom: 8px; }
.exp-body p{ color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.exp-detail-link{
  display: block; padding: 14px 22px; font-weight: 700; font-size: .88rem;
  color: var(--red); border-top: 1px solid var(--line);
}
.exp-cta{
  margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--black);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.exp-cta p{ color: var(--white); font-size: 1.05rem; font-weight: 600; }

/* ---------- Feature columns (autos/pista, asistentes/organizadores) ---------- */
.features-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.feature-col h3{ font-size: 1.1rem; margin-bottom: 16px; }
.feature-list{ display: flex; flex-direction: column; gap: 12px; }
.feature-list li{ position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.feature-list li::before{ content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }

/* ---------- Why ---------- */
.why-section{ padding: 84px 0; background: var(--off-white); }
.why-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card{
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line);
}
.why-number{ font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.why-card h3{ font-size: 1.08rem; margin-bottom: 8px; }
.why-card p{ color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

/* ---------- Publico ---------- */
.publico-section{ padding: 84px 0; }
.publico-grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.publico-grid--3col{ grid-template-columns: repeat(3, 1fr); }
.publico-card{
  display: block; text-align: center; padding: 28px 18px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.publico-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.publico-icon{ font-size: 2rem; display: block; margin-bottom: 14px; }
.publico-card h3{ font-size: .98rem; margin-bottom: 8px; }
.publico-card p{ color: var(--ink-soft); font-size: .85rem; line-height: 1.5; }

/* ---------- Pasos ---------- */
.pasos-section{ padding: 84px 0; background: var(--asphalt); }
.pasos-section .section-eyebrow{ color: var(--yellow); }
.pasos-section h2{ color: var(--white); }
.pasos-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.paso-item{ position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.paso-num{
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--yellow); color: var(--black); font-family: var(--font-head);
  font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}
.paso-item h3{ color: var(--white); font-size: 1.02rem; margin-bottom: 8px; }
.paso-item p{ color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.55; }

/* ---------- Gallery ---------- */
.gallery-section{ padding: 84px 0; }
.gallery-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 16px;
  grid-auto-flow: dense;
}
.gallery-item{ border-radius: var(--radius-sm); overflow: hidden; box-shadow: none; }
.gallery-item--tall{ grid-row: span 2; }
.gallery-item--wide{ grid-column: span 2; }
.gallery-item .img-ph-fallback{ font-size: 1.4rem; }

/* ---------- Marquee ---------- */
.clientes-section{ padding: 56px 0; background: var(--off-white); overflow: hidden; }
.clientes-eyebrow{ text-align: center; margin-bottom: 26px; }
.marquee-container{ overflow: hidden; width: 100%; }
.marquee-track{ display: flex; gap: 14px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-badge{
  flex-shrink: 0; padding: 12px 24px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  color: var(--ink-soft);
}
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- Brand statement (slogan) ---------- */
.brand-statement{
  padding: 48px 0; background: var(--black); text-align: center;
  position: relative; overflow: hidden;
}
.brand-statement::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 55%, rgba(255,204,0,.06) 55%, rgba(255,204,0,.06) 58%, transparent 58%);
  pointer-events: none;
}
.brand-statement p{
  position: relative; z-index: 1; margin: 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  letter-spacing: .03em; font-style: italic;
  color: rgba(255,255,255,.85);
}
.brand-statement-mark{ color: var(--yellow); font-style: normal; }

/* ---------- Video ---------- */
.video-section{ padding: 84px 0; }
.video-wrapper{ max-width: 900px; margin: 0 auto; box-shadow: var(--shadow); }
.video-wrapper .img-ph-fallback{ font-size: 2.4rem; }

/* ---------- FAQ ---------- */
.faq-section{ padding: 84px 0; background: var(--off-white); }
.faq-list{ max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px;
}
.faq-item summary{
  cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-icon{ font-size: 1.3rem; color: var(--red); font-weight: 400; transition: transform .2s ease; }
.faq-item[open] .faq-icon{ transform: rotate(45deg); }
.faq-item p{ color: var(--ink-soft); line-height: 1.6; padding-bottom: 20px; font-size: .95rem; }

/* ---------- CTA final (bloques simples de cierre) ---------- */
.cta-final{
  padding: 84px 0; text-align: center; background: var(--black);
  position: relative; overflow: hidden;
}
.cta-final::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 60%, rgba(255,204,0,.08) 60%, rgba(255,204,0,.08) 63%, transparent 63%);
  pointer-events: none;
}
.cta-final .container{ position: relative; z-index: 1; }
.cta-final h2{ color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 620px; margin: 0 auto; }
.cta-final-actions{ display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Contacto ---------- */
.contacto-section{ padding: 90px 0; }
.contacto-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contacto-info h2{ margin: 10px 0 16px; }
.contacto-info > p:nth-of-type(2){ color: var(--ink-soft); line-height: 1.65; margin-bottom: 28px; }
.contacto-datos{ margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dato-item strong{ display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.dato-item a, .dato-item span{ font-weight: 600; color: var(--ink); }

.contacto-form-wrap{ background: var(--off-white); border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); }
.contacto-form-wrap h3{ font-size: 1.2rem; margin-bottom: 20px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group{ margin-bottom: 16px; }
.form-group label{ display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea{
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: .95rem; background: var(--white); color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline: none; border-color: var(--red);
}
.form-group textarea{ resize: vertical; }
.form-feedback{ margin-top: 12px; font-size: .9rem; font-weight: 600; text-align: center; }
.form-feedback.is-success{ color: #1a8a4a; }
.form-feedback.is-error{ color: var(--red); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--black); padding: 64px 0 28px; }
.footer-inner{ display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p{ color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.6; margin-top: 16px; max-width: 320px; }
.footer-brand p.footer-slogan{
  color: var(--yellow); font-family: var(--font-head); font-weight: 600;
  font-size: .88rem; font-style: italic; letter-spacing: .02em;
  margin: 14px 0 0; max-width: none;
}
.footer-col h4{ color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ color: rgba(255,255,255,.6); font-size: .92rem; transition: color .15s ease; }
.footer-col a:hover{ color: var(--yellow); }
.footer-bottom{ padding-top: 24px; text-align: center; }
.footer-bottom p{ color: rgba(255,255,255,.4); font-size: .82rem; }

/* ---------- Article layout & sidebar ---------- */
.article-layout{ display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-main{ min-width: 0; }
/* Usada por blog-index.html / blog-index-2.html: mismo layout de dos columnas que un
   artículo, pero SIN la tipografía de "artículo largo" de abajo (esa es solo para el
   cuerpo de un artículo individual, no para la lista de tarjetas del blog). */
.bloglist-main{ min-width: 0; }
.article-sidebar{ display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.sidebar-box{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
}
.sidebar-box__title{
  font-family: var(--font-head); font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.sidebar-box__list{ display: flex; flex-direction: column; gap: 11px; }
.sidebar-box__list li{ line-height: 1.4; }
.sidebar-box__list a{
  color: var(--ink-soft); font-size: .9rem; font-weight: 500; transition: color .15s ease;
  display: block;
}
.sidebar-box__list a:hover{ color: var(--red); }

/* ---------- Article header ---------- */
.article-header{ padding: 40px 0 30px; }
.article-header__meta{ display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.blog-tag{
  display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px;
  background: rgba(228,35,19,.1); color: var(--red); font-family: var(--font-head);
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
}
.article-header__date, .article-header__reading{ color: var(--muted); font-size: .85rem; }
.article-header__title{ font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; margin-bottom: 18px; max-width: 880px; }
.article-header__description{ color: var(--ink-soft); font-size: 1.15rem; line-height: 1.65; max-width: 720px; }

/* ---------- Article hero image ---------- */
.article-hero{ padding-bottom: 40px; }
.article-hero img{
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* ---------- Article body (long-form reading) ---------- */
.article-content{ padding-bottom: 84px; }
.article-main{ font-size: 1.06rem; }
.article-main p{ color: var(--ink-soft); line-height: 1.85; margin-bottom: 24px; font-size: 1.06rem; }
.article-main > p:first-child{ font-size: 1.18rem; line-height: 1.75; color: var(--ink); }
.article-main h2{ font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.3; margin: 48px 0 18px; clear: both; }
.article-main section:first-of-type > h2:first-child{ margin-top: 0; }
.article-main h3{ font-size: 1.2rem; line-height: 1.35; margin: 30px 0 14px; clear: both; }
.article-main ul, .article-main ol{ margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.article-main ul li, .article-main ol li{
  position: relative; padding-left: 26px; color: var(--ink-soft); line-height: 1.7; font-size: 1.02rem;
}
.article-main ul li::before{
  content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--red);
}
.article-main strong{ color: var(--ink); font-weight: 700; }
.article-main a:not(.btn){
  color: var(--red); font-weight: 600; text-decoration: underline;
  text-decoration-color: rgba(228,35,19,.35); text-underline-offset: 3px;
  transition: text-decoration-color .15s ease;
}
.article-main a:not(.btn):hover{ text-decoration-color: var(--red); }

/* Tabla de contenido */
.article-toc{
  background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin: 8px 0 44px;
}
.article-toc__title{
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: 14px;
}
.article-toc__list{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.article-toc__link{ display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .95rem; font-weight: 600; transition: color .15s ease; }
.article-toc__link::before{ content: "→"; color: var(--red); font-weight: 700; }
.article-toc__link:hover{ color: var(--red); }

/* Caja "Puntos clave" */
.article-list-box{
  background: linear-gradient(135deg, rgba(255,204,0,.12), rgba(228,35,19,.05));
  border: 1px solid rgba(228,35,19,.18); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 26px 28px; margin: 8px 0 44px;
}
.article-list-box h4{
  font-family: var(--font-head); font-size: .92rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.article-list-box h4::before{ content: "★"; color: var(--red); font-size: .85rem; }
.article-list-box ul{ margin: 0; }
.article-list-box li::before{ content: "✓"; background: none; width: auto; height: auto; border-radius: 0; top: 0; left: 0; color: var(--red); font-weight: 700; }
.article-list-box li strong{ color: var(--ink); }

/* Imagen dentro del cuerpo del artículo (opcional, para variar el ritmo visual) */
.article-figure{ margin: 12px 0 36px; }
.article-figure img{
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block;
}
.article-figure figcaption{ margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
.article-figure--side{ float: right; width: 42%; margin: 6px 0 28px 28px; }
.article-figure--side img{ aspect-ratio: 4 / 3; object-fit: cover; }

/* Galería de 3 fotos dentro del artículo (opcional): una grande + dos pequeñas */
.article-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 12px 0 36px; }
.article-gallery img{
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.article-gallery img:hover{ transform: scale(1.03); }
.article-gallery img:first-child{ grid-column: span 2; grid-row: span 2; }

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float{
  position: fixed; right: 24px; bottom: 24px; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); box-shadow: 0 10px 26px rgba(0,0,0,.32); }
.whatsapp-float svg{ display: block; }

/* ---------- Pagination ---------- */
.pagination{
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-top: 48px;
}
.pagination-pages{ display: flex; align-items: center; gap: 8px; }
.pagination-page{
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 4px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-soft);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pagination-page:hover{ border-color: var(--red); color: var(--red); }
.pagination-page.is-active{ background: var(--red); border-color: var(--red); color: var(--white); }
.pagination-arrow{
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font-weight: 700; font-size: .88rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pagination-arrow:hover{ border-color: var(--red); color: var(--red); }
.pagination-arrow.is-disabled{ color: var(--muted); pointer-events: none; opacity: .5; }

/* ---------- Legal pages (Aviso de privacidad / Términos y condiciones) ---------- */
.legal-section{ padding: 64px 0 84px; }
.legal-content{ max-width: 760px; margin: 0 auto; }
.legal-content h1{ margin-bottom: 12px; }
.legal-content .legal-updated{ color: var(--ink-soft); font-size: .85rem; margin-bottom: 36px; }
.legal-content h2{ font-size: 1.3rem; margin: 36px 0 14px; }
.legal-content h2:first-of-type{ margin-top: 0; }
.legal-content p{ color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.legal-content ul{ color: var(--ink-soft); line-height: 1.7; margin: 0 0 14px; padding-left: 22px; }
.legal-content li{ margin-bottom: 6px; }
.legal-content strong{ color: var(--ink); }
.legal-content a{ color: var(--red); font-weight: 600; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .nav-links{ display: none; }
  .nav-toggle{ display: flex; }
  /* El botón de cotización se mantiene siempre visible y accesible en móvil */
  .nav-cta{ margin-left: auto; padding: 9px 16px; font-size: .85rem; }
  .site-header.nav-open .nav-links{
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    padding: 16px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .site-header.nav-open .nav-links a{ padding: 10px 0; width: 100%; }

  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }

  .intro-grid{ grid-template-columns: 1fr; gap: 40px; }
  .features-grid{ grid-template-columns: 1fr; gap: 24px; }
  .exp-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .publico-grid{ grid-template-columns: repeat(3, 1fr); }
  .pasos-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); grid-auto-rows: 130px; }
  .contacto-grid{ grid-template-columns: 1fr; gap: 40px; }
  .contacto-datos{ grid-template-columns: 1fr 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }

  .article-layout{ grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar{ position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-box{ flex: 1 1 240px; }

  .article-toc__list{ grid-template-columns: 1fr; }
  .article-figure--side{ float: none; width: 100%; margin: 12px 0 28px; }
  .article-gallery{ grid-template-columns: 1fr 1fr; }
  .article-gallery img:first-child{ grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px){
  .nav-container{ gap: 12px; padding: 12px 16px; }
  .nav-logo{ height: 30px; }
  .nav-cta{ padding: 8px 12px; font-size: .78rem; }

  .whatsapp-float{ right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg{ width: 26px; height: 26px; }

  .hero-section{ padding: 56px 0 44px; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ justify-content: center; }
  .hero-stats{ gap: 16px; }

  .intro-section, .experiencias-section, .why-section, .publico-section,
  .pasos-section, .gallery-section, .video-section, .faq-section, .contacto-section{
    padding: 56px 0;
  }
  .intro-highlights{ grid-template-columns: 1fr; }
  .exp-grid{ grid-template-columns: 1fr; }
  .exp-cta{ flex-direction: column; align-items: flex-start; }
  .why-grid{ grid-template-columns: 1fr; }
  .publico-grid{ grid-template-columns: repeat(2, 1fr); }
  .pasos-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gallery-item--tall{ grid-row: span 1; }
  .gallery-item--wide{ grid-column: span 1; }
  .form-row{ grid-template-columns: 1fr; }
  .contacto-datos{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; gap: 32px; }

  .article-sidebar{ flex-direction: column; }
  .sidebar-box{ flex: 1 1 auto; }

  .article-header{ padding: 32px 0 24px; }
  .article-header__description{ font-size: 1.05rem; }
  .article-hero{ padding-bottom: 28px; }
  .article-content{ padding-bottom: 56px; }
  .article-main p{ font-size: 1rem; }
  .article-main > p:first-child{ font-size: 1.08rem; }
  .article-main h2{ margin: 36px 0 14px; }
  .article-main h3{ margin: 24px 0 12px; }
  .article-toc{ padding: 20px; }
  .article-list-box{ padding: 20px; }
  .article-gallery{ grid-template-columns: 1fr; gap: 12px; }
  .article-gallery img:first-child{ grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
