/* ================================================================
   Sitges Lounge Apartments — styles.css
   Archetype: Liquid Wave (#08) · Mediterranean Luxury
   ================================================================ */

/* ── Custom Properties ── */
:root {
  --navy: #0d1b2a;
  --ocean: #1b4965;
  --teal: #F77603;
  --aqua: #F77603;
  --seafoam: #bee9e8;
  --sand: #faf3e8;
  --brand: #F77603;
  --orange: #F77603;
  --orange-deep: #D95F00;
  --orange-shadow: rgba(110, 40, 0, .35);
  --gold: #d4a574;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #f0f4f8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-h: 70px;
  --radius: 12px;
  --shadow-sm: 0 4px 12px rgba(13, 27, 42, .06);
  --shadow-md: 0 12px 32px rgba(13, 27, 42, .10);
  --shadow-lg: 0 24px 48px rgba(13, 27, 42, .14);
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  line-height: 1.7;
}

::selection {
  background: var(--brand);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e08600;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Sections ── */
.section {
  position: relative;
  padding: 6rem 0;
}
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--dark { background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%); color: var(--text-light); }
.section--ocean { background: linear-gradient(160deg, var(--ocean) 0%, var(--teal) 100%); color: var(--text-light); }

.section__eyebrow {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand);
  margin-bottom: .75rem;
}
.section__eyebrow--light { color: var(--aqua); }

.section__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.section__title--center { text-align: center; }
.section__title--light { color: var(--white); }

.section__subtitle {
  font-size: 1.1rem;
  color: #5a6875;
  max-width: 640px;
  text-align: center;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.section__subtitle--light { color: var(--seafoam); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn--primary:hover {
  background: #c96b50;
  border-color: #c96b50;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 122, 95, .35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--brand {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn--brand:hover {
  background: #c96b50;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 122, 95, .35);
}
.btn--sm { padding: .7rem 1.5rem; font-size: .85rem; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Splash ── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy), var(--ocean));
  transition: opacity .6s ease, visibility .6s ease;
  /* Safety net animation – auto-hide after 4.5 s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}
.splash--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.splash__inner { text-align: center; }
.splash__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  animation: splashPulse 1.5s ease-in-out infinite;
}
.splash__wave {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--aqua);
  border-radius: 50%;
  border-top-color: transparent;
  animation: splashSpin 1s linear infinite;
}
@keyframes splashSpin { to { transform: rotate(360deg); } }
@keyframes splashPulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}
.nav--scrolled {
  background: rgba(13, 27, 42, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .6rem 0;
  box-shadow: var(--shadow-md);
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.nav__logo-icon { font-size: 1.4rem; }
.nav__menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(13, 27, 42, .97);
  backdrop-filter: blur(16px);
  padding: 5rem 2rem 2rem;
  gap: .5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
}
.nav__menu--open { display: flex; transform: translateX(0); }
.nav__link {
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  padding: .75rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--aqua); }
.nav__link--cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: .6rem 1.4rem;
  border-radius: 50px;
  text-align: center;
  margin-top: .5rem;
}
.nav__link--cta:hover { background: #c96b50; }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 1001;
}
.nav__toggle-bar {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__toggle--open .nav__toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle--open .nav__toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* ── Availability Search Bar (Booking-style) ── */
.availability-wrapper {
  position: relative;
  margin-top: 0.75rem;
  width: 100%;
  max-width: 1100px;
  padding: 0 1.5rem;
  z-index: 10;
}
.availability-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .25);
}
.availability-bar__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  text-align: center;
}
.availability-bar__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}
.availability-bar__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.availability-bar__label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
}
.availability-bar__input {
  padding: .75rem 1rem;
  border: 1.5px solid #dde3ea;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.availability-bar__input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(94, 196, 212, .2);
}
.availability-bar__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b4965' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.availability-bar__btn {
  padding: .85rem 2rem;
  border-radius: 8px;
  font-size: .95rem;
  gap: .5rem;
  justify-content: center;
  min-height: 48px;
}
.availability-bar__note {
  text-align: center;
  font-size: .9rem;
  color: var(--teal);
  margin: 0;
  min-height: 1.5em;
  padding-top: .75rem;
}
.availability-bar__note:empty { display: none; }

/* Apartment card match animation */
.apartment-card--match {
  animation: cardPop .4s ease-out;
}
@keyframes cardPop {
  0% { transform: scale(.95); opacity: .7; }
  100% { transform: scale(1); opacity: 1; }
}
.apartment-card--hidden {
  display: none !important;
}


/* ── Hero ── */
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px; /* Slight offset from nav */
  padding-bottom: 100px; /* Mobile space for stacked filter */
}
@media (min-width: 540px) {
  .hero {
    padding-bottom: 100px;
  }
  .availability-bar__form {
    grid-template-columns: 1fr 1fr;
  }
  .availability-bar__btn {
    grid-column: 1 / -1;
  }
}
@media (min-width: 960px) {
  .hero {
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 40px;
  }
  .availability-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 40px;
  }
  
  .availability-bar {
    padding: 1.25rem 2rem;
  }
  .availability-bar__form {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: .75rem;
  }
  .availability-bar__btn {
    grid-column: auto;
  }
}
.hero__bg {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 125%;
  z-index: 0;
}
.roll-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.roll {
  display: flex;
  width: max-content;
  height: 100%;
  animation: roll 120s linear infinite;
}
.roll:hover {
  animation-play-state: paused;
}
@keyframes roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.roll img {
  height: 100%;
  width: auto;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 30%,
    rgba(27, 73, 101, .6) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--aqua);
  margin-bottom: 0.5rem;
}
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.05;
}
.hero__title-accent {
  color: var(--aqua);
  font-style: italic;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* ── Hero Badges ── */
.hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(13, 27, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: .5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  text-align: left;
  transition: transform var(--transition), background var(--transition);
}
.hero__badge:hover {
  transform: translateY(-2px);
  background: rgba(13, 27, 42, 0.6);
}
.hero__badge-score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.hero__badge-info {
  display: flex;
  flex-direction: column;
}
.hero__badge-stars {
  color: #fbbf24;
  font-size: .8rem;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: .2rem;
}
.hero__badge-text {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  line-height: 1;
}
@media (min-width: 540px) {
  .hero__badges {
    gap: 1.5rem;
  }
  .hero__badge {
    padding: .6rem 1.5rem;
    gap: .75rem;
  }
  .hero__badge-score {
    font-size: 1.75rem;
  }
  .hero__badge-stars {
    font-size: .85rem;
  }
  .hero__badge-text {
    font-size: .75rem;
  }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, .6);
}
.hero__scroll-text {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: .5rem;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .4);
  margin: 0 auto;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(1.5); opacity: 1; }
}

/* ── Wave Dividers ── */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}
.wave-divider--hero { height: 40px; }

/* ── About Section ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about__description {
  font-size: 1.05rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
}
.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.about__feature-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.about__feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: .15rem;
}
.about__feature p { font-size: .9rem; color: #6b7280; margin: 0; }

.about__visual { position: relative; }
.about__image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about__blob {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: linear-gradient(135deg, var(--seafoam) 0%, var(--aqua) 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  opacity: .35;
  animation: blobMorph 8s ease-in-out infinite;
}
@keyframes blobMorph {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33%  { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  66%  { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* ── Apartment Cards ── */
.apartments__grid,
#apartments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.apartment-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.apartment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.apartment-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.apartment-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.apartment-card:hover .apartment-card__img { transform: scale(1.05); }

.apartment-card__tour-btn {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(13, 27, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 5;
}
.apartment-card__tour-btn svg {
  width: 14px;
  height: 14px;
}
.apartment-card__tour-btn:hover {
  background: var(--brand);
  transform: translateY(-2px);
  border-color: transparent;
}
.apartment-card__body { padding: 1.75rem; }
.apartment-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.apartment-card__desc {
  font-size: .95rem;
  color: #5a6875;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.apartment-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: .85rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.apartment-card__meta span {
  white-space: nowrap;
}
.apartment-card__booking-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: .75rem;
  border-top: 1px solid #e2e8f0;
}
.apartment-card__booking-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
.apartment-card__booking-icons {
  display: flex;
  gap: .5rem;
}
.booking-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.booking-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.booking-icon--whatsapp { background-color: #25D366; }
.booking-icon--whatsapp:hover { background-color: #1ebe58; }
.booking-icon--instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.booking-icon--instagram:hover { filter: brightness(1.1); }
.booking-icon--email { background-color: #f5f5f5; border: 1px solid #e2e8f0; }
.booking-icon--email:hover { background-color: #e2e8f0; }

/* ── Transfer Section ── */
.transfer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.transfer__image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.transfer__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.transfer__description {
  font-size: 1.05rem;
  color: rgba(240, 244, 248, .85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.transfer__benefits { margin-bottom: 2rem; }
.transfer__benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  font-size: 1rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.transfer__benefit-icon { font-size: 1.3rem; flex-shrink: 0; }


/* ── Host Section ── */
.host__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .host__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.host__superhost-badge {
  display: inline-block;
  font-size: 0.35em;
  vertical-align: middle;
  background: var(--aqua);
  color: var(--navy);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 15px;
  font-family: var(--font-body);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(94, 196, 212, 0.4);
}

.host__bio {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.host__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.host__stat-item {
  background: var(--sand);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition);
}
.host__stat-item:hover {
  transform: translateY(-5px);
}
.host__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.host__stat-plus {
  font-size: 1.5rem;
  color: var(--aqua);
  vertical-align: super;
}
.host__stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
}

/* ── Activity Cards ── */
.activities__grid,
#activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.activity-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.activity-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.activity-card:hover .activity-card__img { transform: scale(1.06); }
.activity-card__body { padding: 1.5rem; }
.activity-card__icon { font-size: 1.5rem; display: block; margin-bottom: .5rem; }
.activity-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.activity-card__desc { font-size: .9rem; color: #5a6875; margin: 0; line-height: 1.6; }

/* ── Review Cards ── */
.reviews__grid,
#reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--aqua);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-card__stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: .75rem;
}
.review-card__text {
  font-size: .95rem;
  color: #4a5568;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}
.review-card__author strong { color: var(--navy); }
.review-card__author small { color: #8896a4; }

/* ── Contact Section ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
  color: var(--white);
}
.contact-card:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.contact-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--transition);
}
.contact-card:hover .contact-card__icon-wrap { background: var(--brand); }
.contact-card__icon { width: 24px; height: 24px; }
.contact-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--white);
}
.contact-card__detail {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: .75rem;
  word-break: break-all;
}
.contact-card__action {
  font-size: .85rem;
  font-weight: 600;
  color: var(--aqua);
  letter-spacing: .5px;
}

/* ── Footer ── */
.footer {
  background: var(--white);
  color: var(--text);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--sand);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  display: block;
  margin-bottom: .5rem;
}
.footer__tagline { font-size: .9rem; color: rgba(26, 26, 46, .7); }
.footer__heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.footer__nav li { margin-bottom: .5rem; }
.footer__nav a {
  color: rgba(26, 26, 46, .8);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid var(--sand);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(26, 26, 46, .5);
}

/* ── Float bob ── */
.float-bob { will-change: transform; }

/* ================================================================
   RESPONSIVE — Mobile-first breakpoints
   ================================================================ */

/* 540px */
@media (min-width: 540px) {
  #apartments-grid,
  .apartments__grid { grid-template-columns: repeat(2, 1fr); }

  .activities__grid,
  #activities-grid { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: repeat(2, 1fr); }

  .reviews__grid,
  #reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 720px */
@media (min-width: 720px) {
  .section { padding: 7rem 0; }

  .footer__grid { grid-template-columns: 2fr 1fr; }
}

/* 960px */
@media (min-width: 960px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    padding: 0;
    transform: none;
    gap: .25rem;
    align-items: center;
  }
  .nav__link { padding: .5rem 1rem; font-size: .85rem; }
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--aqua);
    transition: width var(--transition), left var(--transition);
  }
  .nav__link:hover::after { width: 80%; left: 10%; }

  .about__grid { grid-template-columns: 1fr 1fr; }

  .transfer__grid { grid-template-columns: 1fr 1fr; }

  #apartments-grid,
  .apartments__grid { grid-template-columns: repeat(4, 1fr); }

  .reviews__grid,
  #reviews-grid { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: repeat(4, 1fr); }
}

/* 1280px */
@media (min-width: 1280px) {
  .section { padding: 8rem 0; }
  .container { max-width: 1280px; }

  .hero__title { font-size: 5rem; }

  .activities__grid,
  #activities-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 1600px */
@media (min-width: 1600px) {
  .container { max-width: 1440px; }
}

/* ── Reduced Motion ──
   Only gate intrusive effects; keep hover, fade, micro-interactions */
@media (prefers-reduced-motion: reduce) {
  .splash__wave { animation: none; }
  .hero__scroll-line { animation: none; }
  .about__blob { animation: none; }
  /* Hover, transform, opacity transitions remain active */
}

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

/* ========== APARTMENT MODAL ========== */
.apt-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apt-modal--open {
  opacity: 1;
  visibility: visible;
}

.apt-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.apt-modal__content {
  position: relative;
  background: var(--white);
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apt-modal--open .apt-modal__content {
  transform: scale(1) translateY(0);
}

.apt-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.apt-modal__close:hover {
  background: var(--brand);
  color: var(--white);
  transform: rotate(90deg);
}

.apt-modal__image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .apt-modal__image-wrapper {
    height: 500px;
  }
}

.apt-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apt-modal__body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .apt-modal__body {
    width: 100%;
    padding: 3rem;
  }
}

.apt-modal__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.apt-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.apt-modal__meta span {
  white-space: nowrap;
}

.apt-modal__desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.apt-modal__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}


/* ========== PHOTO CAROUSEL ========== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn--prev { left: 1rem; }
.carousel-btn--next { right: 1rem; }

/* Grid Card specific */
.apartment-card__img-wrap {
  position: relative;
}
.apartment-card__img-wrap:hover .carousel-btn {
  opacity: 1;
}
@media (hover: none), (max-width: 768px) {
  .carousel-btn {
    opacity: 0.9;
  }
}

/* Modal specific overrides */
.apt-modal__image-wrapper:hover .carousel-btn {
  opacity: 1;
}
.apt-modal__image-wrapper .carousel-btn {
  width: 48px;
  height: 48px;
  font-size: 2rem;
}
.apt-modal__image-wrapper .carousel-btn--prev { left: 1.5rem; }
.apt-modal__image-wrapper .carousel-btn--next { right: 1.5rem; }

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.carousel-dot.active {
  background: var(--white);
  transform: scale(1.2);
}
.apt-modal__image-wrapper .carousel-dots {
  bottom: 1.5rem;
}
.apt-modal__image-wrapper .carousel-dot {
  width: 10px;
  height: 10px;
}


/* ── Header logo image (client logo, 2026-10) ── */
.nav__logo-img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
@media (max-width: 539px) {
  .nav__logo { font-size: 1.15rem; gap: .45rem; }
  .nav__logo-img { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  .nav__logo-text { display: none; }
}

/* ── Orange theme (client request, 2026-10): light sections use the logo orange ── */
.section--sand,
.section--white { background: var(--orange); color: var(--navy); }
.section--sand .section__title,
.section--white .section__title { color: var(--white); text-shadow: 0 2px 12px var(--orange-shadow); }
.section--sand .section__eyebrow,
.section--white .section__eyebrow { color: var(--navy); }
.section--sand .section__subtitle,
.section--white .section__subtitle { color: var(--navy); }
/* wave dividers that faded into cream/white now fade into orange */
.wave-path[fill="var(--sand)"],
.wave-path[fill="var(--white)"] { fill: var(--orange); }
/* elements that relied on the old cream/white background */
.host__superhost-badge { background: var(--navy); color: var(--white); box-shadow: 0 4px 10px rgba(13, 27, 42, .3); text-shadow: none; }
.host__bio { color: var(--navy); }
.host__stat-item { background: var(--white); box-shadow: var(--shadow-sm); }
.host__stat-plus,
.host__stat-label { color: var(--orange-deep); }
.about__description { color: var(--navy); }
.about__feature p { color: rgba(13, 27, 42, .85); }
.about__blob { background: linear-gradient(135deg, #ffffff 0%, #ffd9b8 100%); opacity: .3; }
.review-card { border-left-color: var(--navy); }
/* footer: dark navy to match the header */
.footer { background: var(--navy); color: var(--text-light); border-top: 0; }
.footer__logo { color: var(--orange); }
.footer__tagline,
.footer__text { color: rgba(240, 244, 248, .8) !important; }
.footer__heading { color: var(--white); }
.footer__legal a { color: rgba(240, 244, 248, .7) !important; }
.footer__legal a:hover { color: var(--orange) !important; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .12); color: rgba(240, 244, 248, .6); }

/* ================================================================
   2026-10 · Language menu, apartment detail view, Signal
   ================================================================ */
/* Language menu (header dropdown, no JS required) */
.nav__lang-item { position: relative; }
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu__toggle {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  color: var(--white); font-size: .85rem; font-weight: 600; letter-spacing: .5px;
  padding: .45rem .8rem; border-radius: 50px; border: 1px solid rgba(255,255,255,.35);
  transition: background var(--transition), border-color var(--transition); user-select: none;
}
.lang-menu__toggle:hover, .lang-menu[open] > .lang-menu__toggle { background: rgba(255,255,255,.12); border-color: var(--orange); }
.lang-menu__caret { font-size: .7rem; transition: transform var(--transition); }
.lang-menu[open] .lang-menu__caret { transform: rotate(180deg); }
.lang-menu__list {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 190px; z-index: 1100;
  list-style: none; margin: 0; padding: .4rem; background: var(--white); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(13,27,42,.25);
}
.lang-menu__item {
  display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border-radius: 8px;
  color: var(--navy); font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.lang-menu__item:hover { background: #fff1e6; }
.lang-menu__item.is-current { background: var(--orange); color: var(--white); font-weight: 600; }
.lang-menu__code {
  display: inline-block; min-width: 2.1em; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .5px;
  padding: .1rem .3rem; border-radius: 4px; background: rgba(13,27,42,.08);
}
.lang-menu__item.is-current .lang-menu__code { background: rgba(255,255,255,.25); }
@media (max-width: 959px) {
  .nav__lang-item { padding: .5rem 0; }
  .nav__menu .lang-menu__list { position: static; margin-top: .5rem; box-shadow: none; background: rgba(255,255,255,.06); }
  .nav__menu .lang-menu__item { color: var(--white); }
  .nav__menu .lang-menu__item:hover { background: rgba(255,255,255,.1); }
  .nav__menu .lang-menu__code { background: rgba(255,255,255,.15); }
}
@media (min-width: 960px) { .nav__lang-item { margin: 0 .35rem; } }
/* legal pages header */
.lang-menu--legal .lang-menu__toggle { font-family: var(--font-body); }

/* Signal */
.booking-icon--signal { background-color: #3B45FD; }
.booking-icon--signal:hover { background-color: #2f38e0; }
.booking-icon--signal img { width: 20px; height: 20px; display: block; }
.booking-icon--lg { width: 48px; height: 48px; flex-shrink: 0; }
.booking-icon--lg img { width: 24px; height: 24px; }
.contact-card:hover .contact-card__icon-wrap--signal { background: #3B45FD; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: repeat(5, 1fr); } }
.contact-card__detail { overflow-wrap: anywhere; }

/* Apartment card photo counter */
.apartment-card__counter {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 5; pointer-events: none;
  background: rgba(13,27,42,.55); color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 50px;
}
.apartment-card__img-wrap { touch-action: pan-y; user-select: none; -webkit-user-select: none; }

/* Apartment detail view: gallery on top, scrollable details below */
.apt-modal__content {
  display: flex; flex-direction: column; width: min(1040px, 94vw); max-width: none; max-height: 92vh; overflow: hidden;
  border-radius: 1.25rem;
}
.apt-modal__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.apt-modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 20; }
.apt-gallery { position: relative; background: #0d1b2a; }
.apt-gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; width: 100%; height: min(62vh, calc(min(1040px, 94vw) * 0.625)); outline: none; cursor: grab;
}
.apt-gallery__track::-webkit-scrollbar { display: none; }
.apt-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; height: 100%; }
.apt-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.apt-gallery .carousel-btn { opacity: .95; width: 44px; height: 44px; font-size: 1.8rem; z-index: 6; }
.apt-gallery .carousel-btn:disabled { opacity: .3; cursor: default; }
.apt-gallery .carousel-btn--prev { left: 1rem; }
.apt-gallery .carousel-btn--next { right: 1rem; }
.apt-gallery--single .carousel-btn, .apt-gallery--single .apt-gallery__counter { display: none; }
.apt-gallery__counter {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 6; background: rgba(13,27,42,.7); color: #fff;
  font-size: .85rem; font-weight: 600; padding: .3rem .75rem; border-radius: 50px; letter-spacing: .5px;
}
.apt-modal__body { display: block; padding: 1.75rem 1.5rem 2rem; overflow: visible; }
@media (min-width: 768px) { .apt-modal__body { padding: 2.5rem 3rem 3rem; } }
.apt-modal__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .75rem; }
.apt-modal__meta { margin-bottom: 1.5rem; padding-bottom: 1.25rem; }
.apt-modal__meta span { background: #fff1e6; color: var(--orange-deep); padding: .35rem .8rem; border-radius: 50px; }
.apt-modal__subtitle { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin: 0 0 .6rem; }
.apt-modal__desc { margin-bottom: 1.75rem; color: #334155; }
.apt-modal__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.apt-action {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 50px;
  font-size: .92rem; font-weight: 600; text-decoration: none; color: #fff; transition: transform var(--transition), filter var(--transition);
}
.apt-action:hover { transform: translateY(-2px); filter: brightness(1.05); }
.apt-action svg, .apt-action img { width: 20px; height: 20px; flex-shrink: 0; }
.apt-action--whatsapp { background: #25D366; }
.apt-action--signal { background: #3B45FD; }
.apt-action--instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.apt-action--email { background: #f5f5f5; color: var(--navy); border: 1px solid #e2e8f0; }
.apt-action--video { background: var(--navy); }
/* full-screen photo mode (tap a photo) */
.apt-modal--zoom .apt-modal__content { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
.apt-modal--zoom .apt-modal__scroll { overflow: hidden; }
.apt-modal--zoom .apt-gallery, .apt-modal--zoom .apt-gallery__track { height: 100vh; max-height: none; aspect-ratio: auto; }
.apt-modal--zoom .apt-gallery__slide img { object-fit: contain; }
.apt-modal--zoom .apt-modal__body { display: none; }
/* mobile: full-screen sheet */
@media (max-width: 767px) {
  .apt-modal__content { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .apt-gallery__track { height: min(55vh, 75vw); }
  .apt-gallery .carousel-btn { width: 38px; height: 38px; font-size: 1.5rem; }
  .apt-modal--zoom .apt-gallery, .apt-modal--zoom .apt-gallery__track { height: 100dvh; }
}
