/* =====================================================================
   H&S Accommodation Service Sdn Bhd — Design System
   Premium • Corporate • Minimalist
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy: #0F172A;
  --navy-800: #131c30;
  --navy-700: #1e293b;
  --navy-600: #334155;
  --gold: #D4A017;
  --gold-400: #e0b53f;
  --gold-600: #b8860f;
  --gold-text: #8f6708; /* AA-compliant gold for small text on light backgrounds */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: #0b1220;
  --text-muted: #56657a;
  --heading: var(--navy);
  --border: var(--gray-200);

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .28);
  --shadow-gold: 0 14px 34px -12px rgba(212, 160, 23, .5);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --speed: .5s;

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  padding: .8rem 1.2rem;
  border-radius: 0 0 12px 12px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.eyebrow.is-light { color: var(--gold-400); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section--tight { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #cdd6e4; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .9rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.125rem; }

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 1rem 1.9rem;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-3px); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--gray-300);
}
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--navy); background: var(--navy); color: #fff; }

.btn--sm { padding: .7rem 1.25rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 44px; height: 44px; flex: none; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: .01em;
  color: #fff;
  transition: color .4s var(--ease);
}
.brand__tag {
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  transition: color .4s var(--ease);
}

.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  color: rgba(255, 255, 255, .88);
  padding: .55rem .95rem;
  border-radius: var(--radius-pill);
  transition: color .3s, background .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .25rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 22px; }
.nav__link[aria-current="page"] { color: #fff; }
.nav.is-scrolled .nav__link[aria-current="page"] { color: var(--navy); }

.nav__cta { margin-left: .6rem; }

/* Scrolled state */
.nav.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .4);
  height: 70px;
}
.nav.is-scrolled .brand__name { color: var(--navy); }
.nav.is-scrolled .brand__tag { color: var(--gray-500); }
.nav.is-scrolled .nav__link { color: var(--navy-700); }
.nav.is-scrolled .nav__link:hover { color: var(--navy); background: var(--gray-100); }
.nav.is-scrolled .nav__toggle span { background: var(--navy); }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease), background .3s;
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .55) 0%, rgba(15, 23, 42, .7) 100%),
    var(--navy);
  background-size: cover;
  background-position: center;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .55) 45%, rgba(15, 23, 42, .25) 100%);
}
.hero__inner { max-width: 760px; padding-block: 8rem 5rem; }
.hero__title { color: #fff; margin: 1.4rem 0 1.5rem; }
.hero__title span { color: var(--gold-400); display: block; }
.hero__sub { font-size: 1.2rem; color: rgba(255, 255, 255, .9); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero__scroll .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: var(--gold-400);
  border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(212, 160, 23, .22), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(30, 41, 59, .9), transparent 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero__inner { max-width: 760px; }
.page-hero h1 { color: #fff; margin: 1rem 0 1.1rem; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 1.2rem; max-width: 620px; }

/* Breadcrumb */
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span { color: var(--gold-400); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(212, 160, 23, .16), rgba(212, 160, 23, .05));
  color: var(--gold-600);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }
.card__num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--gray-100);
  line-height: 1;
}

/* ---------- How it works (timeline) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px);
  opacity: .5;
}
.step { text-align: center; position: relative; }
.step__num {
  width: 66px; height: 66px;
  margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px -10px rgba(212, 160, 23, .55);
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .98rem; max-width: 300px; margin-inline: auto; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__num .suffix { color: var(--gold-400); }
.stat__label { margin-top: .65rem; color: rgba(255, 255, 255, .7); font-size: .98rem; letter-spacing: .02em; }
.stat + .stat { position: relative; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 32px);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: clamp(2.8rem, 6vw, 5rem);
  text-align: center;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 360px at 50% -30%, rgba(212, 160, 23, .35), transparent 60%);
}
.cta h2 { color: #fff; max-width: 660px; margin: 0 auto 1rem; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 auto 2rem; font-size: 1.12rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--navy-700), var(--gold-600));
  aspect-ratio: 4 / 3.4;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .9rem;
}
.split__badge .big { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--navy); line-height: 1; }
.split__badge small { color: var(--gray-500); font-size: .82rem; }
.split__badge .dot { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(140deg, var(--gold), var(--gold-600)); display:grid; place-items:center; color:#fff; }

.tick-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.tick-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--text); }
.tick-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(212, 160, 23, .14); color: var(--gold-600);
  display: grid; place-items: center; margin-top: 2px;
}
.tick-list .tick svg { width: 15px; height: 15px; }
.tick-list b { color: var(--navy); font-family: var(--font-head); }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  text-align: center;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value__icon {
  width: 56px; height: 56px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-400);
  display: grid; place-items: center;
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.18rem; }

/* Mission / vision cards */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.mv__card {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
}
.mv__card.is-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.mv__card.is-navy h3 { color: #fff; }
.mv__card.is-gold { background: linear-gradient(140deg, var(--gold), var(--gold-600)); color: rgba(255,255,255,.95); }
.mv__card.is-gold h3 { color: #fff; }
.mv__card .mv__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); margin-bottom: 1.2rem; }
.mv__card.is-navy .mv__ico { color: var(--gold-400); }
.mv__card.is-gold .mv__ico { color: #fff; }
.mv__card h3 { font-size: 1.5rem; margin-bottom: .7rem; }

/* ---------- Services list ---------- */
.service {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.8rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service__ico {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(140deg, var(--navy), var(--navy-700));
  color: var(--gold-400);
  display: grid; place-items: center;
}
.service__ico svg { width: 32px; height: 32px; }
.service__body h3 { display: flex; align-items: baseline; gap: .8rem; }
.service__body h3 .idx { font-size: .9rem; color: var(--gold-text); font-weight: 700; }
.service__body p { margin-top: .35rem; font-size: 1rem; }
.service__arrow { color: var(--gray-300); transition: color .3s, transform .3s; }
.service:hover .service__arrow { color: var(--gold); transform: translateX(4px); }

/* ---------- Rooms ---------- */
.filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-top: -3.5rem;
  position: relative;
  z-index: 20;
}
.field { display: flex; flex-direction: column; gap: .45rem; text-align: left; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-500); }
.field select, .field input {
  font: inherit;
  font-size: .98rem;
  padding: .85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356657a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(212,160,23,.14); }

.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.9rem); }
.room {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.room:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--gold-600)); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room:hover .room__media img { transform: scale(1.07); }
.room__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(6px);
  color: #fff; font-size: .78rem; font-weight: 600;
  padding: .35rem .8rem; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: .4rem;
}
.room__price {
  position: absolute; bottom: 1rem; right: 1rem;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  padding: .5rem .9rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}
.room__price small { font-weight: 600; font-size: .72rem; opacity: .8; }
.room__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room__loc { display: flex; align-items: center; gap: .45rem; color: var(--gray-500); font-size: .9rem; margin-bottom: .3rem; }
.room__loc svg { width: 16px; height: 16px; color: var(--gold-600); }
.room__type { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.room__feats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.room__feats span {
  font-size: .8rem; color: var(--navy-700);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.room__cta { margin-top: auto; }
.btn--wa { --btn-bg: #25D366; --btn-fg: #fff; }
.btn--wa:hover { box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .6); }
.btn--wa svg { width: 20px; height: 20px; }

.rooms-empty { text-align: center; padding: 4rem 1rem; color: var(--gray-500); display: none; }
.rooms-empty svg { width: 54px; height: 54px; color: var(--gray-300); margin: 0 auto 1rem; }

/* ---------- Property Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.g-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--gold-600) 120%);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, .78) 100%);
  opacity: .85;
  transition: opacity .4s var(--ease);
  z-index: 1;
}
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }
.g-item__cap {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .9rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: .5rem;
  transform: translateY(2px);
  transition: transform .4s var(--ease);
}
.g-item:hover .g-item__cap { transform: translateY(-2px); }
.g-item__zoom {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.g-item:hover .g-item__zoom { opacity: 1; transform: scale(1); }
.g-item:hover .g-item__zoom { background: var(--gold); color: var(--navy); }
.g-item__zoom svg { width: 18px; height: 18px; }

.g-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.g-item:nth-child(2) { grid-column: span 3; }
.g-item:nth-child(3) { grid-column: span 3; }
.g-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(7) { grid-column: span 6; }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; }
  .g-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .g-item:nth-child(1) { grid-column: span 2 !important; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .g-item:nth-child(1) { grid-column: span 1 !important; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(8, 12, 22, .94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }
.lightbox__stage {
  position: relative;
  max-width: min(1080px, 94vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 94vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  background: var(--navy-700);
  transform: scale(.96);
  transition: transform .35s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__meta {
  margin-top: 1.1rem;
  text-align: center;
  color: #fff;
}
.lightbox__caption { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.lightbox__counter { color: var(--gold-400); font-size: .85rem; letter-spacing: .12em; margin-top: .3rem; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .3s, transform .3s;
  z-index: 2;
}
.lightbox__btn:hover { background: var(--gold); color: var(--navy); }
.lightbox__btn--prev { left: -8px; }
.lightbox__btn--next { right: -8px; }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .3s, transform .3s;
  z-index: 3;
}
.lightbox__close:hover { background: #fff; color: var(--navy); transform: rotate(90deg); }
.lightbox__close svg { width: 24px; height: 24px; }
@media (max-width: 620px) {
  .lightbox__btn { width: 42px; height: 42px; bottom: -64px; top: auto; transform: none; }
  .lightbox__btn--prev { left: calc(50% - 52px); }
  .lightbox__btn--next { right: calc(50% - 52px); }
  .lightbox__img { max-height: 64vh; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.audience-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.audience-card.is-owner { background: var(--navy); color: rgba(255,255,255,.82); }
.audience-card.is-owner h3 { color: #fff; }
.audience-card.is-tenant { background: var(--white); border: 1px solid var(--border); }
.audience-card .a-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.audience-card.is-owner .a-ico { background: rgba(212,160,23,.18); color: var(--gold-400); }
.audience-card.is-tenant .a-ico { background: var(--navy); color: var(--gold-400); }
.audience-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.audience-card .btn { margin-top: 1.5rem; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.1rem; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--navy); font-family: var(--font-head); }
.form-field label .req { color: var(--gold-600); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; font-size: 1rem;
  padding: .9rem 1.05rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(212,160,23,.14);
}
.form-field .error-msg { color: #c0392b; font-size: .82rem; display: none; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #e74c3c; background: #fef5f4; }
.form-field.has-error .error-msg { display: block; }
.form-note { font-size: .82rem; color: var(--gray-500); margin-top: .4rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.form-success.show { display: block; animation: fadeUp .5s var(--ease) both; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: rgba(37,211,102,.14); color: #1da851; display: grid; place-items: center;
}

.info-list { display: grid; gap: 1.3rem; margin-top: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .i-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(212,160,23,.14); color: var(--gold-600); display: grid; place-items: center; }
.info-item .i-ico svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--font-head); color: var(--navy); font-size: 1rem; margin-bottom: .2rem; }
.info-item p, .info-item a { color: var(--gray-500); font-size: .98rem; }
.info-item a:hover { color: var(--gold-600); }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .68); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer .brand__name, .footer .brand__tag { color: #fff; }
.footer__about { max-width: 340px; margin-top: 1.2rem; font-size: .96rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; font-family: var(--font-head); }
.footer__links { display: grid; gap: .7rem; }
.footer__links a { color: rgba(255,255,255,.68); transition: color .25s, padding .25s; font-size: .98rem; }
.footer__links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .95rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-400); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255, 255, 255, .5);
}
.footer__socials { display: flex; gap: .6rem; }
.footer__socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .3s, transform .3s; }
.footer__socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__socials svg { width: 18px; height: 18px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25D366; color: #fff;
  font-family: var(--font-head); font-weight: 600;
  padding: .85rem 1.2rem .85rem .9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .65);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px -10px rgba(37,211,102,.75); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-ping { position: absolute; inset: 0; border-radius: var(--radius-pill); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: waPing 2.4s ease-out infinite; }
@keyframes waPing { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%,100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --nav-h: 72px; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .4rem;
    padding: calc(var(--nav-h) + 1.5rem) 1.6rem 2rem;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.6);
  }
  body.menu-open .nav__menu { transform: translateX(0); }
  .nav__link { color: #fff; font-size: 1.1rem; padding: .85rem 1rem; border-radius: 12px; }
  .nav__link:hover { background: rgba(255,255,255,.07); }
  .nav.is-scrolled .nav__link { color: #fff; }
  .nav.is-scrolled .nav__link:hover { background: rgba(255,255,255,.07); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav__toggle { display: block; z-index: 110; }
  body.menu-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 95;
    background: rgba(15,23,42,.5); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  body.menu-open .nav-backdrop { opacity: 1; visibility: visible; }

  .grid--3 { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .mv, .contact-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .field button { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2.2rem 1rem; }
  .service { grid-template-columns: 64px 1fr; }
  .service__arrow { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .grid--4, .grid--3, .grid--2, .rooms-grid, .filters { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .service__ico { width: 60px; height: 60px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__bg img { animation: none; transform: scale(1); }
}

/* ---------- Print ---------- */
@media print {
  .nav, .wa-float, .hero__scroll, .footer__socials { display: none !important; }
}
