/* =========================================
   Nedić Apartments — Main Stylesheet
   ========================================= */

/* --- CSS Custom Properties --- */
:root {
  --primary:    #0B4F6C;
  --primary-dk: #083d56;
  --secondary:  #FF6B6B;
  --gold:       #FFD166;
  --seafoam:    #A8E6CF;
  --bg:         #FFF8EE;
  --accent:     #FF8C42;
  --nature:     #5B8C5A;
  --teal:       #2EC4B6;
  --text:       #1a2a35;
  --text-muted: #5a7080;
  --border:     #dde8ef;
  --card-bg:    #ffffff;
  --shadow-sm:  0 2px 8px rgba(11,79,108,0.08);
  --shadow-md:  0 4px 20px rgba(11,79,108,0.13);
  --shadow-lg:  0 8px 40px rgba(11,79,108,0.18);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--primary);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea { font-family: inherit; font-size: 1rem; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: #e85555;
  border-color: #e85555;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  transition: all var(--transition);
}
.btn-secondary-light:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }

/* --- Section Base --- */
.section { position: relative; padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.6rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.section-header.light h2,
.section-header.light p { color: white; }
.section-header.light p { opacity: 0.85; }

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

#site-header.scrolled {
  background: rgba(11, 79, 108, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-wave { width: 36px; height: 22px; }
.logo-text { color: white; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links li a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links li a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}

/* Language Switcher */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,0.25); }
.lang-btn svg { opacity: 0.7; margin-left: 2px; }
.lang-btn img { border-radius: 2px; display: block; flex-shrink: 0; }
.lang-dropdown li img { border-radius: 2px; flex-shrink: 0; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  overflow: hidden;
  display: none;
  z-index: 200;
  border: 1px solid var(--border);
}
.lang-dropdown.open { display: block; }
.lang-dropdown li {
  padding: 0.65rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
  transition: background var(--transition);
}
.lang-dropdown li:hover { background: var(--bg); }
.lang-dropdown li.active { background: #ebf5fb; color: var(--primary); font-weight: 600; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #072e42 0%, #0B4F6C 40%, #1a7fa3 70%, #2ec4b6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,209,102,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,209,102,0.2);
  border: 1px solid rgba(255,209,102,0.5);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-item {
  text-align: center;
  padding: 0 1.5rem;
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-unit { color: var(--gold); font-size: 1rem; }
.stat-label { display: block; color: rgba(255,255,255,0.75); font-size: 0.8rem; margin-top: 0.2rem; }
.stat-label-top { display: block; color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); flex-shrink: 0; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* =========================================
   APARTMENTS
   ========================================= */
.apartments-section { background: var(--bg); }

.apt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.apt-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.apt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Apartment Gallery */
.apt-gallery { overflow: hidden; }

.apt-main-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.apt-main-img:hover { opacity: 0.92; }

.img-thumbs {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.thumb-img {
  flex: 1;
  height: 72px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.thumb-img:hover { opacity: 0.85; }

.thumb-more {
  flex: 1;
  position: relative;
  height: 72px;
  overflow: hidden;
}
.thumb-more img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-more span {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-more:hover span { background: rgba(0,0,0,0.65); }

/* =========================================
   LIGHTBOX
   ========================================= */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}

.lb-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.28); }
.lb-prev:disabled, .lb-next:disabled { opacity: 0.2; pointer-events: none; }

.lb-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.apt-info { padding: 1.5rem; }
.apt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.apt-header h3 { font-size: 1.3rem; }
.apt-badge {
  background: var(--primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

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

.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #f1f3f5;
  color: #495057;
  border: 1px solid #dee2e6;
}

.apt-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.5;
}

.apt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.apt-btns {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.btn-outline {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.apt-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0;
}

/* =========================================
   APARTMENT DETAILS MODAL (tabbed)
   ========================================= */
.adm {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm[hidden] { display: none; }
.adm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.adm-box {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: min(780px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.adm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.adm-apt-label { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 0.15rem; }
.adm-apt-name  { font-size: 1.15rem; margin: 0; }
.adm-close {
  background: none; border: none; font-size: 1.2rem;
  color: var(--text-muted); cursor: pointer;
  padding: 0.2rem 0.4rem; border-radius: 4px; margin-left: 1rem; flex-shrink: 0;
}
.adm-close:hover { background: #f1f3f5; color: var(--text); }

.adm-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  flex-shrink: 0;
  padding: 0 1.5rem;
}
.adm-tab {
  background: none; border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.adm-tab:hover { color: var(--primary); }
.adm-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.adm-panel { overflow-y: auto; padding: 1.5rem; flex: 1; }
.adm-panel[hidden] { display: none; }

.adm-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}
.adm-amenity-col h4 {
  font-size: 0.95rem; margin: 0 0 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.adm-amenity-list { list-style: none; padding: 0; margin: 0; }
.adm-amenity-list li {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0; border-bottom: 1px solid #f5f5f5; font-size: 0.88rem;
}
.adm-amenity-list li span:nth-child(2) { flex: 1; }
.adm-amenity-list li.no { color: #adb5bd; }
.adm-icon { width: 1.1rem; text-align: center; font-size: 0.9rem; flex-shrink: 0; }
.adm-check { color: #f59e0b; font-weight: 700; }
.adm-cross  { color: #ced4da; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.pricing-table th {
  text-align: left; padding: 0.6rem 0.75rem;
  font-size: 0.78rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border);
}
.pricing-table td { padding: 0.75rem; border-bottom: 1px solid #f0f0f0; }
.pricing-table tr.peak td { background: #fff8ee; font-weight: 600; }
.pricing-table tr.peak td:nth-child(2) { color: var(--secondary); }

.pricing-modal-note {
  margin: 1.25rem 0 0; font-size: 0.82rem;
  color: var(--text-muted); text-align: center;
}

.tag-more {
  background: none; border: 1px dashed #adb5bd;
  color: var(--primary); font-weight: 600; cursor: pointer;
}
.tag-more:hover { background: #f0f7fb; border-color: var(--primary); }

@media (max-width: 600px) {
  .adm-amenities { grid-template-columns: 1fr; }
  .adm-box { max-height: 95vh; }
}
.price-from { font-size: 0.88rem; color: var(--text-muted); }
.price-amount { font-size: 1.6rem; font-weight: 700; color: var(--secondary); font-family: 'Playfair Display', serif; }
.price-per { font-size: 0.88rem; color: var(--text-muted); }

/* Pricing Table */
.pricing-section { margin-bottom: 3rem; }
.pricing-title { text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem; }

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.price-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.price-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.price-card.peak {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.peak-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-period { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; }
.price-dates { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.price-card.peak .price-period,
.price-card.peak .price-dates { color: rgba(255,255,255,0.85); }
.price-amount-lg {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.price-card.peak .price-amount-lg { color: var(--gold); }
.price-unit { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }
.price-card.peak .price-unit { color: rgba(255,255,255,0.7); }

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* What's Included */
.included-section { margin-top: 2rem; }
.included-section h3 { text-align: center; margin-bottom: 1.25rem; }
.included-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  background: white;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.check { color: var(--nature); font-weight: 700; font-size: 1rem; }

/* Section Wave Divider */
.section-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.section-wave svg { width: 100%; display: block; }

/* =========================================
   CALENDAR & BOOKING
   ========================================= */
.calendar-section {
  background: linear-gradient(160deg, #EBF8FF 0%, #dbeafe 50%, #EBF8FF 100%);
}

/* Two-column layout: form left, calendars right */
.booking-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ---- Inquiry Card ---- */
.inquiry-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem;
}

.inquiry-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.inquiry-verified {
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Apartment checkbox cards */
.apt-interest-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.apt-checkboxes {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.apt-checkbox-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  user-select: none;
}
.apt-checkbox-card:hover { border-color: var(--primary); }
.apt-checkbox-card.checked {
  border-color: var(--primary);
  background: #ebf5fb;
}
.apt-checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.apt-card-check {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  background: white;
  transition: all var(--transition);
  flex-shrink: 0;
}
.apt-checkbox-card.checked .apt-card-check {
  background: var(--primary);
  border-color: var(--primary);
}
.apt-checkbox-card.checked .apt-card-check::after {
  content: '✓';
  color: white;
  font-size: 0.8rem;
  line-height: 1;
}

.apt-card-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

/* Date row */
.date-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0.25rem;
}
.date-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.date-row input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--transition);
  cursor: default;
}
.date-row input:focus { border-color: var(--primary); }

/* Guests row */
.guests-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0.25rem;
  flex-wrap: wrap;
}
.guests-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.guests-row span { font-size: 0.88rem; color: var(--text-muted); white-space: nowrap; }
.guests-row select {
  padding: 0.45rem 1.75rem 0.45rem 0.65rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a7080'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 9px;
  transition: border-color var(--transition);
  cursor: pointer;
}
.guests-row select:focus { border-color: var(--primary); }

/* Contact inputs inside inquiry card */
.inquiry-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.inquiry-card .form-group { display: flex; flex-direction: column; }
.inquiry-card .form-group input,
.inquiry-card .form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.inquiry-card .form-group input:focus,
.inquiry-card .form-group textarea:focus { border-color: var(--primary); }
.inquiry-card .form-group textarea { resize: vertical; min-height: 72px; margin-bottom: 0.6rem; }
.inquiry-card .form-group input.error { border-color: var(--secondary); }

/* Big yellow submit button */
.btn-inquiry-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--gold);
  color: #1a2a35;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.75rem;
}
.btn-inquiry-submit:hover {
  background: #f5c400;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,209,102,0.5);
}
.btn-inquiry-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---- Calendars column ---- */
.calendars-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: start;
}

.cal-legend { grid-column: 1 / -1; }

.calendar-widget {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem;
  border: 1px solid var(--border);
}
.calendar-widget h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--primary);
  text-align: center;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.cal-nav-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 24px; height: 24px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
  line-height: 1;
}
.cal-nav-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cal-month-label { font-weight: 700; font-size: 0.82rem; color: var(--primary); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day-header {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.2rem 0;
  text-transform: uppercase;
}
.cal-day {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  border-radius: 4px;
  cursor: default;
  font-weight: 500;
  transition: background var(--transition);
  user-select: none;
}
.cal-day.empty { background: transparent; }
.cal-day.available {
  background: #d1fae5;
  color: #065f46;
  cursor: pointer;
}
.cal-day.available:hover { background: #6ee7b7; color: #064e3b; }
.cal-day.booked { background: #fee2e2; color: #991b1b; cursor: not-allowed; }
.cal-day.today { outline: 2px solid var(--primary); outline-offset: -2px; font-weight: 700; }
.cal-day.past { opacity: 0.35; cursor: default; }

/* Date range selection */
.cal-day.sel-start,
.cal-day.sel-end,
.cal-day.sel-single {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 700;
  border-radius: 4px;
}
.cal-day.sel-range {
  background: rgba(11,79,108,0.18) !important;
  color: var(--primary) !important;
  border-radius: 0;
}

.cal-legend {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legend-dot.available { background: #d1fae5; border: 1px solid #6ee7b7; }
.legend-dot.booked    { background: #fee2e2; border: 1px solid #fca5a5; }
.legend-dot.today     { background: transparent; border: 2px solid var(--primary); }
.legend-dot.selected  { background: var(--primary); }

/* Booking Form */
.booking-form-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}
.booking-form-wrapper h3 { font-size: 1.4rem; margin-bottom: 1.75rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--secondary); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,79,108,0.1);
}
.form-group input.error,
.form-group select.error {
  border-color: var(--secondary);
}
.field-error {
  color: var(--secondary);
  font-size: 0.8rem;
  min-height: 1.1em;
}
.form-group textarea { resize: vertical; min-height: 100px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a7080'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px;
  padding-right: 2.25rem;
}

/* Price Estimate Box */
.price-estimate-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.price-estimate-box h4 {
  font-size: 1.05rem;
  color: #166534;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.price-estimate-box h4::before { content: '💰'; }

.estimate-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 0.3rem 0;
  color: var(--text);
}
.estimate-row.total {
  border-top: 2px solid #86efac;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #166534;
}
.estimate-note {
  font-size: 0.8rem;
  color: #4ade80;
  color: #16a34a;
  margin-top: 0.5rem;
}
.estimate-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: #c2410c;
  margin-top: 0.75rem;
}

.form-submit-row {
  margin-top: 1.5rem;
  text-align: center;
}
.form-submit-row .btn { width: 100%; max-width: 360px; }

.booking-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.booking-disclaimer svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

/* Success Message */
.booking-success {
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--nature);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}
.booking-success h3 { color: var(--nature); margin-bottom: 0.75rem; }

/* =========================================
   ABOUT VIR
   ========================================= */
.vir-section { background: var(--bg); }

.vir-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.vir-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

.vir-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.highlight-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-card strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; color: var(--primary); }
.highlight-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.vir-text h4 { margin-bottom: 0.75rem; font-size: 1.1rem; }

.attractions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.attractions-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid #eee;
}
.attractions-list li strong { color: var(--text); }

.daytrips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.daytrip-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  transition: box-shadow var(--transition);
}
.daytrip-card:hover { box-shadow: var(--shadow-sm); }
.daytrip-card.highlight {
  border-color: var(--primary);
  background: #f0f7fb;
}
.daytrip-header { margin-bottom: 0.4rem; }
.daytrip-time {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--gold);
  color: #1a2a35;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  letter-spacing: 0.02em;
}
.daytrip-card.highlight .daytrip-time { background: var(--primary); color: white; }
.daytrip-name { display: block; font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--primary); }
.daytrip-desc { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.4; }

.vir-map { margin-top: 2rem; }
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}
.map-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}
.map-pin-info {
  background: white;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  box-shadow: var(--shadow-md);
  line-height: 1.4;
}

/* Distances Grid */
.distances-section { margin-top: 3rem; }
.distances-section h3 { text-align: center; margin-bottom: 1.5rem; }

.distances-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.dist-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.dist-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dist-icon { font-size: 1.6rem; display: block; margin-bottom: 0.35rem; }
.dist-val { display: block; font-weight: 700; font-size: 0.95rem; color: var(--primary); margin-bottom: 0.2rem; }
.dist-label { font-size: 0.78rem; color: var(--text-muted); }

/* =========================================
   REVIEWS
   ========================================= */
.reviews-section { background: white; }

.overall-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; }
.rating-score { font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.rating-source { font-size: 0.88rem; color: var(--text-muted); }

.reviews-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  padding-bottom: 0.75rem;
}
.reviews-scroll-wrapper::-webkit-scrollbar { height: 5px; }
.reviews-scroll-wrapper::-webkit-scrollbar-track { background: transparent; }
.reviews-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

.reviews-grid {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.review-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  width: 300px;
  flex-shrink: 0;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review-stars { color: var(--gold); margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reviews-google-link {
  text-align: center;
  margin-top: 1.75rem;
}
.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border: 2px solid #dadce0;
  border-radius: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.btn-google-reviews:hover {
  border-color: #4285F4;
  box-shadow: 0 2px 8px rgba(66,133,244,0.18);
}
.reviewer-flag { border-radius: 2px; flex-shrink: 0; display: block; }
.reviewer-name { display: block; font-weight: 700; font-size: 0.88rem; color: var(--primary); }
.review-date { font-size: 0.78rem; color: var(--text-muted); }

/* =========================================
   CONTACT
   ========================================= */
.contact-section {
  background: linear-gradient(145deg, #0B4F6C 0%, #072e42 50%, #0f3d5a 100%);
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.contact-icon { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.contact-card h4 { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.5rem; font-family: 'Source Sans 3', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-link { color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.5; }
a.contact-link:hover { color: var(--gold); }

.direct-booking-note {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  max-width: 620px;
  margin: 0 auto;
}
.direct-booking-note strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.direct-booking-note p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #051e2a;
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand .logo-text { color: white; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.footer-address { font-size: 0.83rem; }

.footer-links h5,
.footer-contact h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-contact p { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
}

/* =========================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================= */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .distances-grid { grid-template-columns: repeat(5, 1fr); }
  .daytrips-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================= */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dk);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.2rem; padding: 0.75rem 1.5rem; }

  .hamburger { display: flex; z-index: 1001; }
  .lang-switcher { order: -1; }
  .navbar { flex-wrap: wrap; }

  /* Hero */
  .hero-stats {
    gap: 0.75rem;
    padding: 1rem 1rem;
  }
  .stat-divider { display: none; }
  .stat-item { padding: 0 0.75rem; }

  /* Apartments */
  .apt-cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 320px; }
  .price-card.peak { transform: none; }

  /* Booking layout */
  .booking-layout { grid-template-columns: 1fr; }
  .calendars-column { grid-template-columns: 1fr 1fr; }
  .inquiry-card .form-row { grid-template-columns: 1fr; }
  .date-row { flex-wrap: wrap; }
  .guests-row { flex-wrap: wrap; }

  /* Vir */
  .vir-highlights { grid-template-columns: 1fr; }
  .daytrips-grid { grid-template-columns: 1fr 1fr; }

  /* Distances */
  .distances-grid { grid-template-columns: repeat(3, 1fr); }

  /* Reviews */
  .review-card { width: 260px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .distances-grid { grid-template-columns: repeat(2, 1fr); }
}
