/* =========================================================
   Aquilae Agency — hoja de estilos principal
   Traducida 1:1 del diseño hecho en Claude Design.
   Los colores de acento se inyectan como variables CSS
   inline en <body> desde header.php (ver aquilae_accent_css()).
   ========================================================= */

:root {
  --navy: #0b2a52;
  --accent: #1c5fd1;
  --accent-grad: linear-gradient(135deg, #0b2a52, #1c5fd1);
  --bg: #f6f8fc;
  --text-body: #4a5b74;
  --text-muted: #5b6b82;
  --text-faint: #6b7a92;
  --text-faintest: #8593a8;
  --border: #e6ecf6;
  --border-soft: #e0e7f3;
  --chip-bg: #eef3fd;
  --good: #1b7a4d;
  --good-bg: #e6f6ec;
  --bad: #a24444;
  --warn: #b45309;
  --warn-bg: #fff7e6;
  --warn-border: #f0c674;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

.h-font { font-family: 'Poppins', sans-serif; }

.wrap,
.wrap--narrow,
.wrap--copy,
.wrap--faq {
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.wrap { max-width: 1240px; }
.wrap--narrow { max-width: 1100px; }
.wrap--copy { max-width: 900px; }
.wrap--faq { max-width: 760px; }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { font-size: 14px; padding: 11px 20px; }
.btn-primary { background: var(--accent-grad); color: #fff; }
.btn-outline { border: 1.5px solid #c7d5ec; color: var(--navy); }
.btn-outline-dark { border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.eyebrow--light { color: #7fb0ff; }

.pill {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
  background: var(--chip-bg);
  padding: 5px 10px;
  border-radius: 100px;
  display: inline-block;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--chip-bg);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.placeholder-note {
  font-family: Consolas, monospace;
  font-size: 11px;
  color: var(--warn);
  background: var(--warn-bg);
  border: 1px dashed var(--warn-border);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,248,252,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f4;
}
.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand span {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.5px;
}
.back-link {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #33455f;
}

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #33455f;
}
.primary-nav a.current { color: var(--accent); }

.nav-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.header-cta { flex-shrink: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 32px 18px;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 0; width: 100%; }
  .header-cta { order: 3; }
}

/* ---------- Sections generic ---------- */
.section { padding: 76px 32px; }
.section--tight { padding: 70px 32px; }
.section--band { padding: 74px 32px; }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head--wide { max-width: 680px; }
.section-head--narrow { max-width: 600px; }
.section-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -.5px;
}
.section-head p { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--text-muted); margin: 0; }

.bg-navy { background: var(--navy); }
.bg-soft { background: #eef2f9; }
.bg-white { background: #fff; }
.bg-soft-2 { background: #f4f6fb; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 70px 32px 20px; text-align: center; }
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -1px;
}
.page-hero p { font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- Landing hero ---------- */
.hero {
  padding: 76px 32px 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 44px;
  align-items: center;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 20px;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.6; color: var(--text-muted); margin: 0 0 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats .num { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: var(--navy); }
.hero-stats .num .fill {
  background: var(--warn-bg); color: var(--warn); border: 1px dashed var(--warn-border);
  padding: 1px 8px; border-radius: 6px; font-family: Consolas, monospace; font-size: .75em; font-weight: 600;
}
.hero-stats .lbl { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text-faint); }
.hero-shot {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(11,42,82,.35);
  border: 1px solid var(--border-soft);
}
.hero-shot__bar { background: #e7ecf5; padding: 10px 14px; display: flex; gap: 6px; }
.hero-shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5dce8; display: block; }
.hero-shot__img { height: 320px; background: linear-gradient(135deg, #eef3fd, #dce6fb); background-size: cover; background-position: center; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.service-card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--chip-bg); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.service-card__title { font-family: 'Poppins', sans-serif; font-size: 16.5px; font-weight: 600; color: var(--navy); }
.service-card__desc { font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }

/* ---------- Programa ---------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 40px; align-items: stretch; }
.program-col { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.program-col h3 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 14px; }
.program-col li { display: flex; gap: 8px; font-family: 'Inter', sans-serif; font-size: 13.5px; color: #cddbf0; margin-bottom: 10px; line-height: 1.5; list-style: none; }
.program-col li .arrow { color: #7fb0ff; }
.program-col li strong { font-weight: 700; color: #fff; }
.program-col ul { margin: 0; padding: 0; }

/* ---------- Proceso / steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; color: var(--accent); }
.step .t { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); }
.step .d { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.steps-grid--page .n { font-size: 34px; }
.steps-grid--page .t { font-size: 18px; }
.steps-grid--page .d { font-size: 14.5px; }

/* ---------- Casos de éxito ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.case-card__head { display: flex; align-items: center; gap: 12px; }
.case-card__initial {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-grad); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.case-card__name { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; color: var(--navy); }
.case-card__context { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--text-faint); }
.case-card__label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.case-card__label--bad { color: var(--bad); }
.case-card__label--good { color: var(--good); }
.case-card__text { font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.5; color: var(--text-body); }
.case-card__techs { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card__result { border-top: 1px solid #eef1f7; padding-top: 12px; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.case-card__logo {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background-color: #fff; border: 1px solid var(--border-soft);
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.case-card__link { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: -4px; }

/* full case page (media column + content column) */
.cases-full { display: flex; flex-direction: column; gap: 28px; }
.case-full { background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: stretch; }

/* Columna izquierda: logo (altura fija) + carrusel de capturas (ocupa el resto) */
.case-full__media { display: flex; flex-direction: column; min-height: 260px; }
.case-full__logo {
  height: 160px; flex-shrink: 0; background-color: #fafbfd;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  padding: 20px; border-bottom: 1px solid var(--border-soft);
}
.case-full__logo--empty {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 40px; color: #c3cfe4;
}
.case-full__media--solo .case-full__logo { height: 100%; flex: 1; padding: 40px; }

.case-carousel { position: relative; flex: 1; min-height: 220px; background: #0b2a52; overflow: hidden; }
.case-carousel__track { position: relative; width: 100%; height: 100%; }
.case-carousel__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.case-carousel__slide.is-active { opacity: 1; visibility: visible; }
.case-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--navy); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.case-carousel__arrow:hover { background: #fff; }
.case-carousel__arrow--prev { left: 10px; }
.case-carousel__arrow--next { right: 10px; }
.case-carousel__dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.case-carousel__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.case-carousel__dot.is-active { background: #fff; }

.case-full__body { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.case-full .case-card__initial { width: 46px; height: 46px; font-size: 18px; }
.case-full .case-card__name { font-size: 20px; }
.case-full .case-card__context { font-size: 12.5px; }
.case-full .case-card__text { font-size: 14.5px; line-height: 1.6; }
.case-full .case-card__result { padding-top: 14px; font-size: 14.5px; }
@media (min-width: 640px) {
  .case-full:nth-child(odd) .case-full__media { order: 1; }
  .case-full:nth-child(odd) .case-full__body { order: 2; }
  .case-full:nth-child(even) .case-full__media { order: 2; }
  .case-full:nth-child(even) .case-full__body { order: 1; }
}

/* ---------- Productos propios ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-soft); }
.product-card__img { height: 200px; background-size: cover; background-position: center; background-color: var(--chip-bg); }
.product-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__name { font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 600; color: var(--navy); }
.product-card__status { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: var(--good); background: var(--good-bg); padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.product-card__desc { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; color: var(--text-body); }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card__link { margin-top: 6px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; color: var(--accent); }

/* ---------- Stack strip ---------- */
.stack-strip { text-align: center; }
.stack-strip h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: var(--navy); margin: 0 0 24px; }
.stack-strip__list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stack-strip__item {
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500; color: #33455f;
  background: #f4f6fb; border: 1px solid #e2e8f4; padding: 9px 18px; border-radius: 10px;
}

/* ---------- Equipo / Nosotros ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.team-grid--page { gap: 48px; }
.team-member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.team-member__photo { width: 180px; height: 180px; border-radius: 50%; background-size: cover; background-position: center; background-color: var(--chip-bg); }
.team-grid--page .team-member__photo { width: 200px; height: 200px; }
.team-member__name { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: var(--navy); }
.team-grid--page .team-member__name { font-size: 22px; }
.team-member__role { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--accent); margin: 4px 0 12px; }
.team-member__bio { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; color: var(--text-body); margin: 0; }

/* ---------- Opiniones ---------- */
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-summary .score { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; color: var(--navy); }
.reviews-summary .stars { font-family: 'Inter', sans-serif; font-size: 20px; color: #f5a623; letter-spacing: 2px; }
.reviews-summary a { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--accent); border-bottom: 1px solid var(--accent); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-card__top { display: flex; align-items: center; justify-content: space-between; }
.review-card__stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; }
.review-card__source { font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 600; color: var(--text-faint); background: #f4f6fb; padding: 3px 8px; border-radius: 100px; }
.review-card__text { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text-body); line-height: 1.5; flex: 1; }
.review-card__who { display: flex; align-items: center; gap: 10px; }
.review-card__initial { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.review-card__name { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.review-card__date { font-family: 'Inter', sans-serif; font-size: 11.5px; color: var(--text-faintest); }

/* ---------- Fit (good/bad) ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.fit-title { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.fit-title--good { color: var(--good); }
.fit-title--bad { color: var(--bad); }
.fit-grid p, .fit-grid li { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; color: #33455f; margin: 0 0 10px; list-style: none; padding: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 22px; }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; text-align: center; }
.pricing-card__label { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.pricing-card__price { font-family: Consolas, monospace; font-size: 15px; font-weight: 600; color: var(--warn); background: var(--warn-bg); border: 1px dashed var(--warn-border); padding: 6px 12px; border-radius: 8px; display: inline-block; }
.pricing-note { text-align: center; font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; }
.faq-item__q {
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; gap: 16px; background: none; border: none; width: 100%; text-align: left;
}
.faq-item__q span:first-child { font-family: 'Poppins', sans-serif; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.faq-item__mark { font-family: 'Inter', sans-serif; font-size: 20px; color: var(--accent); flex-shrink: 0; }
.faq-item__a { padding: 0 24px 22px; font-family: 'Inter', sans-serif; font-size: 14.5px; line-height: 1.6; color: var(--text-body); display: none; }
.faq-item.is-open .faq-item__a { display: block; }

/* ---------- CTA banners ---------- */
.cta-final { padding: 80px 32px; }
.cta-final__inner {
  background: var(--navy); border-radius: 28px; padding: 64px 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;
  align-items: center; overflow: hidden; position: relative;
}
.cta-final h2 { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 600; color: #fff; margin: 0 0 16px; letter-spacing: -.5px; }
.cta-final p { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; color: #b9c8e2; margin: 0 0 28px; max-width: 480px; }
.cta-final__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-decor { position: relative; display: flex; justify-content: center; align-items: center; height: 220px; }
.cta-decor__inner { position: relative; width: 220px; height: 220px; }
.cta-decor__inner span { position: absolute; border-radius: 50%; border: 2px solid rgba(127,176,255,.5); }

.cta-band { max-width: 1100px; margin: 0 auto; padding: 0 32px 90px; }
.cta-band__inner { background: var(--navy); border-radius: 24px; padding: 52px 40px; text-align: center; }
.cta-band h2 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 600; color: #fff; margin: 0 0 14px; letter-spacing: -.5px; }
.cta-band p { font-family: 'Inter', sans-serif; font-size: 15px; color: #b9c8e2; margin: 0 0 26px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-band--soft .cta-band__inner { background: #eef2f9; }
.cta-band--soft h2 { color: var(--navy); }
.cta-band--soft p { color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #e2e8f4; padding: 56px 32px 32px; }
.site-footer--simple { padding: 32px; text-align: center; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy); margin: 0 0 14px; }
.footer-col p { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text-faint); line-height: 1.6; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text-body); }
.footer-bottom { border-top: 1px solid #eef1f7; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom, .footer-bottom a { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--text-faintest); }

/* ---------- Blog listing ---------- */
.blog-categories { padding: 44px 32px 30px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.blog-grid { padding: 10px 32px 90px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.blog-card__img { height: 160px; background-size: cover; background-position: center; background-color: var(--chip-bg); }
.blog-card__img--empty { display: flex; align-items: center; justify-content: center; font-family: Consolas, monospace; font-size: 11px; color: #8ba3cc; background: linear-gradient(135deg, #eef3fd, #dce6fb); }
.blog-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__title { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.blog-card__excerpt { font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); flex: 1; }
.blog-card__meta { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--text-faintest); margin-top: 4px; }
.blog-pagination { display: flex; gap: 10px; justify-content: center; padding: 0 32px 60px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span {
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--navy);
  border: 1px solid var(--border-soft); padding: 9px 16px; border-radius: 10px; background: #fff;
}
.blog-pagination .current { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* ---------- Single post (interna del artículo) ---------- */
.single-hero { padding: 56px 32px 0; }
.single-hero__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; justify-content: center; }
.single-hero h1 {
  font-family: 'Poppins', sans-serif; font-size: clamp(28px, 4.5vw, 42px); font-weight: 600;
  color: var(--navy); margin: 0 0 18px; letter-spacing: -1px; text-align: center; line-height: 1.2;
}
.single-hero__info { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text-faint); text-align: center; margin-bottom: 40px; }
.single-hero__info span + span::before { content: '·'; margin: 0 8px; }
.single-cover { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.single-cover__img { border-radius: 20px; height: 380px; background-size: cover; background-position: center; background-color: var(--chip-bg); }
.single-body { max-width: 720px; margin: 0 auto; padding: 48px 32px 20px; }
.single-body, .single-body p, .single-body li { font-family: 'Inter', sans-serif; font-size: 16.5px; line-height: 1.75; color: #33455f; }
.single-body h2 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 600; color: var(--navy); margin: 44px 0 16px; letter-spacing: -.3px; }
.single-body h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: var(--navy); margin: 36px 0 14px; }
.single-body p { margin: 0 0 20px; }
.single-body ul, .single-body ol { margin: 0 0 20px; padding-left: 22px; }
.single-body li { margin-bottom: 8px; }
.single-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.single-body blockquote {
  margin: 28px 0; padding: 4px 26px; border-left: 3px solid var(--accent);
  font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 500; color: var(--navy);
}
.single-body img { border-radius: 14px; margin: 8px 0 20px; }
.single-body pre, .single-body code { background: #f4f6fb; border-radius: 8px; }
.single-body pre { padding: 16px; overflow-x: auto; }
.single-body code { padding: 2px 6px; font-size: .9em; }

.single-author {
  max-width: 720px; margin: 40px auto 0; padding: 24px 32px; display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border); padding-top: 28px;
}
.single-author__avatar { width: 48px; height: 48px; border-radius: 50%; background-size: cover; background-position: center; background: var(--accent-grad); }
.single-author__name { font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.single-author__role { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--text-faint); }

.single-nav { max-width: 720px; margin: 40px auto 0; padding: 0 32px; display: flex; justify-content: center; }

.single-related { padding: 30px 32px 90px; }
.single-related h2 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: var(--navy); text-align: center; margin: 0 0 30px; }

/* ---------- Generic page (page.php) ---------- */
.generic-page { max-width: 800px; margin: 0 auto; padding: 70px 32px 90px; }
.generic-page h1 { font-family: 'Poppins', sans-serif; font-size: clamp(28px, 4.5vw, 42px); font-weight: 600; color: var(--navy); margin: 0 0 24px; }
.generic-page, .generic-page p, .generic-page li { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: #33455f; }

/* ---------- 404 ---------- */
.error-404 { max-width: 640px; margin: 0 auto; padding: 110px 32px; text-align: center; }
.error-404 .code { font-family: 'Poppins', sans-serif; font-size: 84px; font-weight: 700; color: var(--accent); margin: 0; line-height: 1; }
.error-404 h1 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 600; color: var(--navy); margin: 12px 0 14px; }
.error-404 p { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text-muted); margin: 0 0 28px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 640px) {
  .section, .section--tight, .section--band { padding-left: 20px; padding-right: 20px; }
  .wrap, .wrap--narrow, .wrap--copy, .wrap--faq { padding-left: 20px; padding-right: 20px; }
  .cta-final__inner { padding: 40px 28px; }
}
