/* ==========================================================================
   AZHAGAR CONSTRUCTION — MAIN STYLESHEET
   Location: Theni, Tamil Nadu
   
   Custom Architectural Palette:
   - Primary: Deep architectural charcoal, #171A1D
   - Secondary: Warm ivory, #F7F5F0
   - Accent: Muted architectural bronze, #B58A55
   - Supporting neutral: Warm grey, #8A8A84
   - White: #FFFFFF
   (Applied across all elements while keeping the body background clean)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* --- CSS Variables / Brand Architectural Design System --- */
:root {
  /* Modern Typography Pairing - Poppins Body with Playfair Display Editorial Serif */
  --font-brand: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand Signature Colors (From Official 3D Gold & Midnight Navy Emblem) */
  --midnight-obsidian: #070D18;     /* Deepest obsidian navy (footer, dark base) */
  --midnight-navy: #0A1322;         /* Prestigious midnight navy (navbar, dark cards) */
  --midnight-surface: #0E1A2D;      /* Midnight card elevated surface */
  --midnight-surface-hover: #14243D;/* Midnight card hover */
  --midnight-border: rgba(255, 255, 255, 0.08); /* Clean modern translucent border on navy */

  /* 3D Metallic Architectural Gold System */
  --gold-light: #F7D774;            /* Radiant gold highlight */
  --gold-primary: #D4AF37;          /* Classic architectural gold */
  --gold-dark: #9D7618;             /* Deep antique gold shadow */
  --gold-gradient: linear-gradient(135deg, #F7D774 0%, #D4AF37 50%, #9D7618 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFF0A8 0%, #E6C24C 50%, #B88B22 100%);
  --gold-glow: 0 4px 20px rgba(212, 175, 55, 0.35);

  /* Legacy variable aliases for total compatibility */
  --color-primary: #0A1322;         /* Deep architectural charcoal/navy */
  --color-secondary: #F7F5F0;       /* Warm ivory */
  --color-accent: #D4AF37;          /* Architectural gold */
  --color-neutral: #8A8A84;         /* Supporting neutral warm grey */
  --color-white: #FFFFFF;           /* White */

  --accent-gold: #D4AF37;
  --accent-gold-light: #F7D774;
  --accent-gold-dark: #9D7618;

  /* Clean Light Body Canvas (Preserved: "don't put this color contrast in body") */
  --bg-primary: #f8fafc;            /* Body background kept light & airy */
  --bg-surface: #F7F5F0;            /* Warm ivory for secondary sections */
  --bg-surface-alt: #F7F5F0;
  --bg-card: #FFFFFF;               /* Clean white for standard elevated cards */
  --bg-card-hover: #FFFFFF;
  --bg-card-solid: #FFFFFF;

  /* Light Section Text Hierarchy */
  --text-primary: #0A1322;          /* Deep architectural charcoal/navy */
  --text-secondary: rgba(10, 19, 34, 0.82); /* High readability body text */
  --text-muted: #64748B;            /* Professional slate neutral */
  --text-dim: #94A3B8;

  /* Borders & Shadows */
  --border-subtle: rgba(10, 19, 34, 0.08); /* Clean light border */
  --border-gold: rgba(10, 19, 34, 0.08);
  --border-gold-hover: rgba(10, 19, 34, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-blur: blur(14px);

  --shadow-sm: 0 2px 8px rgba(10, 19, 34, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 19, 34, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 19, 34, 0.12);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.28);

  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(181, 138, 85, 0.05), transparent),
    radial-gradient(circle 800px at 100% 20%, rgba(138, 138, 132, 0.03), transparent);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Container & Grid System --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.18rem; }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--midnight-navy);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 14px rgba(10, 19, 34, 0.12);
  margin-bottom: 18px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-light);
}

.section-title {
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* --- Buttons & Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #070D18;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.5);
  color: #03060B;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--midnight-navy);
  border-color: rgba(10, 19, 34, 0.2);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 19, 34, 0.18);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background: #1eb956;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-call {
  background: rgba(10, 19, 34, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

.btn-call:hover {
  background: var(--midnight-navy);
  color: var(--gold-light);
  border-color: rgba(10, 19, 34, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 19, 34, 0.2);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-link:hover {
  color: var(--accent-gold-dark);
  border-bottom-color: var(--accent-gold-dark);
  gap: 12px;
}

/* --- Header & Symmetrical Two-Part Pill Navbar System --- */
:root {
  --nav-morph-timing: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-header {
  position: fixed;
  top: 42px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  background: rgba(11, 16, 27, 0) !important;
  border-bottom: 1.5px solid transparent !important;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  height: auto !important;
  transition: top var(--nav-morph-timing),
              background-color var(--nav-morph-timing),
              border-color var(--nav-morph-timing),
              box-shadow var(--nav-morph-timing),
              backdrop-filter var(--nav-morph-timing),
              -webkit-backdrop-filter var(--nav-morph-timing) !important;
  will-change: top, background-color, border-color, box-shadow;
}

/* Sticky State - When Scrolled to Top 0 Full-Width Square Navbar */
.site-header.is-scrolled,
.site-header.scrolled {
  top: 0 !important;
  background: rgba(11, 16, 27, 0.98) !important;
  border-bottom: none !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  pointer-events: auto !important;
}

/* Symmetrical Two-Part Pill Navbar Wrapper */
.navbar-pill-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  height: 70px;
  margin: 0 auto;
  padding: 0 16px;
  pointer-events: auto;
  transition: max-width var(--nav-morph-timing),
              width var(--nav-morph-timing),
              padding var(--nav-morph-timing),
              height var(--nav-morph-timing) !important;
  will-change: max-width, padding, height;
}

/* Scrolled Full-Width Square Navbar Wrapper */
.site-header.is-scrolled .navbar-pill-wrapper,
.navbar-pill-wrapper.is-scrolled {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 40px !important;
  height: 68px !important;
}

/* Left and Right Pill Wings */
.navbar-wing {
  position: relative;
  height: 68px;
  background: #0B101B;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  z-index: 5;
  transition: border-radius var(--nav-morph-timing),
              border-color var(--nav-morph-timing),
              box-shadow var(--nav-morph-timing),
              margin var(--nav-morph-timing) !important;
  will-change: border-radius, border-color, box-shadow, margin;
}

/* Scrolled Wings - Seamless Square Bar Transformation */
.site-header.is-scrolled .navbar-wing,
.navbar-pill-wrapper.is-scrolled .navbar-wing {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
}

/* Left Wing */
.navbar-wing-left {
  flex: 1;
  border-top: 1.5px solid #D6AC3D;
  border-bottom: 1.5px solid #D6AC3D;
  border-left: 1.5px solid #D6AC3D;
  border-right: 1.5px solid transparent;
  border-radius: 40px 0 0 40px;
  padding-left: 14px;
  padding-right: 8px;
  margin-right: 76px; /* Symmetrical distance from center for circular cradle */
  display: flex;
  align-items: center;
}

.site-header.is-scrolled .navbar-wing-left,
.navbar-pill-wrapper.is-scrolled .navbar-wing-left {
  border-radius: 0% !important;
  border-top-color: transparent !important;
  border-left-color: transparent !important;
  border-bottom-color: transparent !important;
  margin-right: 48px !important;
}

.navbar-wing-left .navbar-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  margin: 0;
  padding: 0 6px;
}

/* Right Wing */
.navbar-wing-right {
  flex: 1;
  border-top: 1.5px solid #D6AC3D;
  border-bottom: 1.5px solid #D6AC3D;
  border-right: 1.5px solid #D6AC3D;
  border-left: 1.5px solid transparent;
  border-radius: 0 40px 40px 0;
  padding-left: 8px;
  padding-right: 14px;
  margin-left: 76px; /* Symmetrical distance from center for circular cradle */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled .navbar-wing-right,
.navbar-pill-wrapper.is-scrolled .navbar-wing-right {
  border-radius: 0% !important;
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  margin-left: 48px !important;
}

.navbar-wing-right .navbar-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  margin: 0;
  padding: 0 6px;
}

/* Inner Concave SVG Caps (Seamless Fillet Sculpted Cradle) */
.wing-cap-left {
  position: absolute;
  top: -1px;
  right: -15px;
  width: 16px;
  height: 68px;
  pointer-events: none;
  z-index: 6;
  opacity: 1;
  transition: opacity 0.35s ease !important;
  will-change: opacity;
}

.wing-cap-right {
  position: absolute;
  top: -1px;
  left: -15px;
  width: 16px;
  height: 68px;
  pointer-events: none;
  z-index: 6;
  opacity: 1;
  transition: opacity 0.35s ease !important;
  will-change: opacity;
}

/* Hide circular concave SVG caps in square state */
.site-header.is-scrolled .wing-cap-left,
.site-header.is-scrolled .wing-cap-right,
.navbar-pill-wrapper.is-scrolled .wing-cap-left,
.navbar-pill-wrapper.is-scrolled .wing-cap-right {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Central Circular Emblem with 3D Flip System (Lord Azhagar front / Logo back) */
.navbar-center-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 1.5px solid #D6AC3D;
  box-shadow: 0 0 24px rgba(214, 172, 61, 0.4), 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
  overflow: visible;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  perspective: 1000px;
  -webkit-perspective: 1000px;
  transition: width var(--nav-morph-timing),
              height var(--nav-morph-timing),
              border-radius var(--nav-morph-timing),
              box-shadow var(--nav-morph-timing),
              border-color var(--nav-morph-timing),
              transform 0.3s ease !important;
  will-change: width, height, border-radius, box-shadow;
}

.navbar-center-circle:hover {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 0 32px rgba(214, 172, 61, 0.6), 0 16px 36px rgba(0, 0, 0, 0.7);
  border-color: #F7D774;
}

/* 3D Flip Card Container */
.emblem-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Flipped State (triggered automatically every 15s or on user click/tap) */
.navbar-center-circle.is-flipped .emblem-flip-card,
.mobile-center-emblem.is-flipped .emblem-flip-card {
  transform: rotateY(180deg);
}

/* Shared Card Face Styling */
.emblem-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B101B;
}

/* Front Face: Lord Azhagar Deity Image */
.emblem-face-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.emblem-face-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: inherit;
  transition: border-radius var(--nav-morph-timing);
}

/* Back Face: Brand Logo on Navbar Dark Canvas */
.emblem-face-back {
  transform: rotateY(180deg);
  z-index: 1;
  background: #0B101B;
  padding: 14px;
  box-sizing: border-box;
}

.emblem-face-back img,
.emblem-face-back .emblem-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: border-radius var(--nav-morph-timing);
}

/* Center Image Transformed to Square when Sticky at Top 0 (Golden border removed!) */
.site-header.is-scrolled .navbar-center-circle,
.navbar-pill-wrapper.is-scrolled .navbar-center-circle {
  width: 54px !important;
  height: 54px !important;
  border-radius: 0% !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.site-header.is-scrolled .navbar-center-circle .emblem-flip-card,
.site-header.is-scrolled .navbar-center-circle .emblem-card-face,
.site-header.is-scrolled .navbar-center-circle img {
  border-radius: 0% !important;
}

.site-header.is-scrolled .navbar-center-circle .emblem-face-back {
  padding: 6px;
}

/* Logo Box Container on far-left */
.navbar-logo-box {
  width: 44px;
  height: 44px;
  border: 1.5px solid #D6AC3D;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 16, 27, 0.85);
  margin-right: 18px;
  flex-shrink: 0;
  padding: 3px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.navbar-logo-box:hover {
  transform: scale(1.05);
  border-color: #F7D774;
}

.navbar-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Fallback for footer logos */
.site-footer .brand-logo-img {
  height: 84px;
  max-height: 84px;
  margin-bottom: 12px;
}

/* Navigation Links */
.navbar-links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links > li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-link {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.navbar-link:hover {
  color: #F7D774;
}

/* Active State (Gold text + short gold underline bar) */
.navbar-link.active {
  color: #D6AC3D;
  font-weight: 600;
}

.navbar-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 26px;
  height: 2px;
  background: #D6AC3D;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(214, 172, 61, 0.5);
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #0B101B;
  border: 1px solid rgba(214, 172, 61, 0.3);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(214, 172, 61, 0.12);
  color: #F7D774;
  transform: translateX(4px);
}

.dropdown-num {
  color: #D6AC3D;
  font-weight: 700;
  font-size: 0.78rem;
  width: 18px;
}

/* Right Section Actions & Buttons */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  flex-shrink: 0;
}

/* Call Now Button */
.navbar-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1.5px solid #D6AC3D;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #D6AC3D;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.navbar-btn-call svg {
  color: #D6AC3D;
  transition: color 0.2s ease;
}

.navbar-btn-call:hover {
  background: rgba(214, 172, 61, 0.12);
  border-color: #F7D774;
  color: #F7D774;
  box-shadow: 0 0 12px rgba(214, 172, 61, 0.25);
}

.navbar-btn-call:hover svg {
  color: #F7D774;
}

/* Discuss Project Button */
.navbar-btn-discuss {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #F3D274 0%, #D6AC3D 50%, #B88922 100%);
  color: #070D18;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(214, 172, 61, 0.35);
  transition: all 0.2s ease;
}

.navbar-btn-discuss:hover {
  background: linear-gradient(135deg, #FFF0A8 0%, #E6C24C 50%, #C49726 100%);
  box-shadow: 0 6px 20px rgba(214, 172, 61, 0.5);
  transform: translateY(-1px);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .navbar-pill-wrapper,
  .navbar-wing,
  .navbar-wing-left,
  .navbar-wing-right,
  .wing-cap-left,
  .wing-cap-right,
  .navbar-center-circle,
  .navbar-logo-box,
  .navbar-links,
  .navbar-actions,
  .navbar-btn-call,
  .navbar-btn-discuss {
    transition-duration: 0.01ms !important;
  }
}

/* Mobile & Tablet Header System */
.mobile-header-bar {
  display: none;
}

@media (max-width: 1220px) {
  .site-header.is-scrolled .navbar-pill-wrapper,
  .navbar-pill-wrapper.is-scrolled {
    padding: 0 16px !important;
  }
  .site-header.is-scrolled .navbar-wing-left,
  .navbar-pill-wrapper.is-scrolled .navbar-wing-left {
    margin-right: 32px !important;
  }
  .site-header.is-scrolled .navbar-wing-right,
  .navbar-pill-wrapper.is-scrolled .navbar-wing-right {
    margin-left: 32px !important;
  }
  .navbar-links {
    gap: 16px;
  }
  .navbar-link {
    font-size: 0.84rem;
  }
  .navbar-btn-call, .navbar-btn-discuss {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .navbar-logo-box {
    margin-right: 14px;
  }
}

@media (max-width: 1040px) {
  .navbar-pill-wrapper {
    display: none;
  }

  .site-header {
    top: 0 !important;
    background: #0B101B !important;
    border-bottom: 1px solid rgba(214, 172, 61, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    pointer-events: auto;
  }

  .site-header.is-scrolled,
  .site-header.scrolled {
    border-bottom: none !important;
  }

  .mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 20px;
    max-width: 100%;
  }

  .mobile-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .mobile-logo-badge {
    width: 42px;
    height: 42px;
    border: 1.5px solid #D6AC3D;
    border-radius: 9px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 16, 27, 0.85);
  }

  .mobile-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-center-emblem {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #D6AC3D;
    overflow: visible;
    box-shadow: 0 0 10px rgba(214, 172, 61, 0.3);
    cursor: pointer;
    perspective: 800px;
    -webkit-perspective: 800px;
  }

  .mobile-center-emblem .emblem-face-back {
    padding: 5px;
  }

  .site-header.is-scrolled .mobile-center-emblem {
    border: none !important;
  }

  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(214, 172, 61, 0.4);
    background: rgba(255, 255, 255, 0.04);
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-nav-toggle:hover {
    background: rgba(214, 172, 61, 0.16);
    border-color: #D6AC3D;
  }

  .mobile-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #D6AC3D;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav-drawer {
    top: 68px;
    height: calc(100vh - 68px);
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: calc(100vh - var(--header-height));
  background: #FFFFFF;
  border-left: 1.5px solid rgba(214, 172, 61, 0.3);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  transition: right var(--transition-normal);
  z-index: 999;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0F172A;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #B8860B;
}

.mobile-dropdown-title {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #B8860B;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-top: 8px;
}

.mobile-sublinks {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mobile-sublink {
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-sublink:hover {
  color: #B8860B;
}

/* --- Squarespace-Inspired Cinematic Hero Services Showcase Carousel --- */
.hero.hero-showcase-section {
  position: relative;
  min-height: 620px;
  height: 100vh;
  max-height: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 16px);
  padding-bottom: 74px;
  background: #080C14;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-slides-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Background image & cinematic dark scrim matching Squarespace moody stage */
.hero-slide-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) saturate(1.15) contrast(1.1);
  transform: scale(1.04);
  transition: transform 8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-slide.active .hero-slide-bg-img {
  transform: scale(1);
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, 
      rgba(8, 12, 20, 0.96) 0%, 
      rgba(8, 12, 20, 0.90) 38%, 
      rgba(8, 12, 20, 0.58) 66%, 
      rgba(8, 12, 20, 0.80) 100%
    ),
    linear-gradient(180deg, 
      rgba(8, 12, 20, 0.75) 0%, 
      transparent 18%, 
      transparent 76%, 
      rgba(8, 12, 20, 0.96) 100%
    );
}

/* Two-column Hero Container */
.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 3;
}

/* Left Column Content */
.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-category-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F7D774;
  margin-bottom: 18px;
}

.eyebrow-accent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D6AC3D;
  box-shadow: 0 0 8px #F7D774;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.3rem, 3.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.hero-title-accent {
  font-family: var(--font-serif);
  background: linear-gradient(135deg, #FFF0A8 0%, #F7D774 45%, #D6AC3D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-style: italic;
  font-weight: 700;
}

.hero-intro {
  font-size: 1.02rem;
  line-height: 1.68;
  color: #CBD5E1;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Hero CTAs matching Squarespace white button */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-btn-squarespace {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: #FFFFFF;
  color: #0A1322;
  font-family: var(--font-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.hero-btn-squarespace:hover {
  background: #F7EFE6;
  color: #040810;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 172, 61, 0.4);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(214, 172, 61, 0.5);
  color: #F7D774;
  font-family: var(--font-accent);
  font-size: 0.90rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hero-btn-outline:hover {
  background: #D6AC3D;
  border-color: #D6AC3D;
  color: #0A1322;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 172, 61, 0.4);
}

.hero-btn-call-icon {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.hero-btn-call-icon:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Trust Badges in Dark Hero */
.hero-trust-dark {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-dark .trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-dark .trust-badge-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D6AC3D;
  flex-shrink: 0;
}

.hero-trust-dark .trust-badge-label {
  color: #E2E8F0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Right Column: Squarespace-style Showcase Window */
.hero-showcase-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.showcase-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
  opacity: 0.8;
}

/* The Floating Showcase Card */
.showcase-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #FAF4EE;
  color: #1C1917;
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65), 0 12px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 45px 95px rgba(0, 0, 0, 0.75), 0 16px 36px rgba(0, 0, 0, 0.5);
}

.showcase-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 22px;
  align-items: center;
}

.showcase-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  background: #0B101B;
}

.showcase-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card-details {
  display: flex;
  flex-direction: column;
}

.showcase-card-breadcrumb {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78716C;
  margin-bottom: 5px;
}

.showcase-card-price {
  font-size: 0.94rem;
  font-weight: 700;
  color: #44403C;
  margin-bottom: 4px;
}

.showcase-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C1917;
  line-height: 1.22;
  margin-bottom: 8px;
}

.showcase-card-desc {
  font-size: 0.81rem;
  line-height: 1.5;
  color: #57534E;
  margin-bottom: 16px;
}

.showcase-card-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}

.selector-label {
  color: #78716C;
  font-weight: 500;
}

.selector-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  color: #1C1917;
  font-weight: 600;
  font-size: 0.78rem;
}

.showcase-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 16px;
  background: #2D3328;
  color: #FFFFFF;
  font-family: var(--font-accent);
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.showcase-card-btn:hover {
  background: #D6AC3D;
  color: #0A1322;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(214, 172, 61, 0.4);
}

.showcase-card-related {
  font-size: 0.75rem;
  color: #78716C;
  text-align: center;
  margin-top: 10px;
}

/* Bottom Controls Bar */
.hero-bottom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 20, 0.92) 80%);
  padding: 12px 0 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-controls-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1360px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.hero-service-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-service-chips::-webkit-scrollbar {
  display: none;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 30px;
  background: rgba(11, 16, 27, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #CBD5E1;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.service-chip:hover {
  background: rgba(214, 172, 61, 0.18);
  border-color: rgba(214, 172, 61, 0.5);
  color: #F7D774;
}

.service-chip.active {
  background: linear-gradient(135deg, rgba(214, 172, 61, 0.3) 0%, rgba(157, 118, 24, 0.35) 100%);
  border-color: #D6AC3D;
  color: #F7D774;
  box-shadow: 0 0 14px rgba(214, 172, 61, 0.4);
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 16, 27, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(214, 172, 61, 0.4);
  color: #F7D774;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: #D6AC3D;
  color: #0A1322;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(214, 172, 61, 0.5);
}

.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.indicator.active {
  width: 22px;
  border-radius: 10px;
  background: #D6AC3D;
  box-shadow: 0 0 8px rgba(214, 172, 61, 0.6);
}

.carousel-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 8px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9D7618, #D6AC3D, #F7D774);
  box-shadow: 0 0 8px #F7D774;
}

/* Responsive Breakpoints for Squarespace Hero */

/* 1. Shorter Laptop/Desktop Screens (e.g. 1366x768, 1280x720, 1024x768) */
@media (max-height: 820px) and (min-width: 881px) {
  .hero.hero-showcase-section {
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 66px;
  }
  .hero-container {
    gap: 28px;
  }
  .hero-category-eyebrow {
    margin-bottom: 10px;
    font-size: 0.78rem;
  }
  .hero-title {
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    margin-bottom: 12px;
  }
  .hero-intro {
    font-size: 0.94rem;
    line-height: 1.54;
    margin-bottom: 18px;
  }
  .hero-ctas {
    margin-bottom: 18px;
    gap: 12px;
  }
  .hero-trust-dark {
    padding-top: 14px;
    gap: 20px;
  }
  .showcase-dots {
    margin-bottom: 8px;
  }
  .showcase-card {
    padding: 18px 20px;
    max-width: 500px;
  }
  .showcase-card-inner {
    gap: 16px;
  }
  .showcase-card-title {
    font-size: 1.35rem;
    margin-bottom: 6px;
  }
  .showcase-card-desc {
    font-size: 0.78rem;
    line-height: 1.42;
    margin-bottom: 8px;
  }
  .showcase-card-selector {
    margin-bottom: 10px;
  }
  .showcase-card-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
  .showcase-card-related {
    margin-top: 6px;
    font-size: 0.72rem;
  }
}

/* 2. Medium Desktops & Tablets in Landscape (881px - 1180px) */
@media (min-width: 881px) and (max-width: 1180px) {
  .hero.hero-showcase-section {
    padding-top: calc(var(--header-height) + 14px);
    padding-bottom: 68px;
  }
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 24px;
  }
  .hero-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
  }
  .hero-intro {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .hero-ctas {
    gap: 10px;
    margin-bottom: 18px;
  }
  .hero-btn-squarespace {
    padding: 11px 22px;
    font-size: 0.85rem;
  }
  .hero-btn-outline {
    padding: 10px 18px;
    font-size: 0.84rem;
  }
  .hero-trust-dark {
    gap: 18px;
    padding-top: 16px;
  }
  .showcase-card {
    max-width: 480px;
    padding: 20px;
  }
  .showcase-card-inner {
    gap: 16px;
    grid-template-columns: 1fr 1.15fr;
  }
}

/* 3. Tablets in Portrait & Mid-width Viewports (641px - 880px) */
@media (max-width: 880px) {
  .hero.hero-showcase-section {
    display: block;
    height: auto;
    min-height: auto;
    max-height: none;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 14px;
    overflow-x: hidden;
  }
  .hero-slides-viewport {
    position: relative;
    width: 100%;
  }
  .hero-slide {
    position: relative;
    display: none;
    width: 100%;
    padding: 4px 0 14px;
  }
  .hero-slide.active {
    display: block;
  }
  .hero-slide-bg-wrap {
    position: absolute;
    inset: 0;
  }
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }
  .hero-title {
    font-size: clamp(1.9rem, 4vw, 2.45rem);
    line-height: 1.14;
    margin-bottom: 10px;
  }
  .hero-intro {
    font-size: 0.92rem;
    line-height: 1.52;
    margin-bottom: 14px;
    max-width: 100%;
  }
  .hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }
  .hero-trust-dark {
    gap: 20px;
    padding-top: 12px;
  }
  .hero-showcase-column {
    width: 100%;
    max-width: 100%;
  }
  .showcase-card {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 20px;
    border-radius: 14px;
    box-sizing: border-box;
  }
  .showcase-card-inner {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 16px;
    align-items: center;
  }
  .showcase-card-media {
    width: 170px;
    height: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .showcase-card-title {
    font-size: 1.30rem;
    margin-bottom: 4px;
  }
  .showcase-card-desc {
    font-size: 0.78rem;
    line-height: 1.42;
    margin-bottom: 8px;
  }
  .showcase-card-selector {
    margin-bottom: 8px;
  }
  .showcase-card-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
  .hero-bottom-controls {
    position: relative;
    margin-top: 10px;
    background: transparent;
    padding: 6px 0 12px;
  }
  .hero-controls-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hero-carousel-controls {
    justify-content: center;
  }
}

/* 4. Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  .hero.hero-showcase-section {
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 14px;
  }
  .hero-slide {
    padding: 4px 0 14px;
  }
  .hero-container {
    padding: 0 16px;
    gap: 14px;
  }
  .hero-category-eyebrow {
    font-size: 0.70rem;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.6vw, 2.15rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    word-break: break-word;
  }
  .hero-intro {
    font-size: 0.86rem;
    line-height: 1.46;
    color: #CBD5E1;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
  }
  .hero-btn-squarespace {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    font-size: 0.80rem;
    letter-spacing: 0.02em;
    text-align: center;
    justify-content: center;
  }
  .hero-btn-outline {
    flex: 1;
    min-width: 0;
    padding: 10px 10px;
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
    gap: 4px;
  }
  .hero-btn-call-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-trust-dark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 10px;
    margin-bottom: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-trust-dark .trust-badge-item {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .hero-trust-dark .trust-badge-icon {
    width: 14px;
    height: 14px;
  }
  .hero-trust-dark .trust-badge-label {
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .showcase-dots {
    margin-bottom: 6px;
    gap: 5px;
  }
  .showcase-dots span {
    width: 5px;
    height: 5px;
  }
  .showcase-card {
    padding: 12px 14px;
    border-radius: 12px;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  }
  .showcase-card-inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
  }
  .showcase-card-media {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    max-height: none;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .showcase-card-breadcrumb {
    font-size: 0.64rem;
    margin-bottom: 2px;
  }
  .showcase-card-price {
    font-size: 0.84rem;
    font-weight: 700;
    color: #44403C;
    margin-bottom: 2px;
  }
  .showcase-card-title {
    font-size: 1.10rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .showcase-card-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #57534E;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .showcase-card-selector {
    display: none;
  }
  .showcase-card-btn {
    display: block;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.76rem;
    border-radius: 6px;
    text-align: center;
  }
  .showcase-card-related {
    display: none;
  }
  .hero-bottom-controls {
    position: relative;
    margin-top: 10px;
    padding: 4px 0 10px;
    background: transparent;
  }
  .hero-controls-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hero-service-chips {
    padding: 2px 0;
    gap: 6px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .service-chip {
    padding: 6px 12px;
    font-size: 0.74rem;
    border-radius: 20px;
  }
  .hero-carousel-controls {
    justify-content: center;
    gap: 12px;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .carousel-progress-track {
    margin-top: 6px;
    height: 2.5px;
  }
}

/* 5. Ultra-compact Mobile Devices (<= 380px) */
@media (max-width: 380px) {
  .hero-container {
    padding: 0 10px;
    gap: 10px;
  }
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-ctas {
    gap: 6px;
  }
  .hero-btn-squarespace {
    padding: 10px 8px;
    font-size: 0.74rem;
  }
  .hero-btn-outline {
    padding: 9px 8px;
    font-size: 0.72rem;
  }
  .hero-btn-call-icon {
    width: 36px;
    height: 36px;
  }
  .showcase-card {
    padding: 10px 12px;
  }
  .showcase-card-inner {
    grid-template-columns: 82px 1fr;
    gap: 10px;
  }
  .showcase-card-media {
    width: 82px;
    height: 82px;
  }
  .showcase-card-title {
    font-size: 1rem;
  }
  .showcase-card-desc {
    font-size: 0.68rem;
  }
}

/* --- Subpage Page Hero --- */
.page-hero {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--accent-gold);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--accent-gold-dark);
}

.breadcrumbs-separator {
  color: var(--color-neutral);
}

.breadcrumbs span.current {
  color: var(--text-secondary);
}

.page-hero-title {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-primary);
}

.page-hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.7;
}

/* --- Editorial / Featured Section Layouts --- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-frame:hover img {
  transform: scale(1.03);
}

.media-caption-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-dark);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

/* --- Services Editorial Grid (Homepage - All Cards Equal & Unified Obsidian & Gold) --- */
.services-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1025px) {
  /* Perfectly center the 7th card on the 3rd row */
  .services-editorial-grid > .service-card-editorial:nth-child(7):last-child {
    grid-column: 2;
  }
}

@media (max-width: 1024px) and (min-width: 681px) {
  .services-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  /* In 2-column view, center the 7th card cleanly with matching equal column width */
  .services-editorial-grid > .service-card-editorial:nth-child(7):last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 680px) {
  .services-editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-editorial-grid > .service-card-editorial:nth-child(7):last-child {
    width: 100%;
  }
}

/* ==========================================================================
   ACETERNITY UI 3D PERSPECTIVE CARD SYSTEM
   ========================================================================== */
.card-3d-container {
  perspective: 1100px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease;
}

/* Dynamic Specular Holographic Glare Layer */
.card-3d-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: overlay;
  z-index: 15;
}

/* Upgraded Service Editorial Card (Aceternity Obsidian & 3D Gold Accent - All Cards Equal & Unified) */
.service-card-editorial,
.service-card-editorial.featured-card {
  position: relative;
  background: linear-gradient(145deg, #070D18 0%, #0A1322 55%, #12213A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 18px 44px -10px rgba(7, 13, 24, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform-style: preserve-3d;
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-editorial:hover,
.service-card-editorial.card-3d-active,
.service-card-editorial.featured-card:hover,
.service-card-editorial.featured-card.card-3d-active {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 28px 65px -14px rgba(7, 13, 24, 0.75), 
              0 0 35px rgba(212, 175, 55, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 3D Floating Embedded Image Frame (Aceternity Rounded-xl CardItem) */
.service-card-image {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CardItem 3D Float: Image pops up on hover */
.card-3d-active .service-card-image,
.service-card-editorial:hover .service-card-image {
  transform: translateZ(50px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.28);
}

.card-3d-active .service-card-image img,
.service-card-editorial:hover .service-card-image img {
  transform: scale(1.06);
}

/* Floating Index Badge (translateZ: 70px) */
.service-card-index {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: #070D18;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.card-3d-active .service-card-index,
.service-card-editorial:hover .service-card-index {
  transform: translateZ(70px);
}

/* Card Body Content */
.service-card-body {
  padding: 6px 6px 4px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transform-style: preserve-3d;
}

/* Floating Card Title (translateZ: 38px) */
.service-card-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFF3B0;
  line-height: 1.35;
  letter-spacing: 0.01em;
  min-height: 3.4rem;
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.card-3d-active .service-card-title,
.service-card-editorial:hover .service-card-title {
  transform: translateZ(38px);
}

/* Floating Card Description (translateZ: 25px) */
.service-card-desc {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.68;
  margin-bottom: 22px;
  flex-grow: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-card-desc,
.service-card-editorial:hover .service-card-desc {
  transform: translateZ(25px);
}

/* Modern Card Footer & Aceternity CTA Button */
.service-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-card-footer,
.service-card-editorial:hover .service-card-footer {
  transform: translateZ(48px);
}

/* Aceternity Style Action Pill Button */
.service-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  font-family: var(--font-accent);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.service-card-btn svg {
  transition: transform 0.25s ease;
}

.service-card-btn:hover {
  background: var(--gold-gradient);
  color: #070D18;
  border-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.service-card-btn:hover svg {
  transform: translateX(4px);
}

/* Subtle secondary badge */
.service-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  white-space: nowrap;
}

/* --- Services Overview Page (Complete 7 Services List) --- */
.services-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-row-item {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 10px 30px -10px rgba(10, 19, 34, 0.07);
  transition: all var(--transition-normal);
  align-items: center;
  transform-style: preserve-3d;
}

.service-row-item:hover,
.service-row-item.card-3d-active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 55px -14px rgba(10, 19, 34, 0.16),
              0 0 25px rgba(212, 175, 55, 0.12);
}

.service-row-item:nth-child(even) {
  grid-template-columns: 1fr 460px;
}

.service-row-item:nth-child(even) .service-row-media {
  order: 2;
}

.service-row-media {
  position: relative;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(10, 19, 34, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-row-media,
.service-row-item:hover .service-row-media {
  transform: translateZ(50px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-item:hover .service-row-media img {
  transform: scale(1.05);
}

.service-row-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform-style: preserve-3d;
}

.service-row-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-row-number,
.service-row-item:hover .service-row-number {
  transform: translateZ(65px);
}

.service-row-title {
  font-size: 1.7rem;
  color: var(--text-primary);
  line-height: 1.25;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-row-title,
.service-row-item:hover .service-row-title {
  transform: translateZ(40px);
}

.service-row-summary {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-row-summary,
.service-row-item:hover .service-row-summary {
  transform: translateZ(26px);
}

.service-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 0 16px 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .service-highlights-grid,
.service-row-item:hover .service-highlights-grid {
  transform: translateZ(32px);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.highlight-icon {
  color: var(--accent-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

/* --- 4. Why Choose Us (Parallax Scrolling with Golden Horse Festival Procession) --- */
#why-choose-us,
.parallax-why-choose {
  position: relative;
  background-image: url('../images/Golden%20Horse%20Festival%20Procession.png');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 110px;
  padding-bottom: 110px;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

/* Atmospheric Overlay: preserves majestic golden artwork while guaranteeing 100% text readability */
#why-choose-us::before,
.parallax-why-choose .parallax-overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 13, 24, 0.78) 0%,
    rgba(10, 19, 34, 0.65) 45%,
    rgba(7, 13, 24, 0.84) 100%
  );
  z-index: 1;
  pointer-events: none;
}

#why-choose-us .container {
  position: relative;
  z-index: 2;
}

/* Parallax Section Header */
#why-choose-us .section-title {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

#why-choose-us .section-subtitle {
  color: rgba(241, 245, 249, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

#why-choose-us .badge {
  background: rgba(212, 175, 55, 0.16);
  color: #F7D774;
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#why-choose-us .badge-dot {
  background: #F7D774;
  box-shadow: 0 0 8px #F7D774;
}

/* Why Choose Grid & 3D Glass Cards */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-choose-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 38px 28px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.why-choose-card:hover,
.why-choose-card.card-3d-active {
  background: #FFFFFF;
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 26px 54px -12px rgba(0, 0, 0, 0.48),
              0 0 28px rgba(212, 175, 55, 0.28);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--midnight-navy);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(10, 19, 34, 0.16);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.card-3d-active .why-icon,
.why-choose-card:hover .why-icon {
  background: var(--gold-gradient);
  color: #070D18;
  border-color: #FFFFFF;
  transform: translateZ(60px) scale(1.08);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .why-title,
.why-choose-card:hover .why-title {
  transform: translateZ(36px);
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active .why-desc,
.why-choose-card:hover .why-desc {
  transform: translateZ(24px);
}

/* W3Schools Parallax Responsive Fallback:
   Turn off parallax scrolling for tablets and phones to prevent iOS Safari fixed-background zoom glitch */
@media only screen and (max-width: 1024px) {
  #why-choose-us,
  .parallax-why-choose {
    background-attachment: scroll;
    padding-top: 76px;
    padding-bottom: 76px;
  }
}

/* --- Construction Process Timeline (Interactive Scroll-Driven Roadmap) --- */
.timeline-interactive-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 54px auto 36px;
  padding: 20px 0;
}

/* Central Continuous Vertical Spine */
.timeline-central-spine {
  position: absolute;
  left: 50%;
  top: 36px;
  bottom: 40px;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(10, 19, 34, 0.08);
  border-radius: 999px;
  z-index: 1;
}

.timeline-spine-track {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(10, 19, 34, 0.08);
}

.timeline-spine-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  border-radius: inherit;
  background: linear-gradient(180deg, #D4AF37 0%, #F7D774 70%, #FFFFFF 100%);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.9), 0 0 30px rgba(212, 175, 55, 0.5);
  transition: height 0.12s linear;
  will-change: height;
}

/* Timeline Rows / Blocks */
.timeline-items-list {
  display: flex;
  flex-direction: column;
  gap: 52px;
  position: relative;
  z-index: 2;
}

.timeline-block {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  position: relative;
}

.timeline-empty-side {
  width: 100%;
}

/* Node Markers in the Center */
.timeline-node-marker {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.timeline-node-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(10, 19, 34, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(10, 19, 34, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.timeline-node-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.5);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Node Active Scrolled State */
.timeline-block.is-active .timeline-node-circle {
  background: linear-gradient(135deg, #070D18 0%, #0A1322 100%);
  border-color: #D4AF37;
  color: #F7D774;
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6), 0 8px 24px rgba(7, 13, 24, 0.4);
}

.timeline-block.is-active .timeline-node-ripple {
  opacity: 1;
  transform: scale(1);
  animation: timelineRipplePulse 2.2s infinite ease-out;
}

@keyframes timelineRipplePulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0.2; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Timeline Cards */
.timeline-process-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 22px;
  padding: 30px 32px;
  box-shadow: 0 10px 32px -10px rgba(10, 19, 34, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
}

.timeline-process-card:hover,
.timeline-process-card.card-3d-active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 55px -14px rgba(10, 19, 34, 0.16),
              0 0 25px rgba(212, 175, 55, 0.15);
}

.timeline-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.timeline-stage-pill {
  font-family: var(--font-accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--midnight-navy);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.timeline-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.timeline-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-process-card:hover .timeline-card-title,
.timeline-process-card.card-3d-active .timeline-card-title {
  transform: translateZ(35px);
  color: var(--midnight-navy);
}

.timeline-card-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-process-card:hover .timeline-card-desc,
.timeline-process-card.card-3d-active .timeline-card-desc {
  transform: translateZ(24px);
}

.timeline-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-process-card:hover .timeline-card-tags,
.timeline-process-card.card-3d-active .timeline-card-tags {
  transform: translateZ(30px);
}

.timeline-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(10, 19, 34, 0.04);
  border: 1px solid rgba(10, 19, 34, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.timeline-process-card:hover .timeline-tag {
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--midnight-navy);
}

/* Scroll Animation Initial & In-View States */
.timeline-block--left .timeline-process-card {
  opacity: 0;
  transform: translateX(-45px);
}

.timeline-block--right .timeline-process-card {
  opacity: 0;
  transform: translateX(45px);
}

.timeline-block.in-view .timeline-process-card {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive adjustments for Tablets & Mobile (All steps aligned to one side: 1, 2, 3...) */
@media (max-width: 860px) {
  .timeline-interactive-wrapper {
    margin: 36px auto 28px;
    padding: 10px 0 20px 0;
    max-width: 100%;
  }

  .timeline-items-list {
    gap: 36px;
  }

  /* Spine aligned with the center of the node marker (width: 48px -> center is 24px) */
  .timeline-central-spine {
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 4px;
    transform: translateX(-50%);
  }

  .timeline-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    position: relative;
  }

  /* Hide empty side spacer on mobile */
  .timeline-empty-side {
    display: none !important;
  }

  /* Force node marker on the left for ALL steps (Phase 01, 02, 03, 04, 05) */
  .timeline-node-marker {
    order: 1 !important;
    grid-column: auto !important;
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
    margin: 6px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
  }

  .timeline-node-circle {
    width: 44px;
    height: 44px;
    font-size: 0.92rem;
  }

  /* Force content card on the right for ALL steps */
  .timeline-content-side {
    order: 2 !important;
    grid-column: auto !important;
    flex: 1 1 auto !important;
    width: calc(100% - 66px) !important;
    min-width: 0 !important;
  }

  /* Vertical entrance slide on mobile instead of side-to-side */
  .timeline-block--left .timeline-process-card,
  .timeline-block--right .timeline-process-card {
    opacity: 0;
    transform: translateY(24px);
  }

  .timeline-block.in-view .timeline-process-card {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-process-card {
    padding: 22px 20px;
    border-radius: 18px;
    width: 100%;
  }

  .timeline-card-meta {
    margin-bottom: 12px;
  }

  .timeline-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .timeline-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .timeline-card-tags {
    gap: 6px;
  }

  .timeline-tag {
    font-size: 0.74rem;
    padding: 3px 8px;
  }
}

/* Extra optimizations for Compact Mobile Phones (<= 540px) */
@media (max-width: 540px) {
  .timeline-interactive-wrapper {
    margin: 24px auto 16px;
    padding: 6px 0 16px 0;
  }

  .timeline-items-list {
    gap: 26px;
  }

  /* Spine aligned with smaller node marker (width: 40px -> center is 20px) */
  .timeline-central-spine {
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 3px;
  }

  .timeline-block {
    gap: 12px !important;
  }

  .timeline-node-marker {
    width: 40px !important;
    height: 40px !important;
    margin-top: 4px !important;
  }

  .timeline-node-circle {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.82rem !important;
  }

  .timeline-content-side {
    width: calc(100% - 52px) !important;
  }

  .timeline-process-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .timeline-card-meta {
    margin-bottom: 8px;
  }

  .timeline-stage-pill {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .timeline-duration-badge {
    font-size: 0.74rem;
  }

  .timeline-card-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .timeline-card-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .timeline-card-tags {
    gap: 5px;
  }

  .timeline-tag {
    font-size: 0.7rem;
    padding: 2px 7px;
  }

  /* Disable 3D tilt translations on touch screens to prevent touch jitter */
  .timeline-process-card:hover .timeline-card-title,
  .timeline-process-card.card-3d-active .timeline-card-title,
  .timeline-process-card:hover .timeline-card-desc,
  .timeline-process-card.card-3d-active .timeline-card-desc,
  .timeline-process-card:hover .timeline-card-tags,
  .timeline-process-card.card-3d-active .timeline-card-tags {
    transform: none !important;
  }
}

.process-disclaimer-note {
  margin-top: 36px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--color-secondary);
  border: 1px dashed var(--border-gold);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 4px rgba(23, 26, 29, 0.03);
}

.faq-item.active {
  border-color: var(--border-gold);
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(181, 138, 85, 0.1);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-normal);
  color: var(--accent-gold-dark);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(181, 138, 85, 0.18);
  color: var(--accent-gold-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

/* --- Contact CTA Banner (Midnight Navy & Metallic Gold Finish) --- */
.cta-banner {
  background: linear-gradient(135deg, #070D18 0%, #0A1322 55%, #101E35 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(7, 13, 24, 0.28);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
  color: #FFF3B0;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(212, 175, 55, 0.2);
}

.cta-desc {
  font-size: 1.08rem;
  color: #CBD5E1;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-banner .btn-secondary,
.cta-banner .btn-call {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-banner .btn-secondary:hover,
.cta-banner .btn-call:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

/* --- Google Map & Office Location Section (Above Footer) --- */
.section-map {
  padding: 80px 0 90px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.map-card-wrapper {
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 44px -12px rgba(10, 19, 34, 0.1);
  display: grid;
  grid-template-columns: 440px 1fr;
  min-height: 480px;
  position: relative;
}

.map-card-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
  border-right: 1px solid rgba(10, 19, 34, 0.08);
  position: relative;
  z-index: 2;
}

.map-card-info .badge {
  align-self: flex-start;
  margin-bottom: 14px;
}

.map-card-info .section-title {
  font-size: 1.85rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.map-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.map-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.map-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.map-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--midnight-navy);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.map-contact-item:hover .map-icon-box {
  background: var(--gold-gradient);
  color: var(--midnight-navy);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.map-contact-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.map-contact-text span,
.map-contact-text a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.map-contact-text a:hover {
  color: var(--gold-primary);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.map-frame-container {
  width: 100%;
  height: 100%;
  min-height: 480px;
  position: relative;
  background: #E2E8F0;
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 960px) {
  .map-card-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .map-card-info {
    border-right: none;
    border-bottom: 1px solid rgba(10, 19, 34, 0.08);
    padding: 34px 26px;
  }

  .map-frame-container {
    height: 400px;
    min-height: 400px;
  }
}

@media (max-width: 540px) {
  .section-map {
    padding: 44px 0 54px;
  }

  .map-card-wrapper {
    border-radius: 18px;
  }

  .map-card-info {
    padding: 24px 18px;
  }

  .map-card-info .section-title {
    font-size: 1.4rem;
  }

  .map-desc {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .map-contact-list {
    gap: 12px;
    margin-bottom: 22px;
  }

  .map-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .map-contact-text span,
  .map-contact-text a {
    font-size: 0.88rem;
  }

  .map-frame-container {
    height: 330px;
    min-height: 330px;
  }
}

/* --- Footer (Midnight Obsidian & Architectural Gold Finish) --- */
.site-footer {
  background: var(--midnight-obsidian);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  color: #CBD5E1;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-about p {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-brand);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: #CBD5E1;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.footer-contact-icon {
  color: var(--gold-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748B;
  position: relative;
  z-index: 1;
}

/* --- Service Detailed Page Specific Styles --- */
.service-detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  max-height: 480px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.service-detail-hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.content-block {
  margin-bottom: 48px;
}

.content-block h2 {
  margin-bottom: 20px;
  font-size: 1.85rem;
  color: var(--text-primary);
}

.content-block p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.scope-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px -6px rgba(10, 19, 34, 0.06);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.scope-card:hover,
.scope-card.card-3d-active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 40px -10px rgba(10, 19, 34, 0.14),
              0 0 20px rgba(212, 175, 55, 0.1);
}

.scope-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active.scope-card h4,
.scope-card:hover h4 {
  transform: translateZ(35px);
}

.scope-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active.scope-card p,
.scope-card:hover p {
  transform: translateZ(22px);
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.related-service-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px -6px rgba(10, 19, 34, 0.06);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-service-card:hover,
.related-service-card.card-3d-active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 45px -10px rgba(10, 19, 34, 0.15),
              0 0 20px rgba(212, 175, 55, 0.12);
}

.related-service-title {
  font-size: 1.18rem;
  color: var(--text-primary);
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active.related-service-card .related-service-title,
.related-service-card:hover .related-service-title {
  transform: translateZ(36px);
}

.related-service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.62;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-active.related-service-card .related-service-desc,
.related-service-card:hover .related-service-desc {
  transform: translateZ(22px);
}

/* --- Contact Page Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px -6px rgba(10, 19, 34, 0.06);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover,
.contact-card.card-3d-active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 45px -10px rgba(10, 19, 34, 0.14),
              0 0 20px rgba(212, 175, 55, 0.1);
}

.card-3d-active.contact-card .contact-card-icon,
.contact-card:hover .contact-card-icon {
  transform: translateZ(50px) scale(1.08);
}

.card-3d-active.contact-card h4,
.contact-card:hover h4 {
  transform: translateZ(36px);
}

.card-3d-active.contact-card p,
.card-3d-active.contact-card a,
.contact-card:hover p,
.contact-card:hover a {
  transform: translateZ(24px);
}

.contact-card.featured-midnight {
  background: linear-gradient(135deg, #070D18 0%, #0A1322 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(7, 13, 24, 0.35);
}

.contact-card.featured-midnight h4 {
  color: #FFF3B0 !important;
  font-family: var(--font-brand);
}

.contact-card.featured-midnight p {
  color: #94A3B8 !important;
}

.contact-card.featured-midnight .btn-link {
  color: var(--gold-light) !important;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--midnight-navy);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 19, 34, 0.15);
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: rgba(10, 19, 34, 0.3);
  box-shadow: 0 0 0 3px rgba(10, 19, 34, 0.08);
  background: var(--color-white);
}

.form-control option {
  background: var(--color-white);
  color: var(--text-primary);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Floating Actions */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: rgba(10, 19, 34, 0.25);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1100px) {
  .service-row-item,
  .service-row-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-row-item:nth-child(even) .service-row-media {
    order: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-menu, .header-phone-btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .split-layout, .split-layout.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .related-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-highlights-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 36px 20px;
  }
  .contact-form-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   INTERACTIVE BENTO SCROLL-EXPANDING HERO GALLERY
   (GSAP ScrollTrigger + Flip Architecture)
   ========================================================================== */
.gallery-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--midnight-obsidian);
}

.gallery-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(7, 13, 24, 0.65) 0%, rgba(7, 13, 24, 0.35) 50%, rgba(7, 13, 24, 0.75) 100%);
  padding: 24px;
  transition: opacity 0.4s ease;
}

.gallery-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  color: #FFFFFF;
  margin-top: 14px;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.gallery-hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gallery-hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: #CBD5E1;
  max-width: 720px;
  margin: 0 auto 28px auto;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gallery-scroll-prompt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(10, 19, 34, 0.88);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.gallery {
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
}

.gallery__item {
  background-position: 50% 50%;
  background-size: cover;
  flex: none;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery__item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 16px 45px rgba(212, 175, 55, 0.35);
}

.gallery__item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--gold-light);
}

.gallery__num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-light);
  font-size: 0.82rem;
}

.gallery__tag {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #E2E8F0;
}

/* Bento Grid Coordinates */
.gallery--bento {
  display: grid;
  gap: 1.2vh;
  grid-template-columns: repeat(3, 32.5vw);
  grid-template-rows: repeat(4, 22.5vh);
  justify-content: center;
  align-content: center;
}

.gallery--final.gallery--bento {
  grid-template-columns: repeat(3, 100vw);
  grid-template-rows: repeat(4, 49.5vh);
  gap: 1vh;
}

.gallery--bento .gallery__item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.gallery--bento .gallery__item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.gallery--bento .gallery__item:nth-child(3) { grid-area: 2 / 2 / 4 / 3; }
.gallery--bento .gallery__item:nth-child(4) { grid-area: 1 / 3 / 3 / 4; }
.gallery--bento .gallery__item:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
.gallery--bento .gallery__item:nth-child(6) { grid-area: 3 / 3 / 5 / 4; }
.gallery--bento .gallery__item:nth-child(7) { grid-area: 4 / 1 / 5 / 2; }
.gallery--bento .gallery__item:nth-child(8) { grid-area: 4 / 2 / 5 / 3; }

/* Responsive Bento Grid for Tablets and Phones */
@media (max-width: 860px) {
  .gallery-wrap {
    height: 90vh;
  }
  .gallery--bento {
    grid-template-columns: repeat(2, 47vw);
    grid-template-rows: repeat(4, 20vh);
    gap: 8px;
  }
  .gallery--final.gallery--bento {
    grid-template-columns: repeat(2, 100vw);
    grid-template-rows: repeat(4, 45vh);
  }
  .gallery--bento .gallery__item:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .gallery--bento .gallery__item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
  .gallery--bento .gallery__item:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
  .gallery--bento .gallery__item:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
  .gallery--bento .gallery__item:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
  .gallery--bento .gallery__item:nth-child(6) { grid-area: 3 / 2 / 4 / 3; }
  .gallery--bento .gallery__item:nth-child(7) { grid-area: 4 / 1 / 5 / 2; }
  .gallery--bento .gallery__item:nth-child(8) { grid-area: 4 / 2 / 5 / 3; }
}

/* Material Brand Specifications Table Styling */
.spec-table-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 19, 34, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(10, 19, 34, 0.07);
  margin-top: 28px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th, .spec-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(10, 19, 34, 0.06);
}

.spec-table th {
  background: var(--midnight-navy);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background: rgba(247, 245, 240, 0.6);
}

.spec-table .spec-label {
  font-weight: 700;
  color: var(--text-primary);
  width: 32%;
}

.spec-table .spec-val {
  color: var(--text-secondary);
}



/* ==========================================================================
   ABOUT OUR COMPANY — MODERN 3-PILLAR ARCHITECTURAL SHOWCASE
   Landscape / Desktop: Left Content | Center Focal Image | Right Content
   Medium & Small: Highly Responsive Fluid Grid & Flex System
   ========================================================================== */

.about-modern-section {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.about-modern-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(10, 19, 34, 0.02) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 3-Column Grid for Landscape / Desktop (min-width: 1025px) */
.about-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Side Columns (Left & Right) */
.about-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Feature Card */
.about-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-card);
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(10, 19, 34, 0.04);
  position: relative;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.about-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold-gradient);
  transition: height 0.3s ease;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 30px rgba(10, 19, 34, 0.08), 0 0 16px rgba(212, 175, 55, 0.12);
}

.about-feature-card:hover::before {
  height: 100%;
}

/* Left column subtle hover indicator on right side for rhythm */
@media (min-width: 1025px) {
  .about-left-col .about-feature-card::before {
    left: auto;
    right: 0;
  }
}

/* Card Icon Box */
.about-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(247, 215, 116, 0.16), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--accent-gold-dark);
  transition: all 0.3s ease;
}

.about-feature-card:hover .about-card-icon {
  background: var(--gold-gradient);
  color: var(--midnight-navy);
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

/* Card Content */
.about-card-content {
  flex: 1;
}

.about-card-title {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--midnight-navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.about-card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
}

/* Centerpiece Image Showcase */
.about-center-showcase {
  position: relative;
  z-index: 2;
}

.about-image-wrapper {
  position: relative;
  padding: 12px;
}

.about-image-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  height: 550px;
  background: var(--midnight-obsidian);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 24px 56px rgba(10, 19, 34, 0.16), 0 0 36px rgba(212, 175, 55, 0.18);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.about-image-frame:hover img {
  transform: scale(1.04);
}

/* Soft dark gradient vignette over image to keep badges crisp */
.about-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(10, 19, 34, 0.4) 0%, 
    transparent 40%, 
    rgba(10, 19, 34, 0.2) 60%, 
    rgba(10, 19, 34, 0.75) 100%
  );
  pointer-events: none;
}

/* Floating Top Badge */
.about-badge-top {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(10, 19, 34, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(247, 215, 116, 0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.badge-dot-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-light);
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Floating Bottom Metric Card */
.about-card-bottom {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 36px rgba(10, 19, 34, 0.22);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-card-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--midnight-navy);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold-dark);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(10, 19, 34, 0.12);
}

.stat-detail {
  display: flex;
  flex-direction: column;
}

.stat-highlight {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--midnight-navy);
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Architectural Corner Brackets */
.corner-accent {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold-primary);
  z-index: 4;
  pointer-events: none;
}

.corner-tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 14px;
}

.corner-br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 14px;
}

/* Bottom CTA Banner */
.about-bottom-cta {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 8px 24px rgba(10, 19, 34, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-lead-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cta-lead-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.14);
  color: var(--accent-gold-dark);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.cta-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Medium & Small Devices)
   ========================================================================== */

/* Medium Devices (Tablets: 768px - 1024px) */
@media (max-width: 1024px) {
  .about-modern-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-center-showcase {
    order: -1; /* Place focal image proudly on top */
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .about-image-frame {
    height: 420px;
  }

  .about-side-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
  }

  .about-bottom-cta {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .cta-lead-wrap {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

/* Small Devices (Mobiles: < 768px) */
@media (max-width: 767px) {
  .about-modern-grid {
    gap: 24px;
  }

  .about-image-wrapper {
    padding: 6px;
  }

  .about-image-frame {
    height: 320px;
    border-radius: 20px;
  }

  .about-badge-top {
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    font-size: 0.74rem;
  }

  .about-card-bottom {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    gap: 10px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .stat-highlight {
    font-size: 0.8rem;
  }

  .stat-sub {
    font-size: 0.7rem;
  }

  .about-side-col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-feature-card {
    padding: 18px 16px;
    border-radius: 14px;
    gap: 14px;
  }

  .about-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .about-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-card-title {
    font-size: 0.98rem;
  }

  .about-card-text {
    font-size: 0.84rem;
  }

  .about-bottom-cta {
    margin-top: 32px;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

