/* ==========================================================================
   Fincas Maricel — Hoja de estilos principal (Inicio 1:1)
   ========================================================================== */

:root {
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --color-white: #ffffff;
  --color-black: #111111;
  --color-text: #222222;
  --color-text-muted: #555555;
  --color-text-light: #777777;
  --color-border: #ececec;

  --color-footer-bg: #444444;
  --color-footer-text: #e4e4e4;
  --color-footer-muted: #bdbdbd;
  --color-accent-coral: #e55c5c;
  --color-accent-coral-hover: #d44949;
  --color-blush-btn: #e8b8b8;
  --color-blush-btn-hover: #dfa4a4;

  --color-cookie-bg: #222224;
  --color-scrolltop-bg: #cde4e9;
  --color-scrolltop-icon: #2d5e67;

  --container-max: 1320px;
  --banner-max: 1360px;
  --footer-max: 1320px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18.5px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   BRAND MARK (reutilizado en Header y Footer)
   ========================================================================== */

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: rgba(242, 245, 246, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
  transition: opacity var(--transition-fast);
}

.brand-mark:hover {
  opacity: 0.9;
}

.brand-mark__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(37px, 3vw, 48.5px);
  line-height: 1.05;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark__divider {
  width: 104px;
  height: 1px;
  background-color: rgba(242, 245, 246, 0.68);
  margin: 13px 0 11px;
}

.brand-mark__since {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235, 241, 242, 0.9);
}

.brand-mark--footer {
  text-shadow: none;
}

.brand-mark--footer .brand-mark__name {
  font-size: clamp(35px, 2.6vw, 44px);
  letter-spacing: 0.17em;
}

.brand-mark--footer .brand-mark__divider {
  width: 96px;
  margin: 12px 0 10px;
  background-color: rgba(255, 255, 255, 0.65);
}

.brand-mark--footer .brand-mark__since {
  font-size: 15px;
  letter-spacing: 0.22em;
}

/* ==========================================================================
   HEADER EXTERNO (superpuesto al Hero en Inicio)
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 10px clamp(16px, 2.2vw, 32px) 0 clamp(22px, 2.4vw, 36px);
  pointer-events: none;
}

.site-header--solid {
  position: relative;
  background-color: var(--color-footer-bg);
  padding-bottom: 24px;
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.site-header__left,
.site-header__right {
  pointer-events: auto;
}

.site-header__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header__right {
  margin-top: -10px;
}

.main-nav {
  margin-top: 46px;
  padding-left: 8px;
}

.main-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.main-nav__item {
  display: flex;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
  background-color: rgba(20, 34, 38, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 3px;
  backdrop-filter: blur(1px);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.main-nav__link:hover,
.main-nav__link:focus-visible {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.92);
}

.main-nav__link.is-active {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.78);
}

.sticky-drawer-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
}

.sticky-drawer-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: #222222;
}

/* Estado STICKY de la cabecera al hacer scroll tras el Hero */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 10px clamp(20px, 3vw, 44px);
  pointer-events: auto;
  animation: stickyHeaderFade 0.24s ease;
}

@keyframes stickyHeaderFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header.is-sticky .site-header__inner {
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.site-header.is-sticky .site-header__left {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 12px;
}

.site-header.is-sticky .brand-mark {
  color: #9b1e2e;
  text-shadow: none;
}

.site-header.is-sticky .brand-mark__name {
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: 0.2em;
}

.site-header.is-sticky .brand-mark__divider {
  width: 64px;
  background-color: #666666;
  margin: 5px 0 4px;
}

.site-header.is-sticky .brand-mark__since {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #333333;
}

.site-header.is-sticky .main-nav {
  margin-top: 0;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header.is-sticky .main-nav__list {
  flex-direction: row;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-header.is-sticky .main-nav__link {
  min-width: auto;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  color: #222222;
  background-color: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  text-shadow: none;
}

.site-header.is-sticky .main-nav__link:hover,
.site-header.is-sticky .main-nav__link:focus-visible,
.site-header.is-sticky .main-nav__link.is-active {
  color: #d94b4b;
  background-color: transparent;
}

.site-header.is-sticky .sticky-drawer-btn {
  display: inline-flex;
}

.site-header.is-sticky .site-header__right {
  position: fixed;
  top: 0;
  right: clamp(12px, 1.8vw, 24px);
  margin-top: 0;
  z-index: 110;
}

.site-header.is-sticky .nav-toggle {
  background: transparent;
  border-color: #cccccc;
}

.site-header.is-sticky .nav-toggle__bar {
  background-color: #222222;
}

/* Botón menú móvil */
.nav-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  width: 40px;
  height: 38px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Selector de idioma superior derecho */
.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  color: var(--color-text);
  border: none;
  border-radius: 0 0 4px 4px;
  padding: 8px 12px 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lang-switcher__btn:hover {
  background-color: #f4f4f4;
}

.lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-switcher__chevron {
  transition: transform var(--transition-fast);
  color: #555;
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 250;
  min-width: 170px;
  list-style: none;
  background-color: var(--color-white);
  border-radius: 4px;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  background: transparent;
  border: none;
  font-family: var(--font-sans), system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lang-switcher__menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.lang-switcher__label {
  display: inline-block;
  color: var(--color-text);
  line-height: 1.3;
}

.lang-switcher__option:hover,
.lang-switcher__option.is-selected {
  background-color: #f3f5f6;
}

/* ==========================================================================
   HERO CON VÍDEO AÉREO DE SITGES
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: clamp(580px, 84vh, 760px);
  overflow: hidden;
  background-color: #2c6268;
}

.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__poster {
  z-index: 0;
}

.hero__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__video.is-ready {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 34, 38, 0.22) 0%, rgba(14, 34, 38, 0.08) 32%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0) 28%);
  pointer-events: none;
}

/* ==========================================================================
   SECCIÓN 1: PRESENTACIÓN / SOBRE FINCAS MARICEL
   ========================================================================== */

.intro-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px 20px 96px;
}

.intro-section__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}

.intro-section__content {
  max-width: 490px;
  margin-left: auto;
}

.intro-section__lead {
  font-size: 20.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #4a4a4a;
  margin-bottom: 24px;
}

.intro-section__text {
  font-size: 18.5px;
  font-weight: 300;
  line-height: 1.75;
  color: #555555;
  margin-bottom: 24px;
}

.intro-section__text--spaced {
  margin-top: 44px;
}

.intro-section__text:last-child {
  margin-bottom: 0;
}

.intro-section__media {
  width: 100%;
  overflow: hidden;
}

.intro-section__image {
  width: 100%;
  min-height: 520px;
  aspect-ratio: 1 / 0.96;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   SECCIONES 2 Y 4: BANNERS PROMOCIONALES (VENTA Y ALQUILER)
   ========================================================================== */

.promo-section {
  max-width: var(--banner-max);
  margin: 0 auto 84px;
  padding: 0 20px;
}

.promo-banner {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #2b2b2b;
}

.promo-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.promo-banner:hover .promo-banner__bg {
  transform: scale(1.02);
}

.promo-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.34) 45%,
      rgba(0, 0, 0, 0.6) 100%);
}

.promo-banner__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 52px 56px;
  text-align: right;
  color: var(--color-white);
}

.promo-banner__title {
  font-size: clamp(24.5px, 2.1vw, 30px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.promo-banner__text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.93);
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.promo-banner__cta-wrap {
  display: flex;
  justify-content: center;
  padding-left: 72px;
}

.promo-banner__cta {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-white);
  padding: 10px 30px;
  transition: background-color var(--transition-fast), opacity var(--transition-fast);
}

/* Estilo de botón con barras laterales verticales (Banner Venta) */
.promo-banner__cta--brackets {
  border-left: 1.5px solid rgba(255, 255, 255, 0.9);
  border-right: 1.5px solid rgba(255, 255, 255, 0.9);
}

.promo-banner__cta--brackets:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

/* Estilo de botón con líneas horizontales superior e inferior (Banner Alquiler) */
.promo-banner__cta--rules {
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.promo-banner__cta--rules:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   SECCIÓN 3: SELECCIÓN DE INMUEBLES (Preparado para JS dinámico)
   ========================================================================== */

.properties-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 20px 88px;
}

.properties-section__title {
  font-size: clamp(19.5px, 1.7vw, 24.5px);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 42px;
}

.properties-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.properties-carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.properties-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  transition: transform var(--transition-base);
}

.properties-carousel__arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid #e6e6e6;
  color: #888888;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.properties-carousel__arrow:hover {
  color: var(--color-text);
  border-color: #cccccc;
  background-color: #fafafa;
}

.properties-carousel__arrow--prev {
  left: -46px;
}

.properties-carousel__arrow--next {
  right: -46px;
}

/* Tarjeta de inmueble (estructura estándar para el futuro JS) */
.property-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid #efefef;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.045);
  content-visibility: auto;
  contain-intrinsic-size: 380px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.property-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.6;
  overflow: hidden;
  background-color: #e9ecef;
}

.property-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.property-card:hover .property-card__img {
  transform: scale(1.04);
}

.property-card__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.property-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
}

.property-card__dot.is-active {
  background-color: var(--color-white);
}

.property-card__body {
  padding: 22px 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-card__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-card__ref {
  font-size: 14.5px;
  color: var(--color-text-light);
  margin-top: 5px;
}

.property-card__price {
  font-size: 24.5px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 16px 0 18px;
}

.property-card__specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 15px;
  color: var(--color-text-muted);
}

.property-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.property-card__spec svg {
  color: #999999;
  flex-shrink: 0;
}

.property-card__footer {
  padding-top: 12px;
  text-align: left;
  font-size: 14.5px;
  color: var(--color-text-light);
}

.properties-section__action {
  margin-top: 34px;
  text-align: center;
}

.properties-section__more {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  padding-bottom: 3px;
  border-bottom: 1px solid #999999;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.properties-section__more:hover {
  color: var(--color-black);
  border-bottom-color: var(--color-black);
}

/* ==========================================================================
   SECCIÓN 5: NUESTROS PORTALES INMOBILIARIOS (PLACEHOLDERS 4x3)
   ========================================================================== */

.portals-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 20px 96px;
}

.portals-section__title {
  font-size: clamp(20.5px, 1.7vw, 24.5px);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 42px;
}

.portals-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 36px;
}

.portals-grid--logos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 36px 48px;
}

.portal-logo {
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.portal-logo img {
  max-width: 210px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.portal-logo img:hover {
  transform: scale(1.04);
}

.portal-placeholder {
  height: 136px;
  border: 1.5px dashed #d5d5d5;
  border-radius: 4px;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  text-align: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.portal-placeholder:hover {
  border-color: #b5b5b5;
  background-color: #f4f4f4;
}

.portal-placeholder__name {
  font-size: 15px;
  font-weight: 600;
  color: #444444;
  letter-spacing: 0.02em;
}

.portal-placeholder__tag {
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999999;
}

/* ==========================================================================
   PÁGINA INTERIOR: SOBRE NOSOTROS
   ========================================================================== */

.site-header--inner:not(.is-sticky) .site-header__inner {
  align-items: center;
}

.site-header--inner:not(.is-sticky) .site-header__left {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 110px;
}

.site-header--inner:not(.is-sticky) .main-nav {
  margin-top: 0;
  padding-left: 0;
}

.site-header--inner:not(.is-sticky) .main-nav__list {
  flex-direction: row;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.site-header--inner:not(.is-sticky) .main-nav__link {
  min-width: auto;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  background-color: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
}

.site-header--inner:not(.is-sticky) .main-nav__link.is-active {
  color: #e55c5c;
  background-color: transparent;
}

.page-hero {
  position: relative;
  width: 100%;
  height: clamp(380px, 50vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #2b2b2b;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.page-hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: clamp(37px, 3.2vw, 51px);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin-top: 42px;
}

.intro-section__heading {
  font-size: clamp(18.5px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 18px;
}

.intro-section__image--facade {
  min-height: 400px;
  aspect-ratio: 4 / 3;
}

.testimonials-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 20px 96px;
}

.testimonials-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-stars {
  display: inline-flex;
  gap: 6px;
  font-size: 28px;
  color: #f4c137;
  margin-bottom: 24px;
}

.testimonials-quote {
  font-size: clamp(19.5px, 1.75vw, 24.5px);
  font-weight: 500;
  line-height: 1.55;
  color: #2b2b2b;
  margin-bottom: 26px;
}

.testimonials-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.testimonials-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent-coral);
  margin-top: 3px;
}

.testimonials-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.testimonials-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background-color: #d4d4d4;
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.testimonials-dot.is-active {
  background-color: #666666;
  transform: scale(1.15);
}

.intro-section__content--left {
  margin-left: 0;
}

.btn-outline-dark {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 22px;
  background-color: var(--color-white);
  color: var(--color-text);
  border: 1px solid #444444;
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-outline-dark:hover {
  background-color: #222222;
  color: var(--color-white);
}

.catalog-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 52px 20px 96px;
}

.catalog-filters {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 22px 24px;
  margin-bottom: 34px;
}

.catalog-filters__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.catalog-filters__row--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Barra superior: COMPRA / resultados + Ordenar por + Selector de vista */
.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.catalog-toolbar__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-toolbar__op {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #24303c;
}

.catalog-toolbar__count {
  font-size: 17.5px;
  font-weight: 600;
  color: #6b7886;
}

.catalog-toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.catalog-toolbar__sort-label {
  font-size: 16px;
  color: #7c8794;
}

.catalog-toolbar__sort {
  min-width: 210px;
  padding: 10px 14px;
  border: 1px solid #d5dbe1;
  border-radius: 5px;
  background-color: var(--color-white);
  font-size: 17px;
  color: #2c3744;
  outline: none;
  cursor: pointer;
}

.catalog-toolbar__views {
  display: inline-flex;
  gap: 6px;
}

.catalog-view-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #e4e8ec;
  border-radius: 5px;
  background-color: #f5f7f9;
  color: #9aa5b1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.catalog-view-btn.is-active,
.catalog-view-btn:hover {
  background-color: #eceff2;
  border-color: #cfd6dd;
  color: #24303c;
}

/* Vista de lista horizontal (1:1 con captura de referencia, tamaño ampliado) */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.property-list-card {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  background-color: var(--color-white);
  border: 1px solid #eceff2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  content-visibility: auto;
  contain-intrinsic-size: 260px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.property-list-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.property-list-card__media {
  position: relative;
  width: 100%;
  min-height: 255px;
  height: 100%;
  overflow: hidden;
  background-color: #e9ecef;
}

.property-list-card:hover .property-card__img {
  transform: scale(1.03);
}

.property-list-card__body {
  padding: 26px 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.property-list-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.property-list-card__title {
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 700;
  color: #24303c;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.property-list-card__title a:hover {
  color: #9b1e2e;
}

.property-list-card__price {
  font-size: clamp(24.5px, 2.1vw, 30px);
  font-weight: 700;
  color: #24303c;
  white-space: nowrap;
  flex-shrink: 0;
}

.property-list-card__ref {
  margin-top: 8px;
  font-size: 17.5px;
  color: #495664;
}

.property-list-card__excerpt {
  margin: 14px 0 20px;
  font-size: 17.5px;
  line-height: 1.6;
  color: #5b6775;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-list-card__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f3f5;
  font-size: 17.5px;
  color: #3a4654;
}

.property-list-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.property-list-card__spec svg {
  color: #b4bec8;
}

.property-list-card__footer {
  padding-top: 14px;
  font-size: 16px;
  color: #8c97a4;
}

@media (max-width: 820px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-list-card {
    grid-template-columns: 1fr;
  }

  .property-list-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .property-list-card__top {
    flex-direction: column;
    gap: 6px;
  }

  .property-list-card__title {
    white-space: normal;
  }
}

.catalog-filters__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-filters__group label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555555;
}

.catalog-filters__group input,
.catalog-filters__group select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8dce0;
  border-radius: 3px;
  background-color: var(--color-white);
  font-size: 17px;
  color: var(--color-text);
  outline: none;
}

.catalog-filters__group input:focus,
.catalog-filters__group select:focus {
  border-color: #666666;
}

.catalog-filters__bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e6e9ec;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.catalog-filters__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 16px;
  color: #444444;
}

.catalog-filters__checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.catalog-filters__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.catalog-filters__count {
  font-size: 14.5px;
  font-weight: 600;
  color: #333333;
}

.catalog-filters__reset {
  background: transparent;
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: 6px 14px;
  font-size: 14px;
  color: #444444;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.catalog-filters__reset:hover {
  background-color: #222222;
  border-color: #222222;
  color: var(--color-white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-muted);
  font-size: 16px;
}

/* ==========================================================================
   PÁGINA ESTÁTICA INDIVIDUAL DE PROPIEDAD (public/propiedades/*.html - 1:1)
   ========================================================================== */

.page-hero--compact {
  height: clamp(140px, 18vh, 190px);
}

.single-property {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 20px 84px;
}

.single-property__main-title {
  font-size: clamp(28px, 2.7vw, 39.5px);
  font-weight: 700;
  line-height: 1.25;
  color: #222222;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.single-property__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #efefef;
  margin-bottom: 16px;
}

.single-property__pager-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 46%;
  min-width: 0;
  color: #444444;
}

.single-property__pager-link > span:not(.single-property__pager-arrow) {
  min-width: 0;
  overflow: hidden;
}

.single-property__pager-link small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #888888;
}

.single-property__pager-link strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-property__pager-link--next {
  text-align: right;
  margin-left: auto;
}

.single-property__pager-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f2f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.single-property__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 14.5px;
  color: #777777;
  margin-bottom: 24px;
}

.single-property__back {
  font-weight: 600;
  color: #333333;
}

.single-property__back:hover {
  color: var(--color-accent-coral);
}

.single-gallery {
  margin-bottom: 34px;
}

.single-gallery__stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 58vh, 560px);
  background-color: #181818;
  overflow: hidden;
}

.single-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

/* Lightbox a pantalla completa para la galería */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: rgba(10, 12, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  user-select: none;
}

.gallery-lightbox__close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.gallery-lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.gallery-lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox__nav--prev {
  left: 18px;
}

.gallery-lightbox__nav--next {
  right: 18px;
}

.gallery-lightbox__counter {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.65);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.single-gallery__badge {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.72);
  color: var(--color-white);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 500;
}

.single-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 10px;
  max-height: 112px;
  overflow-x: auto;
  overflow-y: hidden;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
}

.single-gallery__thumb {
  height: 104px;
  border: 2px solid transparent;
  padding: 0;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
}

.single-gallery__thumb.is-active {
  border-color: var(--color-accent-coral);
}

.single-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-summary {
  padding-bottom: 24px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 28px;
}

.single-summary__type {
  font-size: 14.5px;
  color: #888888;
  margin-bottom: 6px;
}

.single-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.single-summary__title {
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 700;
  color: #222222;
  text-transform: uppercase;
}

.single-summary__price {
  font-size: clamp(28px, 2.3vw, 35px);
  font-weight: 500;
  color: #666666;
  white-space: nowrap;
}

.single-summary__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 17px;
  color: #444444;
}

.single-block {
  padding-bottom: 28px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 28px;
}

.single-block__heading {
  font-size: 21px;
  font-weight: 500;
  color: #777777;
  margin-bottom: 18px;
}

.single-essentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

.single-essentials__item {
  font-size: 15.5px;
  color: #444444;
}

.single-essentials__label {
  color: #666666;
  margin-right: 4px;
}

.single-features-list {
  margin-top: 20px;
}

.single-description {
  font-size: 17px;
  line-height: 1.8;
  color: #444444;
}

.single-description p {
  margin-bottom: 12px;
}

.single-description.is-collapsed {
  max-height: 128px;
  overflow: hidden;
  position: relative;
}

.single-description.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.single-description__toggle {
  margin-top: 10px;
  background: transparent;
  border: none;
  font-size: 15.5px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  padding: 0;
}

.single-location__label {
  font-size: 15.5px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.single-location__value {
  font-size: 16px;
  color: #555555;
  text-transform: uppercase;
}

.single-inquiry {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.single-inquiry__card {
  width: 100%;
  max-width: 520px;
  background-color: #a4a4a4;
  border-radius: 8px;
  padding: 32px 28px 28px;
  color: var(--color-white);
}

.single-inquiry__title {
  text-align: center;
  font-size: 18.5px;
  font-weight: 600;
  margin-bottom: 18px;
}

.single-inquiry__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.single-inquiry__form label {
  font-size: 14px;
  font-weight: 500;
}

.single-inquiry__form input[type='text'],
.single-inquiry__form input[type='email'],
.single-inquiry__form input[type='tel'],
.single-inquiry__form textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 3px;
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 15.5px;
  margin-bottom: 6px;
  outline: none;
}

.single-inquiry__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 6px 0 12px;
  cursor: pointer;
}

.single-inquiry__consent a {
  text-decoration: underline;
}

.single-inquiry__submit {
  align-self: center;
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.single-inquiry__submit:hover {
  background-color: var(--color-accent-coral-hover);
}

.single-inquiry__feedback {
  text-align: center;
  font-size: 14.5px;
  min-height: 18px;
  margin-top: 6px;
}

.single-inquiry__feedback.is-error {
  color: #ffe2e2;
}

.single-inquiry__feedback.is-success {
  color: #e2ffe9;
}

@media (max-width: 820px) {
  .single-essentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-summary__row {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   FICHA INDIVIDUAL DE PROPIEDAD (propiedad.html)
   ========================================================================== */

.property-detail-page {
  padding-top: 112px;
  padding-bottom: 84px;
}

.property-detail-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.property-detail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.property-detail__back {
  font-weight: 500;
  color: var(--color-text);
}

.property-detail__back:hover {
  color: var(--color-accent-coral);
}

.property-detail__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.property-detail__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.property-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  background-color: #efefef;
  color: #333333;
}

.property-badge--op {
  background-color: #9b1e2e;
  color: var(--color-white);
}

.property-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
}

.property-detail__address {
  margin-top: 6px;
  font-size: 16px;
  color: var(--color-text-muted);
}

.property-detail__price {
  font-size: clamp(28px, 2.4vw, 37px);
  font-weight: 700;
  color: #1f1f1f;
  white-space: nowrap;
}

.property-gallery {
  margin-bottom: 36px;
}

.property-gallery__stage {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 560px);
  background-color: #1b1b1b;
  overflow: hidden;
  border-radius: 4px;
}

.property-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.88);
  color: #222222;
  font-size: 32.5px;
  line-height: 1;
  cursor: pointer;
}

.property-gallery__nav--prev {
  left: 16px;
}

.property-gallery__nav--next {
  right: 16px;
}

.property-gallery__counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background-color: rgba(0, 0, 0, 0.65);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
}

.property-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.property-gallery__thumb {
  flex: 0 0 92px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #eee;
}

.property-gallery__thumb.is-active {
  border-color: var(--color-accent-coral);
}

.property-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail__layout {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.property-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.property-spec-box {
  background-color: #f8f9fa;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-spec-box__label {
  font-size: 13px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-spec-box__val {
  font-size: 18.5px;
  color: var(--color-text);
}

.property-features {
  margin-bottom: 30px;
}

.property-features h2,
.property-description h2 {
  font-size: 19.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.property-features__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-features__list li {
  padding: 6px 14px;
  background-color: #f3f5f6;
  border-radius: 999px;
  font-size: 14.5px;
  color: #333333;
}

.property-description__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.property-inquiry-card {
  background-color: #f8f9fa;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 24px;
}

.property-inquiry-card h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 4px;
}

.property-inquiry-card__ref {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.property-inquiry-card__direct {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  font-size: 15px;
}

.property-inquiry-card__direct a {
  color: var(--color-accent-coral);
  font-weight: 500;
}

.property-not-found {
  text-align: center;
  padding: 72px 20px;
}

.property-not-found h1 {
  font-family: var(--font-serif);
  font-size: 39.5px;
  margin-bottom: 12px;
}

.property-not-found p {
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

/* Página 404 */
.error-404-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 20px 96px;
  text-align: center;
}

.error-404-section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 16px;
}

.error-404-section__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.error-404-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.error-404-section__btn-primary {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 24px;
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  border: 1px solid var(--color-accent-coral);
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color var(--transition-fast);
}

.error-404-section__btn-primary:hover {
  background-color: var(--color-accent-coral-hover);
}

@media (max-width: 1100px) {
  .catalog-filters__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-detail__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-detail__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .catalog-filters__row {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .catalog-filters__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PÁGINA INTERIOR: CONTACTO
   ========================================================================== */

.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 58px 20px 84px;
}

.contact-section__heading {
  font-size: clamp(18.5px, 1.55vw, 22px);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background-color: var(--color-white);
  border-radius: 4px;
  padding: 28px 26px 22px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card input[type='text'],
.contact-card input[type='email'],
.contact-card input[type='tel'],
.contact-card select,
.contact-card textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--color-text);
  background-color: transparent;
  outline: none;
  transition: border-color var(--transition-fast);
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #888888;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-bottom-color: #555555;
}

.contact-card__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #555555;
  margin-top: 6px;
  cursor: pointer;
}

.contact-card__consent a {
  color: #2979b9;
  text-decoration: underline;
}

.contact-card__feedback {
  font-size: 13.5px;
  min-height: 16px;
}

.contact-card__feedback.is-error {
  color: #c2781a;
}

.contact-card__feedback.is-success {
  color: #2c7a4b;
}

.contact-submit-btn {
  margin-top: 16px;
  background-color: #c5c5c5;
  color: var(--color-white);
  border: none;
  border-radius: 999px;
  padding: 13px 42px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.contact-submit-btn:hover {
  background-color: var(--color-accent-coral);
}

.contact-gdpr {
  margin-top: 14px;
  border: 1px solid #e6e6e6;
  padding: 10px 14px;
  background-color: var(--color-white);
}

.contact-gdpr__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.contact-gdpr__plus {
  font-size: 17.5px;
  font-weight: 600;
}

.contact-gdpr__panel {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.contact-map {
  width: 100%;
  height: 410px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #ececec;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 960px) {
  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 340px;
  }
}

@media (max-width: 600px) {
  .contact-card__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MODAL / POP-UP DE CONTACTO
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(15, 18, 20, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  background-color: var(--color-white);
  border-radius: 6px;
  padding: 36px 32px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #777777;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 32.5px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.modal-contact-info {
  background-color: #f7f8f9;
  border-left: 3px solid var(--color-accent-coral);
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.modal-contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-contact-item a {
  color: var(--color-accent-coral);
  font-weight: 500;
}

.modal-contact-item a:hover {
  text-decoration: underline;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-form input[type='text'],
.modal-form input[type='tel'],
.modal-form input[type='email'],
.modal-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  font-size: 15px;
  color: var(--color-text);
  outline: none;
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: #666666;
}

.modal-form__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.modal-form__consent a {
  color: var(--color-accent-coral);
  text-decoration: underline;
}

.modal-form__submit {
  align-self: flex-start;
  background-color: var(--color-accent-coral);
  color: var(--color-white);
  border: none;
  border-radius: 999px;
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.modal-form__submit:hover {
  background-color: var(--color-accent-coral-hover);
}

.modal-form__feedback {
  font-size: 14px;
  min-height: 16px;
}

.modal-form__feedback.is-error {
  color: #c93b3b;
}

.modal-form__feedback.is-success {
  color: #2c7a4b;
}

/* ==========================================================================
   FOOTER EXTERNO
   ========================================================================== */

.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 58px 24px 40px;
}

.site-footer__container {
  max-width: var(--footer-max);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 44px;
  align-items: start;
}

/* Columna Mapa + Social */
.footer-map__heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-accent-coral);
  margin-bottom: 12px;
  transition: opacity var(--transition-fast);
}

.footer-map__heading:hover {
  opacity: 0.85;
}

.footer-map__frame {
  width: 100%;
  height: 162px;
  border-radius: 2px;
  overflow: hidden;
  background-color: #353535;
}

.footer-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-social {
  margin-top: 16px;
}

.footer-social__label {
  font-size: 14px;
  color: var(--color-footer-text);
  margin-bottom: 10px;
}

.footer-social__links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 0.9;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-social__link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Columna Marca Central */
.footer-col--brand {
  align-self: center;
  display: flex;
  justify-content: center;
}

/* Columna Newsletter */
.footer-newsletter__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-newsletter__input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 2px solid rgba(255, 255, 255, 0.78);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.footer-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.footer-newsletter__input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.07);
}

.footer-newsletter__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--color-footer-text);
  cursor: pointer;
}

.footer-newsletter__consent input[type='checkbox'] {
  width: 14px;
  height: 14px;
  accent-color: var(--color-accent-coral);
  cursor: pointer;
}

.footer-link-accent {
  color: var(--color-accent-coral);
  text-decoration: none;
}

.footer-link-accent:hover {
  text-decoration: underline;
}

.footer-newsletter__submit {
  margin-top: 16px;
  background-color: var(--color-blush-btn);
  color: #333333;
  border: none;
  border-radius: 999px;
  padding: 10px 30px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer-newsletter__submit:hover {
  background-color: var(--color-blush-btn-hover);
}

.footer-newsletter__feedback {
  margin-top: 10px;
  font-size: 13.5px;
  min-height: 16px;
}

.footer-newsletter__feedback.is-error {
  color: #ff9a9a;
}

.footer-newsletter__feedback.is-success {
  color: #a9e6b8;
}

.footer-gdpr {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
}

.footer-gdpr__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: none;
  color: var(--color-footer-text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  padding: 2px 0;
}

.footer-gdpr__plus {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1;
}

.footer-gdpr__panel {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-footer-muted);
}

/* Fila inferior del Footer: Sellos + Legal */
.site-footer__bottom {
  margin-top: 46px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-seal--left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-seal--left img {
  height: 76px;
  width: auto;
}

.footer-seal__caption {
  font-size: 11px;
  color: var(--color-footer-muted);
  text-decoration: none;
}

.footer-seal__caption:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-legal {
  text-align: center;
}

.footer-legal__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-footer-text);
}

.footer-legal__nav--bottom {
  margin-top: 14px;
}

.footer-legal__nav a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-legal__copy {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-footer-muted);
}

.footer-seal--right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-seal__fotocasa {
  height: 78px;
  width: auto;
}

.footer-seal__api {
  height: 78px;
  width: auto;
  border-radius: 2px;
}

/* ==========================================================================
   BOTÓN FLOTANTE VOLVER ARRIBA
   ========================================================================== */

.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 80;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-scrolltop-bg);
  color: var(--color-scrolltop-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast), background-color var(--transition-fast);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #b7d7de;
}

/* ==========================================================================
   BARRA DE COOKIES INFERIOR
   ========================================================================== */

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background-color: var(--color-cookie-bg);
  color: #d6d6d6;
  padding: 12px 24px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-bar__text {
  font-size: 12px;
  line-height: 1.5;
  color: #cccccc;
  max-width: 880px;
}

.cookie-bar__text a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-bar__btn {
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
}

.cookie-bar__btn--primary {
  background-color: var(--color-accent-coral);
  color: var(--color-white);
}

.cookie-bar__btn--primary:hover {
  background-color: var(--color-accent-coral-hover);
}

.cookie-bar__btn--outline {
  background-color: transparent;
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.32);
}

.cookie-bar__btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.cookie-bar__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #d6d6d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.cookie-bar__close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1180px) {
  .properties-carousel__arrow--prev {
    left: 10px;
  }

  .properties-carousel__arrow--next {
    right: 10px;
  }
}

@media (max-width: 960px) {
  .intro-section__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-section {
    padding: 64px 24px;
  }

  .intro-section__content {
    max-width: 100%;
    margin-left: 0;
  }

  .intro-section__image {
    min-height: 0;
  }

  .properties-carousel__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 10px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Cabecera móvil (Inicio no-sticky, Interiores no-sticky y Sticky) */
  .site-header {
    padding: 14px 16px 0;
  }

  .site-header__right {
    margin-top: -14px;
  }

  .brand-mark__name {
    font-size: 24px;
    letter-spacing: 0.14em;
  }

  .brand-mark__divider {
    width: 66px;
    margin: 7px 0 6px;
  }

  .brand-mark__since {
    font-size: 11px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-top: 12px;
  }

  .main-nav {
    margin-top: 10px;
    padding: 14px 16px;
    background-color: rgba(20, 24, 26, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    display: none;
    min-width: 200px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav__list {
    gap: 8px;
  }

  .main-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
    font-size: 15px;
  }

  /* Cabecera interior no-sticky en móvil (Nosotros, Venda, Compre, Alquile, Contacto, Fichas) */
  .site-header--inner:not(.is-sticky) .site-header__left {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 84px;
  }

  .site-header--inner:not(.is-sticky) .nav-toggle {
    margin-top: 0;
  }

  .site-header--inner:not(.is-sticky) .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    margin-top: 0;
    padding: 14px 18px;
    background-color: rgba(20, 24, 26, 0.94);
    border-radius: 6px;
    display: none;
  }

  .site-header--inner:not(.is-sticky) .main-nav.is-open {
    display: block;
  }

  .site-header--inner:not(.is-sticky) .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Cabecera sticky en móvil */
  .site-header.is-sticky {
    padding: 10px 16px;
  }

  .site-header.is-sticky .site-header__left {
    padding-right: 78px;
  }

  .site-header.is-sticky .brand-mark__name {
    font-size: 18px;
  }

  .site-header.is-sticky .brand-mark__divider {
    width: 52px;
  }

  .site-header.is-sticky .brand-mark__since {
    font-size: 9.5px;
  }

  .site-header.is-sticky .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    padding: 14px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .site-header.is-sticky .main-nav.is-open {
    display: block;
  }

  .site-header.is-sticky .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-header.is-sticky .sticky-drawer-btn {
    display: none;
  }

  .site-header.is-sticky .nav-toggle {
    margin-top: 0;
  }

  /* Hero principal y secundario */
  .hero {
    height: 440px;
  }

  .page-hero {
    height: 250px;
  }

  .page-hero__title {
    font-size: 28px;
    margin-top: 34px;
    padding: 0 16px;
    text-align: center;
  }

  /* Presentación y banners promocionales */
  .intro-section {
    padding: 44px 16px;
  }

  .intro-section__lead {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .intro-section__text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .intro-section__text--spaced {
    margin-top: 22px;
  }

  .intro-section__image--facade {
    min-height: 0;
  }

  .promo-section {
    margin-bottom: 48px;
    padding: 0 16px;
  }

  .promo-banner {
    min-height: 260px;
  }

  .promo-banner__scrim {
    background: rgba(0, 0, 0, 0.48);
  }

  .promo-banner__content {
    padding: 28px 20px;
    text-align: left;
    max-width: 100%;
  }

  .promo-banner__title {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .promo-banner__text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .promo-banner__cta-wrap {
    justify-content: flex-start;
    padding-left: 0;
  }

  /* Destacados de inicio */
  .properties-section {
    padding: 8px 16px 56px;
  }

  .properties-section__title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .properties-carousel__track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .properties-carousel__arrow {
    top: 112px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: #222222;
  }

  .properties-carousel__arrow--prev {
    left: 8px;
  }

  .properties-carousel__arrow--next {
    right: 8px;
  }

  .property-card__body {
    padding: 16px 14px 14px;
  }

  .property-card__title {
    font-size: 15px;
    white-space: normal;
  }

  .property-card__price {
    font-size: 20px;
    margin: 12px 0 14px;
  }

  .property-card__specs {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
  }

  /* Catálogo Compre / Alquile */
  .catalog-section {
    padding: 32px 16px 64px;
  }

  .catalog-filters {
    padding: 16px;
    margin-bottom: 24px;
  }

  .catalog-filters__group label {
    font-size: 11.5px;
  }

  .catalog-filters__group input,
  .catalog-filters__group select {
    padding: 9px 10px;
    font-size: 14px;
  }

  .catalog-filters__checks {
    gap: 10px 14px;
    font-size: 13.5px;
  }

  .catalog-toolbar__right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .catalog-toolbar__sort {
    flex: 1;
    min-width: 150px;
    font-size: 14px;
  }

  .property-list-card__body {
    padding: 18px 16px 16px;
  }

  .property-list-card__title {
    font-size: 18px;
  }

  .property-list-card__price {
    font-size: 20px;
  }

  .property-list-card__ref,
  .property-list-card__excerpt,
  .property-list-card__specs {
    font-size: 14px;
  }

  .property-list-card__specs {
    gap: 12px 18px;
  }

  /* Ficha individual de propiedad + Lightbox */
  .single-property {
    padding: 24px 16px 56px;
  }

  .single-property__main-title {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .single-property__pager {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .single-property__pager-link {
    max-width: 100%;
  }

  .single-gallery__stage {
    height: 260px;
  }

  .single-gallery__thumbs {
    grid-auto-columns: 96px;
    max-height: 74px;
  }

  .single-gallery__thumb {
    height: 68px;
  }

  .single-summary__title {
    font-size: 18.5px;
  }

  .single-summary__price {
    font-size: 22px;
  }

  .single-summary__specs {
    gap: 14px;
    font-size: 14px;
  }

  .single-essentials {
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }

  .single-inquiry__card {
    padding: 24px 18px;
  }

  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .gallery-lightbox__nav--prev {
    left: 8px;
  }

  .gallery-lightbox__nav--next {
    right: 8px;
  }

  /* Testimonios, Portales, Modal, Contacto, Footer y Cookies */
  .testimonials-section {
    padding: 12px 16px 64px;
  }

  .testimonials-quote {
    font-size: 17px;
  }

  .portals-section {
    padding: 6px 16px 60px;
  }

  .portals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .portals-grid--logos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 36px 48px;
}

.portal-logo {
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.portal-logo img {
  max-width: 210px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.portal-logo img:hover {
  transform: scale(1.04);
}

.portal-placeholder {
    height: 92px;
  }

  .modal-dialog {
    padding: 26px 20px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .modal-form__row--2 {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 36px 16px 64px;
  }

  .contact-card {
    padding: 20px 16px;
  }

  .site-footer {
    padding: 40px 16px 32px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-seal--left img,
  .footer-seal__fotocasa,
  .footer-seal__api {
    height: 58px;
  }

  .footer-seal--right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookie-bar {
    padding: 12px 16px;
  }

  .cookie-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie-bar__actions {
    flex-wrap: wrap;
  }

  .scroll-top-btn {
    right: 14px;
    bottom: 20px;
  }
}