/* =========================================================
   Comunidad Moto - estilos (v2, pulido)
   System fonts + CSS puro. Sin JS, sin dependencias.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:           #0a0f1c;
  --bg-soft:      #0f172a;
  --bg-muted:     #1e293b;
  --surface:      #ffffff;
  --surface-alt:  #f8fafc;
  --surface-muted:#f1f5f9;
  --border:       #e2e8f0;
  --text:         #1e293b;
  --text-muted:   #475569;
  --text-subtle:  #64748b;
  --text-invert:  #f8fafc;
  --text-dim:     #cbd5e1;

  --accent:       #f97316;   /* naranja adventure */
  --accent-dark:  #c2410c;
  --accent-glow:  #fb923c;
  --accent-soft:  #fff7ed;

  --tg:           #229ED9;   /* azul oficial Telegram */
  --tg-dark:      #1c8bc0;

  --shadow-sm:    0 1px 2px rgba(15,23,42,.06);
  --shadow:       0 4px 12px rgba(15,23,42,.08);
  --shadow-lg:    0 12px 32px rgba(15,23,42,.12);
  --shadow-accent:0 10px 28px rgba(249,115,22,.35);

  --radius-sm:    .5rem;
  --radius:       .75rem;
  --radius-lg:    1rem;

  --container:    1200px;
  --container-narrow: 820px;

  --ease:         cubic-bezier(.2,.7,.2,1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-alt);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color .15s var(--ease);
}
a:hover { color: var(--accent); text-decoration: underline; }

ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  line-height: 1.15;
  color: var(--bg-soft);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  margin-top: 2rem;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.25rem; margin-top: 1.5rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; max-width: 72ch; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

strong { color: var(--bg-soft); font-weight: 600; }

/* Acento orange bajo los h2 de landing */
section h2 {
  position: relative;
  padding-bottom: .25rem;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(10,15,28,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-invert);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-invert);
  letter-spacing: -0.02em;
}
.site-header .logo:hover { color: var(--accent-glow); text-decoration: none; }
.site-header .logo span { color: var(--accent-glow); }
.site-header .logo svg { width: 28px; height: 28px; }

.site-header nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--text-dim);
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s var(--ease);
}
.site-header nav a:hover { color: var(--accent-glow); text-decoration: none; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(251,146,60,.15), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(34,158,217,.12), transparent 50%),
    linear-gradient(135deg, #0a0f1c 0%, #1e293b 100%);
  color: var(--text-invert);
  padding: 6rem 0 7rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--surface-alt));
  z-index: 1;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 {
  color: var(--text-invert);
  max-width: 900px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 .accent { color: var(--accent-glow); }
.hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

/* ---------- Hero modelo (landing con foto) ---------- */
.hero-model {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  min-height: min(68vh, 640px);
  padding: 6rem 0 5rem;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,15,28,.25) 0%, rgba(10,15,28,.75) 70%, rgba(10,15,28,.92) 100%),
    linear-gradient(90deg, rgba(10,15,28,.55) 0%, transparent 55%);
  pointer-events: none;
}
.hero-model .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-model h1 {
  color: var(--text-invert);
  max-width: 900px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-model .subtitle {
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* Meta pill superior del hero modelo */
.hero-model .meta {
  display: inline-flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.hero-model .meta span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-dim);
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-model .meta span::before { content: ""; }

/* Badge encima del h1 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  background: rgba(249,115,22,.12);
  color: var(--accent-glow);
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-glow);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(251,146,60,.3);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 4px 12px rgba(249,115,22,.25);
}
.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn:active { transform: translateY(0); }

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text-invert);
  border: 2px solid rgba(248,250,252,.4);
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(248,250,252,.1);
  border-color: var(--text-invert);
  color: var(--text-invert);
  box-shadow: none;
}

/* Boton Telegram con icono */
.btn-telegram {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  box-shadow: 0 4px 16px rgba(34,158,217,.35);
}
.btn-telegram:hover {
  background: linear-gradient(135deg, var(--tg-dark) 0%, #156a94 100%);
  box-shadow: 0 10px 28px rgba(34,158,217,.45);
}
.btn .btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn-lg .btn-icon { width: 22px; height: 22px; }

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Grids y cards ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--surface);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,115,22,.2);
}

.card h3 { margin-top: 0; margin-bottom: .5rem; }
.card p { margin-bottom: 0; color: var(--text-muted); }

.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fed7aa 100%);
  color: var(--accent-dark);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  border: 1px solid rgba(249,115,22,.2);
}

/* Card modelo (con thumbnail o gradient) */
.card-model {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card-model:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-model .card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.card-model .card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.card-model:hover .card-thumb img { transform: scale(1.06); }
.card-model .card-thumb-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,15,28,.92) 100%);
  padding: 2.5rem 1.25rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.card-model .card-header {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-muted) 100%);
  display: flex; align-items: flex-end;
  padding: 1.25rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  position: relative;
}
.card-model .card-header::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(251,146,60,.15), transparent 70%);
  border-radius: 50%;
}

.card-model .card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.card-model .card-body p { color: var(--text-subtle); font-size: .95rem; margin: 0; }

.card-model.coming-soon { opacity: .6; pointer-events: none; }
.card-model.coming-soon .card-header { background: linear-gradient(135deg, #475569 0%, #64748b 100%); }
.card-model.coming-soon .card-header::before {
  content: "Próximamente";
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,.5);
  padding: .25rem .65rem;
  border-radius: .35rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .03em;
}

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.specs-table th, .specs-table td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.specs-table th {
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.specs-table td:first-child { font-weight: 600; color: var(--text-muted); width: 40%; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tbody tr:hover { background: var(--surface-muted); }

/* ---------- Accesorios ---------- */
.accessory {
  display: flex; gap: 1rem;
  background: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.accessory:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.3);
}
.accessory .thumb {
  flex: 0 0 80px; height: 80px;
  background: linear-gradient(135deg, var(--surface-muted) 0%, var(--border) 100%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem;
  border: 1px solid var(--border);
}
.accessory h4 { margin: 0 0 .25rem 0; font-size: 1.05rem; }
.accessory p { margin: 0 0 .5rem 0; color: var(--text-subtle); font-size: .9rem; }
.accessory .price {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: .95rem;
}

/* ---------- FAQ ---------- */
details {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: .75rem;
  cursor: pointer;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
details:hover { border-color: rgba(249,115,22,.3); }
details[open] {
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.3);
}
details summary {
  font-weight: 600;
  color: var(--bg-soft);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 1.6rem; color: var(--accent);
  transition: transform .25s var(--ease);
  font-weight: 300;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { margin-bottom: .85rem; }
details p { margin-bottom: 0; color: var(--text-muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: .875rem;
  color: var(--text-subtle);
  padding: 1rem 0 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  padding: 0; margin: 0;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: .5rem;
  color: var(--border);
}
.breadcrumb a { color: var(--text-subtle); }
.breadcrumb [aria-current="page"] { color: var(--bg-soft); font-weight: 500; }

/* ---------- CTA block ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-muted) 100%);
  color: var(--text-invert);
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(251,146,60,.18), transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(34,158,217,.12), transparent 50%);
}
.cta-block h2 { color: var(--text-invert); margin-top: 0; }
.cta-block p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  color: var(--text-subtle);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
  font-size: .9rem;
}
.site-footer .container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h4 { color: var(--text-invert); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: var(--text-subtle); transition: color .15s var(--ease); }
.site-footer a:hover { color: var(--accent-glow); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--text-subtle);
  font-size: .85rem;
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }

.bg-white { background: var(--surface); }
.bg-light { background: var(--surface-muted); }

/* ---------- Accesibilidad ---------- */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: .25rem;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 5rem; }
  .hero-model { min-height: 480px; padding: 5rem 0 3.5rem; }
  .cta-block { padding: 2.5rem 1.5rem; }
  .site-header nav ul { gap: 1.25rem; font-size: .9rem; }
  .card { padding: 1.5rem 1.25rem; }
  .accessory { flex-direction: column; }
  .accessory .thumb { flex: 0 0 auto; width: 80px; }
}

@media (max-width: 480px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .hero-model { min-height: 440px; }
}

/* =========================================================
   v2.1 - Layouts visuales (rompe el "todo centrado")
   ========================================================= */

/* ----- Figure con imagen + caption ----- */
figure.media {
  margin: 2.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
figure.media picture, figure.media img {
  width: 100%;
  height: auto;
  display: block;
}
figure.media figcaption {
  padding: .85rem 1.25rem;
  background: var(--surface);
  color: var(--text-subtle);
  font-size: .85rem;
  border-top: 1px solid var(--border);
}
figure.media figcaption strong { color: var(--text-muted); }

/* ----- Layout split: texto + imagen lado a lado ----- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin: 3rem 0;
}
.split.split-right { grid-template-columns: 1fr 1fr; }
.split.split-left  { grid-template-columns: 1fr 1fr; }
.split.split-right .split-img { order: 2; }
.split.split-left  .split-img { order: 1; }
.split .split-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.split .split-text h2 { margin-top: 0; }

@media (max-width: 768px) {
  .split.split-right, .split.split-left { grid-template-columns: 1fr; }
  .split.split-right .split-img { order: -1; margin-bottom: 1rem; }
  .split.split-left  .split-img { order: -1; margin-bottom: 1rem; }
}

/* ----- Banner ancho corte de seccion ----- */
.banner-wide {
  position: relative;
  height: 320px;
  margin: 4rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.banner-wide picture, .banner-wide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,28,.1), rgba(10,15,28,.6));
}
.banner-wide .banner-text {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  color: var(--text-invert);
}
.banner-wide .banner-text h3 {
  color: var(--text-invert);
  font-size: 1.6rem;
  margin: 0 0 .35rem 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.banner-wide .banner-text p {
  color: var(--text-dim);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  max-width: 600px;
}
@media (max-width: 768px) {
  .banner-wide { height: 240px; }
  .banner-wide .banner-text h3 { font-size: 1.2rem; }
}

/* ----- Gallery grid ----- */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 2rem 0;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.gallery picture, .gallery img {
  width: 100%; height: 200px;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  padding: .75rem 1rem;
  font-size: .85rem;
  color: var(--text-subtle);
}

/* ----- Pullquote (destacado lateral) ----- */
.pullquote {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
  max-width: none;
}
.pullquote strong { color: var(--accent-dark); font-style: normal; }

/* ----- Atribución imágenes ----- */
.attribution {
  font-size: .8rem;
  color: var(--text-subtle);
  margin: 2rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  max-width: none;
}
.attribution a { color: var(--text-muted); }

/* ----- Wider content area (para secciones con imagenes) ----- */
.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Alineación del texto: izquierda, no centrada ----- */
.content-left {
  text-align: left;
}
.content-left p { max-width: none; }

/* =========================================================
   v2.2 - Hero editorial + CTA flat (sin gradientes de color)
   Sobrescribe las reglas previas de .hero y .cta-block.
   ========================================================= */

.hero {
  position: relative;
  background: #0a0f1c;
  color: var(--text-invert);
  padding: 6rem 0 7rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-home {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero-bg-home img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,28,.65) 0%, rgba(10,15,28,.82) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  z-index: 1;
  background: linear-gradient(180deg, transparent, var(--surface-alt));
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 {
  color: var(--text-invert);
  max-width: 900px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero h1 .accent { color: var(--accent-glow); }
.hero .subtitle {
  color: var(--text-dim);
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* CTA block flat navy, sin gradientes de color */
.cta-block {
  background: #0f172a;
  color: var(--text-invert);
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #1e293b;
}
.cta-block::before { content: none; }
.cta-block h2 { color: var(--text-invert); margin-top: 0; }
.cta-block p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
