/* Full stylesheet — loaded async after render */

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
       url('../assets/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* size-adjust, ascent-override, descent-override can be tuned here to match Georgia metrics */
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-Bold.woff2') format('woff2'),
       url('../assets/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2'),
       url('../assets/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2'),
       url('../assets/fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2'),
       url('../assets/fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

.section { padding: 4rem 0; }
.section--alt { background: var(--color-surface); }

.section__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ─── Gallery ─── */
#apartments { padding: 4rem 0; }

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ─── Apartment Card ─── */
.apt-card {
  background: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.apt-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.apt-card__images {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface);
}

.apt-card__images--no-wingmen {
  grid-template-columns: 1fr;
}

.apt-card__wingmen {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.apt-card__thumb {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
  min-height: 0;
}

.apt-card__hero-wrap {
  position: relative;
  overflow: hidden;
}

.apt-card__hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apt-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  z-index: 1;
}

.apt-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.apt-card__neighbourhood {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.apt-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.apt-card__tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.apt-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.apt-card__meta span { display: flex; align-items: center; gap: 0.3rem; }

.apt-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.apt-card__price {
  display: flex;
  flex-direction: column;
}

.apt-card__price-from {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.apt-card__price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.apt-card__price-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.apt-card__cta {
  min-height: 44px;
  padding: 0 1.25rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.apt-card__cta:hover { background: #c49843; }

/* ─── Services Section ─── */
#services { padding: 4rem 0; }

.services-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.services-strip::-webkit-scrollbar { height: 4px; }
.services-strip::-webkit-scrollbar-track { background: var(--color-surface); }
.services-strip::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }

.service-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.service-card--own .service-card__photo-wrap::after {
  content: 'Our Own Service';
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.service-card__photo-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-surface);
  overflow: hidden;
}

.service-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a63 100%);
}

.service-card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.service-card__tagline {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.875rem;
}

.service-card__cta {
  min-height: 44px;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
}

.service-card__cta:hover { background: #243d52; }

/* ─── Why Book Direct ─── */
#why-book-direct { padding: 4rem 0; }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-bg);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
}

.trust-item__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-item__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.trust-item__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── Neighbourhoods ─── */
#neighbourhoods { padding: 4rem 0; }

.maps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.map-block__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.map-block__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.map-block__embed {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 8px;
  display: block;
}

/* ─── How to Book ─── */
#how-to-book { padding: 4rem 0; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: steps;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.step__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── Footer ─── */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.25rem 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__wordmark-top {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.2rem;
}

.footer__wordmark-bottom {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
}

.footer__tagline {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  font-style: italic;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--color-accent); }

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.25rem;
  background: #25D366;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer__contact a:hover { background: #20b859; }

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ─── Lightbox / Detail View ─── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  overflow-y: auto;
}

.lightbox-overlay.is-open { display: block; }

.lightbox {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  color: #fff;
}

.lightbox__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-bottom: 1rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.lightbox__close:hover { color: #fff; }

.lightbox__images {
  position: relative;
  aspect-ratio: 4/3;
  max-height: 50vh;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

.lightbox__img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__img-nav:hover { background: rgba(0,0,0,0.8); }
.lightbox__img-nav--prev { left: 0; border-radius: 0 4px 4px 0; }
.lightbox__img-nav--next { right: 0; border-radius: 4px 0 0 4px; }

/* Image room label + attribute chips — shown below the main lightbox image */
.lightbox__img-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  min-height: 1.5rem;
}

.img-meta__room {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(212,168,83,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.img-meta__attr {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  text-transform: capitalize;
}

.lightbox__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lightbox__thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.lightbox__thumb.is-active { border-color: var(--color-accent); }

.lightbox__neighbourhood {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.lightbox__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lightbox__tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.lightbox__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.lightbox__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}

.lightbox__price-item {
  display: flex;
  flex-direction: column;
}

.lightbox__price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}

.lightbox__price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.lightbox__price-value span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

.lightbox__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

/* Booking panel inside lightbox */
.booking-panel {
  position: sticky;
  bottom: 0;
  padding: 1rem 0;
  z-index: 2;
}

.booking-panel__toggle {
  width: 100%;
  min-height: 52px;
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.booking-panel__toggle:hover { background: #20b859; }

.booking-panel__form {
  background: var(--color-primary);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.form-group input,
.form-group select {
  min-height: 48px;
  padding: 0 0.875rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus { border-color: var(--color-accent); }
.form-group input::placeholder { color: rgba(255,255,255,0.35); }
.form-group select option { background: var(--color-primary); color: #fff; }
.form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.6; }

.form-addons {
  margin: 1.25rem 0;
}

.form-addons__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  display: block;
}

.form-addons__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-addon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  cursor: pointer;
}

.form-addon input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
  min-height: unset;
}

.form-addon__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}

.form-addon__icon { font-size: 1.1rem; }

.booking-submit {
  width: 100%;
  min-height: 52px;
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
  margin-top: 1rem;
}

.booking-submit:hover { background: #20b859; }

/* ─── About page ─── */
.about-hero {
  background: var(--color-primary);
  padding: 6rem 1.25rem 4rem;
  margin-top: 60px;
}

.about-hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.about-hero__heading {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.about-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.about-bio {
  padding: 4rem 1.25rem;
  max-width: 740px;
  margin: 0 auto;
}

.about-bio__text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

.about-quote {
  background: var(--color-surface);
  padding: 4rem 1.25rem;
}

.about-quote__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-quote__text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-quote__attribution {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.06em;
}

.about-etymology {
  padding: 4rem 1.25rem;
  max-width: 740px;
  margin: 0 auto;
}

.about-etymology__heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-etymology__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.about-luo {
  background: var(--color-primary);
  padding: 4rem 1.25rem;
  text-align: center;
}

.about-luo__tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.about-luo__translation {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* ─── Responsive: tablet ─── */
@media (min-width: 640px) {
  .section__heading { font-size: 2.25rem; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .maps-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .services-strip { overflow-x: visible; flex-wrap: wrap; }
  .service-card { flex: 1 1 calc(50% - 0.5rem); }
  .about-hero__heading { font-size: 3rem; }
}

/* ─── Responsive: desktop ─── */
@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
  .section__heading { font-size: 2.75rem; }
  .gallery__grid { grid-template-columns: 1fr 1fr 1fr; }
  .apt-card__images { grid-template-columns: 80px 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .service-card { flex: 1 1 calc(25% - 0.75rem); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  .lightbox__name { font-size: 2rem; }
}
