@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ════════════════════════════════════════════════════════════
   UNIFIED MP DOORS STYLESHEET  (site-v2)
   = homepage-revised.html CSS (enhanced base, source of truth)
   + bespoke page classes (category / patio / product showcase)
   + nav tweaks (hover bridge, EB Garamond)
   ════════════════════════════════════════════════════════════ */

/* ───────── 1. ENHANCED BASE (from homepage-revised.html) ───────── */
/* ═══════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --primary:       #F29430;
  --primary-dark:  #C47520;
  --primary-deep:  #8B5200;
  --bg-dark:       #1A0800;
  --bg-dark2:      #251000;
  --bg-dark3:      #2E1500;
  --text-dark:     #1A0800;
  --text-mid:      #5A3010;
  --text-light:    rgba(255,255,255,0.75);
  --white:         #ffffff;
  --grey-light:    #FDF8F2;
  --grey-border:   #F0E4D4;
  --accent:        #FF9F50;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --shadow:        0 10px 40px rgba(139,82,0,0.10), 0 2px 10px rgba(139,82,0,0.04);
  --shadow-soft:   0 18px 50px rgba(139,82,0,0.08);
  --transition:    0.3s ease;

  /* Warm gradient surfaces — subtle, designed depth across the page */
  --grad-soft:
    radial-gradient(ellipse 55% 50% at 88% 0%,   rgba(242,148,48,0.07), transparent 60%),
    radial-gradient(ellipse 45% 45% at 5% 100%,   rgba(255,159,80,0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFBF5 100%);
  --grad-cream:
    radial-gradient(ellipse 50% 45% at 100% 0%,   rgba(242,148,48,0.09), transparent 60%),
    radial-gradient(ellipse 55% 50% at 0% 90%,     rgba(196,117,32,0.06), transparent 60%),
    linear-gradient(165deg, #FDF8F2 0%, #FBF1E5 55%, #F7E9D8 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: #FFFBF5;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.font-serif { font-family: 'Merriweather', serif; }
.font-open  { font-family: 'Open Sans', sans-serif; }

h1,h2,h3,h4,h5 { line-height: 1.2; }

.sec-title   { font-size: clamp(2rem,   4vw, 3.5rem); font-family:'Merriweather',serif; font-weight:700; }
.page-title  { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-family:'Merriweather',serif; font-weight:700; }
.font48r     { font-size: clamp(1.6rem, 3vw, 3rem); font-family:'Merriweather',serif; font-weight:700; }
.font40r     { font-size: clamp(1.4rem, 2.8vw, 2.5rem); font-family:'Merriweather',serif; font-weight:700; }
.font36r     { font-size: clamp(1.3rem, 2.5vw, 2.25rem); font-family:'Merriweather',serif; font-weight:700; }
.font24r     { font-size: clamp(1rem, 2vw, 1.5rem); }
.font20r     { font-size: clamp(0.95rem, 1.5vw, 1.25rem); }
.font20sb    { font-size: clamp(0.95rem, 1.5vw, 1.25rem); font-weight:600; }
.font18r     { font-size: clamp(0.875rem, 1.2vw, 1.125rem); }
.font12r     { font-size: 0.75rem; }

.white       { color: var(--white) !important; }
.txt-primary { color: var(--text-dark) !important; }
.txt-lgrey   { color: rgba(255,255,255,0.75); }
.txt-orange  { color: var(--primary); }
.secondary2  { color: var(--text-light); }
.centered    { text-align: center; }
.fw-400      { font-weight: 400; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container    { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.comm-section { padding: 100px 0; }
.comm-section.pb0 { padding-bottom: 0; }
.comm-section.pt0 { padding-top: 0; }
.relative     { position: relative; }
.mb-15        { margin-bottom: 15px; }
.mb-20        { margin-bottom: 20px; }
.mb-30        { margin-bottom: 30px; }
.mb-40        { margin-bottom: 40px; }

.bg-orange    { background: var(--bg-dark); }
.bg-warm      { background: var(--bg-dark2); }
.bg-light     { background: var(--grad-cream); }

.comm-grid { display: grid; gap: 30px; }
.g-3       { grid-template-columns: repeat(3, 1fr); }
.g-4       { grid-template-columns: repeat(4, 1fr); }
.gp-50     { gap: 50px; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.02em; transition: var(--transition);
  cursor: pointer; border: 2px solid transparent;
}
.button.orange {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.button.orange:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,148,48,0.35); }

.button.white {
  background: var(--white); color: var(--bg-dark) !important;
  border-color: var(--white);
}
.button.white:hover { background: transparent; color: var(--white) !important; transform: translateY(-2px); }

.button.outline {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.button.outline:hover { background: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }

.header-box { padding: 0; }
.header-box .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; background: var(--primary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; fill: white; }
.logo-text { font-family:'Merriweather',serif; font-weight:700; font-size:1.3rem; color: var(--text-dark); }
.logo-text span { color: var(--primary); }

/* Nav */
.header-list { display: flex; align-items: center; gap: 8px; }
.header-list > li { position: relative; }
.header-list > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 16px; border-radius: 6px; font-size: 0.9rem;
  font-weight: 600; color: var(--text-dark); transition: var(--transition);
}
.header-list > li > a:hover { color: var(--primary); background: rgba(242,148,48,0.06); }
.header-list > li > a .arrow-icon { width: 14px; height: 14px; transition: var(--transition); }

.drop-menu:hover > a .arrow-icon { transform: rotate(180deg); color: var(--primary); }

/* Dropdown */
.drop-list-wrap {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-md); min-width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12); opacity: 0; visibility: hidden;
  transition: var(--transition); pointer-events: none;
  border: 1px solid var(--grey-border);
}
.drop-menu:hover .drop-list-wrap { opacity: 1; visibility: visible; pointer-events: all; }
.drop-list-container { padding: 20px; }
.drop-list-container > p { font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#999; margin-bottom:12px; }

.menu-cards-wrap { display: grid; gap: 8px; }
.menu-card {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.menu-card:hover { background: rgba(242,148,48,0.06); }
.menu-icon-box { display: flex; align-items: center; gap: 8px; }
.menu-icon-wrap {
  width: 36px; height: 36px; background: rgba(242,148,48,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.menu-icon-wrap svg { width: 18px; height: 18px; fill: var(--primary); }
.menu-card-txt h3 { font-size: 0.875rem; font-weight: 700; color: var(--text-dark); }
.menu-card-txt p { font-size: 0.78rem; color: #777; margin-top: 2px; }

.menu-field-wrap { display: grid; gap: 4px; }
.menu-field {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--radius-sm); transition: var(--transition);
}
.menu-field:hover { background: rgba(242,148,48,0.06); }
.menu-field p { font-size: 0.875rem; font-weight: 600; }
.menu-field .arrow-icon { width: 14px; height: 14px; color: #999; }

/* CTA area in nav */
.nav-cta { display: flex; align-items: center; gap: 12px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px;
  background: var(--primary); color: var(--white); border-radius: 50px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 2px solid var(--primary);
  box-shadow: 0 6px 20px rgba(242,148,48,0.40);
  transition: var(--transition);
}
.cta-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(242,148,48,0.50); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.head-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--bg-dark);
  padding-top: 72px;
}

/* Animated gradient background */
.header-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(242,148,48,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(255,159,80,0.15) 0%, transparent 50%),
    var(--bg-dark);
}
.header-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(26,8,0,0) 0%, rgba(26,8,0,0.92) 55%);
}

/* Floating shapes */
.hero-shapes { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,148,48,0.25), rgba(242,148,48,0));
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 500px; height: 500px; right: 5%; top: 10%; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 300px; height: 300px; right: 20%; top: 50%; animation-delay: 2s; animation-duration: 10s; }
.hero-shape:nth-child(3) { width: 200px; height: 200px; right: 8%; bottom: 15%; animation-delay: 4s; animation-duration: 7s; }

@keyframes floatShape {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-20px, -30px) scale(1.05); }
  66% { transform: translate(15px, 20px) scale(0.95); }
}

/* Hex grid decoration */
.hero-hex-grid {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 45%; height: 100%; z-index: 0; opacity: 0.35;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32zM28 34L0 18V-14L28-30l28 16v32z' fill='none' stroke='%23F29430' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

.head-wrap { position: relative; z-index: 1; padding: 80px 0; }
.head-content { max-width: 640px; }
.head-content h1 { margin-bottom: 20px; letter-spacing: -0.02em; }
.head-content .hero-para { font-size: 1.2rem; line-height: 1.7; max-width: 520px; }
.head-actions { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242,148,48,0.15); border: 1px solid rgba(242,148,48,0.4);
  border-radius: 50px; padding: 6px 16px; margin-bottom: 24px;
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
.hero-badge span { font-size: 0.8rem; font-weight: 600; color: var(--primary); }

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.6; transform:scale(1.4); }
}

/* stats strip */
.hero-stats {
  display: flex; gap: 48px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--primary); font-family:'Merriweather',serif; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* ═══════════════════════════════════════════
   INTRO / WHO SECTION
═══════════════════════════════════════════ */
.who-container {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start;
}
.who-left .sec-head { position: sticky; top: 100px; }
.who-right h3 { margin-bottom: 24px; line-height: 1.4; }
.who-right p { line-height: 1.8; color: #444; margin-bottom: 16px; }
.who-right p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   DARK SECTION (ACCORDION + VIDEO)
═══════════════════════════════════════════ */
.number-wealth-section { background: var(--bg-dark); overflow-x: clip; }

.sec-head.sticky-head { position: sticky; top: 100px; }
.sec-head .page-title { line-height: 1.3; }
.sec-head .card-title { font-size: 1rem; line-height: 1.8; margin-top: 20px; opacity: 0.75; }

.home-video-box {
  margin-top: 40px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid rgba(242,148,48,0.3);
  box-shadow: 0 0 60px rgba(242,148,48,0.1);
}
.video-placeholder {
  position: relative; padding-bottom: 56.25%; background: var(--bg-dark3);
  overflow: hidden;
}
.video-placeholder-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark2) 0%, var(--bg-dark3) 100%);
}
.play-btn-large {
  width: 72px; height: 72px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: var(--transition); box-shadow: 0 0 40px rgba(242,148,48,0.4);
}
.play-btn-large:hover { transform: scale(1.1); box-shadow: 0 0 60px rgba(242,148,48,0.6); }
.play-btn-large svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }
.video-placeholder-inner p { color: var(--text-light); margin-top: 16px; font-size: 0.875rem; }

.acc-left-right {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px;
  margin-top: 60px; align-items: start;
}
.acc-left-right.reverse { grid-template-columns: 1.5fr 1fr; }
.acc-left-right.reverse .acc-left { order: 2; }
.acc-left-right.reverse .acc-right { order: 1; }

/* ── Full-bleed variant: text anchored left, video bleeds to viewport right edge ── */
.acc-left-right.acc-bleed { gap: 0; grid-template-columns: 1fr minmax(480px, 36vw); }
.acc-left-right.acc-bleed .acc-right { padding: 0 80px 80px max(40px, calc((100vw - 1280px) / 2 + 40px)); }
.acc-left-right.acc-bleed .sticky-video { width: 140%; height: 560px; }

.sticky-video { position: sticky; top: 120px; height: 314px; width: 500px; }
.acc-left { align-self: stretch; }
.acc-video-wrap {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  mix-blend-mode: color;
}
.acc-video-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,8,0,0) 25%, rgba(26,8,0,0.7) 100%);
  z-index: 1; pointer-events: none;
}
.acc-video-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,8,0,0) 0%, rgba(26,8,0,0.7) 100%);
  z-index: 1; pointer-events: none;
}
.acc-video-wrap video { width: 100%; height: 100%; object-fit: contain; object-position: top right; display: block; }
.acc-video-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-dark2), var(--bg-dark3));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.acc-video-icon { width: 80px; height: 80px; }

.faq-wrap { padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-wrap:first-child { padding-top: 0; }
.faq-wrap:last-child { border-bottom: none; }

.wealth-number {
  display: block; font-size: 4rem; font-weight: 800; color: rgba(242,148,48,0.2);
  font-family: 'Merriweather', serif; line-height: 1; margin-bottom: 12px;
}
.faq-wrap .sec-head { margin-bottom: 20px; }
.faq-wrap h2 { line-height: 1.3; }
.list-box { color: var(--text-light); line-height: 1.8; }
.list-box p { margin-bottom: 12px; }
.list-box ul { padding-left: 0; }
.list-box ul li {
  position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 0.95rem;
}
.list-box ul li::before {
  content: '›'; position: absolute; left: 0; color: var(--primary); font-size: 1.2rem; font-weight: 700;
}
.list-box strong { color: var(--white); }

/* ═══════════════════════════════════════════
   AGENTS CARD GRID
═══════════════════════════════════════════ */
.agents-section { background: var(--grad-soft); }

.sec-head.centered { text-align: center; margin-bottom: 60px; }
.sec-head.centered .page-title { margin-bottom: 16px; }
.sec-head.centered p { max-width: 640px; margin: 0 auto; color: #555; line-height: 1.7; }

.agent-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFCF8 100%);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: 0 6px 24px rgba(139,82,0,0.05);
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.agent-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: var(--transition);
}
.agent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(242,148,48,0.3); }
.agent-card:hover::before { opacity: 1; }

.agent-icon {
  width: 64px; height: 64px; background: rgba(242,148,48,0.1);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--transition);
}
.agent-card:hover .agent-icon { background: var(--primary); }
.agent-icon svg { width: 32px; height: 32px; fill: var(--primary); transition: var(--transition); }
.agent-card:hover .agent-icon svg { fill: white; }

.agent-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); line-height: 1.4; }
.agent-card p { font-size: 0.875rem; color: #666; line-height: 1.7; flex: 1; }

.card-plus {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--grey-border);
  border-radius: 50%; margin-top: 20px; color: #999; font-size: 1.2rem;
  transition: var(--transition); align-self: flex-end;
}
.agent-card:hover .card-plus { background: var(--primary); border-color: var(--primary); color: white; }

/* ═══════════════════════════════════════════
   PYRAMID / CAPABILITY SECTION
═══════════════════════════════════════════ */
.pyramid-section { background: var(--grad-cream); }

.pyramid-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.pyramid-visual { position: relative; }
.pyramid-img {
  width: 100%; max-width: 460px; margin: 0 auto;
}

/* CSS Pyramid */
.css-pyramid { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 0; }
.pyramid-tier {
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer; position: relative;
  padding: 14px 20px; color: white; font-weight: 700; font-size: 0.85rem; text-align: center;
}
.pyramid-tier:hover { transform: scale(1.02); filter: brightness(1.1); }
.pyramid-tier:nth-child(1) { width: 20%; background: linear-gradient(135deg, #F29430, #FF9F50); }
.pyramid-tier:nth-child(2) { width: 36%; background: linear-gradient(135deg, #D47820, #F29430); }
.pyramid-tier:nth-child(3) { width: 52%; background: linear-gradient(135deg, #B86010, #D47820); }
.pyramid-tier:nth-child(4) { width: 68%; background: linear-gradient(135deg, #9C4E00, #B86010); }
.pyramid-tier:nth-child(5) { width: 84%; background: linear-gradient(135deg, #7A3C00, #9C4E00); }
.pyramid-tier:nth-child(6) { width: 100%; background: linear-gradient(135deg, #5C2A00, #7A3C00); }

.pyramid-accent-label {
  font-size: 0.7rem; opacity: 0.8; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}

.capability-list { display: flex; flex-direction: column; gap: 0; }
.capability-item {
  border-bottom: 1px solid var(--grey-border);
  padding: 20px 0; cursor: pointer;
}
.capability-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.capability-header h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.capability-header p { font-size: 0.8rem; color: #888; }
.capability-toggle {
  width: 28px; height: 28px; border: 1px solid var(--grey-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1rem; color: #999; transition: var(--transition);
}
.capability-item.open .capability-toggle { background: var(--primary); border-color: var(--primary); color: white; transform: rotate(45deg); }
.capability-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.capability-body.open { max-height: 300px; }
.capability-body p { font-size: 0.875rem; color: #555; line-height: 1.7; padding: 12px 0 0; }

/* ═══════════════════════════════════════════
   VIDEO/MEDIA SECTION
═══════════════════════════════════════════ */
.media-section { background: var(--grad-soft); }

.media-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12); position: relative;
  background: linear-gradient(135deg, #f5f0eb, #ebe5dd);
}
.media-frame img { width: 100%; height: auto; display: block; }
.media-play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(26,8,0,0.25); transition: var(--transition); cursor: pointer;
}
.media-play-overlay:hover { background: rgba(26,8,0,0.4); }
.play-btn-med {
  width: 80px; height: 80px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(242,148,48,0.5); transition: var(--transition);
}
.media-play-overlay:hover .play-btn-med { transform: scale(1.1); }
.play-btn-med svg { width: 32px; height: 32px; fill: white; margin-left: 4px; }

/* ═══════════════════════════════════════════
   PLATFORM / ACCREDITATION SECTION
═══════════════════════════════════════════ */
.platform-section { background: var(--grad-cream); }

.platform-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.platform-img-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.platform-img-placeholder {
  background: linear-gradient(135deg, #2A1000, #4A2000);
  border-radius: var(--radius-lg); padding: 40px;
  min-height: 400px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.platform-img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(242,148,48,0.25), transparent 60%);
}
.platform-badge-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1;
}
.platform-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(242,148,48,0.3);
  border-radius: var(--radius-md); padding: 20px; text-align: center;
  backdrop-filter: blur(10px);
}
.platform-badge-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); font-family:'Merriweather',serif; }
.platform-badge-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

.platform-txt h3 { margin-bottom: 16px; }
.platform-txt p { color: #555; line-height: 1.8; margin-bottom: 20px; }
.platform-txt ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.platform-txt ul li {
  display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: #444; line-height: 1.6;
}
.platform-txt ul li::before {
  content: ''; width: 8px; height: 8px; background: var(--primary);
  border-radius: 50%; flex-shrink: 0; margin-top: 8px;
}

/* Accreditation logos */
.acc-logos { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.acc-logo-box {
  background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius-md); padding: 16px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 100px;
}
.acc-logo-badge {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
  font-weight: 700; color: white; text-align: center; line-height: 1.2;
}
.acc-logo-box p { font-size: 0.7rem; color: #888; text-align: center; }

/* ═══════════════════════════════════════════
   STICKY PILLARS
═══════════════════════════════════════════ */
.pillars-section { background: var(--bg-dark); }

.pillar-header { text-align: center; margin-bottom: 80px; }
.pillar-header h2 { margin-bottom: 16px; }
.pillar-header p { color: var(--text-light); max-width: 640px; margin: 0 auto; line-height: 1.7; }

.pillar-scroll-wrap { display: flex; flex-direction: column; gap: 60px; }

.gf-card-sticky { /* originally sticky, simplified */ }
.gf-card {
  display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center;
  background: var(--bg-dark3); border-radius: var(--radius-lg); padding: 60px;
  border: 1px solid rgba(242,148,48,0.15);
}
.gf-card:nth-child(even) { grid-template-columns: 1fr 2fr; }
.gf-card:nth-child(even) .gf-content { order: 2; }
.gf-card:nth-child(even) .gf-img    { order: 1; }
.gf-content h3 { margin-bottom: 20px; }
.gf-content p { color: var(--text-light); line-height: 1.8; }
.gf-img { display: flex; align-items: center; justify-content: center; }
.pillar-icon-wrap {
  width: 140px; height: 140px; background: rgba(242,148,48,0.1);
  border-radius: 50%; border: 2px solid rgba(242,148,48,0.3);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.pillar-icon-wrap svg { width: 64px; height: 64px; fill: var(--primary); }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonial-section { background: var(--grad-cream); overflow: hidden; }
.test-swiper { max-width: 760px; margin: 0 auto; }
.testimonial-content-wrapper {
  background: var(--white); border-radius: var(--radius-lg); padding: 60px;
  border: 1px solid var(--grey-border); box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.testimonial-header { margin-bottom: 32px; }
.testimonial-header h2 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 6px; }
.testimonial-subheading { color: var(--primary); font-weight: 600; font-size: 0.875rem; }
.testimonial-quote p { font-size: 1rem; line-height: 1.85; color: #444; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.author-details h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.author-details p  { font-size: 0.8rem; color: #888; margin-top: 2px; }
.author-avatar {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 700; color: white; font-size: 1.1rem;
}
.test-swiper-pagination { text-align: center; margin-top: 24px; }
.test-swiper-pagination .swiper-pagination-bullet { background: var(--primary); }

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner-section { background: var(--grad-soft); }
.cta-banner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 70px 80px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-dark) 0%, #3D1800 100%);
  position: relative; overflow: hidden; gap: 40px;
}
.cta-banner::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; background: radial-gradient(circle, rgba(242,148,48,0.2), transparent 70%);
}
.cta-banner-content { position: relative; z-index: 1; max-width: 560px; }
.cta-banner-content h3 { margin-bottom: 16px; }
.cta-banner-content p { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   BLOG GRID
═══════════════════════════════════════════ */
.blog-section { background: var(--grad-soft); }
.blog-card {
  border-radius: var(--radius-md); overflow: hidden; display: block;
  border: 1px solid var(--grey-border); transition: var(--transition);
  background: var(--white);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(242,148,48,0.3); }

.blog-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #f5ede0, #e8d5c0);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  transition: var(--transition);
}
.blog-card:hover .blog-img-placeholder { transform: scale(1.04); }

.blog-txt-wrap { padding: 20px 20px 24px; }
.date-wrap ul { display: flex; gap: 8px; margin-bottom: 10px; }
.date-wrap ul li { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.blog-txt-wrap h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); line-height: 1.5; }
.blog-txt-wrap h3:hover { color: var(--primary); }

/* ═══════════════════════════════════════════
   PRE-FOOTER
═══════════════════════════════════════════ */
.pre-footer-wrap {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  min-height: 320px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--bg-dark), #3D1800);
}
.pre-footer-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(242,148,48,0.3), transparent 60%);
}
.pre-footer-content {
  position: relative; z-index: 1; padding: 80px; max-width: 600px;
}
.pre-footer-content h2 { margin-bottom: 16px; }
.pre-footer-btn { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer { background: var(--bg-dark); padding: 80px 0 40px; }

.footer-content { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.footer-logo-icon {
  width: 36px; height: 36px; background: var(--primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-logo-icon svg { width: 20px; height: 20px; fill: white; }
.footer-logo-text { font-family:'Merriweather',serif; font-weight:700; font-size:1.1rem; color:white; }
.footer-logo-text span { color: var(--primary); }

.company-info address, .company-info p, .company-info a {
  font-size: 0.825rem; color: rgba(255,255,255,0.6); line-height: 1.8;
}
.company-info a:hover { color: var(--primary); }

.footer-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-col ul li a svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.5; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }
.social-link:hover svg { fill: white; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container, .container-sm { padding: 0 24px; }
  .who-container { grid-template-columns: 1fr; gap: 40px; }
  .who-left .sec-head { position: static; }
  .acc-left-right, .acc-left-right.reverse { grid-template-columns: 1fr; }
  .acc-left-right.reverse .acc-left,
  .acc-left-right.reverse .acc-right { order: unset; }
  .acc-left-right.acc-bleed { grid-template-columns: 1fr; }
  .acc-left-right.acc-bleed .acc-right { padding: 0 24px 40px; }
  .acc-left-right.acc-bleed .sticky-video { height: 340px; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .pyramid-container { grid-template-columns: 1fr; gap: 40px; }
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .gf-card, .gf-card:nth-child(even) { grid-template-columns: 1fr; }
  .gf-card:nth-child(even) .gf-content,
  .gf-card:nth-child(even) .gf-img { order: unset; }
  .cta-banner { flex-direction: column; padding: 50px 40px; }
}
@media (max-width: 768px) {
  .comm-section { padding: 70px 0; }
  .head-right { display: none; }
  .nav-cta { display: flex; }
  .nav-cta .cta-btn { padding: 10px 20px; font-size: 0.875rem; }
  .hamburger { display: flex; }
  .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .head-actions { flex-direction: column; align-items: flex-start; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .pre-footer-content { padding: 40px 24px; }
  .cta-banner { padding: 40px 24px; }
  .gf-card { padding: 32px 24px; }
  .testimonial-content-wrapper { padding: 36px 24px; }
}

/* ═══════════════════════════════════════════
   VISUAL ELEVATION LAYER
═══════════════════════════════════════════ */

/* ── Global polish ───────────────────────── */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: rgba(242,148,48,0.28); color: var(--text-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
img { image-rendering: auto; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #F7ECDD; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border-radius: 10px; border: 3px solid #F7ECDD; }

/* ── Heading rhythm + section accent bar ─── */
.page-title, .sec-title, .font48r, .font40r, .font36r { letter-spacing: -0.025em; }
.sec-head.centered .page-title { position: relative; display: inline-block; }
.sec-head.centered .page-title::after {
  content: ''; display: block; width: 60px; height: 4px; margin: 22px auto 0;
  border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 2px 12px rgba(242,148,48,0.4);
}
.sec-head.centered p { margin-top: 22px; }

/* gradient text utility */
.grad-text {
  background: linear-gradient(120deg, var(--primary) 0%, #FFB570 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── HERO ────────────────────────────────── */
.head-content h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 1.07; letter-spacing: -0.035em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.head-content .hero-para { text-shadow: 0 1px 14px rgba(0,0,0,0.35); }
.header-bg::after {
  background: linear-gradient(270deg, rgba(26,8,0,0.10) 0%, rgba(26,8,0,0.74) 52%, rgba(26,8,0,0.94) 100%);
}
.hero-stat-num { font-size: 2.6rem; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(242,148,48,0.35); }
.head-actions .button { padding: 16px 38px; font-size: 0.95rem; }

/* animated scroll cue */
.head-section::after {
  content: ''; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.45); border-radius: 13px; z-index: 2;
}
.head-section::before {
  content: ''; position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 2px; z-index: 3;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, -7px); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 8px); }
}

/* ── Button shine sweep ──────────────────── */
.button { position: relative; overflow: hidden; }
.button::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none;
}
.button:hover::after { left: 150%; }

/* ── Product / agent cards ───────────────── */
.agent-card { transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.4s ease, border-color 0.4s ease; }
.agent-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.agent-card::before { height: 4px; }
.agent-icon { background: linear-gradient(135deg, rgba(242,148,48,0.16), rgba(255,159,80,0.05)); }

/* ── Numbered accordion section ──────────── */
.wealth-number {
  font-size: 5rem;
  background: linear-gradient(180deg, rgba(242,148,48,0.4), rgba(242,148,48,0.03));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── "After installation" pillar cards ───── */
.gf-card {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #2E1500 0%, #200d00 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gf-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 88% 18%, rgba(242,148,48,0.14), transparent 55%);
}
.gf-card:hover { transform: translateY(-4px); box-shadow: 0 32px 70px rgba(0,0,0,0.45); }
.pillar-icon-wrap {
  background: radial-gradient(circle at 50% 38%, rgba(242,148,48,0.28), rgba(242,148,48,0.04));
  box-shadow: inset 0 0 40px rgba(242,148,48,0.2), 0 12px 36px rgba(0,0,0,0.3);
}

/* ── Testimonials ────────────────────────── */
.testimonial-content-wrapper {
  position: relative; box-shadow: var(--shadow-soft); border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--accent)) 1;
}
.testimonial-content-wrapper::before {
  content: '\201C'; position: absolute; top: 18px; right: 44px;
  font-family: 'Merriweather', serif; font-size: 7rem; line-height: 1;
  color: rgba(242,148,48,0.14); pointer-events: none;
}
.testimonial-quote p { font-size: 1.15rem; line-height: 1.9; }

/* ── Media frame + pre-footer depth ──────── */
.media-frame { box-shadow: 0 40px 90px rgba(26,8,0,0.16); }
.pre-footer-wrap { box-shadow: 0 30px 80px rgba(26,8,0,0.28); }
.cta-btn { position: relative; overflow: hidden; }

/* ── NAVIGATION BAR ──────────────────────── */
.header {
  background: linear-gradient(180deg, rgba(255,251,245,0.90) 0%, rgba(255,247,238,0.84) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(242,148,48,0.14);
  box-shadow: 0 4px 24px rgba(139,82,0,0.06);
}
.header.scrolled {
  background: linear-gradient(180deg, rgba(255,251,245,0.97) 0%, rgba(255,247,238,0.95) 100%);
  border-bottom-color: rgba(242,148,48,0.24);
  box-shadow: 0 8px 32px rgba(139,82,0,0.13);
}
/* premium gradient accent line across the very top */
.header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary), var(--accent), var(--primary), var(--primary-deep));
  background-size: 200% 100%; animation: navSheen 8s linear infinite;
}
@keyframes navSheen { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* nav links: more contrast + animated underline */
.header-list > li > a { color: #240F00; font-weight: 600; position: relative; }
.header-list > li > a:hover { color: var(--primary); background: rgba(242,148,48,0.10); }
.header-list > li > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.header-list > li > a:hover::after,
.drop-menu:hover > a::after { transform: scaleX(1); }

/* ── Dropdown menus ──────────────────────── */
.drop-list-wrap {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F1 100%);
  border: 1px solid rgba(242,148,48,0.18);
  box-shadow: 0 24px 60px rgba(139,82,0,0.16);
}
.menu-card:hover { background: rgba(242,148,48,0.09); }
.menu-icon-wrap { background: linear-gradient(135deg, rgba(242,148,48,0.18), rgba(255,159,80,0.05)); }
.menu-card:hover .menu-icon-wrap { background: var(--primary); }
.menu-card:hover .menu-icon-wrap svg { fill: #fff; }

/* ── Remaining white blocks → warm surfaces ─ */
.testimonial-content-wrapper { background: linear-gradient(180deg, #FFFFFF 0%, #FFFAF2 100%); }
.author-details p { color: #9a8068; }

/* ── Overall layout breathing room ───────── */
.comm-section { padding: 112px 0; }
.container, .container-sm { padding: 0 48px; }
@media (max-width: 1024px) {
  .container, .container-sm { padding: 0 28px; }
}
@media (max-width: 768px) {
  .comm-section { padding: 72px 0; }
  .container, .container-sm { padding: 0 20px; }
}

/* ── HERO: centered layout ───────────────── */
.head-wrap { display: flex; justify-content: center; }
.head-content { max-width: 760px; margin: 0 auto; text-align: center; }
.head-content h1 { margin-bottom: 0; }
.hero-badge { margin: calc(1.2rem * 0.7 * 4) auto; } /* 4× the subtext line leading (≈54px), equal top & bottom */
.head-content .hero-para { margin-left: auto; margin-right: auto; }
.head-actions { justify-content: center; }
.hero-stats { justify-content: center; }

/* ── HERO: glow on primary text only ─────── */
.head-content h1 {
  text-shadow:
    0 0 9px rgba(255,255,255,0.75),
    0 0 20px rgba(242,148,48,0.6),
    0 2px 18px rgba(0,0,0,0.35);
}
.head-content .hero-para {
  text-shadow:
    0 0 7px rgba(255,255,255,0.6),
    0 0 16px rgba(242,148,48,0.4);
}
.hero-badge span {
  text-shadow: 0 0 6px rgba(242,148,48,0.95), 0 0 14px rgba(242,148,48,0.55);
}
.hero-stat-num {
  text-shadow: 0 0 22px rgba(242,148,48,0.6), 0 0 44px rgba(242,148,48,0.35);
}
/* explicitly keep secondary labels + CTAs glow-free */
.hero-stat-label { text-shadow: none; }
.head-actions .button { text-shadow: none; }

@media (max-width: 768px) {
  .head-actions { flex-direction: column; align-items: center; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .head-section::before, .hero-shape, .hero-badge-dot, .header::before { animation: none; }
  * { scroll-behavior: auto; }
}

/* ───────── 2. BESPOKE PAGE CLASSES (category / patio / showcase) ───────── */
/* ── page header ── */
.cat-header { padding: 140px 0 48px; background: var(--white); }
.cat-header h1 { margin-bottom: 18px; letter-spacing: -0.01em; }
.cat-header .cat-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 400;
  color: var(--text-mid); line-height: 1.6; max-width: 560px;
}
.cat-meta {
  margin-top: 30px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mid);
}
.cat-meta .sep { color: var(--primary); margin: 0 10px; }

/* ── product grid ── */
.cat-grid-section { padding: 24px 0 100px; background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.door-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: var(--transition); text-decoration: none;
}
.door-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--primary); z-index: 2;
}
.door-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(242,148,48,0.3); }

.door-card-img {
  aspect-ratio: 3 / 4; background: var(--white); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 22px 22px 6px;
}
.door-card-img img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); }
.door-card:hover .door-card-img img { transform: scale(1.03); }

.door-card-body { padding: 6px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.door-card-body h3 {
  font-family: 'Merriweather', serif; font-size: 1.05rem; font-weight: 700;
  color: var(--text-dark); line-height: 1.35;
}
.door-card-desc { font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; }
.door-card-cta {
  margin-top: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; transition: var(--transition);
}
.door-card:hover .door-card-cta { gap: 11px; }

/* ── material callout strip ── */
.cat-callout { background: var(--grey-light); padding: 80px 0; text-align: center; }
.cat-callout h3 {
  font-family: 'Merriweather', serif; font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-dark); margin-bottom: 16px; line-height: 1.3;
}
.cat-callout .cat-callout-line {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-mid); margin-bottom: 24px;
}
.cat-callout .cat-callout-line .sep { color: var(--primary); margin: 0 8px; }
.cat-callout a { color: var(--primary); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ── CTA section ── */
.cat-cta { background: var(--white); padding: 100px 0; text-align: center; }
.cat-cta h3 {
  font-family: 'Merriweather', serif; font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-dark); margin-bottom: 16px; line-height: 1.3;
}
.cat-cta p { color: var(--text-mid); line-height: 1.7; max-width: 520px; margin: 0 auto 32px; }

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-header { padding: 120px 0 36px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PATIO CATEGORY PAGE (dark page · light cards)
═══════════════════════════════════════════ */
.patio-header { padding: 140px 0 56px; background: var(--bg-dark); }
.patio-header h1 { margin-bottom: 18px; letter-spacing: -0.01em; }
.patio-header .cat-sub { font-size: clamp(1rem,1.6vw,1.25rem); color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 560px; }
.patio-meta { margin-top: 28px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.patio-meta .sep { color: var(--primary); margin: 0 10px; }
.patio-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.patio-tabs a { display: inline-flex; align-items: center; padding: 10px 22px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.patio-tabs a:hover { border-color: var(--primary); color: var(--primary); background: rgba(242,148,48,0.08); }
.patio-tabs a.impact { border-color: rgba(242,148,48,0.55); color: var(--accent); }

.patio-section { background: var(--bg-dark); padding: 72px 0; scroll-margin-top: 80px; }
.patio-section-head { margin-bottom: 44px; }
.patio-section-head h2 { margin-bottom: 10px; }
.patio-section-head p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.patio-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 0 0 56px; }

.patio-grid { display: grid; gap: 40px; }
.patio-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.patio-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Door showcase — white door floats on the dark page, big serif name */
.door-showcase { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; padding: 8px; transition: var(--transition); }
.door-showcase-img { position: relative; width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.door-showcase-img img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--transition); }
.door-showcase:hover .door-showcase-img img { transform: translateY(-8px) scale(1.02); }
.door-showcase h3 { font-family: 'Merriweather', serif; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; color: #fff; line-height: 1.3; transition: var(--transition); }
.door-showcase:hover h3 { color: var(--primary); }
.door-showcase-desc { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 8px; line-height: 1.5; }
.door-showcase-cta { margin-top: 16px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 4px; transition: var(--transition); }
.door-showcase:hover .door-showcase-cta { color: var(--primary); border-color: var(--primary); }

.patio-impact { background: var(--bg-dark3); border-top: 2px solid var(--primary); scroll-margin-top: 80px; }
.patio-impact-card { max-width: 460px; margin: 0 auto; }
.patio-zone-callout { text-align: center; margin-top: 36px; }
.patio-zone-callout p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 8px; }
.patio-zone-callout a { color: var(--primary); font-weight: 700; font-size: 0.9rem; }

@media (max-width: 768px) {
  .patio-grid-2, .patio-grid-3 { grid-template-columns: 1fr; }
  .patio-header { padding: 120px 0 40px; }
}

/* ───────── 3. NAV TWEAKS ───────── */
/* ── dropdown hover-gap bridge (menu stays open while crossing the 8px gap) ── */
.drop-list-wrap::before { content:''; position:absolute; top:-12px; left:0; right:0; height:12px; }
/* ── EB Garamond on nav titles + dropdown panel text + Shop CTA (per spec) ── */
.header-list > li > a,
.menu-card-txt h3,
.menu-card-txt p,
.cta-btn { font-family: 'EB Garamond', serif; }
.header-list > li > a { letter-spacing: 0; }

/* nav sizing to match V13 + fixed-header scroll offset */
html { scroll-padding-top: 84px; }
.header-list > li > a { font-size: 1rem; }
.menu-card-txt h3 { font-size: 1rem; }
.menu-card-txt p { font-size: 0.9rem; }
