/* Marriott Residences Reem Island: single-page design.
   Layout mirrors the developer's project page: dark charcoal / off-white bands,
   flared display type (Belleza) over light Cairo body. Renders shown whole. */
:root {
  --void: #171717;
  --charcoal: #1f1f1f;
  --ink: #171717;
  --ivory: #f2f2f2;
  --paper: #fafafa;
  --champagne: #171717;           /* accents are monochrome, like the source */
  --champagne-soft: rgba(23,23,23,0.08);
  --text: #171717;
  --body: #404040;
  --mute: #8a8a8a;
  --snow: #fffcfc;
  --line-d: rgba(23,23,23,0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Belleza", "Optima", "Candara", sans-serif;
  --sans: "Cairo", system-ui, sans-serif;
  --radius: 0px;
  --shadow: 0 24px 60px rgba(0,0,0,0.25);
  --pad: clamp(1.25rem, 5vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: var(--sans); font-weight: 400; background: var(--void); color: #e5e5e5; line-height: 1.7; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }

/* Buttons: white pills like the source */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.6rem; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9e9e9; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }

/* Header (over the hero) */
.header { position: absolute; inset: 0 0 auto; z-index: 60; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem var(--pad); max-width: 1440px; margin-inline: auto; }
.brand { color: #fff; display: flex; flex-direction: column; line-height: 1; }
.brand .wm-main { font-family: var(--display); font-size: 1.55rem; letter-spacing: .02em; }
.brand .wm-sub { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; margin-top: .45rem; opacity: .85; }
.nav-top { display: flex; gap: 2.4rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.nav-top a:hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 8px; border: 0; background: rgba(0,0,0,.55); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: #fff; }
.mobile-nav { position: fixed; inset: 0; z-index: 920; background: var(--void); display: none; padding: 6rem var(--pad) 2rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 1.4rem; font-family: var(--display); font-size: 1.8rem; color: #fff; }
.mobile-nav .btn { margin-top: 1rem; font-family: var(--sans); font-size: 1rem; }
.mobile-close { position: absolute; top: 1.4rem; right: var(--pad); width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #374151; }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25) 45%, rgba(0,0,0,.45)); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 6rem var(--pad) 3rem; }
.hero-logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hero-logo .hl-main { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.1; letter-spacing: .01em; }
.hero-logo .hl-rule { width: min(260px, 60vw); height: 1px; background: rgba(255,255,255,.55); margin: 1rem 0 .7rem; }
.hero-logo .hl-sub { font-size: clamp(.62rem, 1vw, .78rem); letter-spacing: .32em; text-transform: uppercase; }
.hero h1 { font-weight: 400; }
.hero-tagline { margin-top: 1.5rem; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3; }
.hero-tag { margin-top: .5rem; font-size: clamp(.95rem, 1.3vw, 1.1rem); font-weight: 300; opacity: .9; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.play-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: #111; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 6px rgba(255,255,255,.12); transition: transform .3s var(--ease); }
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 18px; height: 18px; margin-left: 3px; }

/* Sticky section nav (light bar under the hero) */
.subnav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid rgba(0,0,0,.06); }
.subnav .nav-links { display: flex; justify-content: center; gap: clamp(1.5rem, 8vw, 7rem); padding: .95rem var(--pad); overflow-x: auto; scrollbar-width: none; }
.subnav .nav-links::-webkit-scrollbar { display: none; }
.subnav a { color: #737373; font-size: 1.05rem; white-space: nowrap; transition: color .25s; }
.subnav a:hover, .subnav a[aria-current="true"], .subnav a.is-current { color: var(--ink); font-weight: 700; }

/* Sections */
.band { padding: clamp(4.5rem, 9vw, 6.5rem) 0; }
.band-dark { background: var(--void); color: #e5e5e5; }
.band-light { background: var(--paper); color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: clamp(1rem, 1.4vw, 1.3rem); text-transform: uppercase; letter-spacing: .045rem; line-height: 1; }
.eyebrow::before { content: ""; width: 3rem; height: 1px; background: currentColor; position: relative; top: -1px; }
.title { margin-top: 1.4rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.25; letter-spacing: .0125rem; }
.band-dark .title { color: #fff; }

/* Overview */
.overview-grid { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.overview-grid img { width: 100%; height: auto; }
.prose p { font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.75; color: #d4d4d4; }
.prose p + p { margin-top: 1.5rem; }
.stats { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.stat span { display: block; font-size: .95rem; color: #d4d4d4; }
.stat strong { display: block; margin-top: .2rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); color: #fff; line-height: 1.25; }

/* Amenities */
.amenity-grid { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1rem; }
.amenity { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; padding: .75rem .5rem; }
.amenity svg { width: 42px; height: 42px; color: #262626; }
.amenity p { font-size: clamp(.95rem, 1.2vw, 1.15rem); color: #262626; line-height: 1.45; max-width: 15rem; }

/* Gallery carousel: whole images on a track */
.gal-tabs { margin-top: 1.6rem; display: flex; gap: 2.6rem; }
.gal-tabs button { background: none; border: 0; cursor: pointer; font-family: var(--display); font-size: clamp(1.4rem, 2.3vw, 2rem); color: #737373; transition: color .3s; }
.gal-tabs button[aria-selected="true"] { color: #fff; }
.gal { position: relative; margin-top: 2rem; }
.gal-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 calc(50vw - 32vw); scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: none; scroll-snap-align: center; height: clamp(260px, 46vw, 620px); transition: opacity .4s; opacity: .35; cursor: zoom-in; }
.gal-slide.is-active { opacity: 1; }
.gal-slide img { height: 100%; width: auto; max-width: none; }
.gal-slide[hidden] { display: none; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #0a0a0a; color: #fff; display: grid; place-items: center; cursor: pointer; }
.gal-arrow svg { width: 22px; height: 22px; }
.gal-prev { left: var(--pad); } .gal-next { right: var(--pad); }
.gal-count { margin-top: 1.4rem; text-align: center; font-size: .9rem; color: #a3a3a3; letter-spacing: .1em; }

/* Location */
.loc-grid { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.loc-grid figure img { width: 100%; height: auto; }
.loc-grid figcaption { margin-top: .6rem; font-size: .85rem; color: #737373; }
.loc-copy p { font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.75; color: #404040; }
.loc-copy h3 { margin-top: 2.4rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.loc-list { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem 1.5rem; }
.loc-list h4 { font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.2; }
.loc-list span { font-size: .85rem; color: #737373; }

/* FAQ (dark band) */
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; margin-top: 2.6rem; }
.faq-list { border-top: 1px solid rgba(255,255,255,.12); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.12); transition: background .3s ease; }
.faq-item.is-open { background: rgba(255,255,255,.03); }
.faq-item button { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; padding: 1.4rem .5rem 1.4rem 0; cursor: pointer; display: flex; align-items: flex-start; gap: 1rem; }
.faq-num { flex: none; font-family: var(--display); font-size: 1.1rem; color: #a3a3a3; line-height: 1.45; }
.faq-item h3 { flex: 1 1 auto; font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.4; color: #fff; }
.faq-icon { width: 24px; height: 24px; flex: none; position: relative; margin-top: .15em; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: #fff; transform: translate(-50%, -50%); transition: transform .35s var(--ease), opacity .35s ease; }
.faq-icon::before { width: 12px; height: 1px; }
.faq-icon::after { width: 1px; height: 12px; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 2.5rem 1.5rem 2.35rem; font-weight: 300; line-height: 1.75; color: #d4d4d4; }
@media (max-width: 800px) {
  .faq-columns { grid-template-columns: 1fr; gap: 0; }
  .faq-list + .faq-list { border-top: 0; }
  .faq-panel p { padding: 0 .5rem 1.4rem 2.35rem; }
}

/* Register: pitch on the left, floating white form card on the right */
.register { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 8rem) 0; color: #fff; }
.register-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.register::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,10,14,.86) 0%, rgba(8,10,14,.62) 45%, rgba(8,10,14,.25) 100%);
}
.reg-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.reg-copy .eyebrow { color: rgba(255,255,255,.85); }
.reg-title { margin-top: 1.4rem; font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; max-width: 14ch; }
.reg-lede { margin-top: 1.3rem; max-width: 30rem; font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; color: rgba(255,255,255,.82); }
.reg-list { list-style: none; margin-top: 2rem; display: grid; gap: .95rem; }
.reg-list li { display: flex; align-items: center; gap: .85rem; font-size: 1.02rem; color: rgba(255,255,255,.92); }
.reg-list svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }

.reg-card { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.reg-card-kicker { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.reg-card-title { margin-top: .5rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.2; }
.reg-form { margin-top: 1.5rem; }
.reg-form .fields { display: grid; gap: 1rem; }
.reg-form .field label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 600; color: #262626; }
.reg-form .field input, .reg-form .field select, .reg-form .phone-code-trigger {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: 10px; font-size: 16px;
  border: 1px solid #e5e5e5; background: #f5f5f4; color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.reg-form .field input::placeholder { color: #a3a3a3; }
.reg-form .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; cursor: pointer; }
.reg-form .field input:focus, .reg-form .field select:focus, .reg-form .phone-code-trigger[aria-expanded="true"] { outline: none; border-color: #171717; background: #fff; }
.reg-form .phone-code-trigger { gap: .4rem; padding: 0 .65rem; font-weight: 500; }
.reg-form .phone-code-trigger svg { color: #525252; }
.reg-form .btn-submit { width: 100%; min-height: 54px; margin-top: .4rem; border-radius: 10px; font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.reg-form .form-status.is-err { color: #b42318; }
.reg-form .form-status.is-ok { color: #2f6b4f; }
.reg-privacy { margin-top: 1rem; font-size: .8rem; color: var(--mute); text-align: center; }
@media (max-width: 860px) {
  .reg-layout { grid-template-columns: 1fr; }
  .register::before { background: linear-gradient(180deg, rgba(8,10,14,.82), rgba(8,10,14,.55)); }
  .reg-title { max-width: none; }
}

/* Footer: centred brand, link row, centred disclaimer, back-to-top */
.footer {
  background: #0b0c0e; color: rgba(247,244,239,0.6);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(243,239,232,0.1);
}
.footer-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: #f7f4ef; }
.wordmark .wm-main { font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 500; letter-spacing: 0.03em; }
.wordmark .wm-sub { margin-top: 0.75rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: #c9a45c; }
.footer-tag { margin-top: 1.4rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(247,244,239,0.6); }
.footer-nav { margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 3rem; }
.footer-nav a { color: rgba(247,244,239,0.82); font-size: 1rem; letter-spacing: 0.1em; transition: color 0.25s ease; }
.footer-nav a:hover { color: #fff; }
.footer-disclaimer {
  margin: 2.6rem auto 0; padding-top: 2.6rem; max-width: 74rem;
  border-top: 1px solid rgba(243,239,232,0.12);
  text-align: center; font-size: clamp(.95rem, 1.15vw, 1.08rem); line-height: 1.85; color: rgba(247,244,239,0.55);
}
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(243,239,232,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem;
  font-size: 1rem; color: rgba(247,244,239,0.55);
}
.back-top { color: #c9a45c; font-weight: 600; }
.back-top:hover { color: #dcbb79; }
@media (max-width: 640px) {
  .footer-nav { gap: 0.8rem 1.6rem; }
  .footer-nav a { font-size: .92rem; }
  .footer-disclaimer { font-size: .9rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; font-size: .9rem; }
}

/* Film modal */
.film-modal { position: fixed; inset: 0; z-index: 9700; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 1.25rem; opacity: 0; visibility: hidden; transition: .3s ease; }
.film-modal.is-open { opacity: 1; visibility: visible; }
.film-modal video { width: min(1200px, 100%); max-height: 86vh; background: #000; }
.film-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .amenity-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-top, .header .btn { display: none; }
  .menu-btn { display: flex; }
  .overview-grid, .loc-grid { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-track { padding: 0 var(--pad); }
  .gal-arrow { width: 44px; height: 44px; }
  .hero { height: 70svh; min-height: 480px; }
  .footer { padding-bottom: 6.5rem; }
}
@media (max-width: 560px) {
  .subnav .nav-links { justify-content: flex-start; gap: 1.6rem; }
  .gal-slide { height: auto; width: 86vw; }
  .gal-slide img { width: 100%; height: auto; }
  .loc-list { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: row; }
}

/* ---- Form, phone picker and modal rules carried over from the template ---- */
.form-card {
  background: #fff; border: 1px solid var(--line-d);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-card-floating {
  border-radius: 20px; padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 40px 90px rgba(11,12,14,0.14); border-color: transparent;
}
.form-card .fields { display: grid; gap: 1.5rem; margin-top: 0; }
.fields-2col { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.fields-2col-span { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 0.6rem; color: var(--mute);
}
.field input, .field select {
  width: 100%; min-height: 54px; padding: 0.85rem 1.1rem;
  border: 1px solid var(--line-d); background: var(--ivory); color: var(--text);
  border-radius: 10px; font-size: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.field input::placeholder { color: var(--mute); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8e96' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--champagne); background: #fff;
}
.form-card-floating .btn { min-height: 56px; border-radius: 10px; font-size: 0.72rem; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fields-2col { grid-template-columns: 1fr; }
}
.phone-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.55rem;
}
.phone-row select {
  flex: 0 0 6.5rem;
  width: 6.5rem;
  max-width: 38%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid var(--line-d);
  background: var(--ivory);
  padding: 0 1.6rem 0 0.7rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-overflow: ellipsis;
}
.phone-row input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.form-note { margin-top: 0.85rem; font-size: 0.82rem; color: var(--mute); }

/* Searchable phone-code picker */
.phone-code { position: relative; flex: 0 0 6.5rem; }
.phone-code-trigger {
  width: 100%; height: 100%; min-height: 54px; display: flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--line-d); background: var(--ivory); border-radius: 10px;
  padding: 0 0.6rem; cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--text);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.phone-code-trigger:hover, .phone-code-trigger[aria-expanded="true"] { border-color: var(--champagne); background: #fff; }
.phone-code-trigger svg { width: 14px; height: 14px; margin-left: auto; color: var(--mute); flex: none; }
.phone-code-trigger span[data-phone-code-flag] { font-size: 1.05rem; line-height: 1; }
.phone-code-panel {
  position: absolute; z-index: 40; top: calc(100% + 0.6rem); left: 0; width: max(280px, 100%);
  background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(11,12,14,0.18);
  border: 1px solid var(--line-d); padding: 0.75rem; max-height: 340px; display: flex; flex-direction: column;
}
.phone-code-panel[hidden] { display: none; }
.phone-code-search {
  width: 100%; min-height: 44px; padding: 0.6rem 0.85rem; margin-bottom: 0.5rem;
  border: 1px solid var(--champagne); border-radius: 8px; background: #fff; font-size: 16px;
}
.phone-code-search:focus { outline: none; box-shadow: 0 0 0 3px var(--champagne-soft); }
.phone-code-list { overflow-y: auto; display: flex; flex-direction: column; }
.phone-code-option {
  display: flex; align-items: center; gap: 0.75rem; width: 100%; border: 0; background: transparent;
  padding: 0.65rem 0.6rem; border-radius: 8px; cursor: pointer; text-align: left; font-size: 0.9rem;
  color: var(--text); transition: background 0.2s ease;
}
.phone-code-option:hover { background: var(--ivory); }
.phone-code-option.is-selected { background: var(--champagne-soft); }
.phone-code-option.is-selected .pco-name { color: var(--champagne); font-weight: 700; }
.pco-flag { font-size: 1.15rem; line-height: 1; flex: none; }
.pco-name { flex: 1 1 auto; }
.pco-dial { flex: none; color: var(--mute); font-variant-numeric: tabular-nums; }
.form-status {
  margin-top: 0.55rem; font-size: 0.9rem; min-height: 0;
}
.form-status:empty { display: none; }
.form-status:not(:empty) { min-height: 1.3em; }
.form-status.is-ok { color: #2f6b4f; }
.form-status.is-err { color: #8a3030; }

/* Sticky CTA */
.sticky-cta {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 850;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta .btn { box-shadow: var(--shadow); }

/* Lightbox */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  max-width: 100%;
  z-index: 9500;
  background: rgba(11,12,14,0.92);
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: 0.35s ease;
  overflow-y: auto; overscroll-behavior: contain;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 88vh; width: auto; height: auto;
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: #fff; cursor: pointer;
}
.thanks-modal { background: rgba(11, 12, 14, 0.78); }
.thanks-card {
  width: min(420px, 100%);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}
.thanks-card .title { font-size: clamp(1.85rem, 4vw, 2.25rem); margin-top: 0.35rem; color: var(--ink); }
.thanks-card .lede {
  margin-inline: auto;
  margin-top: 0.85rem;
  max-width: 28ch;
  font-size: 0.98rem;
  color: var(--body);
}
.thanks-card .btn { margin-top: 1.35rem; min-width: 9rem; }

/* Enquiry popup */
.enquiry-modal {
  position: fixed; inset: 0; z-index: 9600;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: var(--void);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto; overscroll-behavior: contain;
}
.enquiry-modal[hidden] { display: none; }
.enquiry-modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.enquiry-dialog {
  position: relative;
  width: min(480px, 100%);
  margin: auto;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 50px 120px -40px rgba(11, 12, 14, 0.7);
  transform: translateY(20px) scale(0.985);
  transition: transform 0.45s var(--ease);
}
.enquiry-modal.is-open .enquiry-dialog { transform: none; }
.enquiry-lede {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  max-width: 34ch;
}
.enquiry-close {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3;
  width: 40px; height: 40px;
  border: 0;
  background: rgba(11, 12, 14, 0.06);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: grid; place-items: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.enquiry-close:hover { background: var(--void); color: var(--champagne); }
.enquiry-dialog .eyebrow {
  padding-right: 2.75rem;
}
.enquiry-dialog .fields {
  margin-top: 1.15rem;
}
.enquiry-dialog .btn[type="submit"] {
  width: 100%;
}

.enquiry-dialog { padding: 2rem 1.75rem 1.75rem; }
.enquiry-dialog .title { margin-top: .35rem; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2rem); }
.enquiry-dialog .eyebrow { color: var(--mute); font-size: .85rem; }
.enquiry-modal { background: rgba(10,10,10,.82); }
.thanks-card { padding: 2rem 1.75rem; border-radius: 16px; }
.thanks-card .title { margin-top: .2rem; }
.thanks-card .eyebrow { justify-content: center; color: var(--mute); font-size: .85rem; }
.thanks-card .eyebrow::before { display: none; }
.form-card .btn, .enquiry-dialog .btn { border-radius: 10px; }
.sticky-cta .btn { min-height: 48px; padding-inline: 1.8rem; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
@media (max-width: 860px) {
  .sticky-cta { left: .85rem; right: .85rem; bottom: .85rem; }
  .sticky-cta .btn { width: 100%; }
  .enquiry-modal { padding: .75rem; }
  .enquiry-dialog { width: 100%; max-height: min(88svh, 720px); overflow-y: auto; padding: 1.35rem 1.15rem 1.25rem; }
}

/* Form labels: plain sentence case, like the source */
.field label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9rem; color: var(--body); }
.reg-form .phone-code-trigger { gap: .4rem; padding: 0 .6rem; font-weight: 500; }
@media (max-width: 560px) {
  .hero-logo .hl-sub { letter-spacing: .16em; font-size: .6rem; }
}
