/* =========================================
   VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Mrs+Saint+Delafield&family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --color-page-bg: #f2f3f5;
  --color-box-bg: #ffffff;
  --color-footer-bg: #eef0f3;
  --color-text: #111111;
  --color-title-muted: #c3c7cf;
  --color-border: #c9ccd2;
  --color-accent: #4a5b7c;
}

/* =========================================
   BASE
   ========================================= */
body {
  font-family: var(--font-serif);
  color: var(--color-text);
  background-color: #fff;
}
.logo-footer{
      width: 322px;
}
/* Caja blanca con sombra que envuelve newsletter + footer */
.site-box {
  background-color: var(--color-box-bg);
  box-shadow: 0 4px 20px rgba(30, 40, 60, 0.06);
}

/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter {
  padding: 2rem 0 2.5rem;
  position: relative;
}

/* Franja de sombra suave bajo el formulario */

.newsletter__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--color-title-muted);
  margin-bottom: 0.5rem;
}

/* Sobrescribe .form-control de Bootstrap */
.newsletter__input.form-control {
  height: 3.2rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-family: var(--font-sans);
}

.newsletter__input.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(74, 91, 124, 0.15);
}

/* Sobrescribe .btn de Bootstrap */
.newsletter__btn.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  border: 0;
  border-radius: 0;
}

.newsletter__line {
  display: inline-block;
  width: 4.4rem;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.newsletter__btn.btn:hover .newsletter__line,
.newsletter__btn.btn:focus-visible .newsletter__line {
  width: 5.5rem;
}

.newsletter__btn.btn:focus {
  box-shadow: none;
}

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

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  padding: 6.5rem 0 7.5rem;
  background-color: #f0f2f5;
  /* Imagen de fondo difuminada (sustituir por la real):
     background: linear-gradient(rgba(238,240,243,.9), rgba(238,240,243,.9)),
                 url('../img/footer-bg.jpg') center / cover no-repeat; */
}

/* Logo (sustituir por <img> si tenéis el SVG) */
.footer-logo {
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 2.2rem;
}

.footer-logo:hover {
  color: var(--color-text);
}

.footer-logo__name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.footer-logo__tagline {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 0.1rem;
}

/* Redes sociales */
.footer-social {
  margin-bottom: 2.2rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #111111;
  border-radius: 50%;
  color: #111111;
  font-size: 1.25rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background-color: #111111;
  border-color: #111111;
  color: #fff;
}

/* Enlaces legales con separador | */
.footer-links {
  row-gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.footer-links li {
  display: flex;
  align-items: center;
}

.footer-links li + li::before {
  content: "|";
  margin: 0 0.55rem;
  color: var(--color-text);
}

.footer-links a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
}

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

.footer-copy {
  font-family: var(--font-serif);
  font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991.98px) {
  .site-footer {
    padding: 4rem 0 4.5rem;
  }
}

@media (max-width: 575.98px) {
  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-links li + li::before {
    margin: 0 0.35rem;
  }
}



/* =========================================
   HEADER
   ========================================= */
:root {
  --color-header-text: #555555;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ededed;
  padding: 1.1rem 0 1rem;
}

/* Logo */
.header-logo {
  color: var(--color-header-text);
  line-height: 1;
}

.header-logo:hover {
  color: var(--color-text);
}

.header-logo__name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.header-logo__tagline {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.45rem, 1.1vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  margin-top: 0.35rem;
  margin-right: -0.42em; /* compensa el tracking para centrar */
}

/* ---------- Selector de idioma ---------- */
.lang-switch__btn.btn {
  position: relative;
  padding: 0.25rem;
  font-size: 1.6rem;
  line-height: 1;
  color: #111;
  border: 0;
}

.lang-switch__btn.btn:focus {
  box-shadow: none;
}

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

.lang-switch__badge {
  position: absolute;
  right: -0.1rem;
  bottom: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  font-size: 0.55rem;
  background-color: #ffffff;
  border: 1px solid #111;
  border-radius: 50%;
}

/* Sobrescribe .dropdown-menu de Bootstrap */
.lang-switch__menu.dropdown-menu {
  min-width: 9rem;
  padding: 0.4rem 0;
  border: 1px solid #ededed;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(30, 40, 60, 0.08);
}

.lang-switch__menu .dropdown-item {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-header-text);
  padding: 0.45rem 1.1rem;
}

.lang-switch__menu .dropdown-item:hover,
.lang-switch__menu .dropdown-item:focus {
  background-color: var(--color-page-bg);
  color: var(--color-text);
}

.lang-switch__menu .dropdown-item.active,
.lang-switch__menu .dropdown-item:active {
  background-color: transparent;
  color: var(--color-accent);
  font-weight: 500;
}

/* ---------- Botón hamburguesa ---------- */
.burger.btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.6rem;
  height: 1.25rem;
  padding: 0;
  border: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #111;
}

.burger.btn:focus {
  box-shadow: none;
}

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

/* ---------- Burger → X cuando el menú está abierto ---------- */
.burger span {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger.btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(calc(0.625rem - 0.5px)) rotate(45deg);
}

.burger.btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger.btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(calc(-0.625rem + 0.5px)) rotate(-45deg);
}

/* =========================================
   MEGA MENU
   ========================================= */
.site-header {
  position: fixed;
  width: 100%;
  z-index: 1030;
}

/* Se despliega bajo el header, por encima del contenido */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 16px 32px rgba(30, 40, 60, 0.08);
}

.mega-menu > nav {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

/* Etiqueta de región */
.mega-menu__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1.4rem;
}

/* País */
.mega-country--spaced {
  margin-top: 2.75rem;
}

.mega-country__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.mega-country__title a {
  color: var(--color-text);
  text-decoration: none;
}

.mega-country__list {
  margin-bottom: 0;
}

.mega-country__list li {
  line-height: 1.6;
}

.mega-country__list a {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: #7a7a7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-country__list a.mega-country__all {
  font-family: var(--font-sans);
  color: var(--color-text);
}

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

/* Explore */
.mega-explore li {
  line-height: 1.55;
}

.mega-explore a {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #7a7a7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.mega-explore__cta {
  margin-top: 0.9rem;
}

.mega-explore .mega-explore__cta a {
  font-weight: 600;
  color: var(--color-accent);
}

.mega-explore .mega-explore__cta a:hover {
  color: var(--color-text);
}

/* Divisores verticales solo en escritorio */
@media (min-width: 1200px) {
  .mega-menu__col--divider {
    position: relative;
    padding-left: 3.5rem;
  }

  .mega-menu__col--divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2.1rem;
    bottom: 0;
    width: 1px;
    background-color: #dcdfe4;
  }

  .mega-menu__col:not(:last-child) {
    padding-right: 1.5rem;
  }
}

/* ---------- Responsive header / mega menu ---------- */
@media (max-width: 575.98px) {
  .site-header {
    padding: 0.85rem 0 0.75rem;
  }

  .lang-switch__btn.btn {
    font-size: 1.35rem;
  }

  .header-logo__tagline {
    letter-spacing: 0.3em;
    margin-right: -0.3em;
  }

  .mega-menu > nav {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    max-height: calc(100vh - 4.5rem);
  }

  .mega-country__title {
    font-size: 1rem;
  }
}
/* =========================================
   BREADCRUMB
   ========================================= */
.page-breadcrumb {
  padding: 0.6rem 0;
}

/* Sobrescribe .breadcrumb de Bootstrap */
.page-breadcrumb .breadcrumb {
  --separator: "\F285"; /* bi-chevron-right */
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.9rem;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: var(--separator);
  font-family: 'bootstrap-icons';
  font-size: 0.55rem;
  padding-right: 0.9rem;
  color: #8a8a8a;
  vertical-align: 0.05rem;
}

.page-breadcrumb .breadcrumb-item a {
  color: #8a8a8a;
  text-decoration: none;
}

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

.page-breadcrumb .breadcrumb-item.active {
  color: var(--color-text);
}

/* =========================================
   HERO CON VÍDEO DE FONDO
   ========================================= */
.video-hero__media {
  position: relative;
  height: clamp(360px, 75vh, 760px);
  overflow: hidden;
  background-color: #1d2230; /* se ve mientras carga el vídeo */
}

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

.video-hero__overlay {
  position: absolute;
  inset: 0;
  padding: 1rem;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.05) 70%);
}

.video-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .video-hero__media {
    height: 60vh;
    min-height: 320px;
  }
}


/* =========================================
   ABOUT · COMPONENTES COMPARTIDOS
   ========================================= */
:root {
  --font-display: 'Playfair Display', Georgia, serif; /* cambiar si confirmáis la fuente display */
  --font-script: 'Pinyon Script', cursive;
  --font-signature: 'Mrs Saint Delafield', cursive;
  --color-heading: #56677f;
  --color-panel: #eef0f3;
}

/* Franja de sombra suave al final de un bloque */
.section-fade {
  position: relative;
}

.section-fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.5rem;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(30, 40, 60, 0.035), rgba(30, 40, 60, 0));
  pointer-events: none;
  z-index: 1;
}

/* Título de sección con líneas a los lados */
.section-heading {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 3.5rem 0 2.5rem;
}

.section-heading::before{
  content: "";
  flex: 1 1 0;
  height: 1px;
  background-color: #c9ced6;
}

/* Variante: título a la izquierda, línea solo a la derecha */
.section-heading--left::before {
  display: none;
}

.section-heading__title {
  flex: 0 1 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
  color: #aab4c1;
  margin: 0;
  text-align: center;
}

.section-heading--left .section-heading__title {
  text-align: left;
}

/* Titular en mayúsculas de los bloques de texto */
.text-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-heading);
  margin-bottom: 1.75rem;
}

/* Texto de párrafo de About */
.text-panel p,
.commitment-body__text p,
.thanks-text p {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: #222222;
  max-width: 30rem;
}

/* =========================================
   ABOUT · INTRO
   ========================================= */
.about-intro {
  padding: 3.5rem 0 4rem;
}

.about-intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  word-spacing: 0.35em;
  line-height: 1.15;
  color: var(--color-heading);
  margin-bottom: 1.4rem;
}

.about-intro__title span {
  word-spacing: normal;
}

.about-intro__text {
  max-width: 34rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #333333;
}

/* =========================================
   ABOUT · THE STORY
   ========================================= */
.about-story .section-heading {
  padding-top: 5rem;
}

.story-media {
  position: relative;
  height: 100%;
  min-height: 320px;
}

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

.story-media__caption {
  position: absolute;
  right: 1.75rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Línea fina decorativa (en el diseño es una onda de sonido) */
.story-media__caption::before {
  content: "";
  width: 6rem;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
}

.text-panel {
  background-color: var(--color-panel);
  padding: 3rem 2.25rem;
}

.story-grid {
  margin-top: 0.5rem;
}

.text-panel--card {
  padding: 3rem 2.25rem;
  box-shadow: 0 2px 10px rgba(30, 40, 60, 0.04);
}

.story-grid__img {
  min-height: 280px;
}

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

@media (min-width: 992px) {
  .text-panel {
    padding: 3rem 2.25rem 3.5rem;
  }

  .text-panel--card {
    padding: 3rem 3.25rem;
  }
}

/* =========================================
   ABOUT · THE COMMITMENT
   ========================================= */
.about-commitment .section-heading {
  padding-top: 5rem;
}

.commitment-body {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.commitment-body__img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* =========================================
   ABOUT · IN THEIR WORDS
   ========================================= */
.about-testimonials {
  padding-bottom: 5.5rem;
}

.about-testimonials .section-heading {
  padding-top: 5rem;
  margin-bottom: 2.5rem;
}

.testimonial {
  max-width: 25rem;
}

.testimonial__quote p {
  margin-bottom: 0;
}

.testimonial__quote--script {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  line-height: 1.25;
  color: #2b2b2b;
}

.testimonial__quote--italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #2b2b2b;
}

.testimonial__author {
  margin-top: 1.75rem;
}

.testimonial__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #222222;
}

.testimonial__role {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .testimonial-col--divider {
    border-left: 1px solid #d6dae0;
    padding-left: 2.5rem;
  }

  .testimonial__quote--script + .testimonial__author {
    padding-left: 4.5rem;
  }
}

/* =========================================
   ABOUT · EXPERTISE SLIDER
   ========================================= */
.about-expertise {
  padding-bottom: 4rem;
}

.about-expertise .section-heading {
  padding-top: 2.5rem;
}

.expertise-slider {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c9ced6 transparent;
  padding-bottom: 0.75rem;
}

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

.expertise-slider__item {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

.expertise-slider__item a {
  display: block;
  overflow: hidden;
}

.expertise-slider__item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}

.expertise-slider__item a:hover img,
.expertise-slider__item a:focus-visible img {
  filter: grayscale(0);
}

@media (min-width: 768px) {
  .expertise-slider__item {
    flex-basis: 45%;
  }
}

@media (min-width: 992px) {
  .expertise-slider__item {
    flex-basis: calc((100% - 2.4rem) / 3.2); /* 3 enteras + asoma la 4ª */
  }
}

/* =========================================
   ABOUT · LAST BUT NOT LEAST
   ========================================= */
.about-thanks {
  padding-bottom: 5rem;
}

.about-thanks .section-heading {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.thanks-media {
  position: relative;
  height: 100%;
  min-height: 340px;
}

.thanks-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Fundido de la foto hacia el blanco */
.thanks-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, #ffffff 100%);
}

.thanks-text {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.5rem 0;
}

.thanks-signature {
  margin-top: 1.5rem;
  max-width: 30rem;
}

.thanks-signature__name {
  display: block;
  font-family: var(--font-signature);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-heading);
}

.thanks-signature__role {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.2rem;
}

@media (min-width: 992px) {
  .about-thanks .row {
    min-height: 390px;
  }

  .thanks-media {
    min-height: 390px;
  }

  .thanks-media::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.85) 88%, #ffffff 100%);
  }

  /* El texto se monta sobre la zona difuminada de la foto */
  .thanks-text {
    margin-left: -3.5rem;
    padding: 2rem 0;
  }
}

/* ---------- Responsive About ---------- */
@media (max-width: 767.98px) {
  .section-heading {
    gap: 1rem;
    padding: 3rem 0 2rem;
  }

  .about-story .section-heading,
  .about-commitment .section-heading,
  .about-testimonials .section-heading {
    padding-top: 3.5rem;
  }

  .text-panel,
  .text-panel--card {
    padding: 2.25rem 1.5rem;
  }

  .story-media__caption {
    right: 1rem;
    bottom: 0.75rem;
  }

  .story-media__caption::before {
    width: 3rem;
  }

  .about-thanks .section-heading {
    padding-bottom: 2rem;
  }
}



/* =========================================
   BREADCRUMB + TÍTULO DE PÁGINA (reutilizable)
   ========================================= */
.page-title {
  padding-bottom: 1.25rem;
}

.page-title .page-breadcrumb {
  padding: 1.75rem 0 0;
}

/* Variante: todos los items en color de acento */
.page-breadcrumb--accent .breadcrumb-item a,
.page-breadcrumb--accent .breadcrumb-item.active,
.page-breadcrumb--accent .breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-heading);
}

.page-breadcrumb--accent .breadcrumb-item a:hover,
.page-breadcrumb--accent .breadcrumb-item a:focus-visible {
  color: var(--color-text);
}

.page-title__heading {
  padding: 1.25rem 0 0;
  gap: 0.75rem;
}

.page-title__heading::after {
  background-color: #d3d7de;
}

/* Variante del título en color oscuro (en vez de gris claro) */
.section-heading__title--dark {
  color: var(--color-heading);
  letter-spacing: -0.045em;
}

@media (max-width: 767.98px) {
  .page-title .page-breadcrumb {
    padding-top: 1.25rem;
  }

  .page-title__heading {
    padding-top: 0.75rem;
  }
}
.page-title.section-fade{
  padding-top: 66px;
}
.page-title.section-fade:after{
  display: none;
}

/* =========================================
   BLOG · FILTRO DE CATEGORÍAS
   ========================================= */
.blog-cats {
  background-color: #e6e9ee;
  padding: 3.25rem 0;
  box-shadow: 0 6px 20px rgba(30, 40, 60, 0.05);
}

.blog-cats__list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 2.75rem;
  row-gap: 0.75rem;
}

.blog-cats__link {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.06em;
  line-height: 1.2;
  color: #aab4c1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.blog-cats__link:hover,
.blog-cats__link:focus-visible {
  color: var(--color-heading);
}

/* Categoría activa */
.blog-cats__link.is-active {
  color: var(--color-heading);
}

.blog-cats__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.1em;
  bottom: 0.05em;
  height: 1px;
  background-color: var(--color-heading);
}

.blog-cats__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Móvil: una sola fila con scroll horizontal */
@media (max-width: 767.98px) {
  .blog-cats {
    padding: 2rem 0;
  }

  .blog-cats__list {
    flex-wrap: nowrap;
    column-gap: 1.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    /* insinúa que hay más contenido a la derecha */
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
            mask-image: linear-gradient(to right, #000 85%, transparent);
  }

  .blog-cats__list::-webkit-scrollbar {
    display: none;
  }
}


/* =========================================
   BLOG · LISTADO
   ========================================= */
.blog-list {
  padding: 1.25rem 0 4.5rem;
}

.post-card {
  position: relative;
  height: auto;
  overflow: hidden;
  background-color: #1d2230; /* fondo si el post no tiene imagen */
}

/* Imagen */
.post-card__media {
  aspect-ratio: 6 / 7;
}

.post-card--featured .post-card__media {
  aspect-ratio: 3 / 1;
  min-height: 320px;
}

.post-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.post-card:hover .post-card__img,
.post-card:focus-within .post-card__img {
  transform: scale(1.04);
}

/* Texto sobre la imagen */
.post-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%);
  color: #ffffff;
}

.post-card--featured .post-card__body {
  padding: 1.75rem 1.75rem 1.4rem;
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 75%);
}

.post-card__meta {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
}

.post-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.7vw, 2.3rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.9rem;
  max-width: 16ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.post-card--featured .post-card__title {
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  max-width: 14ch;
}

/* CTA con línea */
.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-decoration: none;
}

.post-card__link:hover {
  color: #ffffff;
}

.post-card__line {
  display: inline-block;
  width: 2.75rem;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.post-card:hover .post-card__line,
.post-card:focus-within .post-card__line {
  width: 4rem;
}

/* stretched-link: el foco se dibuja en toda la tarjeta */
.post-card__link:focus-visible {
  outline: none;
}

.post-card__link:focus-visible::after {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

/* =========================================
   BLOG · PAGINACIÓN
   ========================================= */
.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination__list {
  gap: 0.4rem;
}

.blog-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-heading);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

a.blog-pagination__item:hover,
a.blog-pagination__item:focus-visible {
  border-color: #c9ced6;
  color: var(--color-text);
}

.blog-pagination__item.is-active {
  background-color: var(--color-heading);
  color: #ffffff;
}

.blog-pagination__item--arrow {
  font-size: 0.8rem;
}

/* ---------- Responsive blog ---------- */
@media (max-width: 767.98px) {
  .post-card__media {
    aspect-ratio: 4 / 3;
  }

  .post-card--featured .post-card__media {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .post-card--featured .post-card__body {
    padding: 1.25rem 1.1rem;
  }
}
/* =========================================
   BLOG · DETALLE DEL POST
   ========================================= */
/* El hero reutiliza .video-hero con una <img> en lugar de <video> */
.post-hero .video-hero__media {
  height: clamp(320px, 65vh, 680px);
}

.post-detail {
  padding: 3.5rem 0 4.5rem;
}

.post-detail__header {
  margin-bottom: 2.25rem;
}

.post-detail__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-heading);
  margin-bottom: 0.9rem;
}

.post-detail__meta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

/* ---------- Contenido del editor (page_body) ---------- */
.post-body {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.7;
  color: #333333;
}

.post-body > *:last-child {
  margin-bottom: 0;
}

.post-body p {
  margin-bottom: 1.25rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-heading);
  margin: 2.5rem 0 1rem;
}

.post-body h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); text-transform: uppercase; }
.post-body h3 { font-size: 1.5rem; }
.post-body h4 { font-size: 1.2rem; }

.post-body a {
  color: var(--color-heading);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: var(--color-text);
}

.post-body img,
.post-body iframe,
.post-body video {
  max-width: 100%;
  height: auto;
}

.post-body img {
  display: block;
  margin: 2rem 0;
}

.post-body ul,
.post-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.post-body li + li {
  margin-top: 0.35rem;
}

.post-body blockquote {
  margin: 2.25rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid #c9ced6;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #2b2b2b;
}

.post-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

/* ---------- Pie: categoría y compartir ---------- */
.post-detail__footer {
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dcdfe4;
}

.post-detail__cat,
.post-detail__share {
  gap: 0.9rem;
}

.post-detail__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a8a8a;
}

.post-detail__tag {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  text-decoration: none;
  padding: 0.3rem 0.9rem;
  border: 1px solid #c9ced6;
  border-radius: 2rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.post-detail__tag:hover,
.post-detail__tag:focus-visible {
  background-color: var(--color-heading);
  border-color: var(--color-heading);
  color: #ffffff;
}

.post-share {
  gap: 0.5rem;
}

.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #c9ced6;
  border-radius: 50%;
  color: var(--color-heading);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.post-share a:hover,
.post-share a:focus-visible {
  background-color: var(--color-heading);
  border-color: var(--color-heading);
  color: #ffffff;
}

/* ---------- You might also like ---------- */
.post-related {
  padding-bottom: 5rem;
}

.post-related .section-heading {
  padding-top: 5rem;
}

.post-card--related .post-card__media {
  aspect-ratio: 3 / 2;
}

.post-card--related .post-card__body {
  justify-content: flex-end;
  padding: 1rem 0.9rem 1.5rem;
}

.post-card--related .post-card__title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  max-width: 12ch;
}

.post-card--related .post-card__title a {
  color: #ffffff;
  text-decoration: none;
}

.post-card--related .post-card__title a:focus-visible {
  outline: none;
}

.post-card--related .post-card__title a:focus-visible::after {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

@media (max-width: 767.98px) {
  .post-detail {
    padding: 2.5rem 0 3.5rem;
  }

  .post-related .section-heading {
    padding-top: 3.5rem;
  }
}

/* Los relacionados van a color (el slider de About es en B/N) */
.post-related__slider .expertise-slider__item img {
  filter: none;
}


/* =========================================
   PÁGINAS LEGALES
   (reutilizan la tipografía de .post-body)
   ========================================= */
.legal-page {
  padding: 2.5rem 0 5rem;
}

.legal-content__updated {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 2rem !important;
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-top: 3rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  text-transform: none;
  margin-top: 2rem;
}

/* Tablas de cookies: scroll horizontal en móvil */
.legal-table {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
}

.legal-content .legal-table table {
  display: table;
  width: 100%;
  min-width: 34rem;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.45;
}

.legal-content .legal-table th {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-heading);
  text-align: left;
  background-color: var(--color-panel);
  padding: 0.75rem 0.9rem;
}

.legal-content .legal-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e3e6ea;
  vertical-align: top;
}

.legal-content .legal-table td:first-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  white-space: nowrap;
}



/* =========================================
   CONTACTO · HERO
   ========================================= */
.contact-hero {
  position: relative;
  overflow: hidden;
  background-color: #1d2230;
}

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

/* Oscurece un poco el vídeo en la zona del título */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(420px, 70vh, 700px);
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.contact-hero__inner > .row {
  width: 100%;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6.5vw, 5.25rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  .contact-hero__title {
    padding-left: 3.5rem;
  }

  .contact-status {
    padding-left: 3.5rem;
  }
}

/* Estado disponible + hora */
.contact-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-status__dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.4rem 0 0.25rem;
  border-radius: 50%;
  background-color: #b9bec6;
}

.contact-status.is-open .contact-status__dot {
  background-color: #ffffff;
}

.contact-status.is-open .contact-status__dot::after {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  animation: status-pulse 2s ease-out infinite;
}

.contact-status__time:not(:empty)::before {
  content: "|";
  margin-right: 0.6rem;
  opacity: 0.7;
}

@keyframes status-pulse {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-status.is-open .contact-status__dot::after {
    animation: none;
  }
}

/* Tarjetas de canales */
.contact-channels li + li {
  margin-top: 0.8rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 0.75rem 1.4rem;
  background-color: #ffffff;
  border: 1px solid #d6dae0;
  border-radius: 0.35rem;
  color: var(--color-heading);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel:hover,
.contact-channel:focus-visible {
  color: var(--color-heading);
  transform: translateX(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.contact-channel:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.contact-channel__icon {
  flex: 0 0 auto;
  width: 1.75rem;
  font-size: 1.45rem;
  text-align: center;
  color: var(--color-heading);
}

.contact-channel__text {
  min-width: 0;
}

.contact-channel__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.contact-channel__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #6b7a90;
  overflow-wrap: anywhere;
}

/* =========================================
   CONTACTO · FORMULARIO
   ========================================= */
.contact-form-section .section-heading {
  padding-bottom: 0;
}

.contact-panel {
  background-color: #e6e9ee;
  padding: 4rem 0 4.5rem;
  box-shadow: 0 6px 20px rgba(30, 40, 60, 0.05);
}

.contact-form__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--color-heading);
  margin-bottom: 1.4rem;
}

/* Chips de motivo */
.topic-chips {
  margin-bottom: 2rem;
}

.topic-chips__list {
  gap: 0.75rem;
}

.topic-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #222222;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 2rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.topic-chip:hover {
  border-color: var(--color-heading);
}

.btn-check:checked + .topic-chip {
  background-color: var(--color-heading);
  border-color: var(--color-heading);
  color: #ffffff;
}

.btn-check:focus-visible + .topic-chip {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Campos con línea inferior (sobrescribe .form-control) */
.line-input.form-control {
  padding: 0.85rem 0.55rem 0.4rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #b8bec8;
  border-radius: 0;
  margin-bottom: 0.5rem;
}

.line-input.form-control::placeholder {
  color: #6b7a90;
  opacity: 1;
}

.line-input.form-control:focus {
  background-color: transparent;
  border-bottom-color: var(--color-heading);
  box-shadow: 0 1px 0 0 var(--color-heading);
}

.line-input--textarea.form-control {
  margin-top: 2rem;
  min-height: 2.5rem;
  resize: vertical;
}

/* Quita las flechas del campo numérico del antispam */
.line-input[type="number"]::-webkit-outer-spin-button,
.line-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.line-input[type="number"] {
  -moz-appearance: textfield;
}

/* Checkbox de privacidad */
.contact-consent {
  margin: 1.5rem 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: #3a3a3a;
}

.contact-consent .form-check-input {
  border-color: #9aa3b0;
  border-radius: 0.15rem;
}

.contact-consent .form-check-input:checked {
  background-color: var(--color-heading);
  border-color: var(--color-heading);
}

.contact-consent .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(86, 103, 127, 0.2);
}

.contact-consent a {
  color: var(--color-heading);
  text-underline-offset: 2px;
}

/* Botón Send (sobrescribe .btn) */
.contact-send.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 2.75rem 0.55rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-heading);
  background-color: #c7ced7;
  border: 0;
  border-radius: 2rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.contact-send__line {
  display: inline-block;
  width: 3.5rem;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.contact-send.btn:hover,
.contact-send.btn:focus-visible {
  background-color: var(--color-heading);
  color: #ffffff;
}

.contact-send.btn:hover .contact-send__line {
  width: 4.5rem;
}

.contact-send.btn:focus {
  box-shadow: none;
}

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

.contact-form__feedback {
  margin-top: 1rem;
  font-family: var(--font-serif);
  color: var(--color-heading);
}

.contact-form__feedback.hidden {
  display: none;
}

.contact-form__note {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #9aa3b0;
}

/* =========================================
   CONTACTO · OFICINAS
   ========================================= */
.contact-offices {
  padding-bottom: 5rem;
}

.contact-offices .section-heading {
  padding-top: 5rem;
}

.office-card__media .post-card__media {
  aspect-ratio: 6 / 7;
}

.office-card__media .post-card__title {
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  margin-bottom: 0.5rem;
}

.office-card__address {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #6b7a90;
}

.office-card__address sup {
  font-size: 0.6em;
}

/* ---------- Responsive contacto ---------- */
@media (max-width: 991.98px) {
  .contact-hero::after {
    background: rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 767.98px) {
  .contact-hero__inner {
    min-height: 0;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .contact-channel {
    padding: 0.65rem 1.1rem;
    gap: 1rem;
  }

  .contact-panel {
    padding: 3rem 0 3.5rem;
  }

  .office-card__media .post-card__media {
    aspect-ratio: 4 / 3;
  }

  .contact-offices .section-heading {
    padding-top: 3.5rem;
  }
}

section.contact-offices:after{
  display: none;
}

.commitment-body:after{
  display: none;
}



/* =========================================
   COMPONENTES REUTILIZABLES (HOME)
   ========================================= */
/* Enlace con línea: "ALL PROPERTIES", "PROPERTIES IN VIENNA"… */
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-heading);
  text-decoration: none;
}

.line-link::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.line-link:hover,
.line-link:focus-visible {
  color: var(--color-text);
}

.line-link:hover::before,
.line-link:focus-visible::before {
  width: 4rem;
}

.line-link--muted {
  color: #7a7a7a;
}

/* Título de sección sin líneas */
.section-heading--plain {
  justify-content: center;
}

.section-heading--plain::before,
.section-heading--plain::after {
  display: none;
}

/* Sliders de tarjetas a color */
.card-slider .expertise-slider__item img {
  filter: none;
}

.card-slider {
  margin-top: 0.5rem;
}

/* =========================================
   HOME · HEADER TRANSPARENTE SOBRE EL HERO
   ========================================= */
.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  border-bottom: 0;
  padding-top: 2rem;
  transition: background-color 0.3s ease;
}

.site-header--overlay .header-logo,
.site-header--overlay .header-logo:hover,
.site-header--overlay .lang-switch__btn.btn {
  color: #ffffff;
}

.site-header--overlay .lang-switch__badge {
  background-color: transparent;
  border-color: #ffffff;
}

.site-header--overlay .burger span {
  background-color: #ffffff;
}

/* Con el mega menú abierto vuelve a su aspecto normal */
.site-header--overlay.is-menu-open {
  background: #ffffff;
}

.site-header--overlay.is-menu-open .header-logo,
.site-header--overlay.is-menu-open .lang-switch__btn.btn {
  color: var(--color-header-text);
}

.site-header--overlay.is-menu-open .lang-switch__badge {
  background-color: #ffffff;
  border-color: var(--color-header-text);
}

.site-header--overlay.is-menu-open .burger span {
  background-color: var(--color-header-text);
}

/* =========================================
   HOME · HERO
   ========================================= */
.home-hero {
  position: relative;
  height: 95svh;
  min-height: 520px;
  max-height: 1100px;
  overflow: hidden;
  background-color: #1d2230;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

@supports (height: 100svh) {
  .home-hero {
    height: 95svh;
  }
}

/* =========================================
   HOME · INTRO
   ========================================= */
.home-intro {
  padding: 5rem 0 8rem;
}

.home-intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.3vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--color-heading);
  margin-bottom: 2.5rem;
}

.home-intro__text {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: #555555;
  margin-bottom: 3.5rem;
}

/* =========================================
   HOME · IN THE SPOTLIGHT
   ========================================= */
.home-spotlight .section-heading {
  padding: 2.5rem 0 5rem;
}

.spotlight-row + .spotlight-row {
  margin-top: 5.5rem;
}

.spotlight-card .post-card__media {
  aspect-ratio: 2 / 1;
  min-height: 320px;
}

.spotlight-card .post-card__body {
  padding: 2rem 2.5rem 1.9rem;
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0) 70%);
}

.spotlight-card .post-card__title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  max-width: none;
  margin-bottom: 1.1rem;
}

.spotlight-card .post-card__link {
  font-size: 0.72rem;
}

.spotlight-text {
  height: 100%;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 -10px 20px -10px rgba(30, 40, 60, 0.05);
}

.spotlight-text__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
}

.spotlight-text__title span {
  display: block;
  text-transform: uppercase;
}

.spotlight-text__desc {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: #222222;
  max-width: 22rem;
  margin-bottom: 2rem;
}

/* =========================================
   HOME · THE COLLECTIONS
   ========================================= */
.home-collections {
  padding-bottom: 6rem;
}

.home-collections .section-heading {
  padding-top: 7rem;
}

.home-collections .post-card--featured .post-card__title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

/* =========================================
   HOME · THE MARKET
   ========================================= */
.home-market {
  background-color: #eff0f2;
  padding: 3.5rem 0 5rem;
}

.home-market .section-heading {
  padding-bottom: 2rem;
}

.home-market__img {
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.home-market__body {
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}

.home-market__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-heading);
  margin: 0;
}

.home-market__text {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: #222222;
}

@media (min-width: 768px) {
  .home-market__title {
    text-align: right;
  }

  .home-market__text {
    text-align: justify;
    hyphens: auto;
  }
}

/* =========================================
   HOME · MOMENTS
   ========================================= */
.home-moments {
  padding: 6rem 0 7rem;
}

.moments-feature .post-card__media {
  aspect-ratio: 3 / 2;
}

.moments-intro {
  padding: 2rem 0 2rem 1.5rem;
}

.moments-intro__title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: #7a7466; /* respaldo si no soporta background-clip */
  background: linear-gradient(90deg, #5e5e5e 0%, #8c8472 45%, #c9a55e 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.moments-intro__subtitle {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #a7a291;
  margin-bottom: 1.5rem;
}

.moments-intro__text {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #222222;
  max-width: 21rem;
  margin-bottom: 2rem;
}

/* Slider de 4 + asoma el siguiente, dentro del container */
@media (min-width: 992px) {
  .card-slider--compact .expertise-slider__item {
    flex-basis: calc((100% - 2.4rem) / 3.6);
  }
}

.card-slider--compact .post-card__title {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

/* ---------- Responsive home ---------- */
@media (max-width: 991.98px) {
  .spotlight-text {
    padding: 2.25rem 1.5rem 0;
    box-shadow: none;
  }

  .spotlight-row + .spotlight-row {
    margin-top: 4rem;
  }

  .moments-intro {
    padding: 2rem 0 1rem;
  }
}

@media (max-width: 767.98px) {
  .site-header--overlay {
    padding-top: 1.25rem;
  }

  .home-hero {
    height: 75vh;
    min-height: 460px;
  }

  .home-intro {
    padding: 3.5rem 0 5rem;
  }

  .home-intro__text {
    margin-bottom: 2.5rem;
  }

  .spotlight-card .post-card__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .spotlight-card .post-card__body {
    padding: 1.25rem 1.1rem;
  }

  .home-collections .section-heading {
    padding-top: 4.5rem;
  }

  .home-market__body {
    margin-bottom: 3rem;
  }

  .home-moments {
    padding: 4rem 0 5rem;
  }
}

/* =========================================
   PROPIEDAD · HERO SLIDER
   ========================================= */
.prop-hero__carousel {
  position: relative;
  background-color: #1d2230;
}

.prop-hero__slide {
  display: block;
  height: clamp(380px, 78vh, 820px);
  cursor: zoom-in;
}

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

/* Título fijo sobre todas las fotos */
.prop-hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 3rem 1.25rem 2rem;
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.prop-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #ffffff;
  max-width: 12ch;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  .prop-hero__caption {
    padding: 4rem 1.75rem 2.25rem;
  }
}

/* Flechas discretas */
.prop-hero__control {
  z-index: 3;
  width: 4.5rem;
  opacity: 0;
  font-size: 1.75rem;
  transition: opacity 0.3s ease;
}

.prop-hero__carousel:hover .prop-hero__control,
.prop-hero__control:focus-visible {
  opacity: 0.85;
}

.is-single .prop-hero__control,
.is-single .prop-hero__meta {
  display: none;
}

/* Contador + icono de deslizar */
.prop-hero__meta {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
  pointer-events: none;
}

.prop-hero__counter {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.swipe-hint {
  display: inline-block;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: swipe-hint 2.4s ease-in-out infinite;
}

.swipe-hint--dark {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 0 1px var(--color-heading);
}

@keyframes swipe-hint {
  0%, 100% { transform: translateX(0) rotate(0); }
  50%      { transform: translateX(-10px) rotate(-12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-hint {
    animation: none;
  }
}

/* =========================================
   PROPIEDAD · PROPERTY DETAILS
   ========================================= */
.prop-details {
  padding: 5rem 0 5rem;
}

.prop-details__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 2.5rem;
}

.prop-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3.5rem;
}

.prop-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prop-stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--color-heading);
  white-space: nowrap;
}

.prop-stat__value small {
  font-size: 0.4em;
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
  text-transform: uppercase;
}

.prop-stat__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-heading);
  margin-top: 0.5rem;
}

@media (max-width: 575.98px) {
  .prop-stats {
    gap: 1.75rem 2rem;
  }

  .prop-stat--price {
    flex-basis: 100%;
  }
}

/* =========================================
   PROPIEDAD · TABS
   ========================================= */
.prop-tabs {
  padding: 3rem 0 3rem;
}

.prop-panel {
  min-height: 560px;
}

.prop-panel__media {
  position: relative;
  height: 100%;
  min-height: 320px;
  background-color: var(--color-panel);
}

.prop-panel__media img,
.prop-panel__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.prop-panel__text {
  position: relative;
  height: 100%;
}

@media (min-width: 992px) {
  .prop-panel__text {
    padding: 4.5rem 4.5rem 4rem 5rem;
  }
}

.prop-panel__body {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: #222222;
  max-width: 27rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #c9ced6 transparent;
}

.prop-panel__body p {
  margin-bottom: 1.2rem;
}

/* Key facts */
.prop-facts {
  max-width: 27rem;
}

.prop-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #d6dae0;
}

.prop-facts dt {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.prop-facts dd {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: #222222;
  text-align: right;
  margin: 0;
}

/* Mapa / vídeo con carga bajo demanda */
.prop-embed__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background-color: #dfe3e8;
}

.prop-embed__placeholder > i {
  font-size: 2.25rem;
  color: var(--color-heading);
}

.prop-embed__placeholder p {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: #555555;
  max-width: 20rem;
  margin: 0;
}

/* Navegación de tabs */
.prop-tabs__nav {
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 2.25rem;
  margin-top: 2.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.prop-tabs__nav::-webkit-scrollbar {
  display: none;
}

.prop-tabs__btn {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #aab4c1;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease, font-size 0.2s ease;
}

.prop-tabs__btn:hover {
  color: var(--color-heading);
}

.prop-tabs__btn.active {
  font-size: 1.45rem;
  letter-spacing: 0;
  color: var(--color-heading);
}

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

@media (max-width: 991.98px) {
  .prop-panel {
    min-height: 0;
  }

  .prop-panel__media {

  }

  .prop-panel__body {
    max-height: none;
  }

  .prop-tabs__nav {
    justify-content: flex-start;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
            mask-image: linear-gradient(to right, #000 85%, transparent);
  }
}

/* =========================================
   PROPIEDAD · BROCHURE + HIGHLIGHTS
   ========================================= */
.prop-brochure {
  padding: 5rem 0 6rem;
}

.prop-brochure__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--color-heading);
  margin-bottom: 2rem;
}

.brochure-card {
  position: relative;
  max-width: 26rem;
  background-color: #f4f4f3;
  padding: 1rem 1rem 2rem;
  text-align: center;
}

.brochure-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.brochure-card:hover .brochure-card__img {
  transform: scale(1.03) rotate(-1deg);
}

.brochure-card__link {
  margin-top: 0.75rem;
}

.brochure-card__link::before {
  width: 5.5rem;
}

.brochure-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
}

.brochure-extra a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-heading);
  text-decoration: none;
}

.brochure-extra a:hover {
  color: var(--color-text);
}

/* Highlights separados por | */
.prop-highlights {
  display: flex;
  flex-wrap: wrap;
  max-width: 28rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #444444;
}

.prop-highlights li:not(:last-child)::after {
  content: "|";
  margin: 0 0.45rem;
  color: #9aa3b0;
}

/* =========================================
   PROPIEDAD · FORMULARIO
   ========================================= */
.prop-enquiry .section-heading {
  padding-top: 2rem;
}

.prop-enquiry .line-input.form-control {
  margin-bottom: 1rem;
}



/* =========================================
   LISTADO · BARRA DE BÚSQUEDA
   ========================================= */
.search-bar {
  position: relative;
  z-index: 20;
  background-color: #e6e9ee;
  box-shadow: 0 6px 20px rgba(30, 40, 60, 0.05);
}

.search-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 2.75rem;
  row-gap: 1rem;
  padding: 3.25rem 3rem 3.25rem 0;
}

/* Botón de cada filtro: "Location ⌄" */
.search-filter__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.06em;
  line-height: 1.2;
  color: #7a8aa2;
  background: none;
  border: 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.search-filter__toggle:hover,
.search-filter__toggle[aria-expanded="true"],
.search-filter__toggle.has-value {
  color: var(--color-heading);
}

.search-filter__toggle:focus-visible,
.search-bar__more:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.search-filter__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.search-filter__toggle[aria-expanded="true"] .search-filter__chevron {
  transform: rotate(180deg);
}

/* Punto que indica filtro activo */
.search-filter__toggle.has-value {
  position: relative;
}

.search-filter__toggle.has-value::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: -0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--color-heading);
}

/* Menú desplegable (sobrescribe .dropdown-menu) */
.search-filter__menu.dropdown-menu {
  min-width: 15rem;
  margin-top: 0.75rem !important;
  padding: 1.1rem 1.25rem;
  border: 0;
  border-radius: 0.35rem;
  box-shadow: 0 16px 36px rgba(30, 40, 60, 0.14);
}

.search-filter__menu--scroll.dropdown-menu {
  max-height: 20rem;
  overflow-y: auto;
}

.search-filter__menu--wide.dropdown-menu {
  min-width: 20rem;
}

.search-check {
  padding: 0.3rem 0 0.3rem 1.75rem;
  margin: 0;
}

.search-check .form-check-input {
  border-color: #9aa3b0;
  cursor: pointer;
}

.search-check .form-check-input:checked {
  background-color: var(--color-heading);
  border-color: var(--color-heading);
}

.search-check .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(86, 103, 127, 0.2);
}

.search-check .form-check-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #333333;
  cursor: pointer;
}

.search-field__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.1rem;
}

.search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-filter__menu .topic-chip {
  border-color: #d6dae0;
}

.form-select.line-input {
  background-color: transparent;
  background-position: right 0.25rem center;
  padding-right: 1.75rem;
}

/* Buy | Rent */
.search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.06em;
}

.search-toggle__label {
  color: #aab4c1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-toggle__label:hover,
.btn-check:checked + .search-toggle__label {
  color: var(--color-heading);
}

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

.search-toggle__sep {
  font-size: 0.8em;
  color: #aab4c1;
}

/* Show results */
.search-bar__submit.btn {
  padding: 0.8rem 3.25rem 0.8rem 1.4rem;
}

@media (min-width: 1200px) {
  .search-bar__submit.btn {
    margin-left: 1rem;
  }
}

/* Botón de más filtros */
.search-bar__more {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  padding: 0.25rem;
  font-size: 1.15rem;
  color: var(--color-heading);
  background: none;
  border: 0;
}

.search-bar__more[aria-expanded="true"] {
  color: var(--color-text);
}

/* Panel avanzado */
.search-advanced {
  padding: 0.5rem 0 2.5rem;
  border-top: 1px solid #d3d8df;
}

.search-advanced .row {
  padding-top: 1.75rem;
}

.search-advanced .topic-chip {
  font-size: 0.82rem;
}

.search-advanced__actions {
  margin-top: 1.75rem;
}

/* =========================================
   LISTADO · YOUR SELECTION
   ========================================= */
.selection {
  padding: 1.5rem 0 1.25rem;
}

.selection__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.selection__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.05em;
  color: var(--color-heading);
}

.selection__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.selection-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.5rem 0.4rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-heading);
  background: none;
  border: 1px solid var(--color-heading);
  border-radius: 2rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.selection-chip i {
  font-size: 1.1rem;
  line-height: 1;
}

.selection-chip:hover,
.selection-chip:focus-visible {
  background-color: var(--color-heading);
  color: #ffffff;
}

.selection__count {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa3b0;
  margin-left: 0.5rem;
}

/* =========================================
   LISTADO · TARJETAS
   ========================================= */
.listing {
  padding: 2rem 0 5rem;
}

.listing-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  background-color: #1d2230;
  color: #ffffff;
}

.listing-card__media {
  aspect-ratio: 5 / 6;
}

.listing-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.listing-card:hover .listing-card__img,
.listing-card:focus-within .listing-card__img {
  transform: scale(1.04);
}

/* La tarjeta ancha toma la altura de su compañera de fila */
@media (min-width: 992px) {
  .listing-card--wide .listing-card__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .listing-card--wide {
    min-height: 440px; /* por si es el único resultado */
  }
}

@media (max-width: 991.98px) {
  .listing-card--wide .listing-card__media {
    aspect-ratio: 4 / 3;
  }
}

/* Degradado para legibilidad */
.listing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

.listing-card__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.9rem 0.9rem 0 1rem;
}

.listing-card__ref {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.listing-card__actions {
  display: flex;
  gap: 0.5rem;
}

.listing-action {
  position: relative;
  z-index: 3; /* por encima del stretched-link */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
  color: var(--color-heading);
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.listing-action .bi-reply {
  transform: scaleX(-1);
}

.listing-action:hover {
  background-color: #ffffff;
  transform: scale(1.06);
}

.listing-action.is-active {
  color: #b24a4a;
}

.listing-action:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.listing-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1rem 1.25rem;
}

@media (min-width: 992px) {
  .listing-card__body {
    padding: 1.5rem 1.25rem 1.4rem;
  }
}

.listing-card__location {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.listing-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.9rem;
  max-width: 16ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.listing-card--wide .listing-card__title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 18ch;
}

.listing-card__title a {
  color: #ffffff;
  text-decoration: none;
}

.listing-card__title a:focus-visible {
  outline: none;
}

.listing-card__title a:focus-visible::after {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

.listing-card__price {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.listing-card__price small {
  font-size: 0.55em;
  letter-spacing: 0.04em;
}

/* Sin resultados: "Haven't found what you are looking for?" */
.listing-empty {
  padding: 5rem 0 4rem;
}

.listing-empty__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #8e9bb0;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.listing-empty__lead {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--color-heading);
  margin-bottom: 2.75rem;
}

.listing-empty__cta {
  display: flex;
  width: fit-content;
}

.listing-empty__clear {
  display: inline-block;
  margin-top: 1.25rem;
  padding-left: 3.5rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: #9aa3b0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listing-empty__clear:hover {
  color: var(--color-heading);
}

/* Aviso flotante (favoritos / enlace copiado) */
.listing-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 1080;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: var(--color-heading);
  border-radius: 2rem;
  opacity: 0;
  transform: translate(-50%, 1rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.listing-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive buscador ---------- */
@media (max-width: 991.98px) {
  .search-bar__row {
    column-gap: 2rem;
    padding: 2.25rem 2.5rem 2.25rem 0;
  }
}

@media (max-width: 767.98px) {
  .search-bar__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
    padding: 1.75rem 0 3.5rem;
  }

  .search-filter__toggle,
  .search-toggle {
    font-size: 1.45rem;
  }

  .search-filter__chevron {
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.65rem;
  }

  .search-bar__submit.btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .search-filter__menu.dropdown-menu,
  .search-filter__menu--wide.dropdown-menu {
    min-width: min(20rem, calc(100vw - 2rem));
  }

  .selection__title {
    width: 100%;
  }
}


/* =========================================
   LISTADO · LOCATION EN ÁRBOL (3 niveles)
   ========================================= */
.loc-menu.dropdown-menu {
  width: min(32rem, calc(100vw - 2rem));
  max-height: 26rem;
  overflow-y: auto;
  padding: 0;
  background-color: #e6e9ee;
  border-radius: 0;
  box-shadow: 0 18px 36px rgba(30, 40, 60, 0.12);
}

.loc-row {
  position: relative;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  transition: background-color 0.15s ease;
}

.loc-row:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Fila seleccionada: fondo blanco como en el diseño */
.loc-row:has(.loc-check:checked) {
  background-color: #ffffff;
}

.loc-label,
.loc-row--all {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--color-heading);
  text-align: left;
  cursor: pointer;
}

.loc-row--all {
  display: block;
  width: 100%;
  padding-left: 1.25rem;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.loc-row--all:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.loc-label span {
  color: #7a8aa2;
  margin-left: 0.2rem;
}

/* Sangría por nivel */
.loc-row--l1 .loc-label { padding-left: 3rem; }
.loc-row--l2 .loc-label { padding-left: 5.5rem; }
.loc-row--l3 .loc-label { padding-left: 8rem; font-size: 1.2rem; }

/* Marca de seleccionado / parcial */
.loc-label::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: -1rem;
  border-radius: 50%;
  transform: translateY(-50%);
}

.loc-check:checked + .loc-label::before {
  background-color: var(--color-heading);
}

.loc-row.is-partial .loc-label::before {
  border: 1px solid var(--color-heading);
}

.loc-check:focus-visible + .loc-label {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

/* Botón de desplegar subniveles */
.loc-expand {
  flex: 0 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading);
  background: none;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.75);
}

.loc-expand i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.loc-expand[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.loc-expand:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 575.98px) {
  .loc-row--l1 .loc-label { padding-left: 2rem; }
  .loc-row--l2 .loc-label { padding-left: 3.25rem; }
  .loc-row--l3 .loc-label { padding-left: 4.5rem; }

  .loc-label,
  .loc-row--all {
    font-size: 1.15rem;
  }
}





.listing-card__location, .listing-card__price{
  color: #fff;
}



/* =========================================
   YATES · DETALLE (complementos)
   ========================================= */
.prop-panel__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000000;
}

/* Lista de especificaciones larga: scroll dentro del panel en escritorio */
@media (min-width: 992px) {
  .prop-facts--scroll {
    max-height: 24rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #c9ced6 transparent;
  }
}
/* =========================================
   COLECCIONES · DETALLE
   ========================================= */
.collection-intro__body {
  max-width: 44rem;
}

.collection-intro__body p:last-child {
  margin-bottom: 0;
}

/* En colecciones las filas van dentro de un container */
.collection-zones {
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .collection-zones .spotlight-text {
    padding: 2.75rem 0 2.75rem 2.25rem;
    box-shadow: none;
  }
}


/* =========================================
   MARKET GUIDE
   ========================================= */
/* Mercados: lema y destinos bajo cada tarjeta */
.market-card__tagline {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}
 
.market-card__list li {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: #6b7a90;
}
 
/* Proceso de compra */
.guide-process .section-heading {
  padding-top: 5rem;
}
 
.guide-process .prop-tabs {
  padding-top: 0;
}
 
/* Número grande del paso sobre la imagen */
.step-panel__num {
  position: absolute;
  left: 1.5rem;
  bottom: 0.5rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
 
/* Navegación de pasos: número + nombre */
.step-tabs {
  gap: 0.5rem 2.5rem;
}
 
.step-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 1rem;
}
 
.step-tab.active {
  font-size: 1.2rem;
}
 
.step-tab__num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #aab4c1;
}
 
.step-tab.active .step-tab__num {
  color: var(--color-heading);
}
 
.guide-cta {
  padding-bottom: 2rem;
}

/* =========================================
   SIGNATURE NEIGHBORHOODS
   ========================================= */
.area-hero__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
 
/* Índice rápido de barrios */
.area-jump {
  margin-bottom: 4rem;
}
 
.area-jump ul {
  gap: 0.6rem;
}
 
.area-jump .topic-chip {
  border-color: #d6dae0;
  text-decoration: none;
}
 
.area-jump .topic-chip:hover,
.area-jump .topic-chip:focus-visible {
  background-color: var(--color-heading);
  border-color: var(--color-heading);
  color: #ffffff;
}
 
/* Bloque de cada barrio */
.area-block {
  padding: 3.5rem 0;
  border-top: 1px solid #e3e6ea;
  scroll-margin-top: 1.5rem;
}
 
.area-block:last-child {
  padding-bottom: 5rem;
}
 
.area-block__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
 
/* En escritorio la imagen acompaña al texto al hacer scroll */
@media (min-width: 992px) {
  .area-block__media {
    position: sticky;
    top: 2rem;
  }
}
 
.area-block__title {
  margin-bottom: 2rem;
}
 
/* Character, Lifestyle, Location… */
.area-facts__item + .area-facts__item {
  margin-top: 1.5rem;
}
 
.area-facts dt {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}
 
.area-facts dd {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.7;
  color: #333333;
  max-width: 40rem;
  margin: 0;
}
 
.area-block__link {
  margin-top: 2rem;
}
 
@media (max-width: 767.98px) {
  .area-jump {
    margin-bottom: 2.5rem;
  }
 
  .area-block {
    padding: 2.5rem 0;
  }
 
  .area-block__media img {
    aspect-ratio: 4 / 3;
  }
}
