/* Distribuciones Monachil — corporativo (paleta propia: petróleo + ámbar) */

:root {
  --color-bg: #f4f6f9;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-muted: #5c6b7e;
  --color-primary: #0f2744;
  --color-primary-hover: #0a1c31;
  --color-accent: #e85d04;
  --color-accent-soft: rgba(232, 93, 4, 0.12);
  --color-border: #e2e8f0;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(15, 39, 68, 0.12);
  --header-h: 72px;
  --transition: 0.25s ease;
  /* Ancho completo (container-fluid): solo canalones laterales fluidos */
  --container-gutter: clamp(1rem, 4vw, 4rem);
  /* Legibilidad en bloques de texto largos (opcional en componentes) */
  --content-prose: min(72ch, 100%);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Ancho completo (container-fluid): 100% del viewport con padding lateral responsive */
.container,
.container-fluid {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-gutter);
  box-sizing: border-box;
}

main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), min-height var(--transition);
  min-height: var(--header-h);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 39, 68, 0.08);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: min(260px, 62vw);
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  box-shadow: 0 -6px 0 var(--color-primary), 0 6px 0 var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--color-accent);
}

.nav__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__actions .btn {
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero (split tipo corporativo: copy + foto) */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0a1628;
}

.hero--split .hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(100vh, 960px);
  align-items: stretch;
}

@supports (height: 100svh) {
  .hero--split .hero__layout {
    min-height: min(100svh, 960px);
  }
}

.hero__copy {
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) var(--container-gutter);
  background:
    linear-gradient(145deg, rgba(15, 39, 68, 0.98) 0%, rgba(10, 28, 46, 0.96) 55%, rgba(15, 39, 68, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #e8edf4;
  width: 100%;
  max-width: min(65ch, 100%);
  margin-inline: 0;
}

.hero__visual {
  position: relative;
  min-height: 280px;
  background: #0a1628;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__credit {
  margin: 0;
  padding: 0.5rem 0 0.75rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero__credit-inner {
  display: block;
  max-width: 100%;
  margin-inline: 0;
}

@media (max-width: 960px) {
  .hero--split .hero__layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero__visual {
    order: -1;
    min-height: 220px;
    max-height: 42vh;
  }

  .hero__copy {
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.75rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 0 0 1.75rem;
  color: rgba(232, 237, 244, 0.95);
}

.hero__strong {
  color: #fff;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  margin: 0;
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.35rem;
}

.stat__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.stat__hint {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--alt {
  background: var(--color-surface);
}

.section--dark {
  background: linear-gradient(180deg, #0f2744 0%, #0a1c2e 100%);
  color: #e8edf4;
}

.section--dark a {
  color: #fdba74;
}

.section__head {
  max-width: var(--content-prose);
  margin-bottom: 2.5rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__intro {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section__head--light .section__intro {
  color: rgba(232, 237, 244, 0.85);
}

.section--dark h2 {
  color: #fff;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.04);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-border);
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--media .card__title {
  padding: 0 1.35rem;
  margin-top: 1.25rem;
}

.card--media p {
  padding: 0 1.35rem 1.5rem;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

/* Promo strip (3 columnas con imagen, estilo catálogo) */
.promo {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.promo__heading {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.promo__sub {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.promo__banner {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.promo__banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .promo__banner-img {
    aspect-ratio: 16 / 10;
  }
}

/* Imagen ancha bajo cabecera de sección */
.section-visual {
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.section-visual--rounded {
  border-radius: 16px;
}

.section-visual__img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.section-visual__cap {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  background: var(--color-surface);
}

/* Galería tras historia */
.gallery__title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.gallery__intro {
  margin: 0 0 1.75rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.08);
}

.gallery-grid__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.gallery-grid__cap {
  margin: 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
}

/* Sectores: fotos sobre la rejilla */
.sectores__visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 700px) {
  .sectores__visuals {
    grid-template-columns: 1fr;
  }
}

.sectores__shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sectores__shot img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

/* Servicios: miniatura en tarjeta (después de la regla base .feature) */

/* Tiendas: foto local */
.store__photo {
  margin: 0 0 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
}

.store__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .promo__grid {
    grid-template-columns: 1fr;
  }
}

.promo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  background: var(--color-surface);
}

.promo-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.promo-card__link:hover .promo-card__title,
.promo-card__link:focus-visible .promo-card__title {
  color: var(--color-accent);
}

.promo-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-border);
}

.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.promo-card__link:hover .promo-card__media img,
.promo-card__link:focus-visible .promo-card__media img {
  transform: scale(1.04);
}

.promo-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.promo-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  transition: color var(--transition);
}

.promo-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Historia prose */
.historia-prose {
  max-width: 820px;
  margin: 2rem auto 2.5rem;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.historia-prose--full {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.historia-prose p {
  margin: 0 0 1.1rem;
}

.historia-prose p:last-child {
  margin-bottom: 0;
}

.historia-prose strong {
  color: var(--color-text, #222);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--color-accent);
  margin-left: 0.75rem;
}

.timeline__item {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.timeline__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.timeline__body p {
  margin: 0;
  color: var(--color-muted);
}

/* Sectors */
.sectors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.sectors__link {
  display: block;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #e8edf4 !important;
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), transform 0.15s ease;
}

.sectors__link:hover {
  background: rgba(232, 93, 4, 0.2);
  border-color: rgba(232, 93, 4, 0.45);
  color: #fff !important;
}

.sectors__link--all {
  grid-column: 1 / -1;
  text-align: center;
  background: rgba(232, 93, 4, 0.25);
  border-color: rgba(232, 93, 4, 0.5);
}

.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.feature__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.feature.feature--with-img {
  padding: 0;
  overflow: hidden;
}

.feature.feature--with-img .feature__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-border);
}

.feature.feature--with-img .feature__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature.feature--with-img .feature__title {
  margin: 0;
  padding: 1rem 1.15rem 0;
}

.feature.feature--with-img p {
  padding: 0 1.15rem 1.2rem;
}

/* Stores */
.stores {
  align-items: start;
}

.store {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.store__name {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.store__addr {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.store__hours {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.45;
}

.store__hours-note {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-style: italic;
  line-height: 1.4;
}

.store__maplink {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.store__map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
}

.store__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
}

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

.contact__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.contact__visual-img {
  width: 100%;
  flex: 1;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.contact__visual-cap {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  background: var(--color-surface);
}

.contact__col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__h {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.contact__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.contact__list a {
  font-weight: 600;
}

.contact__form {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.contact__note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}

.field__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.field__input--area {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #fdba74;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__brandblock {
  min-width: 0;
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 0.75rem;
}

.footer__logo {
  height: auto;
  width: min(280px, 100%);
}

.footer__brand {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer__text {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer__title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  opacity: 0.75;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer__bottom {
  padding-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer__bottom p {
  margin: 0;
}

/* Noticias (artículo + vídeos en columna, estilo blog) */
.section--news .news-article {
  max-width: 100%;
  margin-inline: auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 4px 24px rgba(15, 39, 68, 0.06);
}

.news-article__header {
  margin-bottom: 1.5rem;
}

.news-article__meta {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.news-article__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.news-article__cover {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

.news-article__body p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.news-article__body p:last-child {
  margin-bottom: 0;
}

.news-videos {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.news-videos__label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.news-videos__stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-videos__cell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #0a0f14;
}

.news-videos__video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 16 / 9;
  background: #000;
}

.news-article__more {
  margin: 2rem 0 0;
  text-align: center;
}

/* Reveal: visible por defecto; animación solo con JS */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Sección Empleo / Trabaja con nosotros
   ============================================================ */
.empleo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 1.75rem;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--color-border, rgba(15, 39, 68, 0.15));
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(15, 39, 68, 0.04) 0%,
    rgba(253, 186, 116, 0.08) 100%
  );
}

.empleo-cta__copy {
  flex: 1 1 320px;
  min-width: 260px;
}

.empleo-cta__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--color-text, #1a2332);
}

.empleo-cta__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.empleo-cta__actions {
  flex: 0 0 auto;
}

.job-card {
  position: relative;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--color-border, rgba(15, 39, 68, 0.15));
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 39, 68, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.job-card:hover {
  box-shadow: 0 14px 40px rgba(15, 39, 68, 0.1);
  transform: translateY(-2px);
}

.job-card__head {
  margin-bottom: 1rem;
}

.job-card__badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2744;
  background: rgba(253, 186, 116, 0.35);
  border-radius: 999px;
}

.job-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-text, #1a2332);
}

.job-card__meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.job-card__body p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.job-card__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.job-card__list li {
  margin-bottom: 0.35rem;
}

.job-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border, rgba(15, 39, 68, 0.12));
}

.job-card__hint {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text, #1a2332);
}

.job-card__hint a {
  font-weight: 600;
}

@media (max-width: 640px) {
  .empleo-cta {
    padding: 1.25rem;
  }

  .empleo-cta__actions,
  .empleo-cta__actions .btn {
    width: 100%;
  }

  .job-card {
    padding: 1.4rem 1.25rem 1.25rem;
  }

  .job-card__title {
    font-size: 1.2rem;
  }
}

/* ============================================================
   Footer · Redes sociales
   ============================================================ */
.footer__social {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  background: rgba(253, 186, 116, 0.2);
  border-color: rgba(253, 186, 116, 0.6);
  transform: translateY(-2px);
}

.footer__social-icon {
  display: block;
}
