/* ==========================================================================
   GLORICA CLEANING SERVICES — DESIGN SYSTEM & CORE STYLESHEET
   Design Concept: CLEAN ARCHITECTURAL LUXURY (Dedry Group Family)
   Pill Navbar Design, Dropdown Mobile Menu, Preloader & Scroll Animations
   ========================================================================== */

:root {
  /* Brand Palette */
  --white: #ffffff;
  --warm-white: #faf9f6;
  --off-white: #f5f5f2;
  --stone: #e8e7e2;
  --stone-light: #f0efe9;
  --grey-light: #d6d5ce;
  --grey: #8c8c87;
  --grey-dark: #4a4a46;
  --charcoal: #181818;
  --black: #080808;

  /* Accent Tones: Pure Black & White Luxury */
  --accent-gold: #000000;
  --accent-gold-dark: #181818;
  --accent-slate: #181818;
  --accent-emerald: #181818;

  /* Frosted Glass & Surface Translucency */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-dark: rgba(24, 24, 24, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.45);
  --glass-blur: blur(20px);
  --glass-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.09);

  /* Typography Stack */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing Scale */
  --container-max: 1360px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-spacing: clamp(4rem, 8vw, 7.5rem);
  --section-spacing-sm: clamp(2.5rem, 5vw, 4.5rem);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--warm-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--warm-white);
}

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

img {
  filter: none !important; /* Retain 100% original photographic color across site */
}

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

button, input, select, textarea {
  font: inherit;
}

/* Accessibility: Focus States & Skip Link */
:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 999999;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  color: var(--grey-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--charcoal);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: var(--grey-dark);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

.section--sm {
  padding-top: var(--section-spacing-sm);
  padding-bottom: var(--section-spacing-sm);
}

.section--dark {
  background-color: var(--black);
  color: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: #c0c0bc;
}

.section--stone {
  background-color: var(--off-white);
}

/* ==========================================================================
   1.2-SECOND LOGO PAGE TRANSITION PRELOADER
   ========================================================================== */
.page-preloader {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  pointer-events: none;
}

.page-preloader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.preloader-logo-wrap {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: preloader-logo-pulse 1.2s ease-in-out infinite;
}

.preloader-title {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  color: #000000;
  line-height: 1;
}

.preloader-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #555555;
}

.preloader-progress {
  width: 220px;
  height: 3px;
  background: #e5e5e5;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 1rem;
}

.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: #000000;
  animation: preloader-bar-fill 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloader-logo-pulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12)); }
  100% { transform: scale(0.95); opacity: 0.9; }
}

@keyframes preloader-bar-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ==========================================================================
   DEDRY GROUP FLOATING PILL NAVBAR DESIGN & DROPDOWN SYSTEM
   Apple iPhone Style Glassmorphism — Translucent, Vibrant, Tactile
   ========================================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  padding-inline: 24px;
  z-index: 10000;
  pointer-events: none;
  /* Rigorously fixed: NEVER moves, jumps, or shifts on scroll */
}

.glass-nav {
  pointer-events: auto;
  position: relative;
  /* Apple iPhone Control Center / Dynamic Island Liquid Glassmorphism */
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(30px) saturate(190%) contrast(95%);
  backdrop-filter: blur(30px) saturate(190%) contrast(95%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  align-items: center;
  gap: 12px;
  max-width: 1350px;
  margin: 0 auto;
  padding: 8px 16px 8px 12px;
  display: flex;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transition: box-shadow var(--transition-smooth);
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.site-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.nav-brand:hover .site-logo-img {
  transform: scale(1.06);
}

.site-logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo-title {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--black);
}

.site-logo-sub {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #444444;
  margin-top: 0.18rem;
}

/* Desktop Navigation Items Container */
.navigation {
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 4px;
  display: flex;
}

.mobile-cta-wrap {
  display: none;
}

/* Nav Links & Details/Summary Dropdown Toggle */
.nav-link,
.nav-menu summary {
  white-space: nowrap;
  border-radius: 50px;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  cursor: pointer;
  text-decoration: none;
  list-style: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  user-select: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.summary-chevron {
  font-size: 0.75rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.nav-menu[open] .summary-chevron {
  transform: rotate(180deg);
}

.nav-link:hover,
.nav-menu summary:hover,
.nav-link.active {
  color: var(--black);
  background: rgba(0, 0, 0, 0.06);
}

.nav-menu[open] > summary {
  color: #ffffff !important;
  background: #000000 !important;
}

/* Desktop Mega Menu Dropdown (Solid Black Architectural Dropdown, Centered) */
.mega-menu {
  background: #000000;
  border: 1px solid #222222;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-height: 80vh;
  padding: 2.5rem 3rem;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  overflow-y: auto;
  z-index: 10500;
  animation: 0.28s cubic-bezier(0.2, 0.75, 0.2, 1) both mega-in;
}

.nav-menu.is-closing .mega-menu {
  animation: 0.24s both mega-out;
}

@keyframes mega-in {
  0% { opacity: 0; transform: translateY(-10px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mega-out {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.985); }
}

.mega-menu-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.mega-menu-header .eyebrow {
  color: #888888;
}

.mega-menu-heading {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0.35rem 0 0.5rem;
}

.mega-menu-sub {
  font-size: 0.92rem;
  color: #a0a0a0;
  line-height: 1.5;
}

.mega-menu-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.mega-menu-cols--centered {
  grid-template-columns: 1fr;
  max-width: 620px;
}

.mega-compact-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.mega-col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888888;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #222222;
}

.mega-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.mega-link-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mega-link-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.mega-link-desc {
  font-size: 0.75rem;
  color: #888888;
  line-height: 1.35;
}

.mega-col li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mega-col li a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.mega-col li a:hover .mega-link-title {
  color: #ffffff;
}

.mega-arrow {
  font-size: 0.85rem;
  color: #ffffff;
  opacity: 0.45;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mega-col li a:hover .mega-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.mega-menu-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #222222;
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.mega-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  background: #181818;
  border: 1px solid #333333;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mega-footer-link:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.search-link {
  color: #050505;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  display: grid;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.search-link:hover {
  color: #ffffff;
  background: #111111;
  transform: scale(1.06);
}

.nav-cta {
  color: #ffffff;
  white-space: nowrap;
  background: #111111;
  border-radius: 9999px;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
  background: #242424;
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger Button (Prominent, High-Visibility, Morphs to 'X') */
.mobile-toggle {
  display: none;
  color: #050505;
  background: transparent;
  border: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 48px;
  height: 48px;
  min-width: 48px;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.menu-icon {
  width: 24px;
  height: 18px;
  display: block;
  position: relative;
}

.menu-icon > span {
  background: #000000;
  border-radius: 3px;
  width: 24px;
  height: 3px; /* Thick 3px bars for maximum visibility for everyone */
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.18s;
  position: absolute;
  left: 0;
}

.menu-icon > span:first-child { top: 1px; }
.menu-icon > span:nth-child(2) { top: 8px; }
.menu-icon > span:nth-child(3) { top: 15px; }

.mobile-toggle[aria-expanded="true"] .menu-icon > span:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .menu-icon > span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.mobile-toggle[aria-expanded="true"] .menu-icon > span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   MOBILE DROPDOWN BEHAVIOR (Separated Floating Glassmorphic Dropdown Card)
   Thicker, High-Visibility, Stationary
   ========================================================================== */
@media (max-width: 1020px) {
  .site-header {
    top: 12px;
    padding-inline: 14px;
  }

  /* Thicker, more substantial mobile navbar pill */
  .glass-nav {
    padding: 12px 20px;
    min-height: 64px; /* Thick and comfortable */
    width: 100%;
    gap: 0;
  }

  .site-logo-img {
    width: 44px;
    height: 44px;
  }

  .site-logo-title {
    font-size: 1.08rem;
  }

  .site-logo-sub {
    font-size: 0.62rem;
  }

  .nav-cta,
  .search-link {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Separated Solid Black Dropdown Card (Non-transparent, solid black across all devices) */
  .navigation {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    border: 1px solid #222222;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    display: none;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
    transition: opacity 0.26s, transform 0.3s cubic-bezier(0.2, 0.75, 0.2, 1);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 10500;
  }

  .navigation.is-open {
    display: flex;
    opacity: 1;
    transform: none;
  }

  .nav-link,
  .nav-menu summary {
    padding: 16px 18px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    justify-content: center;
    text-align: center;
    gap: 8px;
    border-radius: 14px;
    background: #111111;
    border: 1px solid #222222;
  }

  .nav-menu[open] > summary {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #333333;
  }

  .summary-chevron {
    color: #ffffff;
  }

  .nav-link:hover,
  .nav-menu summary:hover {
    background: #1e1e1e;
    color: #ffffff;
  }

  /* Mobile Nested Sub-Links: Fully centered layout (No left-aligned or right-aligned boxes) */
  .mega-menu {
    box-shadow: none;
    background: transparent;
    border: none;
    border-radius: 0;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: none;
    padding: 6px 0 10px 0;
    position: static;
    margin-top: 4px;
    border-left: none;
    animation: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .mega-menu-header {
    display: none;
  }

  .mega-menu-cols {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .mega-compact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
    text-align: center;
  }

  .mega-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .mega-col h4 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #777777;
    margin: 0.75rem auto 0.4rem;
    padding: 0 10px 0.35rem;
    border-bottom: 1px solid #1f1f1f;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }

  .mega-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    text-align: center;
  }

  .mega-col li {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .mega-col li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #161616;
    border-radius: 8px;
    margin-bottom: 0;
    transition: background var(--transition-fast);
  }

  .mega-col li:last-child a {
    border-bottom: none;
  }

  .mega-col li a:hover,
  .mega-col li a:active {
    background: rgba(255, 255, 255, 0.07);
  }

  .mega-link-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
  }

  .mega-link-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-align: center;
  }

  .mega-link-desc {
    font-size: 0.8rem;
    color: #888888;
    line-height: 1.35;
    text-align: center;
  }

  .mega-arrow {
    color: #ffffff;
    opacity: 0.55;
    font-size: 0.95rem;
    margin-left: 2px;
    flex-shrink: 0;
    display: inline-block;
  }

  .mega-menu-footer {
    display: none;
  }

  .mobile-cta-wrap {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #222222;
  }

  .mobile-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ffffff;
    color: #000000;
    padding: 16px 20px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: background var(--transition-fast);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
  }

  .mobile-cta-btn:hover {
    background: #e6e6e6;
  }
}

/* Responsive 2-column grid utility across pages (Fixes overflowing/falling content on mobile) */
.split-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .split-content-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ==========================================================================
   INTRO SPLIT SECTION (Clean Responsive Layout — Eliminates Falling Letters)
   ========================================================================== */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.intro-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  width: 100%;
}

.intro-split__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none !important;
}

@media (max-width: 900px) {
  .intro-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .site-logo-img {
    width: 44px;
    height: 44px;
  }
  .site-logo-title {
    font-size: 1.08rem;
  }
  .site-logo-sub {
    font-size: 0.62rem;
  }
}

/* ==========================================================================
   SCROLL ANIMATION SYSTEM (Applied on all pages)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for grid containers */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid transparent;
  text-align: center;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn--primary:hover {
  background-color: var(--black);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn--gold,
.btn--black {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--gold:hover,
.btn--black:hover {
  background-color: var(--charcoal);
  border-color: var(--charcoal);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--charcoal);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline-dark:hover {
  background-color: var(--charcoal);
  color: var(--white);
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1.15rem 2.25rem;
  font-size: 1rem;
}

/* ==========================================================================
   HERO SECTION (Luminous Architectural Light Aesthetic — Dedry Group Standard)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--stone-light, #f2f1ed);
  color: var(--charcoal);
  padding: 12rem 0 6rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: brightness(1.08) contrast(1.02);
  transform: scale(1.02);
  transition: transform 1.2s ease-out;
}

.hero:hover .hero__bg img {
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(242, 241, 237, 0.4) 0%, rgba(242, 241, 237, 0.9) 100%),
              linear-gradient(to bottom, rgba(242, 241, 237, 0.3) 0%, #f2f1ed 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.hero__title {
  margin-bottom: 1.5rem;
  color: var(--black);
  text-shadow: none;
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.65;
  color: var(--grey-dark);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-shadow: none;
}

.hero .eyebrow {
  color: var(--accent-gold-dark);
}

.hero .btn--outline-white {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.hero .btn--outline-white:hover {
  background-color: var(--charcoal);
  color: var(--white);
}

.hero .breadcrumb-trail a {
  color: var(--grey-dark);
}

.hero .breadcrumb-current {
  color: var(--charcoal);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* ==========================================================================
   TICKER STRIP (Light Architectural Stone)
   ========================================================================== */
.ticker-strip {
  background: var(--warm-white);
  color: var(--charcoal);
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-slide 35s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   EDITORIAL STATEMENT
   ========================================================================== */
.editorial-statement {
  padding: var(--section-spacing) 0;
  text-align: center;
  background-color: var(--warm-white);
}

.editorial-statement__quote {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--charcoal);
  max-width: 1040px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.025em;
}

.editorial-statement__cite {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--accent-gold-dark);
}

/* ==========================================================================
   SIGNATURE COMPONENT 1: THE SPACE TRANSFORMATION
   ========================================================================== */
.transformation-section {
  background: var(--black);
  color: var(--white);
  padding: var(--section-spacing) 0;
  position: relative;
  overflow: hidden;
}

.transformation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.transformation-stages {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transformation-stage-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.transformation-stage-card.active,
.transformation-stage-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-gold);
  transform: translateX(10px);
}

.transformation-stage-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.transformation-stage-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.transformation-stage-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.transformation-stage-desc {
  font-size: 0.95rem;
  color: var(--grey-light);
  line-height: 1.5;
}

.transformation-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.transformation-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-smooth);
}

/* ==========================================================================
   SIGNATURE COMPONENT 2: SPACES WE CARE FOR
   ========================================================================== */
.spaces-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.space-tab-btn {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--grey-dark);
}

.space-tab-btn.active,
.space-tab-btn:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.spaces-display-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--glass-shadow);
}

.spaces-display-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.spaces-display-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.08);
}

.service-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--stone);
  position: relative;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  color: var(--charcoal);
  border: 1px solid var(--glass-border-light);
}

.service-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-card__text {
  font-size: 0.98rem;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card__link:hover {
  color: var(--accent-gold-dark);
}

/* ==========================================================================
   FEATURE SPLIT SECTIONS
   ========================================================================== */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.split-feature--reversed {
  direction: rtl;
}

.split-feature--reversed > * {
  direction: ltr;
}

.split-feature__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.split-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-feature__content {
  display: flex;
  flex-direction: column;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--charcoal);
}

.feature-list-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-gold-dark);
  margin-top: 0.2rem;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--glass-shadow);
}

.process-card__number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--stone);
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.process-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--grey-dark);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.75rem;
}

.faq-answer p {
  color: var(--grey-dark);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote-section {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  margin: var(--section-spacing) 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-light);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-gold);
  outline: none;
}

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

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

/* ==========================================================================
   DEDRY GROUP BANNER
   ========================================================================== */
.dedry-banner {
  background: var(--off-white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 3rem 0;
}

.dedry-banner__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone);
}

.dedry-division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.dedry-division-item {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.dedry-division-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dedry-division-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-dark);
  margin-bottom: 0.75rem;
}

.dedry-division-desc {
  font-size: 0.88rem;
  color: var(--grey-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand p {
  color: var(--grey-light);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.9rem;
  color: var(--grey-light);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--grey);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal-links a {
  color: var(--grey);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-box {
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--stone);
  gap: 1rem;
}

.search-input-wrapper input {
  flex-grow: 1;
  border: 0;
  font-size: 1.2rem;
  outline: none;
  color: var(--charcoal);
}

.search-close-btn {
  background: transparent;
  border: 0;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--grey);
}

.search-results-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.search-result-item {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: var(--warm-white);
}

.search-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
}

.search-result-desc {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.2rem;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.breadcrumb-trail a {
  color: var(--grey-dark);
}

.breadcrumb-trail a:hover {
  color: var(--charcoal);
}

.breadcrumb-separator {
  color: var(--grey-light);
}

.breadcrumb-current {
  color: var(--charcoal);
  font-weight: 600;
}

/* ==========================================================================
   ENQUIRY & QUOTE FORM (Dedry Group Client-Side Email Draft Workflow)
   ========================================================================== */
.quote-section {
  background: var(--charcoal, #111111);
  border-radius: var(--radius-lg, 24px);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cccccc;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #ffffff;
  background: #141414;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
  color: #666666;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control option {
  background: #111111;
  color: #ffffff;
}

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

/* Dedry Group Email Draft Result Box */
.draft-result-box {
  margin-top: 2rem;
  padding: 2rem;
  background: #000000;
  border: 1px solid #333333;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-out;
}

.draft-result-box[hidden] {
  display: none !important;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.draft-textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  background: #080808 !important;
  color: #f2f2f2 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 10px !important;
  padding: 14px !important;
  white-space: pre-wrap;
  width: 100%;
}

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

.draft-actions-row .btn--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #555555;
  transition: all var(--transition-fast);
}

.draft-actions-row .btn--outline:hover {
  background: #222222;
  border-color: #ffffff;
}

.draft-actions-row .btn--gold {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  border: 1px solid #ffffff;
  transition: all var(--transition-fast);
}

.draft-actions-row .btn--gold:hover {
  background: #e6e6e6;
  border-color: #e6e6e6;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1140px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mega-menu-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .split-feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split-feature--reversed {
    direction: ltr;
  }
  .transformation-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .spaces-display-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
    --section-spacing: 3.5rem;
  }
  .quote-form-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    min-height: 75vh;
    padding: 10rem 0 4rem;
  }
}
