/* ============================================================
   IQI Canada – Premium Real Estate Landing Page
   Palette matched to the IQI global banner (coral → orange)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #D4572F;   /* coral – from the IQI banner, darkened for readable buttons */
  --brand-dark:   #B4441F;
  --coral:        #E46A49;   /* banner gradient start */
  --orange:       #F0935A;   /* banner gradient end */
  --gold:         #B9A065;   /* banner accent band */
  --brand-soft:   #F8D9C6;
  --brand-pale:   #FDF1EA;
  --gradient:     linear-gradient(90deg, #E46A49 0%, #EE7B51 50%, #F0935A 100%);
  --white:        #ffffff;
  --text-dark:    #202124;
  --text-mid:     #3C4043;
  --text-light:   #5F6368;
  --error:        #C5221F;
  --border:       #DADCE0;
  --shadow:       0 1px 3px rgba(32,33,36,0.10), 0 4px 16px rgba(32,33,36,0.06);
  --shadow-lg:    0 12px 40px rgba(180,68,31,0.18);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
  --header-h:     72px;
  --font:         'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brand-dark); box-shadow: 0 6px 18px rgba(212,87,47,0.30); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.85); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--white); color: var(--brand); }
.hero .btn-primary { background: var(--white); color: var(--brand-dark); }
.hero .btn-primary:hover, .hero .btn-primary:focus-visible { background: var(--brand-pale); color: var(--brand-dark); }
.btn-outline-brand { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline-brand:hover, .btn-outline-brand:focus-visible { background: var(--brand); color: var(--white); }
.btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.btn-card {
  display: inline-flex;
  gap: 6px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1.5px solid var(--brand);
  padding-bottom: 2px;
  transition: gap var(--transition);
}
.card:hover .btn-card { gap: 10px; }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

/* ---------- HEADER ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 12px rgba(32,33,36,0.08); }
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; }
/* Logo shown in its original colours – no filters */
.logo { height: 46px; width: auto; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--text-mid); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-link:hover { color: var(--brand); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--brand); border-radius: 2px; }
.mobile-nav {
  background: var(--white);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-nav.open { max-height: 200px; padding: 8px 24px 16px; border-top: 1px solid var(--border); }
.mobile-nav-link { display: block; color: var(--text-dark); font-size: 1rem; padding: 10px 0; font-weight: 500; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 78vh;
  min-height: 480px;
  max-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* banner style: photo on the left fading into the coral/orange gradient */
  background: linear-gradient(90deg, rgba(228,106,73,0.40) 0%, rgba(232,110,75,0.70) 40%, rgba(238,123,81,0.94) 62%, rgba(240,147,90,0.98) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  animation: fadeUp 0.8s ease both;
}
.hero-text { max-width: 780px; }
.hero-logo { flex: none; width: clamp(180px, 22vw, 300px); height: auto; filter: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.95;
}
.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(80,30,10,0.25);
  margin-bottom: 28px;
}
.hero-title span { display: inline; background: linear-gradient(90deg, rgba(185,160,101,0.85), rgba(185,160,101,0)); padding: 0 .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- SECTION HEADERS ---------- */
.categories-section {
  padding: 72px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}
.section-sub { font-size: 0.98rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ---------- CARDS GRID ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  outline: none;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.card-img-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-pale); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img { transform: scale(1.04); }
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--white);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card-title { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.card-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.55; margin-bottom: 16px; flex: 1; }

/* ---------- PANEL OVERLAY ---------- */
.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(60,24,12,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.panel-overlay[hidden] { display: none; }
.panel {
  background: var(--white);
  border-radius: 16px;
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: panelIn 0.3s ease both;
}
@keyframes panelIn { from { opacity: 0; transform: scale(0.97) translateY(14px); } to { opacity: 1; transform: none; } }
.panel-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  background: var(--white);
  color: var(--text-dark);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
  transition: background var(--transition), color var(--transition);
}
.panel-close:hover { background: var(--brand); color: var(--white); }
.panel-inner { display: grid; grid-template-columns: 1.05fr 1fr; }
.panel-gallery { background: var(--brand-pale); border-radius: 16px 0 0 16px; overflow: hidden; align-self: stretch; }
.panel-gallery-inner { position: sticky; top: 0; }

.panel-img-main { width: 100%; height: 380px; object-fit: cover; }
.panel-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; }
.panel-thumbs:empty { display: none; }
.panel-thumb { height: 84px; width: 100%; object-fit: cover; cursor: pointer; border-radius: 6px; transition: opacity var(--transition); }
.panel-thumb:hover { opacity: 0.8; }
.panel-thumb.is-active { outline: 2px solid var(--brand); outline-offset: -2px; }
.panel-content { padding: 36px 34px; display: flex; flex-direction: column; gap: 14px; }
.panel-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.panel-title { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
.panel-intro { font-size: 0.93rem; color: var(--text-mid); line-height: 1.65; }
.highlights { background: var(--brand-pale); border-radius: var(--radius-sm); padding: 18px 20px; }
.highlight-item { margin-bottom: 14px; }
.highlight-item:last-child { margin-bottom: 0; }
.hi-name small { font-weight: 500; color: var(--text-light); font-size: 0.8rem; }
.hi-list strong { color: var(--text-dark); font-weight: 600; }
.hi-name { display: block; font-size: 0.88rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 4px; }
.hi-list { display: flex; flex-direction: column; gap: 4px; }
.hi-list li { font-size: 0.86rem; color: var(--text-mid); padding-left: 16px; position: relative; }
.hi-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.panel-actions { margin-top: auto; padding-top: 6px; }

/* ---------- ENQUIRY SECTION ---------- */
.enquiry-section { background: var(--brand-pale); padding: 72px 24px; }
.enquiry-inner { max-width: 760px; margin: 0 auto; }
.enquiry-header { text-align: center; margin-bottom: 28px; }

.enquiry-form {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 10px solid var(--coral);
  border-image: var(--gradient) 1;
  box-shadow: var(--shadow);
  padding: 32px 36px 36px;
}
.form-required-note { font-size: 0.82rem; color: var(--error); margin-bottom: 22px; }
.req { color: var(--error); }
.form-group { border: none; margin-bottom: 22px; min-width: 0; }
.form-label { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; padding: 0; }
.choice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.choice:hover { border-color: var(--coral); }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-pale); color: var(--brand-dark); font-weight: 600; }
.choice:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .form-group:first-child { grid-column: 1 / -1; }
.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(212,87,47,0.18); }
.form-group.invalid .form-input, .form-group.invalid .choice { border-color: var(--error); }
.field-error { font-size: 0.8rem; color: var(--error); margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 6px; }
.form-actions .btn { min-width: 160px; }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; line-height: 1.55; }
.form-status.is-success { background: var(--brand-pale); color: var(--brand-dark); border: 1px solid var(--brand-soft); }
.form-status.is-error { background: #FCE8E6; color: #A50E0E; border: 1px solid #F6C7C3; }
.form-status .btn { margin-top: 10px; }
.enquiry-form.is-done .form-group, .enquiry-form.is-done .form-grid, .enquiry-form.is-done .form-actions, .enquiry-form.is-done .form-required-note { display: none; }
.enquiry-form.is-done .form-status { margin-top: 0; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 44px 24px 28px; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
/* Logo shown in its original colours – no filters */
.footer-logo { height: 52px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.footer-links-title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.footer-links ul { display: flex; flex-direction: column; gap: 6px; }
.footer-link-btn { color: var(--text-mid); font-size: 0.88rem; text-align: left; padding: 0; transition: color var(--transition); }
.footer-link-btn:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-enquiry-btn { align-self: flex-start; }
.footer-legal { font-size: 0.74rem; color: var(--text-light); line-height: 1.6; }

/* ---------- SCROLL ANIMATION ---------- */
.js .card, .js .section-header, .js .enquiry-header { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition), border-color var(--transition); }
.js .card.visible, .js .section-header.visible, .js .enquiry-header.visible { opacity: 1; transform: none; }
.js .card.visible:hover { transform: translateY(-4px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .logo { height: 40px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
    .hero { height: auto; min-height: 460px; padding: 40px 0; }
  .hero-overlay { background: linear-gradient(180deg, rgba(228,106,73,0.55) 0%, rgba(238,123,81,0.9) 55%, rgba(240,147,90,0.97) 100%); }
  .hero-content { flex-direction: column-reverse; align-items: flex-start; gap: 22px; }
  .hero-logo { width: 150px; }
  .categories-section, .enquiry-section { padding: 56px 16px; }
  .cards-grid { grid-template-columns: 1fr; gap: 18px; }
  .panel-overlay { padding: 0; align-items: flex-end; }
  .panel { border-radius: 16px 16px 0 0; max-height: 92vh; }
  .panel-inner { grid-template-columns: 1fr; }
  .panel-gallery { border-radius: 16px 16px 0 0; }
  .panel-img-main { height: 230px; }
  .panel-thumb { height: 58px; }
  .panel-gallery-inner { position: static; }

  .panel-content { padding: 24px 20px 28px; }
  .enquiry-form { padding: 24px 18px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .choice-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero-content { padding: 0 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .choice-list { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   LUXURY REFINEMENTS
   ============================================================ */
:root {
  --ink:        #1E1915;   /* warm charcoal */
  --ivory:      #FBF8F4;
  --gold-line:  #B9A065;
}
body { background: var(--ivory); color: var(--ink); letter-spacing: 0.01em; }

/* Buttons – tailored, uppercase, letter-spaced */
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 600; padding: 14px 30px; }
.btn-lg { padding: 17px 38px; font-size: 0.78rem; }
.btn-sm { padding: 10px 20px; font-size: 0.7rem; }
.btn-card { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; }

/* Header */
#site-header { background: rgba(251,248,244,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(30,25,21,0.08); }
.nav-link { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 600; color: var(--ink); }

/* Hero */
.hero { height: 88vh; max-height: 860px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; letter-spacing: 0.32em; font-size: 0.72rem; }
.hero-eyebrow::before { content: ''; width: 48px; height: 1px; background: rgba(255,255,255,0.85); }
.hero-title { font-weight: 600; letter-spacing: 0.06em; line-height: 1.12; font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 36px; }

/* Section headings */
.section-header { margin-bottom: 52px; }
.section-title { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--ink); }
.section-title::after { content: ''; display: block; width: 56px; height: 1px; background: var(--gold-line); margin: 18px auto 0; }
.section-sub { margin-top: 14px; }
.categories-section { padding: 96px 24px; }

/* Cards – full-bleed imagery with overlaid captions */
.cards-grid { gap: 22px; }
.card { position: relative; border: none; border-radius: 4px; background: var(--ink); box-shadow: 0 10px 30px rgba(30,25,21,0.10); }
.card-img-wrap { aspect-ratio: 4 / 3.4; }
.card-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,25,21,0) 25%, rgba(30,25,21,0.55) 55%, rgba(30,25,21,0.92) 100%); transition: opacity var(--transition); }
.card-img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img { transform: scale(1.06); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 24px; z-index: 2; color: var(--white); }
.card-title { color: var(--white); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.card-desc { color: rgba(255,255,255,0.82); font-size: 0.84rem; margin-bottom: 14px; }
.card .btn-card { color: var(--white); border-bottom-color: var(--orange); }
.card-badge { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.7); box-shadow: none; border-radius: 2px; letter-spacing: 0.2em; font-size: 0.62rem; top: 18px; left: 18px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); background: rgba(30,25,21,0.18); }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(30,25,21,0.22); }

/* Panels */
.panel { border-radius: 6px; }
.panel-gallery { border-radius: 6px 0 0 6px; }
.panel-thumb { border-radius: 2px; }
.panel-eyebrow { letter-spacing: 0.28em; color: var(--gold-line); }
.panel-title { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; font-size: 1.3rem; }
.highlights { background: transparent; padding: 0; border-radius: 0; }
.highlight-item { border-top: 1px solid rgba(185,160,101,0.45); padding-top: 14px; margin-bottom: 16px; }
.hi-name { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; color: var(--brand-dark); margin-bottom: 8px; }
.hi-list li::before { width: 5px; height: 1px; border-radius: 0; top: 0.75em; background: var(--gold-line); width: 8px; }
.hi-list-single li { padding-top: 2px; }
.panel-close { border-radius: 50%; }

/* Enquiry – deep charcoal with a warm glow */
.enquiry-section { background: radial-gradient(1200px 500px at 85% -10%, rgba(240,147,90,0.22), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(228,106,73,0.18), transparent 60%), var(--ink); padding: 104px 24px; }
.enquiry-section .section-title { color: var(--white); }
.enquiry-section .section-sub { color: rgba(255,255,255,0.72); }
.enquiry-form { border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); padding: 40px 44px 44px; }
.choice, .form-input { border-radius: 2px; }
.form-label { letter-spacing: 0.02em; }

/* Footer */
.site-footer { background: var(--ivory); border-top: 1px solid rgba(185,160,101,0.4); }
.footer-links-title { color: var(--gold-line); letter-spacing: 0.24em; }

@media (max-width: 768px) {
  .hero { height: auto; min-height: 520px; }
  .categories-section { padding: 64px 16px; }
  .enquiry-section { padding: 72px 16px; }
  .enquiry-form { padding: 26px 18px 30px; }
  .card-img-wrap { aspect-ratio: 4 / 3.2; }
  .panel { border-radius: 10px 10px 0 0; }
  .panel-gallery { border-radius: 10px 10px 0 0; }
}
.panel-gallery { background: var(--ink); }

/* ---------- HERO v3: markets panel + stats strip ---------- */
.hero { flex-direction: column; align-items: stretch; justify-content: center; height: auto; min-height: min(88vh, 860px); max-height: none; padding: 72px 0 0; }
.hero-content { flex: 1; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 auto; }
.hero-markets {
  flex: 0 0 360px;
  background: rgba(30,25,21,0.28);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 22px 22px 14px;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(60,24,12,0.22);
}
.hm-title { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.9); padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.25); margin-bottom: 6px; }
.hm-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 9px 4px; color: var(--white); text-align: left; border-bottom: 1px solid rgba(255,255,255,0.12); transition: background var(--transition), padding var(--transition); }
.hero-markets li:last-child .hm-item { border-bottom: none; }
.hm-item img { width: 54px; height: 40px; object-fit: cover; border-radius: 2px; flex: none; }
.hm-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.hm-name { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hm-sub { font-size: 0.72rem; color: rgba(255,255,255,0.72); letter-spacing: 0.04em; }
.hm-arrow { opacity: 0.6; transition: transform var(--transition), opacity var(--transition); }
.hm-item:hover, .hm-item:focus-visible { background: rgba(255,255,255,0.08); padding-left: 10px; outline: none; }
.hm-item:hover .hm-arrow, .hm-item:focus-visible .hm-arrow { opacity: 1; transform: translateX(4px); }
.hero-stats { position: relative; z-index: 2; margin-top: 56px; background: rgba(30,25,21,0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.18); }
.hero-stats-inner { max-width: 1240px; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.hs { display: flex; flex-direction: column; gap: 2px; color: var(--white); padding-left: 22px; border-left: 1px solid rgba(185,160,101,0.7); }
.hs strong { font-size: 1.35rem; font-weight: 600; letter-spacing: 0.06em; }
.hs span { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.hero-overlay { background: linear-gradient(90deg, rgba(228,106,73,0.45) 0%, rgba(232,110,75,0.62) 45%, rgba(238,123,81,0.80) 75%, rgba(240,147,90,0.88) 100%); }

@media (max-width: 1024px) {
  .hero-markets { flex-basis: 300px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0 0; min-height: 0; }
  .hero-content { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero-markets { flex-basis: auto; width: 100%; }
  .hero-stats { margin-top: 40px; }
  .hero-stats-inner { padding: 20px 16px; }
  .hs { padding-left: 14px; }
  .hs strong { font-size: 1.1rem; }
}
@media (max-width: 768px) { .hero-markets { display: none; } }

/* Starting-from price tag on cards */
.card-price { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; padding: 8px 12px; background: rgba(251,248,244,0.94); color: var(--brand-dark); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; line-height: 1.15; border-radius: 2px; box-shadow: 0 6px 16px rgba(30,25,21,0.18); }
.card-price small { font-size: 0.56rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }

/* Enquiry: faint photo backdrop */
.enquiry-section { position: relative; isolation: isolate; overflow: hidden; }
.enquiry-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../images/dubai-6.jpg') center 40% / cover no-repeat;
  opacity: 0.45; filter: saturate(0.8);
}
.enquiry-section::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,25,21,0.25) 0%, rgba(30,25,21,0.6) 50%, rgba(30,25,21,0.9) 100%);
}

/* ---------- HERO v4: layered photo composition (replaces markets list) ---------- */
.hero-markets { display: none !important; }
.hero-visual { position: relative; flex: 0 0 440px; height: 480px; }
.hv { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 30px 60px rgba(60,24,12,0.35); }
.hv img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.hero-visual:hover .hv img { transform: scale(1.04); }
.hv-1 { top: 0; right: 0; width: 320px; height: 400px; }
.hv-2 { bottom: 0; left: 0; width: 230px; height: 250px; border: 6px solid var(--ivory); }
.hv-3 { top: 36px; left: 30px; width: 150px; height: 120px; border: 5px solid var(--ivory); }
.hv-frame { position: absolute; top: 28px; right: -22px; width: 320px; height: 400px; border: 1px solid rgba(255,255,255,0.75); }
@media (max-width: 1100px) {
  .hero-visual { flex-basis: 360px; height: 420px; }
  .hv-1 { width: 260px; height: 340px; }
  .hv-frame { width: 260px; height: 340px; right: -16px; }
  .hv-2 { width: 190px; height: 210px; }
  .hv-3 { width: 120px; height: 100px; left: 20px; }
  .hero-stats-inner { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) { .hero-visual { display: none; } }
@media (max-width: 640px) { .hero-stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ---------- HERO v5: centred, balanced composition ---------- */
.hero-visual { display: none !important; }
.hero { min-height: min(82vh, 780px); background-position: center; }
.hero-bg { background-position: center 55%; }
.hero-overlay { background:
  radial-gradient(ellipse 70% 60% at 50% 48%, rgba(30,25,21,0.30) 0%, rgba(30,25,21,0) 70%),
  linear-gradient(90deg, rgba(228,106,73,0.62) 0%, rgba(235,116,78,0.70) 50%, rgba(240,147,90,0.80) 100%); }
.hero-content { justify-content: center; text-align: center; }
.hero-text { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { justify-content: center; }
.hero-eyebrow::after { content: ''; width: 48px; height: 1px; background: rgba(255,255,255,0.85); }
.hero-title { font-size: clamp(2.1rem, 4.8vw, 3.9rem); letter-spacing: 0.08em; }
.hero-ctas { justify-content: center; }
.hero-stats-inner { text-align: left; }
@media (max-width: 768px) {
  .hero { padding-top: 64px; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.24em; gap: 10px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 24px; }
  .hero-title { letter-spacing: 0.05em; }
}
