/* Sea Nest Suites — Zafir structure, coastal light theme + Domini elegance */
:root {
  --navy: #1a3a5c;
  --navy-deep: #0c2238;
  --sand: #f9f6f1;
  --sand-dark: #ebe4d9;
  --gold: #c9a87c;
  --gold-light: #e8d5bc;
  --gold-dark: #9a7b55;
  --sea: #3d7a9e;
  --bg-deep: var(--sand);
  --bg-card: #ffffff;
  --bg-elevated: var(--sand-dark);
  --text-primary: var(--navy);
  --text-muted: #5c6d7e;
  --border: rgba(26, 58, 92, 0.12);
  --shadow-gold: 0 12px 40px rgba(201, 168, 124, 0.22);
  --shadow-soft: 0 20px 50px rgba(12, 34, 56, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 80px;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--shadow-gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
}

.logo-link:hover {
  color: var(--gold-light);
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.logo-text .tagline {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.lang-switcher select {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-elevated);
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
  padding: 0.35rem 0.5rem;
  border-radius: 2px;
  cursor: pointer;
  width: auto;
  min-width: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lang-switcher select:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.lang-switcher select:focus {
  outline: none;
  border-color: var(--gold);
}

.lang-notice {
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid var(--gold-dark);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  font-family: var(--font-ui);
}

.lang-notice strong {
  display: block;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.lang-notice p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

body.rtl .nav-inner,
body.rtl .hero-cta,
body.rtl .footer-inner {
  direction: rtl;
}

body.rtl .contact-split,
body.rtl .form-row,
body.rtl .checkbox-group {
  direction: rtl;
}

body.rtl .notice-box li,
body.rtl .lang-notice {
  text-align: right;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.85) 60%, var(--bg-deep) 100%);
  pointer-events: none;
}

.hero-bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg-deep) 100%);
}

.hero-content {
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(201, 169, 98, 0.3);
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.hero .location {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: var(--bg-deep);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(201, 169, 98, 0.1);
  color: var(--gold-light);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .overline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

/* About / Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Apartments preview */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.apartment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.apartment-card:has(.apartment-preview:not(.apartment-preview--empty)):hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.apartment-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: var(--bg-elevated);
  cursor: pointer;
  overflow: hidden;
}

.apartment-preview:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.apartment-preview--empty {
  cursor: default;
}

.apartment-preview img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.apartment-preview:hover img,
.apartment-preview:focus-visible img {
  transform: scale(1.04);
  filter: brightness(0.72);
}

.apartment-preview-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.35);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity var(--transition), background var(--transition);
  pointer-events: none;
}

.apartment-preview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  background: rgba(10, 10, 10, 0.55);
  box-shadow: var(--shadow-gold);
}

.apartment-preview:hover .apartment-preview-hint,
.apartment-preview:focus-visible .apartment-preview-hint {
  opacity: 1;
  background: rgba(10, 10, 10, 0.55);
}

.apartment-info {
  padding: 1.75rem;
}

.apartment-info h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.apartment-info p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Gallery page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(10, 10, 10, 0.8));
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-primary);
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.instagram-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  max-height: 80vh;
  max-width: 90vw;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-caption {
  margin-top: 1rem;
  max-width: 42rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.lightbox-counter {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

@media (max-width: 640px) {
  .lightbox {
    padding: 1rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
}

/* Contact / Booking page */
.contact-page {
  padding-top: calc(var(--nav-height) + 3rem);
  min-height: 100vh;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - var(--nav-height) - 6rem);
}

.contact-panel,
.booking-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.contact-panel {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
}

.booking-panel {
  background: var(--bg-elevated);
}

.panel-header {
  margin-bottom: 2rem;
}

.panel-header .overline {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.panel-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.panel-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.notice-box {
  background: rgba(201, 169, 98, 0.08);
  border: 1px solid var(--gold-dark);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.notice-box strong {
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.notice-box ul {
  list-style: none;
  color: var(--text-muted);
}

.notice-box li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.notice-box li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.45rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.checkbox-group label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-ui);
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  padding: 1.25rem;
  background: rgba(180, 60, 60, 0.12);
  border: 1px solid rgba(180, 60, 60, 0.5);
  color: #e8b4b4;
  font-family: var(--font-ui);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-error.visible {
  display: block;
}

.form-error a {
  color: var(--gold-light);
}

.contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.contact-info-item a {
  color: var(--gold-light);
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
}

.page-hero .overline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    min-width: 0;
  }

  .logo-link {
    order: 1;
    flex: 1;
    min-width: 0;
  }

  .nav-menu {
    order: 2;
    gap: 0;
  }

  .nav-toggle {
    order: 3;
    flex-shrink: 0;
  }

  .lang-switcher {
    padding-left: 0;
    border-left: none;
  }

  .lang-switcher select {
    font-size: 0.68rem;
    padding: 0.28rem 0.35rem;
    line-height: 1.2;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  body.nav-open {
    overflow: hidden;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: calc(var(--nav-height) + 1.5rem) 1rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero .subtitle {
    font-size: 1.05rem;
  }

  .hero-cta {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
  }

  .features-grid,
  .apartments-grid,
  .gallery-grid,
  .hotspots-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-panel,
  .booking-panel {
    padding: 1.75rem 1.25rem;
  }

  .page-hero {
    padding: calc(var(--nav-height) + 2.5rem) 0 2rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .calendar-panel,
  .events-list-panel,
  .attractions-sidebar {
    padding: 1.25rem;
  }

  .cal-month-label {
    min-width: 0;
    font-size: 0.85rem;
  }

  .event-filters {
    flex-wrap: wrap;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    width: min(100%, 94vw);
  }

  .logo-img {
    width: 44px;
    height: 44px;
  }

  .logo-text .brand {
    font-size: 1.05rem;
  }

  .logo-text .tagline {
    display: none;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
  }

  .hero .location {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 18rem;
  }

  .apartment-preview img {
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .panel-header h2 {
    font-size: 1.6rem;
  }

  .notice-box,
  .lang-notice {
    padding: 1rem 1.1rem;
  }

  .hotspot-dir-btn {
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* Sea Nest header — transparent on hero */
.site-header.on-hero {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.site-header.on-hero.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.site-header.on-hero .logo-link { color: var(--navy); }
.site-header.on-hero:not(.scrolled) .logo-link,
.site-header.on-hero:not(.scrolled) .nav-links a,
.site-header.on-hero:not(.scrolled) .logo-text .tagline {
  color: rgba(255, 255, 255, 0.92);
}
.site-header.on-hero:not(.scrolled) .logo-text .brand { color: var(--gold-light); }
.site-header.on-hero:not(.scrolled) .nav-links a:hover,
.site-header.on-hero:not(.scrolled) .nav-links a.active { color: var(--gold-light); }
.site-header.on-hero:not(.scrolled) .nav-toggle span { background: var(--gold-light); }
.site-header.on-hero:not(.scrolled) .lang-switcher select {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header:not(.on-hero) {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.hero-bg-overlay {
  background:
    linear-gradient(180deg, rgba(12, 34, 56, 0.25) 0%, rgba(12, 34, 56, 0.72) 55%, rgba(12, 34, 56, 0.88) 100%);
}
.hero-bg-overlay::after {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(12, 34, 56, 0.45) 100%);
}
.hero h1 { color: var(--gold-light); }
.hero .subtitle { color: rgba(255, 255, 255, 0.88); }
.hero .location { color: var(--gold-light); }

.feature-card,
.apartment-card,
.gallery-item,
.instagram-cta {
  border-radius: var(--radius);
}
.feature-card,
.apartment-card,
.instagram-cta {
  box-shadow: var(--shadow-soft);
}
.apartment-preview img {
  object-fit: cover;
  height: 300px;
}
.apartment-preview--placeholder {
  height: 300px;
  background: linear-gradient(145deg, var(--sea) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.apartment-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border-radius: 6px;
}

.form-error { color: #8b3a3a; background: rgba(180, 60, 60, 0.08); }
.form-success { color: var(--navy); background: rgba(201, 168, 124, 0.15); }

.page-hero {
  background: linear-gradient(180deg, var(--sand-dark) 0%, var(--sand) 100%);
}
.page-hero h1 { color: var(--navy); }

@media (max-width: 768px) {
  .site-header.on-hero:not(.scrolled) .nav-links {
    background: rgba(12, 34, 56, 0.97);
  }
  .site-header:not(.on-hero) .nav-links,
  .site-header.on-hero.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }
  .site-header:not(.on-hero) .nav-links a,
  .site-header.on-hero.scrolled .nav-links a {
    color: var(--navy);
  }
  .nav-links.open a { color: var(--gold-dark); }
}
