/* Suite 1309 — design tokens */
:root {
  --bg: #f7f8fa;
  --fg: #19222b;
  --muted: #6b7785;
  --border: #d4dbe1;
  --card: #ffffff;
  --primary: #2d7a8c;
  --primary-dark: #1a3a4a;
  --primary-hover: #266b7a;
  --gold: #c8893a;
  --gold-soft: rgba(200,137,58,0.55);
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff; transition: color 0.3s ease; }
.nav.is-scrolled .nav-brand { color: var(--primary-dark); }
.nav-brand .brand-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.nav-mark-bg { fill: transparent; transition: fill 0.3s ease; }
.nav.is-scrolled .nav-mark-bg { fill: #ffffff; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-eyebrow { font-size: 0.62rem; letter-spacing: 0.42em; color: var(--gold); font-weight: 600; }
.brand-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; margin-top: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav.is-scrolled .nav-links a { color: var(--primary-dark); }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 10px 20px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.nav.is-scrolled .nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.nav-cta:hover { background: var(--gold) !important; border-color: var(--gold); color: #fff !important; }

.lang-toggle {
  background: none;
  border: 1.5px solid currentColor;
  color: inherit;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { opacity: 1; color: var(--gold); }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav.is-scrolled .nav-burger span { background: var(--primary-dark); }

@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 80vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 28px 32px;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a, .nav-links .lang-toggle {
    color: var(--primary-dark) !important;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .nav-links .nav-cta {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    text-align: center;
    margin-top: 10px;
    border-bottom: 0;
  }
  .nav-links .lang-toggle {
    align-self: flex-start;
    width: 56px;
    border: 1.5px solid var(--primary);
    border-radius: 999px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,30,45,0.35) 0%, rgba(10,30,45,0.55) 50%, rgba(10,30,45,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.hero-mark {
  width: clamp(150px, 22vw, 210px);
  height: clamp(150px, 22vw, 210px);
  filter: drop-shadow(0 0 28px rgba(200,137,58,0.18));
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), filter 0.5s ease;
  margin-bottom: 18px;
}
.hero-logo:hover .hero-mark,
.hero-logo:focus-visible .hero-mark {
  transform: scale(1.08);
  filter: drop-shadow(0 0 40px rgba(200,137,58,0.55)) drop-shadow(0 0 12px rgba(200,137,58,0.3));
}
.hero-logo:hover .hero-mark-bg,
.hero-logo:focus-visible .hero-mark-bg { fill: rgba(10,25,40,0.6); }

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.55em;
  color: var(--gold);
  margin-bottom: 10px;
}
.hero-rule {
  height: 0.5px;
  width: 100px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 4px 0 10px;
  opacity: 0.85;
  transition: width 0.5s ease;
}
.hero-logo:hover .hero-rule { width: 140px; opacity: 1; }
.hero-sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  margin: 0 0 44px;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: all 0.3s ease;
}
.hero-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,137,58,0.35);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
}
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-head--left { text-align: left; margin-left: 0; margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--primary-dark);
  letter-spacing: 0.01em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5e9ee;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Amenities ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.amenity-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45,122,140,0.4);
}
.amenity-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45,122,140,0.12), rgba(200,137,58,0.12));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--primary-dark);
}
.amenity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
}
.location-desc { color: var(--muted); margin: 0 0 24px; }
.location-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.location-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.location-features li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--gold);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
}
.location-address {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.location-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.location-map:hover { color: var(--gold); }
.location-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.location-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Booking form ---------- */
.booking {
  background: linear-gradient(180deg, transparent, rgba(45,122,140,0.05));
}
.booking-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
@media (max-width: 640px) { .booking-form { padding: 24px; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field--inline {
  flex-direction: row;
  gap: 16px;
}
.field--inline > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 520px) {
  .field--inline { flex-direction: column; }
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,122,140,0.15);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; }
.field-error {
  font-size: 0.78rem;
  color: #d64545;
  min-height: 1em;
}

.booking-submit {
  margin-top: 8px;
  padding: 16px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.booking-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.booking-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  background: rgba(37,211,102,0.08);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.85rem;
}
.booking-note svg { flex: 0 0 16px; margin-top: 2px; }

/* ---------- Footer ---------- */
.footer {
  background: #0d2535;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Brand column */
.footer-brand { max-width: 420px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-mark { width: 48px; height: 48px; flex: 0 0 48px; }
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.fl-eyebrow {
  font-family: var(--font-sans);
  color: var(--gold);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.fl-number {
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.95);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-top: 1px;
}
.fl-rule {
  height: 0.5px;
  width: 100%;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 3px 0 2px;
  opacity: 0.6;
}
.fl-sub {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.6);
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  margin: 20px 0 0;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-circle:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(200,137,58,0.08);
}

/* Contact + WhatsApp columns */
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 24px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-link:hover { color: rgba(255,255,255,0.95); }
.footer-link svg { flex: 0 0 14px; }
.footer-link--static { cursor: default; align-items: flex-start; margin-top: 4px; }
.footer-link--static:hover { color: rgba(255,255,255,0.6); }

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--whatsapp);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-wa-btn:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }

/* Bottom row */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-place {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
.wa-fab {
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.wa-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}
@media (max-width: 520px) { .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,25,40,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- A11y helpers ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
