/* ==================== SK Luxury Apartments — Stylesheet ==================== */

:root {
  --dark: #1a1712;
  --dark-2: #14110d;
  --gold: #c9982f;
  --gold-light: #e0b563;
  --gold-dark: #a97f24;
  --cream: #faf7f2;
  --panel: #f6f3ed;
  --white: #ffffff;
  --text: #211d17;
  --text-soft: #6f695f;
  --text-faint: #948d80;
  --border: #e8e2d5;
  --green: #25d366;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(26, 23, 18, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 23, 18, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.section-head { margin-bottom: 34px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: 32px; margin-top: 8px; }
.section-head p { color: var(--text-soft); margin-top: 8px; font-size: 15px; }

.section { padding: 70px 0; }
.section.tight { padding: 50px 0; }
.section.panel-bg { background: var(--panel); }

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #241c0a;
  box-shadow: 0 8px 20px rgba(201, 152, 47, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 152, 47, 0.45); }
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; }
.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #241c0a; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text .l1 { color: var(--gold); font-weight: 700; font-size: 16.5px; letter-spacing: 0.5px; }
.brand-text .l2 { color: #cfc9bd; font-size: 10px; letter-spacing: 3px; font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: #d8d3c8;
  font-size: 14.5px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle { display: none; background: none; color: #fff; font-size: 22px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--panel);
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span.sep { margin: 0 8px; color: var(--text-faint); }
.breadcrumb span.current { color: var(--text); font-weight: 500; }

/* ---------- Hero (Home) ---------- */
.hero { padding: 60px 0 70px; background: var(--cream); }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  border: 1.3px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 42px; letter-spacing: -0.5px; margin-bottom: 18px; }
.hero p.lead { color: var(--text-soft); font-size: 16px; max-width: 460px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feat-item { text-align: left; }
.feat-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 10px;
}
.feat-item span { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.35; }

.hero-media .main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media .main-img img { width: 100%; height: 340px; object-fit: cover; }
.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.hero-thumbs img {
  width: 100%; height: 100px; object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* ---------- Unit / Apartment Cards ---------- */
.section-toprow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.unit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.unit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.unit-media { position: relative; }
.unit-media img { width: 100%; height: 140px; object-fit: cover; }
.unit-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(20,17,13,0.85);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 5px;
}
.unit-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.unit-body h3 { font-size: 16px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.unit-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--text-soft); font-size: 12px; }
.unit-meta span { display: inline-flex; align-items: center; gap: 5px; }
.unit-body .btn { margin-top: auto; }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd5c4; }
.dots .dot.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* ---------- Icon Card Grid (Perfect For / Why Choose Us) ---------- */
.icon-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.icon-card .ic-wrap {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(201,152,47,0.1);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.icon-card.square .ic-wrap { border-radius: 12px; }
.icon-card h3, .icon-card h4 { font-size: 15px; margin-bottom: 8px; }
.icon-card p { font-size: 13px; color: var(--text-soft); }

/* ---------- Promo Banner ---------- */
.promo-banner {
  background: linear-gradient(120deg, rgba(20,17,13,0.94), rgba(20,17,13,0.8)), var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.promo-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.promo-tag {
  background: var(--gold);
  color: #241c0a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 6px;
  align-self: flex-start;
}
.promo-headline { font-size: 26px; font-weight: 700; }
.promo-headline .accent { color: var(--gold-light); }
.promo-sub { color: #cfc9bd; font-size: 13.5px; margin-top: 4px; }
.promo-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.promo-whatsapp { color: var(--green); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Availability Form ---------- */
.avail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
}
.avail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.avail-card.two-col .avail-grid { grid-template-columns: repeat(2, 1fr); }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 7px;
}
.field .input-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1.4px solid var(--border);
  border-radius: 9px;
  padding: 12px 13px;
  color: var(--text-faint);
  font-size: 13.5px;
  background: var(--cream);
}
.field .input-wrap svg { flex-shrink: 0; color: var(--gold-dark); }
.field .input-wrap input, .field .input-wrap select {
  border: none; background: none; outline: none;
  width: 100%; font-family: inherit; font-size: 13.5px; color: var(--text);
}
.avail-card .btn-block { margin-top: 20px; }
.avail-note { text-align: center; font-size: 12.5px; color: var(--text-faint); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfc9bd; padding-top: 50px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-cols { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: #948d80; margin-bottom: 10px; font-weight: 600;
}
.footer-col .row { display: flex; align-items: center; gap: 9px; color: #e6e1d6; font-size: 14px; }
.footer-col .row svg { color: var(--gold); flex-shrink: 0; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--gold); color: #241c0a; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 12.5px; color: #948d80; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a:hover { color: var(--gold); }

.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 40px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(37,211,102,0.45);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.05); }

/* ==================== Apartment Detail Page ==================== */

.detail-top { padding: 40px 0 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: flex-start;
}

.detail-media .main-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.detail-media .main-photo img { width: 100%; height: 420px; object-fit: cover; }
.video-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(20,17,13,0.75);
  color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 30px;
  display: inline-flex; align-items: center; gap: 7px;
}
.thumb-row {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
}
.thumb-row .arrow {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); flex-shrink: 0;
}
.thumb-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 10px; flex: 1; }
.thumb-strip img {
  width: 100%; height: 66px; object-fit: cover; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
}
.thumb-strip img.active { border-color: var(--gold); }

.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}
.detail-tags { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.tag-off {
  background: var(--gold); color: #241c0a;
  font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 6px;
}
.tag-note { font-size: 12.5px; color: var(--text-soft); font-style: italic; }
.detail-card h1 { font-size: 25px; margin-bottom: 12px; }
.detail-card > p.desc { color: var(--text-soft); font-size: 14px; margin-bottom: 20px; }

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-bottom: 20px;
}
.detail-meta .m-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text); }
.detail-meta .m-item svg { color: var(--gold-dark); }

.detail-card hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.price-label { font-size: 12px; color: var(--text-faint); margin-bottom: 4px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.price-now { font-size: 24px; font-weight: 700; font-family: 'Playfair Display', serif; }
.price-was { font-size: 15px; color: var(--text-faint); text-decoration: line-through; }
.detail-card .btn { margin-bottom: 10px; }

/* About + Check availability */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: flex-start;
}
.about-block h2 { font-size: 22px; margin-bottom: 14px; }
.about-block p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 24px; }
.mini-feats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.mini-feat { text-align: center; }
.mini-feat .ic {
  width: 44px; height: 44px; margin: 0 auto 8px;
  border: 1.4px solid var(--gold); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: 18px;
}
.mini-feat span { font-size: 11.5px; color: var(--text-soft); font-weight: 500; }

.check-avail h3 { font-size: 18px; margin-bottom: 18px; }

/* Offers grid */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.offer-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  background: var(--white);
}
.offer-item .ic {
  width: 42px; height: 42px; margin: 0 auto 10px;
  border-radius: 10px; background: rgba(201,152,47,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: 18px;
}
.offer-item span { font-size: 12.5px; font-weight: 600; color: var(--text); }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid img {
  width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.location-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.location-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.location-list .chk {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #241c0a;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.map-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px; overflow: hidden;
}
.map-card .map-head { margin-bottom: 12px; }
.map-card .map-head strong { display: block; font-size: 14.5px; }
.map-card .map-head span { font-size: 13px; color: var(--text-soft); }
.map-card .map-head a { font-size: 12.5px; color: var(--gold-dark); font-weight: 600; }
.map-frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ==================== Responsive ==================== */
@media (max-width: 980px) {
  .hero .container, .detail-grid, .about-grid, .location-grid { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: repeat(3, 1fr); }
  .icon-cards { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .avail-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-feats { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .footer-cols { gap: 30px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 32px; }
  .hero-feats { grid-template-columns: repeat(2, 1fr); }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-cards { grid-template-columns: 1fr 1fr; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .avail-grid { grid-template-columns: 1fr; }
  .mini-feats { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { padding: 26px; }
  .promo-headline { font-size: 21px; }
  .detail-meta { grid-template-columns: 1fr; }
  .thumb-strip { grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); }
  .header-cta { display: none; }
}

/* ==================== Back-end connected pieces ==================== */
.preview-bar { background: var(--gold); color: var(--dark); text-align: center; font-size: 13px; font-weight: 500; padding: 7px 14px; }
.price-note { margin: -10px 0 18px; font-size: 13px; color: var(--text-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #fdeeea; border: 1px solid #f0c6bb; color: #8a2c20; font-size: 14px; line-height: 1.5; }
.form-msg a { color: #8a2c20; font-weight: 600; text-decoration: underline; }
.form-msg[hidden] { display: none; }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4); }
.avail-done { text-align: center; padding: 14px 6px 6px; }
.avail-done .done-check { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--gold); color: var(--dark); font-size: 26px; line-height: 52px; font-weight: 700; }
.avail-done h4 { font-size: 20px; margin-bottom: 8px; }
.avail-done p { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }

.avail-cal { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 17px; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--cream); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 11px; color: var(--text-faint); padding: 2px 0 4px; }
.cal-cell { aspect-ratio: 1 / 1; min-height: 32px; border-radius: 8px; border: 0; font: inherit; font-size: 13px; }
.cal-cell.blank { background: transparent; }
.cal-cell.free { background: var(--panel); color: var(--text); cursor: pointer; }
.cal-cell.free:hover { background: var(--gold-light); }
.cal-cell.taken { background: var(--dark); color: #cfc8b8; text-decoration: line-through; opacity: .85; }
.cal-cell.past { background: transparent; color: var(--text-faint); opacity: .5; }
.cal-cell.today { outline: 2px solid var(--gold); outline-offset: -2px; }
.cal-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--text-soft); }
.cal-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
.cal-legend .sw.free { background: var(--panel); border: 1px solid var(--border); }
.cal-legend .sw.taken { background: var(--dark); }
.cal-error { margin-top: 10px; font-size: 12.5px; color: var(--text-soft); }

/* Phone fixes: stop sideways scrolling and keep two-column forms readable */
.detail-grid > *, .about-grid > *, .hero .container > * { min-width: 0; }
.thumb-row { min-width: 0; }
.field .input-wrap input, .field .input-wrap select { min-width: 0; width: 100%; }
@media (max-width: 620px) {
  .avail-card.two-col .avail-grid { grid-template-columns: 1fr; }
}
