/* ============================================================
   GAJ MONTAŽNE KUĆE — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --cream:      #f7f4ee;
  --cream-dark: #ede9df;
  --green:      #2d5a27;
  --green-dark: #1a2e16;
  --green-mid:  #3d7a35;
  --sage:       #7a9e74;
  --sage-light: #b8cdb5;
  --text:       #1a2e16;
  --text-mid:   #3d5238;
  --text-light: #6b8264;
  --white:      #ffffff;
  --shadow:     0 2px 16px rgba(26,46,22,.10);
  --shadow-lg:  0 8px 40px rgba(26,46,22,.13);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 20px;
  background: var(--sage-light);
  color: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline-white:hover { background: var(--cream); color: var(--green-dark); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: 0 1px 8px rgba(26,46,22,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.nav-logo span { font-weight: 400; color: var(--text-mid); font-size: .9rem; display: block; line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-lang a {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1px solid var(--sage-light);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-lang a:hover { border-color: var(--green); color: var(--green); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: 12px 20px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--cream-dark);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--cream);
  padding: 64px 0 56px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--sage);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--green-dark);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 420px;
  margin-bottom: 28px;
}

.hero-price-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--green);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.hero-price-box .price { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.hero-price-box .price-label { font-size: .82rem; opacity: .85; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--sage-light);
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-image-wrap:hover img { transform: scale(1.03); }

.hero-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(247,244,238,.93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-dark);
  box-shadow: var(--shadow);
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--green-dark);
  color: var(--cream);
  padding: 28px 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 40px;
  border-right: 1px solid rgba(247,244,238,.15);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--sage-light);
  margin-top: 4px;
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ── Model Cards ──────────────────────────────────────────── */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.model-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.model-card:hover .card-image img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
}

.card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.card-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
  margin-top: auto;
}

.card-cta {
  display: block;
  text-align: center;
  padding: 10px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .88rem;
  color: var(--green);
  transition: background var(--transition), color var(--transition);
}
.card-cta:hover { background: var(--green); color: var(--white); }

/* ── Why / Features ───────────────────────────────────────── */
.why { background: var(--cream-dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 1px 8px rgba(26,46,22,.06);
  transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); }

.feature-icon {
  width: 52px; height: 52px;
  background: var(--cream-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p { font-size: .9rem; color: var(--text-mid); }

/* ── Process ──────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: var(--sage-light);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--green);
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p { font-size: .85rem; color: var(--text-mid); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--green-dark);
  padding: 64px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.cta-banner p { color: var(--sage-light); font-size: 1rem; }
.cta-banner .phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  font-weight: 600;
}

.cta-banner-right { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 56px 0 28px;
  border-top: 3px solid var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { color: var(--cream); margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; color: var(--sage-light); max-width: 260px; line-height: 1.6; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: .9rem;
  color: var(--cream);
  opacity: .8;
  transition: opacity var(--transition);
}
.footer-col ul a:hover { opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--cream);
  opacity: .85;
  margin-bottom: 10px;
}
.footer-contact-item .ico { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(247,244,238,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: var(--sage-light); }

/* ── WhatsApp Button ──────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform var(--transition), box-shadow var(--transition);
  font-size: 1.6rem;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ── Filter Tabs (modeli.html) ────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 24px;
  border: 0.5px solid #c8b99a;
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5a6b58;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-tab:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.filter-tab.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 7px;
  letter-spacing: .02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); background: var(--white); }

.contact-info-cards { display: flex; flex-direction: column; gap: 18px; }

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.info-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-card-text h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}
.info-card-text p, .info-card-text a {
  font-size: .95rem;
  color: var(--text);
}
.info-card-text a:hover { color: var(--green); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 18px;
  height: 280px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── Hero (interior pages) ────────────────────────────────── */
.page-hero {
  background: var(--green-dark);
  padding: 52px 0;
  text-align: center;
}
.page-hero h1 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: var(--sage-light); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .stat { padding: 8px 20px; border-right: none; border-bottom: 1px solid rgba(247,244,238,.15); }
  .stat:last-child { border-bottom: none; }
  .stats-inner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-right { justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }
  .nav-right { gap: 8px; }
  .hamburger { display: flex; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ── Img fallback ─────────────────────────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #7a9e74 0%, #2d5a27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 2.5rem;
}

/* ── CTA Banner Light variant (index.html) ────────────────── */
.cta-banner-light {
  background: var(--cream);
  border-top: 2px solid var(--cream-dark);
  border-bottom: 2px solid var(--cream-dark);
  padding: 64px 0;
}
.cta-banner-light h2 { color: var(--green-dark); font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: 10px; }
.cta-banner-light .cta-eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #4a7c3f; margin-bottom: 10px; }
.cta-banner-light p { color: #4a7c3f; font-size: 1rem; }
.phone-block { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.phone-primary-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.phone-secondary-num { font-weight: 400; color: #5a6b58; text-decoration: none; }
.cta-banner-light .phone-block { margin-top: 16px; }
.cta-banner-light .phone-primary-link { color: var(--green-dark); font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cta-banner-light .phone-primary-link:hover { color: var(--green); }
.cta-banner-light .phone-secondary-num { font-size: 1.4rem; font-family: 'Playfair Display', serif; font-weight: 400; color: #5a6b58; text-decoration: none; }

/* ── Model Detail Pages ───────────────────────────────────── */
.breadcrumb { padding: 16px 0 8px; font-size: .85rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb span { margin: 0 6px; opacity: .5; }

.model-detail-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--green-dark); margin-bottom: 8px; }
.model-detail-subtitle { color: var(--text-light); font-size: 1rem; margin-bottom: 32px; font-family: 'DM Sans', sans-serif; font-weight: 400; }

.model-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--sage-light);
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .gallery-label {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(247,244,238,.9); backdrop-filter: blur(4px);
  border-radius: 6px; padding: 4px 10px;
  font-size: .75rem; font-weight: 600; color: var(--green-dark);
}

/* ── Gallery v2 (main + thumbnails) ───────────────────────── */
.model-gallery-v2 { margin-bottom: 40px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--sage-light);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}
.gallery-main:hover { box-shadow: var(--shadow-lg); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-main:hover img { transform: scale(1.02); }
.gallery-main .gallery-label {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(247,244,238,.9); backdrop-filter: blur(4px);
  border-radius: 6px; padding: 4px 10px;
  font-size: .75rem; font-weight: 600; color: var(--green-dark);
}
.gallery-main .gallery-zoom {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.45); color: #fff; border-radius: 6px;
  padding: 4px 10px; font-size: .75rem; font-family: 'DM Sans', sans-serif;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.gallery-main:hover .gallery-zoom { opacity: 1; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
  flex: 1; min-width: 80px; max-width: 200px;
  border: 2px solid transparent; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: none; padding: 0;
  transition: border-color .18s, box-shadow .18s;
  aspect-ratio: 4/3; position: relative;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--green-mid); box-shadow: 0 0 0 2px rgba(93,131,82,.25); }
.gallery-thumb:hover:not(.active) { border-color: var(--sage); }
.gallery-thumb-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.5); color: #fff;
  font-size: .68rem; font-family: 'DM Sans', sans-serif;
  padding: 3px 6px; text-align: center;
}
@media (max-width: 600px) {
  .gallery-thumb { min-width: 60px; max-width: 120px; }
}

.model-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.model-main { min-width: 0; }
.model-description { font-size: 1.05rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 32px; }

.rooms-note { font-size: .82rem; color: var(--text-light); font-style: italic; margin-bottom: 10px; }

.rooms-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rooms-table th { background: var(--cream-dark); color: var(--text-mid); font-weight: 600; text-align: left; padding: 10px 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-family: 'DM Sans', sans-serif; }
.rooms-table td { padding: 11px 14px; border-bottom: 1px solid var(--cream-dark); color: var(--text); }
.rooms-table tr:last-child td { border-bottom: none; }
.rooms-table tr:nth-child(even) td { background: rgba(247,244,238,.5); }

.price-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 84px;
}
.price-box-eyebrow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 8px; }
.price-box-amount { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--green); line-height: 1.1; margin-bottom: 2px; }
.price-box-sub { font-size: .85rem; color: var(--text-light); margin-bottom: 16px; }
.price-box-divider { border: none; border-top: 1px solid var(--cream-dark); margin: 16px 0; }
.price-box-note { font-size: .8rem; color: var(--text-light); font-style: italic; margin-bottom: 20px; line-height: 1.55; }
.price-box .btn { width: 100%; justify-content: center; }

.model-related { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--cream-dark); }
.model-related h2 { font-size: 1.4rem; margin-bottom: 24px; color: var(--green-dark); }
.related-links { display: flex; gap: 14px; flex-wrap: wrap; }
.related-link {
  background: var(--white); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px;
  min-width: 150px; text-decoration: none;
  border: 2px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.related-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--sage-light); }
.related-link-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--green-dark); }
.related-link-meta { font-size: .82rem; color: var(--text-light); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.88); align-items: center; justify-content: center; padding: 24px; cursor: pointer; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; display: flex; flex-direction: column; align-items: center; cursor: default; max-width: 92vw; }
.lightbox-inner img { max-width: 100%; max-height: 78vh; border-radius: var(--radius); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: -48px; right: 0; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; opacity: .75; line-height: 1; padding: 4px 8px; }
.lightbox-close:hover { opacity: 1; }
.lightbox-caption { margin-top: 12px; color: rgba(255,255,255,.7); font-size: .85rem; text-align: center; }
.lightbox-nav { display: flex; gap: 10px; margin-top: 14px; }
.lightbox-nav button { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-size: .9rem; font-family: 'DM Sans', sans-serif; transition: background .18s; }
.lightbox-nav button:hover { background: rgba(255,255,255,.28); }

@media (max-width: 900px) {
  .model-gallery { grid-template-columns: 1fr; }
  .model-layout { grid-template-columns: 1fr; }
  .price-box { position: static; }
}
@media (max-width: 640px) {
  .related-links { flex-direction: column; }
  .related-link { min-width: auto; }
}
