/* ============================================================
   CJM ASOCIADOS — Estilos por sección
   Paleta aclarada: el negro se reserva solo para el footer y
   el bloque de cita (acentos puntuales); el resto del sitio
   usa fondos claros con acentos dorados.
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--cream-100);
  color: var(--charcoal-900);
  overflow: hidden;
  padding-block: 76px 90px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/logo-leon.png");
  background-repeat: no-repeat;
  background-position: right -120px top -80px;
  background-size: 560px;
  opacity: 0.06;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy p.lead {
  font-size: 1.1rem;
  color: var(--charcoal-800);
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-600);
  display: block;
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--stone-500);
  text-transform: uppercase;
}
.hero-visual {
  border: 1px solid var(--line);
  background: var(--cream-50);
  box-shadow: 0 24px 60px -30px rgba(19,18,16,0.25);
}
.hero-visual .img-frame { aspect-ratio: 4/3; }
.hero-visual .quote-strip {
  padding: 26px 30px 30px;
}
.hero-visual .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal-950);
  border-left: 2px solid var(--gold-500);
  padding-left: 18px;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding-block: 56px 50px; }
}

/* ---------- Certification strip ---------- */
.cert-strip {
  background: var(--cream-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 30px;
}
.cert-strip ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 40px;
}
.cert-strip li {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--stone-500);
  font-size: 0.85rem;
  transition: color 0.25s ease;
}
.cert-strip li:hover { color: var(--gold-600); }

/* ---------- Section header ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-400);
  box-shadow: 0 22px 44px -24px rgba(19,18,16,0.28);
}
.service-card .num {
  font-family: var(--font-display);
  color: var(--gold-500);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: letter-spacing 0.3s ease;
}
.service-card:hover .num { letter-spacing: 0.22em; }
.service-card h3 { margin-top: 10px; margin-bottom: 10px; }
.service-card ul { margin-top: 14px; }
.service-card li {
  font-size: 0.9rem;
  color: var(--stone-500);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.service-card li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}
.service-card li:hover { color: var(--charcoal-800); padding-left: 20px; }
.service-card li:hover::before { width: 10px; }

/* Service card with photo */
.service-card.has-photo { padding: 0; overflow: hidden; }
.service-card.has-photo .img-frame { aspect-ratio: 16/10; }
.service-card.has-photo .service-card-body { padding: 26px 26px 30px; }

@media (max-width: 940px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Photo feature (imagen + texto alternado) ---------- */
.photo-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.photo-feature.reverse .photo-feature-media { order: 2; }
.photo-feature.reverse .photo-feature-copy { order: 1; }
.photo-feature-media .img-frame {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}
.photo-feature-copy .gold-bar--short { margin-top: 6px; }
.photo-feature + .photo-feature { margin-top: 72px; }

@media (max-width: 860px) {
  .photo-feature, .photo-feature.reverse {
    grid-template-columns: 1fr;
  }
  .photo-feature.reverse .photo-feature-media,
  .photo-feature.reverse .photo-feature-copy { order: initial; }
}

/* ---------- Full-width photo band ---------- */
.photo-band {
  position: relative;
  overflow: hidden;
}
.photo-band .img-frame { aspect-ratio: 21/8; }
@media (max-width: 780px) { .photo-band .img-frame { aspect-ratio: 4/3; } }

/* ---------- Sector band (fondo claro) ---------- */
.sector-band {
  background: var(--cream-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sector-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sector-list li {
  background: var(--cream-50);
  padding: 26px 20px;
  font-size: 0.92rem;
  color: var(--stone-500);
  transition: background 0.3s ease, transform 0.3s ease;
}
.sector-list li:hover {
  background: #fff;
  transform: translateY(-3px);
}
.sector-list li strong {
  display: block;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
@media (max-width: 900px) { .sector-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sector-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gold-gradient);
  color: var(--charcoal-950);
  text-align: center;
}
.cta-band h2 { color: var(--charcoal-950); }
.cta-band p { color: rgba(19,18,16,0.75); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-dark { margin-top: 22px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--cream-100);
  color: var(--charcoal-900);
  padding-block: 64px 54px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.page-hero p { color: var(--charcoal-800); max-width: 60ch; }
.breadcrumb {
  font-size: 0.78rem;
  color: var(--stone-500);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold-600); }

/* ---------- Content blocks (Quiénes somos / Visión) ---------- */
.content-block { max-width: 780px; }
.content-block h2 { margin-top: 44px; }
.content-block h2:first-child { margin-top: 0; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pillar {
  border-top: 3px solid var(--gold-500);
  padding-top: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--gold-300); }
.pillar h3 { font-size: 1.05rem; }
@media (max-width: 780px) { .pillars { grid-template-columns: 1fr; } }

.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 36px;
  margin-top: 30px;
}
.value-list li {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  transition: padding-left 0.25s ease, border-color 0.25s ease;
}
.value-list li:hover {
  padding-left: 10px;
  border-color: var(--gold-400);
}
.value-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal-950); margin-bottom: 4px; }
@media (max-width: 640px) { .value-list { grid-template-columns: 1fr; } }

/* ---------- Team / signature quote block (único bloque oscuro además del footer) ---------- */
.quote-block {
  background: var(--charcoal-950);
  color: var(--cream-100);
  padding: 60px 48px;
  position: relative;
  margin-top: 60px;
}
.quote-block::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold-500);
  position: absolute;
  top: 10px; left: 24px;
  line-height: 1;
  opacity: 0.5;
}
.quote-block p { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--cream-100); position: relative; z-index: 1; }
.quote-block cite { display: block; margin-top: 18px; font-style: normal; color: var(--gold-300); font-size: 0.85rem; letter-spacing: 0.05em; }

/* ---------- Legal / privacy page ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 40px; font-size: 1.3rem; }
.legal-content ol, .legal-content ul { padding-left: 22px; margin-bottom: 1em; }
.legal-content li { color: var(--charcoal-800); margin-bottom: 8px; list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-updated {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--stone-500);
  border: 1px solid var(--line);
  padding: 6px 14px;
  margin-bottom: 30px;
}
.legal-media {
  float: right;
  width: 300px;
  margin: 6px 0 24px 36px;
  border: 1px solid var(--line);
}
.legal-media .img-frame { aspect-ratio: 4/5; }
.legal-media figcaption {
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--stone-500);
  background: var(--cream-100);
}
@media (max-width: 720px) {
  .legal-media { float: none; width: 100%; margin: 0 0 28px; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  color: var(--charcoal-900);
  padding: 0 0 6px;
  overflow: hidden;
}
.contact-info-card .img-frame { aspect-ratio: 16/10; }
.contact-info-card .contact-info-body { padding: 34px 32px 8px; }
.contact-info-card h3 { color: var(--gold-600); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 26px; font-family: var(--font-body); font-weight: 700; }
.contact-info-card h3:first-of-type { margin-top: 0; }
.contact-info-card a, .contact-info-card p { color: var(--charcoal-800); }
.contact-info-card a { transition: color 0.2s ease; }
.contact-info-card a:hover { color: var(--gold-600); }

.form-card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(19,18,16,0.2);
  background: #fff;
  color: var(--charcoal-950);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,175,90,0.18);
  outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field .error-msg {
  display: none;
  color: #a8362c;
  font-size: 0.78rem;
  margin-top: 6px;
}
.field.has-error input, .field.has-error textarea { border-color: #a8362c; }
.field.has-error .error-msg { display: block; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #f0f7ee; border-color: #6f9a5c; color: #2f5a24; }
.form-status.error { background: #fbeeed; border-color: #c98d86; color: #7a271f; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Map / office ---------- */
.map-wrap {
  margin-top: 60px;
  border: 1px solid var(--line);
  aspect-ratio: 16/6;
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ============================================================
   Bloques inspirados en Maersk / KPI Solutions
   Fotografía a sangre completa, marquee de certificaciones,
   mosaico interactivo, franjas editoriales y carrusel de
   sectores — sobre la misma paleta dorado/carbón/crema.
   ============================================================ */

/* ---------- Hero fotográfico a sangre completa (Home) ---------- */
.hero-photo {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream-100);
  overflow: hidden;
  padding-block: 0;
}
.hero-photo .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19,18,16,0.35) 0%, rgba(19,18,16,0.58) 55%, rgba(19,18,16,0.94) 100%);
}
.hero-photo .container {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 70px;
}
.hero-photo .eyebrow { color: var(--gold-300); }
.hero-photo .eyebrow::before { background: var(--gold-300); }
.hero-photo h1 {
  color: var(--cream-50);
  max-width: 17ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.01em;
}
.hero-photo .lead {
  color: var(--stone-300);
  max-width: 54ch;
  font-size: 1.15rem;
}
.hero-photo .hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 130px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--stone-300);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@media (max-width: 780px) {
  .hero-photo { min-height: 78vh; }
  .scroll-cue { display: none; }
}

/* Tarjeta de estadísticas flotando sobre el borde del hero */
.stat-badge-row { position: relative; z-index: 3; margin-top: -58px; }
.stat-badge-card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -28px rgba(19, 18, 16, 0.4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-badge-card > div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease;
}
.stat-badge-card > div:hover { background: var(--cream-100); }
.stat-badge-card > div:last-child { border-right: none; }
.stat-badge-card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-600);
  display: block;
}
.stat-badge-card .label {
  font-size: 0.76rem;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .stat-badge-card { grid-template-columns: repeat(2, 1fr); }
  .stat-badge-card > div:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .stat-badge-card { grid-template-columns: 1fr; }
  .stat-badge-card > div { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-badge-card > div:last-child { border-bottom: none; }
}

/* ---------- Marquee de certificaciones (loop infinito) ---------- */
.marquee {
  overflow: hidden;
  background: var(--cream-100);
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.marquee-track span:hover { color: var(--gold-600); }
.marquee-track span::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold-500);
  border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
}

/* ---------- Fila de beneficios (3 iconos) ---------- */
.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.benefit-item {
  text-align: center;
  padding: 8px 24px;
}
.benefit-icon {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  color: var(--gold-600);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.benefit-item:hover .benefit-icon {
  background: var(--gold-gradient);
  color: var(--charcoal-950);
  transform: translateY(-4px);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit-item p { font-size: 0.9rem; color: var(--stone-500); margin: 0; }
@media (max-width: 780px) {
  .benefit-row { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Mosaico interactivo de servicios ---------- */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 4px;
}
.mosaic-tile {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-950);
}
.mosaic-tile.large { grid-column: span 2; grid-row: span 2; }
.mosaic-tile .img-frame,
.mosaic-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-tile:hover img { transform: scale(1.08); }
.mosaic-tile .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,18,16,0) 35%, rgba(19,18,16,0.92) 100%);
  transition: background 0.4s ease;
}
.mosaic-tile:hover .scrim {
  background: linear-gradient(180deg, rgba(19,18,16,0.1) 0%, rgba(19,18,16,0.95) 100%);
}
.mosaic-tile .tile-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  color: var(--cream-50);
  transform: translateY(38px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-tile:hover .tile-body { transform: translateY(0); }
.mosaic-tile .tile-num {
  font-family: var(--font-display);
  color: var(--gold-300);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}
.mosaic-tile h3 { color: var(--cream-50); margin: 6px 0 0; font-size: 1.15rem; }
.mosaic-tile.large h3 { font-size: 1.5rem; }
.mosaic-tile .tile-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.86rem;
  color: var(--stone-300);
  margin-top: 8px;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.mosaic-tile:hover .tile-desc { max-height: 120px; opacity: 1; }
.mosaic-tile .tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-300);
}

@media (max-width: 900px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic-tile.large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 620px) {
  .mosaic-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .mosaic-tile.large { grid-column: span 1; }
  /* En móvil, sin hover: la información queda siempre visible */
  .mosaic-tile .tile-body { transform: translateY(0); }
  .mosaic-tile .tile-desc { max-height: 120px; opacity: 1; }
  .mosaic-tile .scrim { background: linear-gradient(180deg, rgba(19,18,16,0.1) 0%, rgba(19,18,16,0.95) 100%); }
}

/* ---------- Franja editorial a sangre completa ---------- */
.editorial-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--cream-100);
  overflow: hidden;
  padding-block: 0;
}
.editorial-band .band-bg { position: absolute; inset: 0; }
.editorial-band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.editorial-band .band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19,18,16,0.94) 0%, rgba(19,18,16,0.72) 42%, rgba(19,18,16,0.25) 100%);
}
.editorial-band.reverse .band-scrim {
  background: linear-gradient(270deg, rgba(19,18,16,0.94) 0%, rgba(19,18,16,0.72) 42%, rgba(19,18,16,0.25) 100%);
}
.editorial-band .container { position: relative; z-index: 2; }
.editorial-band .band-copy { max-width: 540px; }
.editorial-band.reverse .band-copy { margin-left: auto; }
.editorial-band h2 { color: var(--cream-50); }
.editorial-band p { color: var(--stone-300); }
.editorial-band .eyebrow { color: var(--gold-300); }
.editorial-band .eyebrow::before { background: var(--gold-300); }

@media (max-width: 780px) {
  .editorial-band { min-height: 440px; }
  .editorial-band .band-scrim,
  .editorial-band.reverse .band-scrim {
    background: linear-gradient(180deg, rgba(19,18,16,0.45) 0%, rgba(19,18,16,0.94) 100%);
  }
  .editorial-band .band-copy,
  .editorial-band.reverse .band-copy { max-width: 100%; margin-left: 0; }
}

/* ---------- Carrusel horizontal de sectores ---------- */
.sector-carousel-wrap { position: relative; }
.sector-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sector-carousel::-webkit-scrollbar { display: none; }
.sector-chip {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sector-chip:hover { transform: translateY(-6px); box-shadow: 0 18px 34px -20px rgba(19,18,16,0.3); }
.sector-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--charcoal-950);
}
.sector-chip p { font-size: 0.86rem; color: var(--stone-500); margin: 0; }
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--cream-50);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.carousel-arrow:hover { background: var(--gold-gradient); border-color: transparent; transform: translateY(-2px); }
.carousel-arrow svg { width: 18px; height: 18px; stroke: currentColor; }

/* ---------- Franja CTA fotográfica ---------- */
.cta-photo-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream-100);
  overflow: hidden;
  padding-block: 0;
}
.cta-photo-band .band-bg { position: absolute; inset: 0; }
.cta-photo-band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo-band .band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,18,16,0.55) 0%, rgba(19,18,16,0.88) 100%);
}
.cta-photo-band .container { position: relative; z-index: 2; max-width: 680px; }
.cta-photo-band h2 { color: var(--cream-50); }
.cta-photo-band p { color: var(--stone-300); }
.cta-photo-band .eyebrow { color: var(--gold-300); justify-content: center; }
.cta-photo-band .eyebrow::before { background: var(--gold-300); }
.cta-photo-band .hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Hero fotográfico para páginas interiores ---------- */
.page-hero-photo {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--cream-100);
  overflow: hidden;
  padding-block: 0;
}
.page-hero-photo .hero-bg { position: absolute; inset: 0; }
.page-hero-photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,18,16,0.2) 0%, rgba(19,18,16,0.88) 100%);
}
.page-hero-photo .container { position: relative; z-index: 2; padding: 128px 24px 44px; }
.page-hero-photo h1 { color: var(--cream-50); max-width: 22ch; }
.page-hero-photo p { color: var(--stone-300); max-width: 60ch; }
.page-hero-photo .eyebrow { color: var(--gold-300); }
.page-hero-photo .eyebrow::before { background: var(--gold-300); }
.page-hero-photo .breadcrumb { color: var(--stone-300); }
.page-hero-photo .breadcrumb a { color: var(--cream-100); transition: color 0.2s ease; }
.page-hero-photo .breadcrumb a:hover { color: var(--gold-300); }
@media (max-width: 780px) {
  .page-hero-photo { min-height: 260px; }
  .page-hero-photo .container { padding: 108px 20px 36px; }
}

