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

:root {
  --clr-bg:      #F9F8F5;
  --clr-white:   #FFFFFF;
  --clr-dark:    #1A1A2E;
  --clr-mid:     #4A4A5A;
  --clr-light:   #9A99A8;
  --clr-gold:    #B8860B;
  --clr-gold-lt: #D4A843;
  --clr-border:  #E5E3DC;
  --nav-h:       70px;
  --r:           12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--clr-bg); color: var(--clr-dark); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
nav.scrolled { background: rgba(26,26,46,.97); box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: .04em; flex-shrink: 0; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--clr-gold-lt); }
.nav-cta { background: var(--clr-gold); color: #fff !important; padding: 9px 20px; border-radius: 6px; transition: background .2s !important; }
.nav-cta:hover { background: var(--clr-gold-lt) !important; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.1); border-radius: 6px; padding: 3px; margin: 0; border: none; }
.lang-btn { background: none; border: none; color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; cursor: pointer; transition: background .18s, color .18s; font-family: inherit; }
.lang-btn.active { background: var(--clr-gold); color: #fff; }
.lang-btn:hover:not(.active) { color: rgba(255,255,255,.9); }

/* ── HERO ── */
.hero { position: relative; height: 100dvh; min-height: 560px; overflow: hidden; }
.hero-slides { height: 100%; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,20,.25) 0%, rgba(10,10,20,.15) 40%, rgba(10,10,20,.72) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 60px 60px 80px;
}
.hero-badges { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hero-badge {
  display: inline-block; color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 4px; width: fit-content;
}
.hero-badge-gold  { background: var(--clr-gold); }
.hero-badge-dark  { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; line-height: 1.15; margin-bottom: 10px; max-width: 700px; }
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,.75); margin-bottom: 28px; max-width: 560px; }
.hero-price { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--clr-gold-lt); font-weight: 600; margin-bottom: 6px; }
.hero-price-note { display: block; font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 400; color: rgba(255,255,255,.6); letter-spacing: .05em; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: .95rem; transition: transform .15s, box-shadow .15s, background .2s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-primary { background: var(--clr-gold); color: #fff; }
.btn-primary:hover { background: var(--clr-gold-lt); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero-dots { position: absolute; bottom: 28px; right: 60px; display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s, transform .2s; }
.hero-dot.active { background: var(--clr-gold-lt); transform: scale(1.3); }

/* ── STATS BAR ── */
.stats-bar { background: var(--clr-dark); padding: 0 40px; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; }
.stat-item { flex: 1; text-align: center; padding: 28px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--clr-gold-lt); font-weight: 600; display: block; line-height: 1.2; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .09em; margin-top: 4px; }

/* ── SECTIONS ── */
section { padding: 90px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clr-gold); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--clr-dark); line-height: 1.2; margin-bottom: 40px; }

/* ── ABOUT ── */
#about { background: var(--clr-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { color: var(--clr-mid); margin-bottom: 18px; font-size: 1.02rem; line-height: 1.75; }
.features-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--clr-mid); }
.features-list li::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; background: var(--clr-gold); color: #fff;
  border-radius: 50%; font-size: .65rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.specs-card { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r); overflow: hidden; }
.specs-card-header { background: var(--clr-dark); padding: 18px 24px; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--clr-border); font-size: .92rem; }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--clr-light); }
.spec-val { font-weight: 600; color: var(--clr-dark); }

/* ── FLOOR PLAN ── */
#plan { background: var(--clr-bg); }
.plan-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.plan-img-frame {
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--r); padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,.07);
}
.plan-img-frame img { width: 100%; height: auto; display: block; border-radius: 6px; }
.plan-img-caption { text-align: center; margin-top: 14px; font-size: .82rem; color: var(--clr-light); letter-spacing: .05em; }

.rooms-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r); overflow: hidden; }
.rooms-card-header { background: var(--clr-dark); padding: 18px 24px; font-family: 'Playfair Display', serif; font-size: 1.05rem; color: #fff; }
.room-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 24px; border-bottom: 1px solid var(--clr-border); font-size: .92rem; }
.room-row:last-child { border-bottom: none; }
.room-name { color: var(--clr-mid); }
.room-area { font-weight: 600; color: var(--clr-dark); }
.room-row.total { background: var(--clr-dark); }
.room-row.total .room-name { color: rgba(255,255,255,.7); font-weight: 500; }
.room-row.total .room-area { color: var(--clr-gold-lt); font-size: 1.05rem; }

/* ── GALLERY ── */
#gallery { background: var(--clr-white); padding-left: 0; padding-right: 0; padding-bottom: 60px; }
#gallery .gallery-header { max-width: 1100px; margin: 0 auto; padding: 0 40px 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 6px; padding: 0 6px; }
.gallery-item { overflow: hidden; border-radius: 0; cursor: pointer; position: relative; background: #ddd; }
.g-big  { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(10,10,20,.35); opacity: 0; display: flex; align-items: center; justify-content: center; transition: opacity .3s; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 36px; height: 36px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,3,10,.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-img { display: block; width: 98vw; height: 96vh; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: rgba(255,255,255,.8); font-size: 2rem; cursor: pointer; transition: color .2s; }
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 1.6rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .85rem; }

/* ── VIDEO ── */
#video { background: var(--clr-dark); padding: 90px 40px; }
#video .section-title { color: #fff; }
#video .section-label { color: var(--clr-gold-lt); }
.video-wrap { border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.video-wrap video { width: 100%; display: block; max-height: 65vh; object-fit: contain; background: #000; }

/* ── MAP ── */
#map { background: var(--clr-dark); padding: 0; }
.map-section-head { max-width: 1100px; margin: 0 auto; padding: 80px 40px 36px; }
.map-section-head .section-label { color: var(--clr-gold-lt); }
.map-section-head .section-title { color: #fff; margin-bottom: 0; }
.map-frame { position: relative; width: 100%; height: 90vh; min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.map-gmaps-btn {
  position: absolute; bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px; background: var(--clr-white);
  border: none; border-radius: 8px; text-decoration: none;
  color: var(--clr-dark); font-weight: 600; font-size: .85rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: box-shadow .2s, transform .15s;
}
.map-gmaps-btn:hover { box-shadow: 0 8px 30px rgba(0,0,0,.4); transform: translateY(-1px); }
.map-gmaps-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── CONTACT ── */
#contact { background: var(--clr-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: var(--clr-gold); box-shadow: 0 4px 16px rgba(184,134,11,.12); }
.contact-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--clr-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; fill: var(--clr-gold-lt); }
.contact-card-label { font-size: .75rem; color: var(--clr-light); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.contact-card-value { font-weight: 600; font-size: .97rem; color: var(--clr-dark); }
.form-card { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r); padding: 36px; }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 6px; }
.form-subtitle { font-size: .88rem; color: var(--clr-light); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--clr-mid); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.form-group label .req { color: var(--clr-gold); margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--clr-border); border-radius: 8px; font-family: inherit; font-size: .95rem; color: var(--clr-dark); background: var(--clr-white); transition: border-color .2s, box-shadow .2s; outline: none; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--clr-gold); box-shadow: 0 0 0 3px rgba(184,134,11,.12); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .78rem; color: var(--clr-light); margin-top: 6px; }
.form-submit { width: 100%; margin-top: 8px; font-size: 1rem; padding: 15px; }
.form-success { display: none; text-align: center; padding: 28px; color: var(--clr-dark); }
.form-success .check { font-size: 2.5rem; display: block; margin-bottom: 12px; }

/* ── FOOTER ── */
footer { background: var(--clr-dark); padding: 36px 40px; text-align: center; color: rgba(255,255,255,.35); font-size: .82rem; }
footer a { color: rgba(255,255,255,.5); text-decoration: none; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero-overlay { padding: 40px 24px 60px; }
  .hero-title { font-size: 1.35rem; }
  .hero-price { font-size: 1.4rem; }
  .hero-subtitle { font-size: .9rem; margin-bottom: 16px; }
  .hero-price-note { margin-bottom: 18px; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  section { padding: 60px 20px; }
  .about-grid, .contact-grid, .plan-layout { grid-template-columns: 1fr; gap: 32px; }
  #gallery .gallery-header { padding: 0 16px 32px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; padding: 0 4px; }
  .gallery-item,
  .gallery-item.g-big,
  .gallery-item.g-wide { grid-column: span 1; grid-row: span 1; }
  .features-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .map-section-head { padding: 60px 20px 28px; }
  .map-frame { height: 50vh; min-height: 300px; }
}

