/* Camp Port · Estilos de todas las páginas interiores (Mobile-first) */

/* Compensar cabecera fija en páginas que no empiezan con .page-hero a sangre */
.page-top {
  padding-top: 96px;
}

.cards {
  padding-top: 72px;
}

@media (min-width: 768px) {
  .cards {
    padding-top: 96px;
  }
}

@media (min-width: 1100px) {
  .page-top {
    padding-top: 136px;
  }
}

/* ---------- Subpáginas (Indoor, Outdoor, Private Wing, Wellness, Liquid Gold, Wellbeing, Contact) ---------- */
.subhero {
  padding-top: 100px;
  padding-bottom: 36px;
}

.subhero__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.subhero__title {
  font-size: clamp(38px, 7.5vw, 46px);
  line-height: 1.05;
}

.subhero__lead {
  font-size: 20px;
  line-height: 1.35;
  max-width: 680px;
  margin: 0;
}

.subhero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.subhero__cta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 3;
  min-width: 210px;
}

@media (min-width: 768px) {
  .subhero__cta {
    bottom: 28px;
    min-width: 240px;
  }
}

.subhero__media img,
.subhero__media video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .subhero {
    padding-top: 132px;
    padding-bottom: 56px;
  }

  .subhero__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
  }

  .subhero__title {
    font-size: clamp(48px, 5.2vw, 58px);
  }

  .subhero__lead {
    font-size: 21px;
    text-align: right;
  }

  .subhero__media img,
  .subhero__media video {
    height: 560px;
  }
}

@media (min-width: 1100px) {
  .subhero {
    padding-top: 148px;
  }

  .subhero__title {
    font-size: clamp(56px, 4.8vw, 68px);
  }

  .subhero__lead {
    font-size: 23px;
  }

  .subhero__media img,
  .subhero__media video {
    height: 680px;
  }
}

/* ---------- Carrusel 1 de The Residences: Residence I..VI ---------- */
.res-slide {
  display: grid;
  background: var(--green);
  color: #f7eac8;
  overflow: hidden;
}

.res-slide__photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.res-slide__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px 32px;
}

.res-slide__eyebrow {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
}

.res-slide__title {
  font-size: 38px;
  margin-bottom: 18px;
}

.res-slide__specs {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.35;
}

.res-slide__specs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.res-slide__specs li:last-child {
  margin-bottom: 0;
}

.res-slide__specs svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.res-slide__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.res-slide__actions .btn {
  width: 100%;
  min-height: 46px;
  font-size: 12px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .res-slide {
    grid-template-columns: 1.08fr 1fr;
    height: 430px;
  }

  .res-slide__photo {
    height: 430px;
    overflow: hidden;
  }

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

  .res-slide__panel {
    padding: 32px 34px;
    height: 430px;
  }

  .res-slide__title {
    font-size: 44px;
  }

  .res-slide__specs {
    font-size: 16.5px;
  }

  .res-slide__specs span {
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .res-slide {
    grid-template-columns: 1.05fr 1fr;
    height: 445px;
  }

  .res-slide__photo {
    height: 445px;
  }

  .res-slide__panel {
    height: 445px;
    padding: 36px 32px;
  }

  .res-slide__title {
    font-size: 48px;
  }

  .res-slide__actions {
    flex-direction: row;
  }
}

/* ---------- Carrusel 2 de The Residences: Inside the Residences (tarjeta crema flotante) ---------- */
.inside-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f6f0e2;
  color: var(--green);
  overflow: hidden;
}

.inside-slide img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  display: block;
}

.inside-slide__body {
  padding: 26px 22px 30px;
  background: #f6f0e2;
  color: var(--green);
}

.inside-slide__title {
  font-size: 34px;
  font-style: italic;
  color: var(--green);
  margin-bottom: 10px;
  line-height: 1.08;
}

.inside-slide__text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(25, 52, 37, .86);
  margin: 0 0 20px;
}

.inside-slide__body .btn {
  min-height: 44px;
  padding: 0 24px;
  font-size: 12px;
}

.inside-slide__body .btn--light-fill:hover,
.inside-slide__body .btn--light-fill:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

@media (min-width: 768px) {
  .inside-slide {
    display: block;
    height: 490px;
    background: var(--green);
  }

  .inside-slide img {
    height: 100%;
  }

  .inside-slide__body {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: min(350px, 46%);
    padding: 30px 28px 28px;
    background: rgba(246, 240, 226, .96);
    box-shadow: 0 18px 44px rgba(15, 32, 22, .16);
  }

  .inside-slide__title {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .inside-slide__text {
    font-size: 15.5px;
    margin-bottom: 22px;
  }
}

@media (min-width: 1100px) {
  .inside-slide {
    height: 540px;
  }

  .inside-slide__body {
    left: 28px;
    bottom: 28px;
    width: 370px;
    padding: 32px 30px 30px;
  }

  .inside-slide__title {
    font-size: 44px;
  }
}

/* ---------- Bloques de estancias (Indoor / Outdoor / Private wing / Wellness) ---------- */
.room-block {
  padding-top: 48px;
  padding-bottom: 48px;
}

.room-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.room-block__head--right {
  justify-content: flex-end;
}

.room-block__title {
  font-size: 38px;
  font-style: italic;
}

.room-pair {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.room-pair img,
.room-wide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: zoom-in;
}

.room-pair--asymmetric img {
  aspect-ratio: 4 / 3;
}

.room-wide {
  margin-bottom: 22px;
}

.room-wide img {
  aspect-ratio: 16 / 9;
  max-height: 680px;
}

.room-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.room-text {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  max-width: 860px;
  margin: 0;
}

.room-text p {
  margin: 0 0 1em;
}

.room-text p:last-child {
  margin-bottom: 0;
}

.room-share {
  align-self: flex-start;
}

/* Variante con foto grande a la izquierda y texto lateral a la derecha (Private pool, Guest bedrooms, The Gym) */
.room-side {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.room-side__media {
  display: grid;
  gap: 16px;
}

.room-side__media--two {
  grid-template-columns: 1fr 1fr;
}

.room-side__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.room-side__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .room-block {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .room-block__title {
    font-size: 52px;
  }

  .room-pair {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .room-pair--1-2 {
    grid-template-columns: 38fr 62fr;
  }

  .room-pair--2-1 {
    grid-template-columns: 60fr 40fr;
  }

  .room-pair img {
    height: 480px;
  }

  .room-body {
    flex-direction: row;
    align-items: flex-end;
    gap: 36px;
  }

  .room-text {
    font-size: 18px;
  }

  .room-side {
    grid-template-columns: 68fr 32fr;
    gap: 36px;
  }
}

@media (min-width: 1100px) {
  .room-block__title {
    font-size: 56px;
  }

  .room-pair img {
    height: 540px;
  }
}

/* ---------- Banda verde de Galería ---------- */
.gallery-band {
  background: var(--green);
  color: var(--cream);
  padding-top: 72px;
  padding-bottom: 80px;
  text-align: center;
  margin: 40px 0 64px;
}

.gallery-band .eyebrow {
  color: var(--cream);
}

.gallery-band__title {
  font-size: 40px;
  margin-bottom: 36px;
}

.gallery-band__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.gallery-band__foot .btn {
  min-width: 280px;
}

@media (min-width: 768px) {
  .gallery-band {
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .gallery-band__title {
    font-size: 62px;
    margin-bottom: 48px;
  }

  .gallery-band__foot {
    flex-direction: row;
    gap: 24px;
  }
}

/* ---------- Bloque de formulario en página (Request information) ---------- */
.inquire-section {
  padding-top: 72px;
  padding-bottom: 96px;
  text-align: center;
}

.inquire-section__mark {
  width: 78px;
  height: auto;
  margin: 0 auto 18px;
}

.inquire-section__title {
  font-size: 42px;
  margin-bottom: 10px;
}

.inquire-section__sub {
  font-size: 19px;
  margin: 0 auto 40px;
  max-width: 560px;
}

@media (min-width: 768px) {
  .inquire-section {
    padding-top: 100px;
    padding-bottom: 120px;
  }

  .inquire-section__title {
    font-size: 62px;
  }

  .inquire-section__sub {
    font-size: 21px;
    margin-bottom: 52px;
  }
}

/* ---------- Banda final de olivo en The Residences ---------- */
.olive-strip {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.olive-strip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.olive-strip__veil {
  position: absolute;
  inset: 0;
  background: rgba(25, 52, 37, .35);
}

.olive-strip__mark {
  position: relative;
  width: 130px;
  height: auto;
}

@media (min-width: 768px) {
  .olive-strip {
    height: 240px;
  }

  .olive-strip__mark {
    width: 154px;
  }
}

/* ---------- The Experience ---------- */
.exp-intro {
  padding-top: 64px;
  padding-bottom: 40px;
  text-align: center;
}

.exp-intro__text {
  max-width: 890px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.48;
}

@media (min-width: 768px) {
  .exp-intro {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .exp-intro__text {
    font-size: 29px;
  }
}

.video-banner {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  padding: 64px 0;
}

.video-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-banner__veil {
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 22, .48);
}

.video-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.video-banner__mark {
  width: 96px;
  height: auto;
  margin: 0 auto 22px;
}

.video-banner__title {
  font-size: 40px;
  margin-bottom: 18px;
}

.video-banner__text {
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 26px;
}

@media (min-width: 768px) {
  .video-banner {
    min-height: 620px;
    padding: 96px 0;
  }

  .video-banner__title {
    font-size: 58px;
  }

  .video-banner__text {
    font-size: 26px;
  }
}

.exp-dark {
  background: var(--green);
  color: var(--cream);
  padding: 72px 0 88px;
}

.exp-dark__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
}

.exp-dark__lead {
  font-size: 21px;
  line-height: 1.48;
}

.exp-dark__lead p {
  margin: 0 0 1em;
}

.exp-trio {
  display: grid;
  gap: 36px;
  margin-bottom: 48px;
}

.exp-trio__item h3 {
  font-size: 38px;
  font-style: italic;
  margin-bottom: 12px;
}

.exp-trio__item img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.exp-dark__foot {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.exp-dark__text {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  max-width: 720px;
}

@media (min-width: 768px) {
  .exp-dark {
    padding: 110px 0 120px;
  }

  .exp-dark__lead {
    font-size: 28px;
  }

  .exp-trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
  }

  .exp-trio__item h3 {
    font-size: 52px;
  }

  .exp-dark__foot {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* ---------- The Essence: Bloques 50/50 a sangre ---------- */
.bleed-50 {
  background: var(--green);
  color: var(--cream);
}

.bleed-50__row {
  display: grid;
}

.bleed-50__media {
  overflow: hidden;
}

.bleed-50__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.bleed-50__body {
  padding: 32px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.bleed-50__title {
  font-size: 36px;
  line-height: 1.06;
  margin-bottom: 14px;
}

.bleed-50__text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.58;
  margin: 0;
}

.bleed-50__foot {
  display: flex;
  justify-content: center;
  padding: 28px var(--gutter) 36px;
}

@media (min-width: 768px) {
  .bleed-50__row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 380px;
  }

  .bleed-50__row--reverse .bleed-50__media {
    order: 2;
  }

  .bleed-50__media {
    height: 380px;
  }

  .bleed-50__media img {
    height: 100%;
  }

  .bleed-50__body {
    padding: 32px 44px;
  }

  .bleed-50__title {
    font-size: 42px;
  }
}

@media (min-width: 1100px) {
  .bleed-50__row {
    height: 420px;
  }

  .bleed-50__media {
    height: 420px;
  }

  .bleed-50__title {
    font-size: 46px;
  }
}

/* ---------- The Essence: Light that defines every moment ---------- */
.essence-light {
  display: grid;
  gap: 32px;
}

.essence-light__left,
.essence-light__right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.essence-light__right {
  order: -1;
}

.essence-light__title {
  margin: 0;
}

.essence-light__video,
.essence-light__img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.essence-light__video {
  aspect-ratio: 4 / 3;
}

.essence-light__img {
  aspect-ratio: 3 / 2;
}

.essence-light__cta {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .essence-light {
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: stretch;
  }

  .essence-light__right {
    order: 0;
  }

  .essence-light__title {
    text-align: right;
  }

  .essence-light__video {
    flex: 1;
    min-height: 360px;
    aspect-ratio: auto;
  }

  .essence-light__img {
    flex: 1;
    min-height: 380px;
    max-height: 460px;
    aspect-ratio: auto;
  }
}

@media (min-width: 1100px) {
  .essence-light {
    gap: 80px;
  }
}

/* ---------- Mapa interactivo de Mallorca (The Essence) ---------- */
.island-map {
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: center;
}

.island-map__stage {
  position: relative;
  max-width: 900px;
  margin: 36px auto 0;
}

.island-map__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 819 / 612;
}

.island-map__canvas>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.map-pin {
  position: absolute;
  transform: translate(-11.5px, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
  z-index: 2;
}

.map-pin__label {
  text-shadow:
    -1.5px -1.5px 0 var(--white),
    1.5px -1.5px 0 var(--white),
    -1.5px 1.5px 0 var(--white),
    1.5px 1.5px 0 var(--white),
    0 0 6px var(--white);
}

.map-pin--left {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 11.5px), -50%);
}

@media (min-width: 768px) {
  .map-pin {
    transform: translate(-13.5px, -50%);
    gap: 6px;
    padding: 4px 8px;
    font-size: 15px;
  }

  .map-pin--left {
    transform: translate(calc(-100% + 13.5px), -50%);
  }
}

.map-pin__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--cream);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  transition: transform .25s ease, background-color .25s ease;
}

.map-pin--main {
  transform: translate(-15.5px, -50%);
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
}

.map-pin--main .map-pin__dot {
  width: 15px;
  height: 15px;
  background: var(--blue);
  border-color: var(--green);
}

.map-pin:hover .map-pin__dot,
.map-pin.is-active .map-pin__dot {
  transform: scale(1.35);
  background: var(--blue);
}

.map-pin__label {
  text-shadow: 0 0 6px #fffcf5, 0 0 10px #fffcf5;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}

.map-pin:hover .map-pin__label,
.map-pin.is-active .map-pin__label {
  border-bottom-color: var(--green);
}

@media (max-width: 767px) {
  .map-pin {
    font-size: 12px;
    padding: 2px 4px;
    gap: 4px;
  }

  .map-pin--main {
    font-size: 14px;
  }
}

.island-card {
  position: relative;
  max-width: 420px;
  margin: 20px auto 0;
  background: var(--green);
  color: var(--cream);
  text-align: left;
  box-shadow: 0 18px 44px rgba(25, 52, 37, .24);
  overflow: hidden;
  z-index: 10;
}

.island-card[hidden] {
  display: none;
}

.island-card__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.island-card__close svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.island-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.island-card__body {
  padding: 22px 24px 26px;
}

.island-card__title {
  font-size: 30px;
  margin-bottom: 10px;
}

.island-card__text {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

.island-card__text p {
  margin: 0 0 8px;
}

.island-card__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1100px) {
  .island-card {
    position: absolute;
    top: 40px;
    right: -20px;
    width: 360px;
    margin: 0;
  }
}

/* Distancias / Clima bajo el mapa */
.map-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(25, 52, 37, .18);
  text-align: left;
}

.map-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-stat svg {
  width: 40px;
  height: 40px;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.2;
}

.map-stat__title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.map-stat__val {
  font-family: var(--sans);
  font-size: 15px;
  opacity: .85;
}

@media (min-width: 768px) {
  .map-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1100px) {
  .map-stats {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- The Camp Port Journal (en The Essence) ---------- */
.journal-sec {
  padding-top: 72px;
  padding-bottom: 72px;
}

.journal-sec__banner {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin: 24px 0 40px;
}

.journal-grid {
  display: grid;
  gap: 44px;
  margin-top: 48px;
}

.journal-card {
  display: grid;
  gap: 18px;
  align-items: start;
}

.journal-card__media {
  display: block;
  overflow: hidden;
}

.journal-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.journal-card:hover .journal-card__media img {
  transform: scale(1.04);
}

.journal-card__title {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.journal-card__title a {
  text-decoration: none;
}

.journal-card__desc {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .journal-sec__banner {
    height: 420px;
  }

  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 36px;
  }
}

@media (min-width: 1100px) {
  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 36px;
  }
}

/* ---------- Artículos del Journal (/journal/*) ---------- */
.article-top {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 108px;
  padding-bottom: 24px;
  text-align: center;
}

.article-top__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}

.article-top__title {
  font-size: 38px;
  line-height: 1.08;
  max-width: 780px;
  margin: 0 auto 28px;
}

.article-top__hero {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.article-body {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 44px;
  padding-bottom: 80px;
}

.article-lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  max-width: 100%;
  margin: 0 0 64px;
}

.article-lead p {
  margin: 0 0 1.2em;
}

.article-lead p:last-child {
  margin-bottom: 0;
}

.article-block {
  margin-bottom: 80px;
}

.article-block__title {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 24px;
}

.article-block__text {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
}

.article-block .article-block__text {
  margin-bottom: 40px;
}

.article-block .article-block__text:last-child {
  margin-bottom: 0;
}

.article-block__text p {
  margin: 0 0 1.15em;
}

.article-block__text p:last-child {
  margin-bottom: 0;
}

.article-split {
  display: grid;
  gap: 36px;
  align-items: center;
  max-width: 780px;
  margin: 80px auto;
}

.article-split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.article-share {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 400px;
  padding: 16px 0;
  background: transparent;
  margin: 56px auto 72px;
}

.article-share .btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
}

.article-share .btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  .article-top {
    padding-top: 148px;
    padding-bottom: 36px;
  }

  .article-top__title {
    font-size: 54px;
    margin-bottom: 36px;
  }

  .article-body {
    padding-top: 52px;
    padding-bottom: 112px;
  }

  .article-lead {
    font-size: 18px;
    margin-bottom: 96px;
  }

  .article-block {
    margin-bottom: 112px;
  }

  .article-block__title {
    font-size: 46px;
    margin-bottom: 28px;
  }

  .article-block__text {
    font-size: 18px;
  }

  .article-block .article-block__text {
    margin-bottom: 48px;
  }

  .article-split {
    grid-template-columns: minmax(250px, 310px) 1fr;
    gap: 64px;
    margin: 112px auto;
  }

  .article-split--reverse {
    grid-template-columns: 1fr minmax(250px, 310px);
  }

  .article-split--reverse> :first-child {
    order: 2;
  }

  .article-split img {
    height: 410px;
  }

  .article-share {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: none;
    margin: 96px 0 112px;
  }

  .article-share .btn {
    width: auto;
    min-width: 176px;
    gap: 18px;
    padding: 13px 22px;
  }
}

/* ---------- Página Legal (/legal) ---------- */
.legal-page {
  padding-top: 112px;
  padding-bottom: 96px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.legal-sec {
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(25, 52, 37, .18);
  scroll-margin-top: 110px;
}

.legal-sec:first-of-type {
  border-top: 0;
}

.legal-sec h1,
.legal-sec h2.legal-sec__title {
  font-size: 40px;
  margin-bottom: 20px;
}

.legal-sec p,
.legal-sec li {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .legal-page {
    padding-top: 148px;
  }

  .legal-sec h1,
  .legal-sec h2.legal-sec__title {
    font-size: 52px;
  }

  .legal-sec p,
  .legal-sec li {
    font-size: 17px;
  }
}

/* Garantizar que .container nunca pierda su margen lateral */
.container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}