/* ================================================
   RUPAREL ARIANA — style.css
   "Sky Manor" Brochure Theme
   Didone caps + italic counterpoint + metallic foil gold
   Hero markup untouched — image only.
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* --- Foil gold ramp (sampled from brochure) --- */
  --gold-pale:  #FAEFCB;  /* foil highlight */
  --gold-light: #E9CE86;  /* light gold */
  --gold:       #C89B3C;  /* core metallic gold */
  --gold-deep:  #8F651C;  /* bronze shadow */

  /* --- Paper --- */
  --cream:      #FDF9F0;  /* brochure paper white */
  --champagne:  #F5E9CE;  /* silk gradient mid */
  --champagne-d:#EBD9AF;  /* silk gradient deep */

  /* --- Ink --- */
  --ink:        #14100A;  /* Sky Manor black */
  --ink-warm:   #241A0E;  /* warm charcoal */
  --brown:      #3E2A14;  /* heading brown */
  --text:       #2C2113;  /* body text */
  --text-muted: #6F5C42;  /* taupe */

  /* --- Lines --- */
  --border:      rgba(200,155,60,0.28);
  --border-grey: rgba(44,33,19,0.10);
  --hairline-dark: rgba(250,239,203,0.16);

  /* --- Legacy aliases (kept so existing rules/markup keep working) --- */
  --red:        #C89B3C;
  --red-light:  #E9CE86;
  --red-dark:   #8F651C;
  --white:      #FDF9F0;
  --off-white:  #F7EFDF;
  --light-grey: #F1E4C8;
  --dark:       #14100A;
  --charcoal:   #241A0E;

  /* --- Signature foil gradient (rules, bands, edges) --- */
  --foil: linear-gradient(100deg,
      #8F651C 0%, #C89B3C 16%, #FAEFCB 38%,
      #E3C579 52%, #A9781F 72%, #E9CE86 88%, #C89B3C 100%);
  /* Brighter ramp for type + buttons: never drops below #C89B3C, so it
     stays legible against the near-black ground. */
  --foil-text: linear-gradient(100deg,
      #C9A24A 0%, #F3E0A8 17%, #FAEFCB 33%,
      #DFC079 50%, #F2E2AC 67%, #C89B3C 85%, #EBD79A 100%);
  --foil-v: linear-gradient(180deg, #FAEFCB, #C89B3C 45%, #8F651C);

  /* --- Ornament --- */
  --fleuron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='20' viewBox='0 0 168 20'%3E%3Cg fill='none' stroke='%23C89B3C' stroke-width='1.2'%3E%3Cpath d='M2 10H56'/%3E%3Cpath d='M112 10H166'/%3E%3C/g%3E%3Cpath d='M84 1 L90.5 10 L84 19 L77.5 10 Z' fill='%23C89B3C'/%3E%3Cpath d='M70 10 L75.5 6 L75.5 14 Z' fill='%23C89B3C'/%3E%3Cpath d='M98 10 L92.5 6 L92.5 14 Z' fill='%23C89B3C'/%3E%3Ccircle cx='63' cy='10' r='1.7' fill='%23C89B3C'/%3E%3Ccircle cx='105' cy='10' r='1.7' fill='%23C89B3C'/%3E%3C/svg%3E");
  --fleuron-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='20' viewBox='0 0 104 20'%3E%3Cpath d='M10 1 L16.5 10 L10 19 L3.5 10 Z' fill='%23C89B3C'/%3E%3Cpath d='M24 10 L18.5 6 L18.5 14 Z' fill='%23C89B3C'/%3E%3Ccircle cx='31' cy='10' r='1.7' fill='%23C89B3C'/%3E%3Cpath d='M38 10H102' fill='none' stroke='%23C89B3C' stroke-width='1.2'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Bodoni Moda', 'Didot', 'Georgia', serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden; width: 100%; max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Reusable foil-text treatment (didone on dark, like the brochure covers) */
.foil-text {
  background: var(--foil-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ================================================
   SIGNATURE MOTIF — corner-bracket eyebrows
   ================================================ */
.eyebrow, .hero-rera-tag {
  position: relative;
  display: inline-block;
  padding: 5px 18px;
  /* explicit width stops flex-column parents stretching the brackets
     to the full column, so they hug the label as in the brochure */
  width: fit-content;
  max-width: 100%;
}
.eyebrow::before, .eyebrow::after,
.hero-rera-tag::before, .hero-rera-tag::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 9px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.75;
}
.eyebrow::before, .hero-rera-tag::before { left: 0; border-left: 1px solid currentColor; }
.eyebrow::after, .hero-rera-tag::after { right: 0; border-right: 1px solid currentColor; }

/* ================================================
   TOPBAR — currently unused (commented out in HTML).
   Rules kept so re-enabling it in index.php needs no
   CSS changes. If restored, also change nav{top:36px},
   .mobile-menu{top:104px} (32px/92px on mobile) below.
   ================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: var(--ink);
  border-bottom: 1px solid rgba(250,239,203,0.10);
  padding: 9px 48px;
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
}
.topbar-brand { font-family: 'Bodoni Moda', serif; font-size: 0.62rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(250,239,203,0.55); }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-social { display: flex; gap: 16px; }
.topbar-social a { color: rgba(250,239,203,0.45); transition: color 0.2s; display: flex; align-items: center; }
.topbar-social a:hover { color: var(--gold-light); }
.topbar-phone { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; color: var(--gold-light); text-decoration: none; letter-spacing: 1px; font-weight: 500; }

.message strong { font-weight: 600; }

@keyframes shine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ================================================
   NAV
   ================================================ */
nav {
  position: fixed; top: 0px; left: 0; right: 0; z-index: 1000;
  background: rgba(253,249,240,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; width: 100%;
}
/* foil underline on the nav, replacing the flat 2px bar */
nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--foil); opacity: 0.9;
}
body.independence-day nav {
  background: linear-gradient(to right,
      #FF9933 0%, #FFBB66 12%, #FFFFFF 32%,
      #FFFFFF 68%, #6FBF73 88%, #138808 100%);
  backdrop-filter: none;
  border-top: 2px solid #FF9933;
  border-bottom: 3px solid #138808;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
body.independence-day nav::after { display: none; }

.nav-logo img { height: 42px; display: block; }
.nav-links { display: flex; list-style: none; }
.nav-links a {
  display: block; padding: 0 16px; line-height: 60px;
  font-family: 'Bodoni Moda', serif; font-size: 0.72rem; letter-spacing: 2.6px;
  text-transform: uppercase; font-weight: 500; color: var(--text);
  text-decoration: none; transition: color 0.2s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.nav-links a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.nav-cta {
  font-family: 'Bodoni Moda', serif; background: var(--ink); color: var(--gold-light);
  border: 1px solid var(--ink); padding: 9px 22px; cursor: pointer;
  font-size: 0.68rem; letter-spacing: 2.6px; text-transform: uppercase;
  font-weight: 600; transition: all 0.25s; position: relative;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); }
.mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--cream); border-bottom: 2px solid var(--gold); z-index: 999; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 24px; color: var(--text); text-decoration: none;
  font-family: 'Bodoni Moda', serif; font-size: 0.78rem; letter-spacing: 2.4px;
  text-transform: uppercase; border-bottom: 1px solid var(--border-grey); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold-deep); }
.mob-cta { background: var(--ink); color: var(--gold-light) !important; text-align: center; font-weight: 600 !important; margin: 10px 20px; display: block; border-bottom: none !important; }

/* ================================================
   HERO — Image only, no content inside (UNCHANGED)
   ================================================ */
.hero {
  position: relative;
  padding: 60px 0 0 0;
  background: var(--ink);
  line-height: 0;
}
.hero-img-desktop,
.hero-img-mobile { width: 100%; height: auto; display: block; }
.hero-img-mobile { display: none; }
.hero-bg-mobile { display: none; }

/* foil hairline closing the hero, matching brochure page edges */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--foil);
}

/* ================================================
   HERO INFO — single full-width brochure-cover image
   ================================================ */
.hero-info { display: block; line-height: 0; border-bottom: 1px solid var(--hairline-dark); }
.hero-info img { width: 100%; height: auto; display: block; }

/* ================================================
   SECTION BASE
   ================================================ */
section { padding: 68px 64px; position: relative; }
section { border-bottom: none; }

/* Foil rule at the top of each section — the brochure's page-edge band.
   Replaces the old flat 3px gold border. */
#overview::before, #amenities::before, #gallery::before,
#plans::before, #location::before, #enquiry::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--foil); z-index: 2;
}

.container { max-width: 1280px; margin: 0 auto; width: 100%; }

.eyebrow {
  font-family: 'Bodoni Moda', serif; font-size: 0.68rem; letter-spacing: 4.5px;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 13px; font-weight: 600;
}

/* Didone caps + italic counterpoint — the brochure's core heading device */
.sec-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--brown);
}
.sec-title em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;      /* keeps the script counterpoint lowercase */
  letter-spacing: 0.005em;
  color: var(--gold-deep);
  font-size: 1.06em;
}

/* Ornamental divider replaces the plain 40px bar */
.gold-line {
  width: 104px; height: 20px;
  background: var(--fleuron-l) no-repeat left center;
  margin-bottom: 26px;
}
.gold-line.center {
  width: 168px;
  background-image: var(--fleuron);
  background-position: center;
  margin-left: auto; margin-right: auto;
}

/* Brochure "statement plate" — double gold rule box.
   Add class="plate" to any element to get it. */
.plate {
  display: inline-block; padding: 14px 30px;
  border: 1px solid var(--gold);
  outline: 1px solid var(--gold); outline-offset: 4px;
  font-family: 'Bodoni Moda', serif; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gold-deep);
}

/* ================================================
   OVERVIEW
   ================================================ */
#overview { background: var(--cream); }
.overview-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 380px; }
.overview-img-side { position: relative; overflow: hidden; }
.overview-img-side img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.95) contrast(1.04); object-position: top; }
.overview-img-label {
  position: absolute; bottom: 20px; left: 20px;
  font-family: 'Bodoni Moda', serif; font-size: 0.62rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-light); font-style: italic;
  background: rgba(20,16,10,0.55); padding: 5px 12px; border: 1px solid rgba(200,155,60,0.35);
}
/* champagne silk gradient, as on the amenities spread */
.overview-content-side {
  padding: 38px 44px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, #FBF3E2 38%, var(--champagne) 100%);
}
.overview-content-side p { font-size: 0.98rem; line-height: 1.68; color: var(--text-muted); margin-bottom: 16px; font-weight: 400; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.hl-item { display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border-grey); }
.hl-num { font-family: 'Bodoni Moda', serif; font-size: 0.72rem; color: var(--gold-deep); font-weight: 700; flex-shrink: 0; margin-top: 3px; letter-spacing: 1px; }
.hl-text { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; color: var(--text); line-height: 1.5; }
.rera-strip { font-family: 'Bodoni Moda', serif; font-size: 0.66rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-deep); opacity: 0.85; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--border-grey); }

/* ================================================
   AMENITIES — foil strip + champagne silk grid
   ================================================ */
#amenities { background: var(--cream); padding: 0; }
.am-layout { display: grid; grid-template-columns: 1fr; min-height: unset; }

.am-sidebar { display: flex; flex-direction: row; align-items: stretch; }
.am-sidebar-top {
  flex: 1; position: relative;
  background: linear-gradient(90deg, #1B1309 0%, var(--ink) 55%, #241A0E 100%);
  display: flex; flex-direction: row; justify-content: center; align-items: center;
  padding: 16px 40px; gap: 22px;
}
/* gold chevron corner ornaments, as on the plans pages */
.am-sidebar-top::before, .am-sidebar-top::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; opacity: 0.85;
  background: var(--foil-v);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.am-sidebar-top::before { left: 34px; }
.am-sidebar-top::after  { right: 34px; }

.am-vertical { writing-mode: horizontal-tb; transform: none; display: flex; align-items: baseline; gap: 14px; flex: none; }
.am-count {
  font-family: 'Bodoni Moda', serif; font-size: 1.7rem; font-weight: 700;
  background: var(--foil-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.am-heading {
  font-family: 'Bodoni Moda', serif; font-size: 1.05rem; font-weight: 600; letter-spacing: 5px;
  background: var(--foil-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.am-tagline {
  font-family: 'Bodoni Moda', serif; font-size: 0.7rem; letter-spacing: 2.6px; text-transform: uppercase;
  color: rgba(250,239,203,0.72); text-align: left; line-height: 1.6; margin: 0;
}
.am-brand-logo { width: 90px; height: auto; filter: grayscale(1) opacity(0.85); }
.am-brand-sub { font-family: 'Bodoni Moda', serif; font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

.am-grid-wrap {
  padding: 40px 44px;
  background-color: var(--cream);
  background-image:
    linear-gradient(118deg, rgba(253,249,240,0.94) 0%, rgba(251,243,226,0.86) 34%, rgba(235,217,175,0.72) 68%, rgba(253,249,240,0.94) 100%),
    url('../images/amenities-pattern.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 480px auto;
  background-position: center, 0 0;
  display: flex; justify-content: center;
}
.am-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 30px; max-width: 1000px; width: 100%; justify-items: center; }
.am-item { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.am-icon-box {
  width: 84px; height: 84px;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(200,155,60,0.32); outline-offset: 4px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(253,249,240,0.55);
  transition: background 0.25s, border-color 0.25s;
}
.am-item:hover .am-icon-box { background: rgba(253,249,240,0.9); border-color: var(--gold-deep); }
.am-icon-box img { width: 42px; height: 42px; object-fit: contain; }
.am-label {
  font-family: 'Bodoni Moda', serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-deep);
  line-height: 1.45; text-align: center;
}

@media (max-width: 900px) {
  .am-layout { grid-template-columns: 1fr; }
  .am-sidebar-top { flex-direction: row; justify-content: center; padding: 22px 24px; }
  .am-sidebar-top::before, .am-sidebar-top::after { display: none; }
  .am-vertical { writing-mode: horizontal-tb; transform: none; flex-direction: row; gap: 10px; }
  .am-tagline { display: none; }
  .am-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .am-icon-box { width: 76px; height: 76px; }
}

/* ================================================
   GALLERY
   ================================================ */
#gallery {
  background-color: var(--cream);
  background-image:
    linear-gradient(160deg, rgba(253,249,240,0.95) 0%, rgba(245,233,206,0.75) 55%, rgba(253,249,240,0.95) 100%),
    url('../images/amenities-pattern.png');
  background-repeat: no-repeat, repeat;
  background-size: cover, 480px auto;
  background-position: center, 0 0;
  padding: 64px 0;
}
.gallery-header { padding: 0 64px; margin-bottom: 30px; text-align: center; }
.gallery-header .sec-title { color: var(--brown); }
.g-tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.g-tabs::-webkit-scrollbar { display: none; }
.g-tab {
  font-family: 'Bodoni Moda', serif; padding: 10px 26px; font-size: 0.7rem; letter-spacing: 3.2px;
  text-transform: uppercase; font-weight: 500; cursor: pointer; color: var(--text-muted);
  border: none; border-bottom: 2px solid transparent; background: none;
  transition: all 0.2s; margin-bottom: -1px; white-space: nowrap; flex-shrink: 0;
}
.g-tab.active { color: var(--gold-deep); border-bottom-color: var(--gold); }
.g-tab:hover { color: var(--brown); }
.g-panel { display: none; }
.g-panel.active { display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.g-item { position: relative; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.g-item.tall { grid-row: span 2; aspect-ratio: unset; min-height: 300px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.g-item:hover img { transform: scale(1.07); }
.g-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,10,0.8), transparent); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 16px; }
.g-item:hover .g-overlay { opacity: 1; }
.g-caption { font-family: 'Bodoni Moda', serif; font-size: 0.68rem; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold-light); }

/* ================================================
   FLOOR PLANS
   ================================================ */
#plans { background: linear-gradient(150deg, var(--cream) 0%, var(--champagne) 55%, #FBF3E2 100%); }
#plans .sec-title { color: var(--brown); }
.plans-intro { max-width: 600px; margin-bottom: 34px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { position: relative; overflow: hidden; cursor: zoom-in; border: 1px solid var(--border); background: var(--cream); }
.plan-card img { width: 100%; display: block; transition: transform 0.4s; }
.plan-card:hover img { transform: scale(1.04); }
.plan-label {
  position: absolute; bottom: 0; left: 0; right: 0; background: var(--ink); color: var(--gold-light);
  padding: 11px 15px; font-family: 'Bodoni Moda', serif; font-size: 0.68rem;
  letter-spacing: 2.6px; text-transform: uppercase; font-weight: 600;
}

/* ================================================
   LOCATION
   ================================================ */
#location { background: var(--cream); padding: 0; }
.location-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.map-side { background: #1B1309; padding: 28px 22px 28px 56px; display: flex; align-items: stretch; }
.map-side iframe { width: 100%; min-height: 300px; border: none; filter: grayscale(0.5) sepia(0.18) brightness(0.94) contrast(1.05); display: block; flex: 1; }
.conn-side {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-content: start;
  padding: 40px 40px; background: linear-gradient(135deg, var(--cream) 0%, #FBF3E2 45%, var(--champagne) 100%); overflow-y: auto; }
.conn-title, .conn-sub, .address-block { grid-column: 1 / -1; }
.conn-title { font-family: 'Bodoni Moda', serif; font-size: 1.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--brown); }
.conn-title em { font-style: italic; text-transform: none; color: var(--gold-deep); }
.conn-sub { font-family: 'Bodoni Moda', serif; font-size: 0.7rem; letter-spacing: 2.8px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.conn-group { margin-bottom: 14px; }
.conn-group-title {
  font-family: 'Bodoni Moda', serif; font-size: 0.66rem; letter-spacing: 3.2px; text-transform: uppercase;
  color: var(--gold-light); background: var(--ink); padding: 8px 14px; margin-bottom: 8px; display: inline-block;
}
.conn-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border-grey); }
.conn-name { font-family: 'Montserrat', sans-serif; font-size: 0.73rem; color: var(--text); }
.conn-dist { font-family: 'Bodoni Moda', serif; font-size: 0.75rem; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.5px; }
.address-block { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(253,249,240,0.75); }
.address-block strong { font-family: 'Bodoni Moda', serif; font-size: 0.68rem; letter-spacing: 3.2px; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 10px; }
.address-block p { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; color: var(--text-muted); line-height: 1.7; }

/* ================================================
   ENQUIRY — dark brochure close, foil-trimmed form
   ================================================ */
#enquiry { background: linear-gradient(140deg, #1B1309 0%, var(--ink) 60%, #241A0E 100%); }
.enq-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.enq-left .sec-title {
  background: var(--foil-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.enq-left .sec-title em { -webkit-text-fill-color: transparent; color: transparent; }
#enquiry .eyebrow { color: var(--gold-light); }
.enq-left > p { font-family: 'Montserrat', sans-serif; font-size: 0.76rem; color: rgba(250,239,203,0.62); line-height: 1.7; margin-bottom: 22px; }
.enq-features { display: flex; flex-direction: column; }
.enq-feature {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  border-bottom: 1px solid var(--hairline-dark);
  font-family: 'Montserrat', sans-serif; font-size: 0.73rem; color: rgba(250,239,203,0.87);
}
.enq-feature::before { content: '\2666'; color: var(--gold); flex-shrink: 0; font-size: 0.7rem; }

.form-box { position: relative; background: var(--ink-warm); border: 1px solid var(--hairline-dark); padding: 32px 28px; }
.form-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--foil); }
.form-box h3 { font-family: 'Bodoni Moda', serif; font-size: 1.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; color: var(--gold-pale); }
.form-box h3 em { font-style: italic; text-transform: none; color: var(--gold-light); }
.form-sub { font-family: 'Montserrat', sans-serif; font-size: 0.66rem; color: rgba(250,239,203,0.5); margin-bottom: 20px; }
.form-fields { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-label { font-family: 'Bodoni Moda', serif; font-size: 0.66rem; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(250,239,203,0.6); font-weight: 600; }
.f-input, .f-select, .f-textarea {
  background: var(--ink); border: 1px solid var(--hairline-dark);
  border-bottom: 2px solid rgba(200,155,60,0.45);
  padding: 10px 12px; color: var(--gold-pale);
  font-family: 'Montserrat', sans-serif; font-size: 0.82rem; outline: none;
  transition: border-color 0.2s, background 0.2s; width: 100%;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-bottom-color: var(--gold); background: #100C07; }
.f-input::placeholder, .f-textarea::placeholder { color: rgba(250,239,203,0.32); }
.f-select { appearance: none; cursor: pointer; }
.f-select option { background: var(--ink); color: var(--gold-pale); }
.f-textarea { resize: vertical; min-height: 80px; }
.f-consent { display: flex; align-items: flex-start; gap: 10px; }
.f-consent input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.f-consent label { font-family: 'Montserrat', sans-serif; font-size: 0.66rem; color: rgba(250,239,203,0.52); line-height: 1.7; cursor: pointer; }
.f-submit {
  font-family: 'Bodoni Moda', serif; background: var(--foil-text); background-size: 200% auto;
  color: var(--ink); width: 100%; padding: 13px; border: none; cursor: pointer;
  font-size: 0.76rem; letter-spacing: 3.4px; text-transform: uppercase; font-weight: 700;
  transition: background-position 0.5s; margin-top: 8px;
}
.f-submit:hover { background-position: 100% 50%; }

/* ================================================
   DISCLAIMER
   ================================================ */
.disclaimer {
  background: linear-gradient(120deg, var(--champagne) 0%, #F7EFDF 50%, var(--champagne-d) 100%);
  padding: 18px 64px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; border-top: 1px solid var(--border);
}
.disclaimer-text { font-family: 'Montserrat', sans-serif; font-size: 0.58rem; line-height: 1.95; color: var(--text-muted); flex: 1; }
.disclaimer-text strong { font-family: 'Bodoni Moda', serif; color: var(--gold-deep); display: block; margin-bottom: 7px; font-size: 0.66rem; letter-spacing: 3.2px; text-transform: uppercase; }
.disclaimer img { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }

/* ================================================
   FOOTER
   ================================================ */
footer { position: relative; background: var(--ink); padding: 16px 64px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--foil); }
.footer-logo img { height: 32px; opacity: 0.9; }
footer p { font-family: 'Montserrat', sans-serif; font-size: 0.6rem; color: rgba(250,239,203,0.35); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: 'Bodoni Moda', serif; color: rgba(250,239,203,0.45); text-decoration: none; font-size: 0.68rem; letter-spacing: 1.4px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

/* the old inset gold outline on these blocks is replaced by the foil rules above */
.disclaimer, footer { box-shadow: none; }

/* ================================================
   FLOATING BUTTONS
   ================================================ */
.float-btns { position: fixed; right: 24px; bottom: 80px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.32); transition: transform 0.2s; }
.float-btn:hover { transform: scale(1.1); }
.float-wa { background: #25D366; }
.float-call { background: var(--ink); border: 1px solid var(--gold); }
.float-btn svg { width: 20px; height: 20px; fill: white; }
.float-call svg { fill: var(--gold-light); }

/* ================================================
   MODAL
   ================================================ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(20,16,10,0.88); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { position: relative; background: var(--ink-warm); padding: 44px 40px 40px; max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--foil); }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: rgba(250,239,203,0.55); font-size: 1.4rem; cursor: pointer; line-height: 1; transition: color 0.2s; z-index: 1; }
.modal-close:hover { color: var(--gold-light); }
.modal h3 { font-family: 'Bodoni Moda', serif; font-size: 1.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; color: var(--gold-pale); }
.modal h3 em { font-style: italic; text-transform: none; color: var(--gold-light); }
.modal > p { font-family: 'Montserrat', sans-serif; font-size: 0.66rem; color: rgba(250,239,203,0.52); margin-bottom: 24px; }
.modal .f-label { color: rgba(250,239,203,0.6); }
.modal .f-input { background: var(--ink); border-color: var(--hairline-dark); color: var(--gold-pale); }
.modal .f-consent label { color: rgba(250,239,203,0.52); }

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; align-items: center; justify-content: center; padding: 20px; scrollbar-width: none; }
.lightbox-overlay::-webkit-scrollbar { display: none; }
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close { position: fixed; top: 20px; right: 24px; background: var(--gold); color: var(--ink); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(200,155,60,0.16); color: var(--gold-pale); border: 1px solid rgba(200,155,60,0.45); font-size: 1.5rem; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--ink); }
.lightbox-caption { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: 'Bodoni Moda', serif; color: rgba(250,239,203,0.6); font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; }

/* ================================================
   SNACKBAR
   ================================================ */
#snackbar { visibility: hidden; min-width: 300px; background: var(--ink); color: var(--gold-pale); text-align: center; border-left: 3px solid var(--gold); padding: 16px 20px; position: fixed; z-index: 99999; right: 20px; bottom: 20px; transform: translateY(20px); opacity: 0; transition: all 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.35); font-family: 'Montserrat', sans-serif; font-size: 0.75rem; }
#snackbar.show { visibility: visible; opacity: 1; transform: translateY(0); }

/* ================================================
   RESPONSIVE — 1024px
   ================================================ */
@media (max-width: 1024px) {
  .am-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================
   RESPONSIVE — 768px
   ================================================ */
@media (max-width: 768px) {
  nav { padding: 0 16px; height: 60px; top: 0; }
  .mobile-menu { top: 60px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-top: 60px; }
  .hero-img-desktop { display: none; }
  .hero-img-mobile { display: block; }

  section { padding: 44px 18px; }

  .overview-wrap { grid-template-columns: 1fr; }
  .overview-img-side { height: auto; }
  .overview-img-side img { width: 100%; height: auto; object-fit: contain; object-position: top; }
  .overview-content-side { padding: 30px 20px; }
  .highlights { grid-template-columns: 1fr; }

  .am-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .am-grid-wrap { padding: 30px 16px; }

  .gallery-header { padding: 0 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item.tall { grid-row: span 1; aspect-ratio: 4/3; min-height: unset; }

  .plans-grid { grid-template-columns: 1fr; }

  .location-wrap { grid-template-columns: 1fr; }
  .map-side { padding: 24px 20px; }
  .map-side iframe { min-height: 280px; height: 280px; }
  .conn-side { grid-template-columns: 1fr; padding: 30px 20px; }

  .enq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 24px 18px; }

  .disclaimer { flex-direction: column; padding: 22px 20px; text-align: center; }
  footer { flex-direction: column; text-align: center; padding: 22px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  #snackbar { width: calc(100% - 32px); right: 16px; left: 16px; min-width: unset; }
}

/* ================================================
   RESPONSIVE — 480px
   ================================================ */
@media (max-width: 480px) {
  .am-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item.tall { grid-row: span 1; }
  .sec-title { letter-spacing: 0.03em; }
}

/* ================================================
   OTP STYLES
   ================================================ */
.otp-input-wrap { display: flex; gap: 8px; align-items: stretch; }
.otp-input-wrap .f-input { flex: 1; }
.get-otp-btn { background: var(--gold); color: var(--ink); border: none; padding: 0 16px; cursor: pointer; font-size: 0.7rem; letter-spacing: 1.6px; text-transform: uppercase; font-family: 'Bodoni Moda', serif; font-weight: 700; white-space: nowrap; transition: background 0.2s; flex-shrink: 0; }
.get-otp-btn:hover { background: var(--gold-light); }
.get-otp-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.resend-otp-btn { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 0 14px; cursor: pointer; font-size: 0.68rem; letter-spacing: 1.4px; text-transform: uppercase; font-family: 'Bodoni Moda', serif; font-weight: 600; white-space: nowrap; transition: all 0.2s; flex-shrink: 0; }
.resend-otp-btn:hover { background: var(--gold); color: var(--ink); }
.otp-timer { font-size: 0.66rem; color: var(--text-muted); margin-top: 4px; display: block; }
.modal .otp-timer { color: rgba(250,239,203,0.5); }
.otp-field { animation: fadeInOtp 0.3s ease; }
@keyframes fadeInOtp { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================
   LEGAL PAGES — privacypolicy.html, termsandconditions.html
   These use .section / .sub-head, which had no rules before.
   ================================================ */
.section {
  background: linear-gradient(150deg, var(--cream) 0%, #FBF3E2 45%, var(--champagne) 100%);
  min-height: 100vh;
  padding: 56px 40px;
}
.section .container { max-width: 860px; }
.sub-head {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brown); margin-bottom: 20px;
}
/* fleuron rule under the page title */
.sub-head::after {
  content: ''; display: block;
  width: 104px; height: 20px; margin-top: 20px;
  background: var(--fleuron-l) no-repeat left center;
}
.section p {
  font-family: 'Bodoni Moda', serif;
  font-size: 0.9rem; line-height: 1.7; color: var(--text-muted);
  text-align: justify; hyphens: auto;
}
.section .home-link {
  display: inline-block; margin-top: 40px;
  font-family: 'Bodoni Moda', serif; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 3.4px; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: var(--foil-text); background-size: 200% auto;
  padding: 14px 34px; transition: background-position 0.5s;
}
.section .home-link:hover { background-position: 100% 50%; }

@media (max-width: 768px) {
  .section { padding: 40px 18px; }
  .section p { text-align: left; hyphens: none; }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}