/* ============================================================
   TESORO ANTICO — Shared Stylesheet
   ============================================================ */

/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sea:        #1a6e9e;
  --sea-dark:   #114d72;
  --sea-deep:   #0a1e2e;
  --sea-light:  #4a9fc0;
  --sea-pale:   #edf5fb;
  --sand:       #e8d5b0;
  --sand-light: #f8f4ed;
  --gold:       #c8a84b;
  --gold-light: #dfc070;
  --white:      #ffffff;
  --charcoal:   #1e1e1e;
  --text:       #3a3a3a;
  --muted:      #7a7a7a;
  --border:     rgba(0,0,0,0.09);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', system-ui, sans-serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === ICONS === */
.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm { width: 0.95em; height: 0.95em; }
.icon-lg { width: 1.4em; height: 1.4em; }

/* === TYPOGRAPHY HELPERS === */
.eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--sea-dark);
}
.divider {
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin: 1.4rem 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* === NAVIGATION === */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}
nav.site-nav.scrolled {
  background: rgba(17, 77, 114, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.18);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta a {
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(200,168,75,0.6);
  color: var(--gold);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}
.nav-links .nav-cta a:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: 2px;
  transition: background var(--transition), transform 0.2s, box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--sea-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--sea); box-shadow: 0 6px 20px rgba(26,110,158,0.3); }
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(200,168,75,0.3);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 8px 28px rgba(200,168,75,0.4); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--border);
}
.btn-white:hover { background: #f5f5f5; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-wa {
  background: #1fbe5e;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(31,190,94,0.25);
}
.btn-wa:hover { background: #18a852; box-shadow: 0 8px 24px rgba(31,190,94,0.35); }

/* === FOOTER === */
.site-footer {
  background: var(--sea-deep);
  padding: 3.5rem 2rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.footer-tagline {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

/* === CONTACT SECTION (shared) === */
.contact-section {
  background: var(--sea-dark);
  padding: 6rem 2rem;
  text-align: center;
}
.contact-section .section-title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}
.contact-section .contact-lead {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.85;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.contact-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-note {
  margin-top: 1.8rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

/* === LOCATION SECTION (shared) === */
.location-section { background: var(--sand-light); padding: 6rem 2rem; }
.location-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.location-text .section-title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1.5rem; }
.location-text p { font-size: 0.87rem; line-height: 1.95; color: #555; font-weight: 300; margin-bottom: 1rem; }
.address-block {
  background: var(--sea-dark);
  color: var(--white);
  padding: 1.7rem 2rem;
  margin-top: 1.5rem;
  border-radius: 2px;
}
.address-block h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.address-block p { font-size: 0.84rem; line-height: 1.85; color: rgba(255,255,255,0.78); font-weight: 300; }
.location-map {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 2px;
  display: block;
}

/* ============================================================
   HOMEPAGE STYLES
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(17,77,114,0.35) 0%, rgba(10,30,46,0.2) 50%, rgba(10,30,46,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.hero-badge {
  display: inline-block;
  padding: 0.38rem 1.2rem;
  border: 1px solid rgba(200,168,75,0.5);
  background: rgba(200,168,75,0.1);
  color: rgba(220,195,100,0.95);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 40px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.06em;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity:1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity:1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity:1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity:0; }
}

/* Intro */
.intro-section {
  background: var(--sea-dark);
  padding: 5.5rem 2rem;
  text-align: center;
}
.intro-section .section-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 680px;
  margin: 0 auto 1.5rem;
}
.intro-section p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.95;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}
.intro-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* Apartment cards (homepage) */
.apts-section { padding: 0; }
.apt-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.apt-card.flip { direction: rtl; }
.apt-card.flip > * { direction: ltr; }

.card-photo {
  position: relative;
  overflow: hidden;
  background: var(--sea-deep);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.apt-card:hover .card-photo img { transform: scale(1.04); }
.card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,46,0.45) 0%, transparent 50%);
  transition: opacity var(--transition);
}

.card-info {
  padding: 5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--sand-light);
}
.apt-card:nth-child(2) .card-info { background: var(--white); }
.apt-card:nth-child(3) .card-info { background: var(--sand-light); }

.card-floor {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sea-light);
  margin-bottom: 0.6rem;
}
.card-name {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.5rem);
  font-weight: 300;
  color: var(--sea-dark);
  line-height: 1.05;
}
.card-name em { font-style: italic; }

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.6rem 0;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.spec-item .icon { color: var(--sea); }

.card-desc {
  font-size: 0.87rem;
  line-height: 1.9;
  color: #555;
  font-weight: 300;
  margin-bottom: 2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sea-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 0.9rem; color: var(--sea); }
.card-link .icon { transition: transform var(--transition); }
.card-link:hover .icon { transform: translateX(3px); }

/* Nearby section */
.nearby-section {
  background: var(--sea-pale);
  padding: 5.5rem 2rem;
}
.nearby-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.nearby-inner .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.8rem; }
.nearby-inner > p { font-size: 0.87rem; color: var(--muted); font-weight: 300; margin-bottom: 3rem; line-height: 1.75; }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
}
.nearby-item {
  background: var(--white);
  border: 1px solid rgba(26,110,158,0.1);
  border-radius: 3px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nearby-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,110,158,0.1); }
.nearby-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--sea-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem;
  color: var(--sea);
}
.nearby-icon-wrap .icon { width: 1.1rem; height: 1.1rem; }
.nearby-label { font-size: 0.78rem; font-weight: 500; color: var(--sea-dark); margin-bottom: 0.2rem; }
.nearby-dist { font-size: 0.66rem; color: var(--muted); }

/* ============================================================
   APARTMENT PAGE STYLES
   ============================================================ */

/* Breadcrumb */
.apt-breadcrumb {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.apt-breadcrumb.scrolled {
  background: rgba(17, 77, 114, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.18);
}
.bc-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.bc-left a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.bc-left a:hover { color: var(--gold); }
.bc-sep { color: rgba(255,255,255,0.3); font-size: 0.6rem; }
.bc-current { color: var(--white); }
.bc-right {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}
.bc-right a {
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.bc-right a:hover { color: var(--gold); }

/* Apartment hero */
.apt-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--sea-deep);
}
.apt-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.apt-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,30,46,0.4) 0%, rgba(10,30,46,0.75) 100%);
}
.apt-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 4rem;
  z-index: 2;
}
.apt-hero-floor {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.apt-hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 0.95;
}
.apt-hero-name em { font-style: italic; }

/* Specs strip */
.specs-strip {
  background: var(--sea-dark);
  padding: 1.4rem 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.spec-item-strip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 400;
}
.spec-item-strip .icon { color: var(--gold); width: 1rem; height: 1rem; }
.specs-strip-divider { width: 1px; height: 1.2rem; background: rgba(255,255,255,0.15); }

/* Apartment main content */
.apt-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}
.apt-desc-col h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--sea-dark);
  margin-bottom: 1rem;
}
.apt-desc-col p {
  font-size: 0.88rem;
  line-height: 2;
  color: #555;
  font-weight: 300;
  margin-bottom: 1rem;
}
.apt-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.apt-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: var(--sand-light);
  border-radius: 0 2px 2px 0;
}
.apt-highlight .icon { color: var(--sea); margin-top: 0.1rem; flex-shrink: 0; }
.apt-highlight-body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.15rem;
}
.apt-highlight-body span { font-size: 0.8rem; color: #555; line-height: 1.6; }

/* Amenities list */
.amenities-col h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--sea-dark);
  margin-bottom: 0.5rem;
}
.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.amenity-item:nth-child(odd) { border-right: 1px solid var(--border); }
.amenity-item .icon { color: var(--sea); flex-shrink: 0; width: 0.95rem; height: 0.95rem; }
.amenity-label { font-weight: 400; }

.ama-line {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}
.ama-line strong { color: var(--sea); font-weight: 600; }

.book-btns {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.book-btns .btn { justify-content: center; }

/* Showcase gallery */
.showcase-section {
  background: var(--charcoal);
  padding: 0;
}
.showcase-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  height: 560px;
  gap: 3px;
}
.showcase-main { grid-row: 1 / 3; overflow: hidden; position: relative; }
.showcase-thumb { overflow: hidden; position: relative; }
.showcase-main img,
.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.showcase-main:hover img,
.showcase-thumb:hover img { transform: scale(1.04); }

.btn-all-photos {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s;
  z-index: 5;
}
.btn-all-photos:hover { background: var(--white); transform: translateY(-1px); }
.btn-all-photos .icon { color: var(--sea); width: 0.9rem; height: 0.9rem; }

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
.lb-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.93);
  cursor: pointer;
}
.lb-close {
  position: fixed;
  top: 1.4rem; right: 1.5rem;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }
.lb-img-wrap {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  max-width: 92vw;
  max-height: 90vh;
}
#lb-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  user-select: none;
}
.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  background: rgba(0,0,0,0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

/* Other apartments (at bottom of apartment page) */
.other-apts {
  background: var(--sand-light);
  padding: 5rem 2rem;
}
.other-apts-inner { max-width: 1000px; margin: 0 auto; }
.other-apts-inner .section-title { font-size: 1.8rem; margin-bottom: 2.5rem; }
.other-apts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.other-apt-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
}
.other-apt-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.other-apt-thumb {
  width: 110px;
  height: 90px;
  flex-shrink: 0;
  overflow: hidden;
}
.other-apt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.other-apt-info { padding: 1rem 1rem 1rem 0; }
.other-apt-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--sea-dark);
  margin-bottom: 0.2rem;
}
.other-apt-name em { font-style: italic; }
.other-apt-meta { font-size: 0.72rem; color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .apt-card, .apt-card.flip { grid-template-columns: 1fr; direction: ltr; }
  .card-photo { height: 55vw; min-height: 300px; }
  .card-info { padding: 3rem 2.5rem; }
  .apt-content { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem; }
  .showcase-grid { height: 420px; }
  .specs-strip { padding: 1.2rem 2rem; gap: 2rem; }
  .apt-hero-content { padding: 2.5rem 2rem; }
  .other-apts-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  nav.site-nav, .apt-breadcrumb { padding: 1rem 1.5rem; }
  .nav-links, .bc-right { display: none; }
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 60vw;
    min-height: 260px;
  }
  .showcase-main { grid-row: 1; }
  .showcase-thumb { display: none; }
  .amenities-list { grid-template-columns: 1fr; }
  .amenity-item:nth-child(odd) { border-right: none; }
  .location-map { height: 280px; }
  .intro-stats { gap: 2.5rem; }
  .contact-btns { flex-direction: column; align-items: center; }
  .specs-strip { gap: 1.2rem; padding: 1rem 1.5rem; }
}

@media (max-width: 500px) {
  .hero-title { font-size: 3.5rem; }
  .card-info { padding: 2.5rem 1.5rem; }
  .apt-content { padding: 3rem 1.5rem; }
  .nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .book-btns { flex-direction: column; }
}
