/* Smooth scrolling with reduced-motion override */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root{
  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Line-height scale */
  --leading-tight: 1.2;
  --leading-snug: 1.4;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Font-weight scale */
  --font-normal: 400;
  --font-medium: 500;
  --font-bold: 600;

  /* Brand */
  --color-accent: #C8881A;
  --color-accent-hover: #B87717;
  --color-accent-subtle: rgba(200, 136, 26, 0.12);
  --color-accent-border: rgba(146, 64, 14, 0.45);

  /* Surfaces */
  --color-bg: #F4F7FB;
  --color-surface: #FFFFFF;
  --color-surface-raised: #F9FBFD;

  /* Borders */
  --color-border: #D4E0EA;
  --color-border-strong: #C3D2E0;

  /* Text */
  --color-text-primary: #13283F;
  --color-text-secondary: #35506A;
  --color-text-muted: #5C7288;
  --color-text-on-accent: #1F1300;

  /* Radius scale */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadow scale */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 350ms;
  --ease-default: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Legacy aliases for existing selectors/components */
  --primary: var(--color-text-secondary);
  --secondary: #BFC1C2;
  --accent: var(--color-accent);
  --accent-dark: var(--color-accent-hover);
  --accent-light: #D79A33;
  --accent-gold: var(--color-accent);
  --accent-gold-strong: #92400E;
  --accent-gold-soft: rgba(146, 64, 14, 0.28);
  --accent-gold-bg: #F7ECD9;
  --highlight: #A5D8FF;

  --background: var(--color-bg);
  --surface: var(--color-surface);
  --card-surface: var(--color-surface);
  --border-light: var(--color-border);
  --border-hover: var(--color-border-strong);
  --footer-bg-1: #1A202C;
  --footer-bg-2: #2D3748;
  --cta-1: #C8881A;
  --cta-2: #D79A33;

  --gradient-primary: linear-gradient(135deg, var(--color-accent) 0%, var(--accent-light) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(200, 136, 26, 0.94) 0%, rgba(146, 64, 14, 0.92) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --shadow-xl: var(--shadow-lg);

  --content-max: 1180px;
  --text-strong: var(--color-text-primary);
  --text-muted: var(--color-text-secondary);
  --surface-soft: #F8FAFC;
  --border-strong: var(--color-border-strong);
  --reading-max: 68ch;

  --ring-focus: 0 0 0 3px rgba(200, 136, 26, 0.24);
  --ring-focus-outline: #92400E;
  --ring-focus-gold: 0 0 0 3px rgba(146, 64, 14, 0.3);
  --ring-focus-gold-outline: #92400E;

  --home-ink: var(--color-text-primary);
  --home-muted: var(--color-text-secondary);
  --home-line: var(--color-border);
  --home-panel: var(--color-surface);
  --home-panel-soft: #F6F8FB;
  --home-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
  --home-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.09);

  --ui-line: var(--color-border);
  --ui-line-strong: var(--color-border-strong);
  --ui-ink: var(--color-text-primary);
  --ui-ink-soft: var(--color-text-secondary);
  --ui-radius-card: var(--radius-2xl);
  --ui-radius-control: var(--radius-lg);
  --ui-shadow-soft: var(--shadow-md);

  /* Floating controls */
  --mobile-contact-bar-height: 6.2rem;
  --modal-z: 80;
}

/* Comfort (dim) theme removed per request */

/* Global background + typography */
/* Modern design with clean backgrounds and smooth animations */
html, body { 
  height: 100%; 
  scroll-behavior: smooth;
}

/* Improve font loading performance */
@font-face {
  font-family: 'Inter';
  font-display: swap; /* Fallback to system font while loading */
}

@font-face {
  font-family: 'Poppins'; 
  font-display: swap;
}

/* Modern animations and transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Base animations for modern feel */
.animate-fade-up {
  animation: fadeInUp 0.32s var(--ease-out) both;
}

.animate-fade-scale {
  animation: fadeInScale 0.28s var(--ease-out) both;
}

.animate-float {
  animation: none;
}

body{
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 40%, #e9edf2 100%);
  color: var(--primary);
  font-family: "Inter", "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

 



@keyframes spin{ to{ transform: rotate(360deg); } }

.bg-clip-text {
  background-clip: text;
  -webkit-background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* Modern spacing utilities */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Enhanced testimonials */
.testimonial {
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial p {
  font-style: normal;
  line-height: 1.6;
}

/* Enhanced services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

@media (max-width:768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Sections and cards for clearer separation */
 

/* Modern footer with enhanced gradients and glassmorphism */
.site-footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #2b6cb0 100%);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #e6eef6;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.site-footer .footer-inner { 
  max-width:1200px; 
  margin:0 auto; 
  padding: 60px 24px 40px; 
  position: relative;
  z-index: 10;
}

.site-footer .footer-brand {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-brand p { 
  color: #cbd5e0; 
  margin-top: 16px;
  line-height: 1.6;
}

.site-footer .footer-contact,
.site-footer .footer-links {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-contact p,
.site-footer .footer-links ul a { 
  color: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
}

.site-footer .footer-contact h2,
.site-footer .footer-links h2,
.site-footer .footer-contact h4,
.site-footer .footer-links h4 {
  color: white;
  font-size: 1.25rem;
  margin: 0 0 16px;
}

/* Enhanced CTA in footer */
.site-footer .btn-cta {
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin-top: 16px;
}

.site-footer .btn-cta:hover,
.site-footer .btn-cta:focus {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
  outline: none;
}

/* Global CTA button - Modern design with gradients and micro-interactions */
.btn-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover,
.btn-cta:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 91, 187, 0.25);
  filter: brightness(1.05);
  outline: none;
}

.btn-cta:active { 
  transform: translateY(-1px) scale(1.01); 
  transition: all 0.1s ease;
}

/* Small / compact CTA with modern styling */
.btn-cta-sm { 
  padding: 10px 20px; 
  border-radius: 10px; 
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

/* Soft variant for secondary CTAs */
.btn-cta-soft {
  background: linear-gradient(135deg, var(--highlight), rgba(165,216,255,0.8));
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-cta-soft:hover {
  background: linear-gradient(135deg, rgba(165,216,255,0.9), var(--highlight));
  color: var(--accent);
}

/* Focus ring for accessibility */
.btn-cta:focus { 
  outline: 3px solid rgba(0,91,187,0.3); 
  outline-offset: 4px;
}

/* Secondary button - Modern outline style */
.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  outline: none;
}

.btn-secondary:active {
  transform: translateY(0) scale(1.01);
  transition: all 0.1s ease;
}

/* Enhanced glassmorphism button variant */
.btn-glass {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.btn-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover,
.btn-glass:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.15);
  outline: none;
}

.btn-glass:active {
  transform: translateY(0) scale(1.01);
  transition: all 0.1s ease;
}

/* Enhanced newsletter form styling */
.site-footer .newsletter-form {
  margin-top: 20px;
}

.site-footer .newsletter-form input {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.site-footer .newsletter-form button {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Enhanced links and social icons */
.site-footer .footer-links ul a {
  transition: all 0.3s ease;
  padding: 8px 0;
  display: block;
}

.site-footer .footer-links ul a:hover,
.site-footer .footer-links ul a:focus { 
  color: #3b82f6; 
  transform: translateX(8px); 
  outline:none; 
}

.site-footer .social a {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  width: 44px; 
  height: 44px; 
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #cbd5e0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .social a:hover,
.site-footer .social a:focus { 
  background: rgba(59, 130, 246, 0.2); 
  transform: translateY(-3px); 
  color: #60a5fa; 
  outline: none;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced footer bottom */
.site-footer .footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.1); 
  margin-top: 40px;
  padding-top: 30px;
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive footer adjustments */
@media (max-width:768px){
  .site-footer .footer-inner { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    padding: 40px 20px; 
  }
  .site-footer .btn-cta{ 
    width: 100%; 
    text-align: center;
    margin-top: 20px;
  }
  .site-footer .newsletter-form .flex {
    flex-direction: column;
    gap: 12px;
  }
}

/* Services page specific */
.service-hero .hero-image img{object-fit:cover}

/* Focus styles for accessibility */
a:focus, button:focus, .btn-cta:focus{outline:3px solid rgba(47,144,255,0.25);outline-offset:3px}

/* Smaller screens adjustments */
@media (max-width:640px){
  .service-hero .hero-image{order:-1}
  .service-hero .hero-image img{height:260px}
  .service-hero h1{font-size:24px}
}

/* skip-link visible when focused */
.sr-only.focus\:not-sr-only:focus{
  position:absolute;
  left:12px;
  top:12px;
  background:var(--card-surface);
  padding:8px 12px;
  border-radius:6px;
  color:var(--primary);
  z-index:1000;
}

.hp-field-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Nav link hover/pill effect */
nav a {
  position: relative;
  padding: 6px 8px;
  border-radius: 9999px;
  transition: transform .12s ease, background-color .12s ease, color .12s ease;
}
nav a:hover, nav a:focus {
  background: rgba(0,91,187,0.08);
  color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
/* Active state for current page link */
nav a.active, nav a[aria-current="page"]{
  background: rgba(0,91,187,0.10);
  color: var(--accent);
}
 

/* Trust row under hero */
.trust-row{max-width:1100px;margin:16px auto 28px;display:flex;gap:18px;align-items:center;justify-content:center}
.trust-row .trust-item{display:flex;align-items:center;gap:10px;color:var(--primary);background:rgba(255,255,255,0.6);padding:8px 12px;border-radius:8px}

/* How it works simple steps */
.how-works{max-width:1100px;margin:0 auto 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0 16px}
.how-works .step{background:var(--background);border-radius:8px;padding:16px;text-align:center;box-shadow:0 6px 20px rgba(17,24,39,0.04)}
.how-works .step h4{margin-top:8px;color:var(--accent);font-size:1.05rem}

@media (max-width:768px){.how-works{grid-template-columns:1fr}}

/* Navbar backdrop: subtle translucent/blurred surface when the header sits over imagery (hero)
   - Keeps layout unchanged (no absolute positioning) and adds a soft blur + tonal gradient.
   - Add the .solid modifier on inner pages or after scroll to switch to a solid header.
*/
/* Modern navbar with glassmorphism effect */
header.surface{
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky; /* keep header visible */
  top: 0;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced solid header for interior pages */
header.surface.solid{
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Modern header/nav layout with improved spacing */
.nav-container{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position: relative;
  gap:20px;
  padding:8px 24px;
}

.brand{
  font-weight:700;
  color:var(--primary);
  text-decoration:none;
  font-size:1.25rem;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.8;
}

.site-logo {
  display: block;
  height: auto;
}

.site-logo-header {
  width: 6.6rem;
}

.site-logo-large {
  width: 7.7rem;
}

.site-logo-admin {
  width: 3.3rem;
}

.hamburger{
  display:none;
  font-size:28px;
  cursor:pointer;
  padding:10px;
  border-radius:12px;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  background: rgba(0, 91, 187, 0.1);
  color: var(--accent);
}

.hamburger:hover {
  background: rgba(0, 91, 187, 0.2);
  transform: scale(1.1);
}

.hamburger:focus-visible{
  outline:3px solid #005bbb;
  outline-offset: 4px;
}

/* Hamburger morphs to ✕ while menu is open */
.nav-container.is-menu-open .hamburger {
  background: rgba(0, 91, 187, 0.18);
  color: transparent;
}

.nav-container.is-menu-open .hamburger::after {
  content: '\2715';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

/* Enhanced desktop nav menu */
.nav-menu{
  display:flex;
  gap:8px;
  align-items:center;
}

.nav-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  border: 1px solid #0f66c8;
  background: linear-gradient(180deg, #0f66c8 0%, #005bbb 100%);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 53, 112, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-header-cta:hover,
.nav-header-cta:focus-visible {
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 53, 112, 0.25);
  transform: translateY(-1px);
}

.nav-menu .nav-menu-quote {
  display: none;
}

/* Enhanced mobile behavior with modern animations */
@media (max-width:768px){
  .hamburger{display:block}
  .nav-header-cta{display:none}
  /* Modern slide/fade-in mobile menu with glassmorphism */
  .nav-menu{
    display:none;
    flex-direction:column;
    position:absolute;
    top: calc(100% + 0.45rem);
    left: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding:16px 14px;
    border-radius:20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index:60;
    transform: translateY(-15px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), display 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-behavior: allow-discrete;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 0;
    max-height: calc(100dvh - 4.8rem - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open{
    display:flex;
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  @starting-style {
    .nav-menu.open {
      opacity: 0;
      transform: translateY(-15px) scale(0.95);
    }
  }
  .nav-menu a{
    padding:14px 20px;
    display:block;
    margin: 4px 0;
    border-radius: 12px;
    text-align: center;
    min-height: 46px;
  }

  .nav-menu .nav-menu-quote {
    display: block;
    margin-top: 0.35rem;
    border: 1px solid #0f66c8;
    background: linear-gradient(180deg, #0f66c8 0%, #005bbb 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 53, 112, 0.2);
  }
}

@media (min-width:769px){
  .nav-header-cta{display:inline-flex}
  .nav-menu .nav-menu-quote{display:none !important}
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  border: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(2px);
  transition: opacity 0.2s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 769px) {
  .mobile-nav-backdrop {
    display: none;
  }
}

/* Modern nav link styling with enhanced hover effects */
.nav-menu a {
  position: relative;
  padding: 12px 20px;
  border-radius: 12px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  background: transparent;
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-menu a:hover, .nav-menu a:focus {
  color: white;
  transform: translateY(-2px);
  outline: none;
  box-shadow: var(--shadow-lg);
}

.nav-menu a:hover::before, .nav-menu a:focus::before {
  opacity: 1;
}

/* Section spacing and light cards for separation */
.site-section{ padding: 28px 16px; }
@media (min-width:768px){ .site-section{ padding: 40px 16px; } }
.card{ background: var(--card-surface); border-radius: 12px; box-shadow: 0 6px 20px rgba(17,24,39,0.06); }
.card .card-body{ padding: 16px; }

/* Hero edge-to-edge: remove padding so no background shows around image */
section#main-content.site-section{ padding: 0; }

 



/* Inline error component (reusable across forms) */
.error-message{
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dc2626; /* red-600 */
  background: #fef2f2; /* red-50 */
  color: #7f1d1d; /* red-900 */
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.error-message[hidden],
.error-message:empty {
  display: none !important;
}

.error-message .error-icon{
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.05rem;
  flex: 0 0 auto;
  color: #dc2626;
}

.error-message:focus{
  outline: 3px solid rgba(220, 38, 38, 0.25);
  outline-offset: 3px;
}

.has-error .form-input,
.has-error input,
.has-error textarea,
.has-error select{
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  background: rgba(254,242,242,0.6);
}

.has-error .form-input:focus,
.has-error input:focus,
.has-error textarea:focus,
.has-error select:focus{
  border-color: #b91c1c !important; /* red-700 */
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.form-submit-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(203,213,225,0.3);
}

/* Back-to-top styling is centralized in the final polish block. */

/* Improve image loading experience */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}

/* Performance optimization for animations */
.animate-float,
.animate-fade-up,
.animate-fade-scale {
  will-change: transform, opacity;
}

/* Scroll reveal: progressive section entry with staggered direct children */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.38s var(--ease-out),
    transform 0.38s var(--ease-out);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.32s var(--ease-out),
    transform 0.32s var(--ease-out);
  transition-delay: calc(var(--index, 0) * 50ms);
  will-change: transform, opacity;
}

.reveal-children > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-float {
    animation: none;
  }

  .reveal,
  .reveal-children > *,
  .reveal.visible,
  .reveal-children > *.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-inline-link:hover,
  .home-inline-link:focus-visible,
  .home-service-card:hover .home-card-link,
  .home-service-card:focus-within .home-card-link,
  .service-directory-card:hover .service-directory-link,
  .service-directory-card:focus-visible .service-directory-link {
    transform: none !important;
  }
}

/* Premium UI refinement (2026-03): tokens consolidated in top :root */

body {
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

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

.animate-float {
  animation: none;
}

main {
  display: block;
}

.site-section {
  padding: 0;
}

.site-section .text-center.mb-12,
.site-section .text-center.mb-16 {
  margin-bottom: clamp(2.2rem, 4vw, 3.6rem);
}

.site-section .text-center > p {
  max-width: 760px;
  margin-inline: auto;
}

:where(h1, h2, h3, h4) {
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

:where(h1, h2) + p {
  margin-top: 0.75rem;
}

header.surface {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-container,
.site-footer .footer-inner,
.footer-bottom .container {
  max-width: var(--content-max);
}

.nav-container {
  padding: 10px clamp(1rem, 2.4vw, 1.75rem);
}

.nav-menu a {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-card,
.site-section .bg-white.rounded-2xl.shadow-lg,
.site-section .bg-gray-50.p-8.rounded-xl,
.site-section .bg-white.p-6.rounded-xl.shadow-sm.border {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.contact-card:hover,
.site-section .bg-white.rounded-2xl.shadow-lg:hover,
.site-section .bg-gray-50.p-8.rounded-xl:hover,
.site-section .bg-white.p-6.rounded-xl.shadow-sm.border:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.btn-cta,
.btn-secondary,
.btn-glass {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

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

.btn-secondary:hover,
.btn-secondary:focus,
.btn-glass:hover,
.btn-glass:focus {
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #1ea952;
}

.btn-loading,
button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  position: relative;
  color: inherit !important;
  cursor: not-allowed;
}

.btn-loading .btn-text {
  opacity: 0.75;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 999px;
  transform: translateY(-50%);
  animation: spin 0.9s linear infinite;
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  opacity: 0.6;
}

.form-status {
  border-radius: var(--radius-md);
  border: 1px solid #d7e3f0;
  padding: 0.95rem 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  color: #1f3852;
  box-shadow: 0 10px 26px rgba(15, 38, 64, 0.08);
  animation: formStatusEnter 0.18s ease both;
}

.form-status__icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
}

.form-status__icon svg {
  display: block;
  width: 0.92rem;
  height: 0.92rem;
}

.form-status__content {
  min-width: 0;
}

.form-status__title {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.form-status__message {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.form-status.info,
.form-status.is-info {
  border-color: #bfd4ec;
  background: linear-gradient(180deg, #f5f9ff 0%, #ebf3ff 100%);
  color: #1d3f64;
}

.form-status.info .form-status__icon,
.form-status.is-info .form-status__icon {
  background: #dcecff;
  color: #0f5da8;
}

.form-status.success,
.form-status.is-success {
  background: linear-gradient(180deg, #effcf4 0%, #e6f7ee 100%);
  border-color: #9dd9b2;
  color: #155b39;
}

.form-status.success .form-status__icon,
.form-status.is-success .form-status__icon {
  background: #d4f4df;
  color: #0f7a45;
}

.form-status.error,
.form-status.is-error {
  background: linear-gradient(180deg, #fff5f5 0%, #feeeee 100%);
  border-color: #f7b2b2;
  color: #8f1d1d;
}

.form-status.error .form-status__icon,
.form-status.is-error .form-status__icon {
  background: #ffdede;
  color: #b42323;
}

.upload-progress {
  margin-top: 0.75rem;
  padding: 0.88rem 0.95rem;
  border: 1px solid #d7e3f0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  box-shadow: 0 10px 24px rgba(15, 38, 64, 0.06);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.upload-progress.is-active {
  opacity: 1;
  transform: translateY(0);
}

.upload-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.upload-progress__label {
  color: #234363;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.upload-progress__value {
  color: #0f5da8;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.upload-progress__track {
  position: relative;
  height: 7px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: #dbe6f2;
  overflow: hidden;
}

.upload-progress__fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f5da8 0%, #1876d8 60%, #2492ff 100%);
  transition: width 0.16s linear;
}

.upload-progress__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.28;
  transform: none;
  animation: none;
}

@keyframes uploadShimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes formStatusEnter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: var(--modal-z);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.success-modal.hidden {
  display: none !important;
}

.success-modal[aria-hidden="true"] {
  pointer-events: none;
}

.success-modal__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.success-modal__card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid #d6e1ed;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 26px 66px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.success-modal.is-visible .success-modal__overlay {
  opacity: 1;
}

.success-modal.is-visible .success-modal__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.success-modal__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d9f7e5;
  color: #0f7a45;
  box-shadow: inset 0 0 0 1px #9dd9b2;
}

.success-modal__kicker {
  margin: 0.85rem 0 0;
  color: var(--accent-gold-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-modal__title {
  margin: 0.55rem 0 0;
  color: #123455;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.28rem, 3vw, 1.64rem);
  line-height: 1.3;
}

.success-modal__copy {
  margin: 0.62rem 0 0;
  color: #4a5f74;
  line-height: 1.66;
}

.success-modal__meta {
  margin: 1rem 0 0;
  padding: 0.72rem;
  border: 1px solid #dfe8f1;
  border-radius: 16px;
  background: #f7fbff;
  display: grid;
  gap: 0.45rem;
}

.success-modal__meta strong {
  color: #213e5d;
  font-size: 0.83rem;
  font-weight: 700;
}

.success-modal__meta span {
  color: #4f6478;
  font-size: 0.9rem;
  line-height: 1.5;
}

.success-modal__actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.modal {
  z-index: var(--modal-z);
  padding: 1rem;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.58);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal .modal-content {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal .modal-content h1 {
  font-size: clamp(1.45rem, 3.5vw, 2.35rem);
}

.modal .modal-content h2 {
  font-size: clamp(1.35rem, 3.1vw, 2.05rem);
}

.modal.visible .modal-content {
  animation: modal-pop 0.18s var(--ease-out) both;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #d7e2ee;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.modal-close:hover,
.modal-close:focus {
  background: #f1f5f9;
  color: #0f172a;
}

.modal-shell {
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 22px;
  background: #ffffff;
}

.modal-shell .modal-close {
  border-color: #d7e2ee;
  background: #ffffff;
  color: #0f172a;
}

.modal-shell .modal-close:hover,
.modal-shell .modal-close:focus-visible {
  background: #f1f5f9;
  color: #0f172a;
}

.modal-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem 0.9rem;
  border-bottom: 1px solid #e8eef5;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
}

.modal-hero-copy {
  max-width: 40rem;
}

.modal-eyebrow {
  display: inline-block;
  padding: 0.28rem 0.52rem;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  background: #f8fbff;
  color: #415a74;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-title {
  margin: 0.55rem 0 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.28rem, 2.5vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.modal-lead {
  margin: 0.45rem 0 0;
  max-width: 48ch;
  color: #526477;
  line-height: 1.55;
  font-size: 0.96rem;
}

.modal-body {
  padding: 1rem 1.1rem 1.15rem;
  padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 0.9rem;
  align-items: start;
}

.modal-media,
.modal-stack {
  display: grid;
  gap: 0.75rem;
}

.modal-media img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
}

.modal-panel {
  border: 1px solid #e3ebf3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.modal-panel h3 {
  display: block;
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--home-ink);
  font-size: 0.96rem;
}

.modal-panel p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.55;
}

.modal-panel {
  padding: 1rem;
}

.modal-summary {
  display: grid;
  gap: 0.85rem;
}

.modal-summary-line {
  margin: 0;
  color: #526477;
  line-height: 1.55;
}

.modal-summary-line strong {
  color: #0f172a;
  font-weight: 700;
}

.modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.modal-list li {
  position: relative;
  padding-left: 0.9rem;
  color: #435466;
  line-height: 1.5;
  font-size: 0.95rem;
}

.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.2rem;
}

.modal-actions .home-btn-primary {
  min-height: 46px;
  padding-inline: 1rem;
}

.modal-actions .home-btn-secondary {
  min-height: 46px;
  padding-inline: 1rem;
  text-decoration: none;
}

.modal-actions .home-btn-secondary:hover,
.modal-actions .home-btn-secondary:focus-visible {
  transform: translateY(-1px);
}

img[loading="lazy"] {
  opacity: 0;
  filter: blur(6px);
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
  opacity: 1;
  filter: none;
}

:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

:where(a, button, [role="button"], .home-service-card, .service-directory-card, .mobile-contact-bar__link, .site-quick-contact__fab) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(15, 102, 200, 0.14);
}

body.is-scroll-locked {
  overscroll-behavior: none;
}

.empty-state {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  color: #64748b;
}

.loading-state {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: shimmer 1.4s linear infinite;
}

.table-wrap {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

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

.table-wrap th,
.table-wrap td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.table-wrap th {
  background: #f8fafc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #334155;
}

@media (max-width: 768px) {
  .nav-container {
    padding-block: 8px;
  }

  .btn-cta,
  .btn-secondary,
  .btn-glass {
    min-height: 46px;
    width: 100%;
  }

  .modal .modal-content {
    max-height: calc(100vh - 1.5rem);
    border-radius: 16px;
  }
}

/* Elite UX pass (2026-03-08): tokens consolidated in top :root */

body {
  background: linear-gradient(180deg, #f5f8fc 0%, #f1f5fa 42%, #eef3f9 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main > section {
  position: relative;
}

#hero .max-w-4xl {
  max-width: min(900px, 94vw);
}

#hero .hero-title {
  font-size: clamp(2.35rem, 5.3vw, 4.55rem);
  text-wrap: balance;
}

#hero .hero-subtitle {
  max-width: 54ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

#hero .animate-float {
  opacity: 0.35;
}

#testimonials blockquote {
  height: 100%;
}

#testimonials blockquote p {
  font-size: 1rem !important;
  color: #334155;
}

#testimonials .text-yellow-400 {
  color: #f59e0b !important;
}

.site-footer .footer-brand p,
.site-footer .footer-contact p {
  max-width: 38ch;
}

.site-footer .footer-contact .mt-4 {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.site-section:not(#hero) h1.bg-gradient-to-r,
.site-section:not(#hero) h2.bg-gradient-to-r,
.site-section:not(#hero) h3.bg-gradient-to-r,
.site-section:not(#hero) h4.bg-gradient-to-r {
  background: none !important;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--text-strong) !important;
}

.site-section .text-xl,
.site-section .text-lg {
  max-width: var(--reading-max);
}

/* Elite UX follow-up (2026-03-08) */
.nav-menu a {
  border: 1px solid transparent;
  font-weight: 600;
}

.nav-menu a::before {
  display: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #0f3f7e;
  background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
  border-color: #d2e2f7;
  box-shadow: 0 6px 14px rgba(15, 63, 126, 0.12);
  transform: none;
}

.nav-menu a.active,
.nav-menu a[aria-current="page"] {
  color: #0f3f7e;
  background: linear-gradient(180deg, #e8f1ff 0%, #dfeafd 100%);
  border-color: #bcd2f1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

/* Hero module (2026-03-08) */
#hero {
  padding: 0;
}

#hero .hero-overlay {
  background: linear-gradient(180deg, rgba(8, 22, 46, 0.64) 0%, rgba(8, 46, 93, 0.52) 55%, rgba(8, 34, 69, 0.68) 100%);
}

#hero .hero-image {
  width: 100%;
  height: clamp(500px, 70vh, 660px);
  object-fit: cover;
  object-position: center;
  display: block;
}

#hero .hero-content {
  width: min(860px, 94vw);
  margin-inline: auto;
}

#hero .hero-kicker {
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 241, 255, 0.82);
}

#hero .hero-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.95rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: #ffffff;
}

#hero .hero-subtitle {
  margin: 1rem auto 0;
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.7vw, 1.14rem);
  line-height: 1.5;
  color: rgba(241, 248, 255, 0.9);
}

#hero .hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  justify-content: center;
  align-items: center;
}

#hero .hero-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.45rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #0b67cf 0%, #005bbb 100%);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 43, 94, 0.22);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#hero .hero-primary-btn:hover,
#hero .hero-primary-btn:focus-visible {
  background: linear-gradient(180deg, #0d6fdd 0%, #005fc6 100%);
  box-shadow: 0 12px 26px rgba(0, 43, 94, 0.28);
  transform: translateY(-1px);
}

#hero .hero-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(233, 244, 255, 0.86);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 241, 255, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

#hero .hero-secondary-link:hover,
#hero .hero-secondary-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  #hero .hero-image {
    height: clamp(420px, 60vh, 500px);
  }

  #hero .hero-title {
    font-size: clamp(1.78rem, 8vw, 2.45rem);
  }

  #hero .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  #hero .hero-actions {
    margin-top: 1.2rem;
    flex-direction: column;
    gap: 0.55rem;
  }

  #hero .hero-primary-btn {
    width: min(100%, 320px);
  }
}

/* Home premium redesign (2026-03-08): tokens consolidated in top :root */

.home-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold-strong);
}

.section-kicker-light {
  color: rgba(255, 229, 188, 0.82);
}

.home-section-title {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  text-wrap: balance;
}

.home-section-copy {
  margin-top: 1rem;
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
  color: var(--home-muted);
  overflow-wrap: anywhere;
}

.cta-channel-note {
  margin: 0.75rem 0 0;
  max-width: 58ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a5968;
}

.home-btn-primary,
.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-btn-primary {
  background: linear-gradient(180deg, #0f66c8 0%, #005bbb 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 53, 112, 0.22);
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 53, 112, 0.26);
}

.home-btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #123760;
  border: 1px solid var(--home-line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.home-btn-secondary:hover,
.home-btn-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent-gold-soft);
  color: var(--accent-gold-strong);
}

.home-btn-secondary-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow: none;
}

.home-btn-secondary-light:hover,
.home-btn-secondary-light:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-inline-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-gold-strong);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(146, 64, 14, 0.44);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-inline-link:hover,
.home-inline-link:focus-visible {
  border-color: rgba(146, 64, 14, 0.78);
  transform: translateX(1px);
}

#hero.home-hero-section {
  padding-block: clamp(2.5rem, 6vw, 4.8rem);
  background:
    radial-gradient(circle at left top, rgba(214, 226, 240, 0.78) 0%, rgba(214, 226, 240, 0) 38%),
    linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
}

#hero.home-hero-section .section-kicker {
  padding: 0.42rem 0.78rem;
  border: 1px solid var(--accent-gold-soft);
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.95);
  color: var(--accent-gold-strong);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-display {
  margin: 0;
  max-width: 11.5ch;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #0e223a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  text-wrap: balance;
}

#hero.home-hero-section .home-display {
  color: #0e223a;
}

.home-lead {
  margin-top: 1.15rem;
  max-width: 54ch;
  font-size: clamp(1.06rem, 2.1vw, 1.2rem);
  line-height: 1.76;
  color: #334c62;
  overflow-wrap: anywhere;
}

#hero.home-hero-section .home-lead,
#hero.home-hero-section .home-showcase-caption p {
  margin-inline: 0;
  color: #385066;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.home-showcase {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 30px;
  background: var(--home-panel);
  box-shadow: var(--home-shadow);
}

.home-showcase-image {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.home-showcase-caption {
  padding: 1.25rem 1.35rem 1.45rem;
}

.home-showcase-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-strong);
}

#hero.home-hero-section .home-showcase-label {
  color: var(--accent-gold-strong);
}

.home-showcase-caption strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--home-ink);
}

.home-showcase-caption p {
  margin: 0.55rem 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #40586f;
}

.home-showcase-note {
  width: min(70%, 360px);
  margin: -1.35rem 0.85rem 0 auto;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid rgba(215, 224, 234, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--home-shadow-sm);
  position: relative;
  z-index: 2;
}

.home-note-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--home-ink);
}

#hero.home-hero-section .home-note-title {
  color: #12283d;
}

.home-note-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.home-note-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.86rem;
  color: #41576c;
}

#hero.home-hero-section .home-note-list li {
  color: #41576c;
}

.home-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.home-intro-section {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3.75rem, 6vw, 5rem);
  background: #ffffff;
}

.home-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid #e0e8f1;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: var(--home-shadow-sm);
}

.home-intro-panel {
  display: grid;
  gap: 0.9rem;
}

.home-intro-panel-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid #e4ebf3;
  border-radius: 20px;
  background: var(--home-panel);
}

.home-intro-panel-item span,
.home-pillar-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-intro-panel-item h3,
.home-pillar-card h3,
.home-service-body h3 {
  margin: 0;
  color: var(--home-ink);
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
}

.home-intro-panel-item p,
.home-pillar-card p {
  margin: 0.35rem 0 0;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-services-section {
  padding-block: clamp(4rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.home-section-header-centered {
  justify-content: center;
  text-align: center;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: var(--home-panel);
  box-shadow: var(--home-shadow-sm);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-service-card--trigger {
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.home-service-card:hover,
.home-service-card:focus-visible {
  transform: translateY(-4px);
  border-color: #c7d4e1;
  box-shadow: var(--home-shadow);
  outline: none;
}

.home-service-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.home-service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
}

.home-service-tag {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-strong);
}

.home-service-body > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--home-muted);
}

.home-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.home-service-list li {
  padding-top: 0.55rem;
  border-top: 1px solid #ebf0f5;
  color: #43576b;
  font-size: 0.9rem;
}

.home-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-gold-strong);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-card-link::after {
  content: "->";
  font-size: 0.85em;
  transition: transform 0.18s ease;
}

.home-service-card:hover .home-card-link,
.home-service-card:focus-within .home-card-link {
  transform: translateX(1px);
}

.home-service-card:hover .home-card-link::after,
.home-service-card:focus-within .home-card-link::after {
  transform: translateX(2px);
}

.home-case-section {
  padding-block: clamp(4rem, 7vw, 5.8rem);
  background: linear-gradient(180deg, #0f1726 0%, #12223a 100%);
  color: #ffffff;
}

.home-case-section .section-kicker {
  color: rgba(255, 229, 188, 0.86);
}

.home-case-section .home-section-title {
  color: #ffffff;
}

.home-case-section .home-section-copy {
  color: #c8d3e0;
}

.home-case-section .home-inline-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-case-section .home-inline-link:hover,
.home-case-section .home-inline-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
}

.home-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 2rem;
  align-items: center;
}

.home-case-stats {
  display: grid;
  gap: 0.95rem;
  margin: 1.5rem 0 0;
}

.home-case-stats > div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(208, 221, 237, 0.18);
}

.home-case-stats strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eef4fb;
}

.home-case-stats span {
  display: block;
  margin-top: 0.35rem;
  color: #b9c7d8;
  line-height: 1.6;
}

.home-case-media {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 1rem;
}

.home-case-main,
.home-case-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(214, 227, 243, 0.16);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
}

.home-case-main img,
.home-case-stack img {
  display: block;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

.home-case-main img {
  height: 430px;
}

.home-case-stack {
  display: grid;
  gap: 1rem;
}

.home-case-stack img {
  height: 205px;
}

.home-case-main figcaption,
.home-case-stack figcaption {
  padding: 0.9rem 1rem 1rem;
  color: #dce6f2;
  font-size: 0.9rem;
}

.home-trust-section {
  padding-block: clamp(4rem, 7vw, 5.5rem);
  background: #ffffff;
}

.home-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-pillar-card {
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--home-shadow-sm);
}

.home-pillar-card h3 {
  margin-top: 1rem;
  font-size: 1.22rem;
}

.home-process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.home-process-item {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid #e3ebf3;
  background: #f8fafc;
}

.home-process-item strong {
  display: block;
  color: var(--home-ink);
  font-size: 1rem;
}

.home-process-item p {
  margin: 0.35rem 0 0;
  color: var(--home-muted);
  line-height: 1.55;
}

.home-testimonials-section {
  padding-block: clamp(4rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
}

.home-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-testimonial-card {
  padding: 1.8rem 1.45rem;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--home-shadow-sm);
}

.home-quote {
  position: relative;
  margin: 0;
  padding-top: 1.2rem;
  color: var(--home-ink);
  font-size: 1rem;
  line-height: 1.75;
}

.home-quote::before {
  content: "\"";
  position: absolute;
  top: -0.25rem;
  left: 0;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(146, 64, 14, 0.34);
  font-weight: 800;
}

.home-testimonial-card footer {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.45rem;
  padding-top: 1rem;
  border-top: 1px solid #e7edf4;
}

.home-testimonial-card strong {
  color: var(--home-ink);
}

.home-testimonial-card span {
  color: #556b7e;
  font-size: 0.9rem;
}

.home-cta-section {
  padding-block: clamp(4rem, 6vw, 5.25rem);
  background: linear-gradient(180deg, #edf2f7 0%, #e6edf4 100%);
}

.home-cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4.2vw, 2.75rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #0f2e4e 0%, #18436f 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.home-cta-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -140px -90px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.home-cta-panel h2 {
  position: relative;
  margin: 0;
  max-width: 12ch;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.home-cta-panel p {
  position: relative;
  margin: 1rem 0 0;
  max-width: 54ch;
  color: rgba(225, 236, 248, 0.88);
  line-height: 1.7;
}

.home-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.45rem;
}

@media (max-width: 1080px) {
  .home-hero-grid,
  .home-intro-layout,
  .home-case-layout {
    grid-template-columns: 1fr;
  }

  .home-service-grid,
  .home-pillar-grid,
  .home-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-case-media {
    grid-template-columns: 1fr;
  }

  .home-case-main img {
    height: 360px;
  }

  .home-case-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .modal {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal .modal-content {
    width: 100%;
    margin: 0;
    border-radius: 18px 18px 0 0;
    max-height: calc(100dvh - 0.5rem - env(safe-area-inset-top, 0px));
  }

  .modal-hero,
  .modal-body {
    padding: 0.95rem 1rem;
  }

  .modal-hero {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(250, 252, 255, 0.97);
    backdrop-filter: blur(12px);
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .modal-media img {
    height: 210px;
  }

  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-actions .home-btn-primary {
    width: 100%;
  }

  .modal-actions .home-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .home-shell {
    width: min(1180px, calc(100% - 1.2rem));
  }

  #hero.home-hero-section,
  .home-intro-section,
  .home-services-section,
  .home-case-section,
  .home-trust-section,
  .home-testimonials-section,
  .home-cta-section {
    padding-block: 3.25rem;
  }

  .home-display,
  .home-cta-panel h2 {
    max-width: none;
  }

  .home-hero-actions,
  .home-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-btn-primary,
  .home-btn-secondary {
    width: 100%;
  }

  .home-service-grid,
  .home-pillar-grid,
  .home-process-strip,
  .home-testimonial-grid,
  .home-case-stack {
    grid-template-columns: 1fr;
  }

  .home-showcase-image {
    height: 320px;
  }

  .home-showcase-note {
    width: auto;
    margin: 1rem 0 0;
  }

  .home-section-header {
    align-items: start;
    flex-direction: column;
    margin-bottom: 1.5rem;
  }

  .home-intro-layout {
    padding: 1.1rem;
  }
}

@media (max-width: 480px) {
  .modal-title {
    font-size: 1.2rem;
  }

  .modal-lead,
  .modal-summary-line,
  .modal-list li {
    font-size: 0.92rem;
  }

  .modal-media img {
    height: 180px;
  }
}

/* Interior page system (2026-03-08) */
.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.page-hero-section {
  padding-block: clamp(2.75rem, 6vw, 5rem);
  background:
    radial-gradient(circle at right top, rgba(222, 232, 243, 0.86) 0%, rgba(222, 232, 243, 0) 36%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: clamp(2rem, 4.4vw, 3.4rem);
  align-items: center;
}

.page-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold-strong);
}

.page-title {
  margin: 0;
  max-width: 13ch;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--home-ink);
  text-wrap: balance;
}

.page-lead {
  margin-top: 1rem;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--home-muted);
  overflow-wrap: anywhere;
}

.home-section-copy,
.home-lead,
.page-lead,
.page-story p,
.contact-card p,
.contact-form-header p,
.gallery-card-copy,
.gallery-material-body p,
.map-panel p,
.page-figure-caption p,
.gallery-hero-note {
  overflow-wrap: anywhere;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.45rem;
}

.page-proof-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.page-proof-inline span {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.page-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8e2ed;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--home-shadow);
}

.page-figure img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.page-figure-caption {
  padding: 1.1rem 1.25rem 1.25rem;
}

.page-figure-caption strong {
  display: block;
  color: var(--home-ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.page-figure-caption p {
  margin: 0.45rem 0 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.page-note-card {
  width: min(76%, 420px);
  margin: -1.7rem 1rem 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 253, 0.96) 100%);
  box-shadow: var(--home-shadow-sm);
  position: relative;
  z-index: 2;
}

:where(.page-note-card h2, .page-note-card h3) {
  margin: 0;
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.24;
}

.page-note-card p {
  margin: 0.5rem 0 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-section {
  padding-block: clamp(4rem, 7vw, 5.6rem);
}

.page-section-alt {
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.page-header-centered {
  justify-content: center;
  text-align: center;
}

.page-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1.4rem;
}

.page-story {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid #dbe4ee;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--home-shadow-sm);
}

.page-story p {
  margin: 0 0 1rem;
  color: var(--home-muted);
  line-height: 1.72;
}

.page-story p:last-child {
  margin-bottom: 0;
}

.page-card-stack,
.page-card-grid,
.contact-rail {
  display: grid;
  gap: 1rem;
}

.page-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-info-card,
.page-principle-card,
.contact-card,
.contact-form-shell,
.map-panel {
  border: 1px solid #dbe4ee;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--home-shadow-sm);
}

.page-info-card,
.page-principle-card,
.contact-card,
.map-panel {
  padding: 1.35rem;
}

.page-info-card h3,
.page-principle-card h3,
.contact-card h3,
.contact-form-header h2,
.contact-form-header h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--home-ink);
}

.page-info-card p,
.page-principle-card p,
.contact-card p,
.contact-form-header p,
.map-panel p {
  color: var(--home-muted);
  line-height: 1.65;
}

.page-info-card ul,
.contact-card ul {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-info-card li,
.contact-card li {
  position: relative;
  padding-left: 1rem;
  color: #4c6074;
  line-height: 1.55;
}

.page-info-card li::before,
.contact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.page-principle-card span,
.page-info-card span.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.95rem;
  border-radius: 999px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-principle-card h3 {
  font-size: 1.18rem;
}

.page-cta-section {
  padding-block: clamp(4rem, 6vw, 5.25rem);
  background: linear-gradient(180deg, #edf2f7 0%, #e6edf4 100%);
}

.page-cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4.2vw, 2.75rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #0f2e4e 0%, #18436f 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.page-cta-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -140px -90px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.page-cta-panel h2 {
  position: relative;
  margin: 0;
  max-width: 13ch;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.page-cta-panel p {
  position: relative;
  margin: 1rem 0 0;
  max-width: 56ch;
  color: rgba(225, 236, 248, 0.88);
  line-height: 1.7;
}

.page-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.45rem;
}

.page-cta-panel .home-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.page-cta-panel .home-btn-secondary:hover,
.page-cta-panel .home-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.service-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-directory-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid #dbe4ee;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--home-shadow-sm);
  cursor: pointer;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-directory-card:hover,
.service-directory-card:focus-visible {
  transform: translateY(-4px);
  border-color: #c7d4e1;
  box-shadow: var(--home-shadow);
  outline: none;
}

.service-directory-media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-directory-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  text-align: left;
}

.service-directory-body h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--home-ink);
}

.service-directory-tag {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-strong);
}

.service-directory-body p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-directory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.service-directory-list li {
  padding-top: 0.55rem;
  border-top: 1px solid #ebf0f5;
  color: #455a6e;
  font-size: 0.9rem;
}

.service-directory-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-gold-strong);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-directory-link::after {
  content: "->";
  font-size: 0.85em;
  transition: transform 0.18s ease;
}

.service-directory-card:hover .service-directory-link,
.service-directory-card:focus-visible .service-directory-link {
  transform: translateX(1px);
}

.service-directory-card:hover .service-directory-link::after,
.service-directory-card:focus-visible .service-directory-link::after {
  transform: translateX(2px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.2rem;
}

.contact-card {
  padding: 1.3rem;
}

.contact-card-action {
  margin-top: 1rem;
}

.contact-card-action .home-btn-primary,
.contact-card-action .home-btn-secondary {
  width: 100%;
  justify-content: center;
}

.contact-form-shell {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.contact-form-header {
  margin-bottom: 1.5rem;
}

.contact-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-meta-grid > div {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-raised) 100%);
}

.contact-meta-grid strong {
  display: block;
  color: var(--home-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-meta-grid span {
  display: block;
  margin-top: 0.3rem;
  color: #617487;
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact-form-shell .form-label {
  color: #24405c;
}

.contact-form-shell .text-gray-500,
.contact-form-shell #attachment-help,
.contact-form-shell #message-help {
  color: #556b81 !important;
}

.map-panel {
  overflow: hidden;
  padding: 0;
}

.map-panel img {
  display: block;
  width: 100%;
}

.map-panel-copy {
  padding: 1.2rem 1.25rem 1.3rem;
}

.map-panel-copy h3 {
  margin: 0;
  color: var(--home-ink);
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
}

.map-panel-copy p {
  margin: 0.55rem 0 0;
}

@media (max-width: 1080px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid,
  .page-grid-two,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-card-grid,
  .service-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: min(1180px, calc(100% - 1.2rem));
  }

  .page-section,
  .page-cta-section,
  .page-hero-section {
    padding-block: 3.25rem;
  }

  .page-title,
  .page-cta-panel h2 {
    max-width: none;
  }

  .page-actions,
  .page-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-actions .home-btn-primary,
  .page-actions .home-btn-secondary,
  .page-cta-actions .home-btn-primary,
  .page-cta-actions .home-btn-secondary {
    width: 100%;
  }

  .page-note-card {
    width: auto;
    margin: 1rem 0 0;
  }

  .page-card-grid,
  .service-directory-grid,
  .contact-meta-grid {
    grid-template-columns: 1fr;
  }

  .page-figure img {
    height: 320px;
  }

  .page-header {
    flex-direction: column;
    align-items: start;
    margin-bottom: 1.5rem;
  }
}

/* Gallery page system (2026-03-08) */
.gallery-case-grid,
.gallery-material-grid {
  display: grid;
  gap: 1.2rem;
}

.gallery-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card,
.gallery-material-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--home-shadow-sm);
}

.gallery-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-compare-item,
.gallery-single-media,
.gallery-material-media {
  position: relative;
  overflow: hidden;
  background: #dfe8f1;
}

.gallery-compare-item img,
.gallery-single-media img,
.gallery-material-media img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.gallery-compare-item img {
  height: 250px;
}

.gallery-single-media img,
.gallery-material-media img {
  height: 290px;
}

.gallery-card:hover img,
.gallery-card:focus-within img,
.gallery-material-card:hover img,
.gallery-material-card:focus-within img {
  transform: scale(1.04);
}

.gallery-media-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-media-badge.is-success {
  left: auto;
  right: 0.9rem;
  background: rgba(15, 118, 110, 0.84);
}

.gallery-media-badge.is-alert {
  background: rgba(185, 28, 28, 0.86);
}

.gallery-card-body,
.gallery-material-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.gallery-card-tag {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-strong);
}

.gallery-card-body h3,
.gallery-material-body h3 {
  margin: 0.45rem 0 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.24rem;
  line-height: 1.25;
  color: var(--home-ink);
}

.gallery-card-copy,
.gallery-material-body p {
  margin: 0.7rem 0 0;
  color: var(--home-muted);
  line-height: 1.68;
}

.gallery-card-notes {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.gallery-card-notes li {
  position: relative;
  padding-left: 1rem;
  color: #4c6074;
  line-height: 1.58;
}

.gallery-card-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.gallery-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ebf0f5;
}

.gallery-card-meta span {
  padding: 0.45rem 0.66rem;
  border-radius: 999px;
  background: #f6f9fc;
  color: #4a5968;
  font-size: 0.83rem;
  font-weight: 600;
}

.gallery-card-hint {
  margin: 0.9rem 0 0;
  color: var(--accent-gold-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-material-body {
  gap: 0.85rem;
}

.gallery-material-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.gallery-material-actions .home-btn-secondary,
.gallery-material-actions .home-btn-primary {
  min-height: 48px;
}

.gallery-material-body .gallery-card-notes {
  margin-top: 0.2rem;
}

.gallery-hero-note {
  color: #4f6478;
}

@media (max-width: 1080px) {
  .gallery-case-grid,
  .gallery-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-case-grid,
  .gallery-material-grid,
  .gallery-compare {
    grid-template-columns: 1fr;
  }

  .gallery-compare-item img,
  .gallery-single-media img,
  .gallery-material-media img {
    height: 240px;
  }
}

/* Shared footer refinement (2026-03-08) */
.site-footer {
  background: #0f1726;
  border-top: 1px solid rgba(226, 232, 240, 0.08);
}

.site-footer::before {
  display: none;
}

.site-footer .footer-inner {
  padding: 4.5rem 1.5rem 2.5rem;
  gap: 2.5rem;
}

.site-footer .footer-brand,
.site-footer .footer-contact,
.site-footer .footer-links {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-footer .footer-contact h2,
.site-footer .footer-links h2,
.site-footer .footer-contact h4,
.site-footer .footer-links h4 {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9e4ef;
}

.site-footer .footer-brand p,
.site-footer .footer-contact p,
.site-footer .footer-links ul a {
  color: #bfd0e2;
}

.site-footer .btn-cta {
  margin-top: 1.1rem;
  padding: 0.8rem 1.15rem;
  border-radius: 12px;
  box-shadow: none;
}

.site-footer .btn-cta:hover,
.site-footer .btn-cta:focus {
  transform: none;
  box-shadow: 0 12px 28px rgba(0, 91, 187, 0.2);
}

.site-footer .footer-links ul a {
  padding: 0.3rem 0;
}

.site-footer .footer-links ul a:hover,
.site-footer .footer-links ul a:focus {
  transform: none;
  color: #ffffff;
}

.site-footer .social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #c5d3e2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.site-footer .social a:hover,
.site-footer .social a:focus {
  transform: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer .footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.08);
  background: transparent;
}

.site-footer .footer-direct-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 1.35rem;
  width: min(100%, 640px);
}

.site-footer .footer-direct-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(191, 205, 221, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: #e5eef8;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer .footer-direct-link[href^="https://wa.me"] {
  background: linear-gradient(135deg, #0f66c8 0%, #0a56ad 100%);
  border-color: rgba(149, 198, 255, 0.58);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 64, 133, 0.35);
}

.site-footer .footer-direct-link:hover,
.site-footer .footer-direct-link:focus {
  color: #ffffff;
  border-color: rgba(191, 205, 221, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 8px 18px rgba(8, 24, 46, 0.28);
  transform: translateY(-1px);
}

.site-footer .footer-direct-link[href^="https://wa.me"]:hover,
.site-footer .footer-direct-link[href^="https://wa.me"]:focus {
  border-color: rgba(167, 210, 255, 0.78);
  background: linear-gradient(135deg, #126fda 0%, #0d60c2 100%);
  box-shadow: 0 12px 26px rgba(0, 64, 133, 0.45);
}

.site-footer .footer-direct-link:focus-visible {
  outline: 2px solid rgba(176, 212, 251, 0.9);
  outline-offset: 2px;
}

.site-footer .footer-direct-link:active {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-footer .footer-direct-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-direct-link:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-direct-actions {
    grid-template-columns: 1fr;
  }
}

.site-quick-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.4rem;
  z-index: 30;
}

.site-quick-contact__fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: calc(100vw - 8rem);
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: #0f66c8;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 20px 38px rgba(0, 53, 112, 0.28);
}

.site-quick-contact__fab:hover,
.site-quick-contact__fab:focus-visible {
  background: #005bbb;
  color: #ffffff;
}

.mobile-contact-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--mobile-contact-bar-height) + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(var(--mobile-contact-bar-height) + env(safe-area-inset-bottom));
  }

  .site-quick-contact {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow: visible;
    background: rgba(15, 23, 38, 0.96);
    border-top: 1px solid rgba(226, 232, 240, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .mobile-contact-bar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(191, 205, 221, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-contact-bar__link.is-primary {
    background: #0f66c8;
    border-color: transparent;
  }

  body.is-menu-open .mobile-contact-bar,
  body.is-menu-open .site-quick-contact,
  body.is-menu-open .back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.is-menu-open .mobile-contact-bar {
    transform: translateY(120%);
  }
}

@media (max-width: 640px) {
  .home-lead,
  .page-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .form-status {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .upload-progress__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .success-modal__card {
    border-radius: 18px;
    padding: 1.2rem 1rem;
  }

  .success-modal__actions {
    flex-direction: column;
  }

  .success-modal__actions .home-btn-secondary,
  .success-modal__actions .home-btn-primary {
    width: 100%;
  }
}

/* Premium hierarchy pass (2026-03-12) */
.nav-header-cta {
  min-height: 46px;
  padding: 0.72rem 1.22rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-section {
  position: relative;
}

.home-display {
  max-width: 12.8ch;
}

.home-lead,
.page-lead {
  max-width: 62ch;
}

.home-proof-strip {
  padding-block: 1.05rem 3rem;
  background: linear-gradient(180deg, #eff4fa 0%, #ffffff 90%);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-proof-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid #dce6f0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.home-proof-item strong {
  display: block;
  margin: 0;
  color: #10283f;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-proof-item span {
  display: block;
  margin-top: 0.3rem;
  color: #4c6074;
  line-height: 1.45;
  font-weight: 600;
  font-size: 0.92rem;
}

.home-service-note,
.service-directory-note,
.gallery-directory-note {
  margin-top: 0.75rem;
  color: #5f7286;
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.6;
}

.home-service-fit,
.service-directory-fit,
.gallery-outcome {
  margin: 0.1rem 0 0;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: #f2f7fd;
  border: 1px solid #dbe8f5;
  color: #3f556c;
  font-size: 0.86rem;
  line-height: 1.5;
}

.home-service-fit strong,
.service-directory-fit strong,
.gallery-outcome strong {
  color: var(--accent-gold-strong);
}

.home-trust-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.home-pillar-card {
  border-radius: 22px;
  padding: 1.5rem 1.3rem;
}

.home-pillar-card p {
  color: #4c6074;
}

.home-process-item {
  border-color: #dce7f3;
  background: #ffffff;
}

.home-process-item p {
  margin-top: 0.28rem;
  color: #55697e;
}

.home-case-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(62, 116, 189, 0.24) 0%, rgba(62, 116, 189, 0) 34%),
    linear-gradient(180deg, #0d1a2d 0%, #112843 100%);
}

.home-case-result {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(209, 225, 244, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.home-case-result strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #eff5fd;
}

.home-case-result span {
  display: block;
  margin-top: 0.28rem;
  color: #c8d8ea;
  line-height: 1.5;
}

.page-highlights-grid,
.service-intent-grid,
.contact-expectation-grid {
  display: grid;
  gap: 0.95rem;
}

.page-highlights-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-intent-grid,
.contact-expectation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-highlight-card,
.service-intent-card,
.contact-expectation-card,
.service-not-sure {
  border: 1px solid #dce6f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--home-shadow-sm);
}

.page-highlight-card,
.service-intent-card,
.contact-expectation-card {
  padding: 1.1rem 1.12rem;
}

.page-highlight-card strong,
.service-intent-card strong,
.contact-expectation-card strong {
  display: block;
  color: #10283f;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-highlight-card p,
.service-intent-card p,
.contact-expectation-card p {
  margin: 0.33rem 0 0;
  color: #50657a;
  line-height: 1.52;
}

.page-principle-card p {
  color: #50657a;
}

.service-not-sure {
  margin-top: 1.2rem;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.service-not-sure p {
  margin: 0;
  color: #516579;
  max-width: 66ch;
}

.gallery-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card--feature {
  border-color: #cfe0f1;
  box-shadow: var(--home-shadow);
}

.gallery-card--feature .gallery-card-body {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.gallery-card-hint {
  color: var(--accent-gold-strong);
}

.contact-form-header > p {
  max-width: 62ch;
}

.contact-reassurance {
  margin-top: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid #dce7f2;
  background: #f6f9fd;
  color: #4f6478;
  font-size: 0.9rem;
  line-height: 1.52;
}

.contact-rail .contact-card h3 {
  font-size: 1.08rem;
}

.contact-rail .contact-card p {
  margin-top: 0.35rem;
  color: #52677c;
}

.upload-progress.sr-only {
  display: none !important;
}

.site-quick-contact__fab,
.mobile-contact-bar__link.is-primary {
  background: linear-gradient(180deg, #0f66c8 0%, #0b58af 100%);
}

@media (max-width: 1080px) {
  .home-proof-grid,
  .page-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-intent-grid,
  .contact-expectation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-proof-strip {
    padding-block: 0.85rem 2.6rem;
  }

  .home-proof-grid,
  .page-highlights-grid {
    grid-template-columns: 1fr;
  }

  .service-not-sure {
    align-items: stretch;
  }

  .service-not-sure .home-btn-primary,
  .service-not-sure .home-btn-secondary {
    width: 100%;
  }

  .gallery-case-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage second-pass redesign (2026-03-12) */
#hero.home-hero-pass2 {
  padding-block: clamp(2.2rem, 5.2vw, 4.6rem);
  background:
    radial-gradient(circle at 88% 14%, rgba(55, 108, 178, 0.16) 0%, rgba(55, 108, 178, 0) 36%),
    linear-gradient(180deg, #ece9e1 0%, #e5e3dc 100%);
}

.home-hero-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(1.7rem, 4vw, 3.2rem);
  align-items: center;
}

#hero.home-hero-pass2 .home-display {
  max-width: none;
  font-size: clamp(2.35rem, 5.2vw, 4.8rem);
  letter-spacing: -0.048em;
}

#hero.home-hero-pass2 .home-lead {
  margin-top: 1rem;
  max-width: 56ch;
  color: #2f4a60;
}

.home-hero-meta {
  margin: 0.85rem 0 0;
  color: #4a6178;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-hero-image-wrap {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid #cad5df;
  background: #ffffff;
  box-shadow: 0 34px 68px rgba(15, 23, 42, 0.16);
}

.home-hero-image {
  display: block;
  width: 100%;
  min-height: 400px;
  height: clamp(400px, 62vh, 620px);
  object-fit: cover;
}

.home-proof-strip {
  padding-block: 0.45rem 2rem;
  background: linear-gradient(180deg, #e5e3dc 0%, #efeee9 100%);
}

.home-proof-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-proof-row {
  padding: 1rem 1rem 1.05rem;
  border-right: 1px solid var(--color-border);
}

.home-proof-row:last-child {
  border-right: none;
}

.home-proof-row strong {
  display: block;
  margin: 0;
  color: var(--color-text-primary);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-proof-row span {
  display: block;
  margin-top: 0.32rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.92rem;
}

.home-services-section {
  padding-block: clamp(3.4rem, 5.8vw, 4.8rem);
  background: linear-gradient(180deg, #efeee9 0%, #f6f5f1 100%);
}

.home-section-header--tight {
  margin-bottom: 1.35rem;
  align-items: end;
}

.home-section-header--tight .home-section-copy {
  max-width: 56ch;
}

.home-signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-signature-card {
  width: 100%;
  padding: 0;
  border: 1px solid #d0d9e3;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-signature-card:hover,
.home-signature-card:focus-visible {
  transform: translateY(-3px);
  border-color: #b7c8d9;
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
  outline: none;
}

.home-signature-card img {
  display: block;
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.home-signature-body {
  display: grid;
  gap: 0.48rem;
  padding: 1rem 1rem 1.1rem;
}

.home-signature-body h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #10283f;
}

.home-signature-body p {
  margin: 0;
  color: #465c71;
  line-height: 1.56;
}

.home-signature-card .home-card-link {
  margin-top: 0.2rem;
}

.home-case-section {
  padding-block: clamp(3.9rem, 6vw, 5.3rem);
  background:
    radial-gradient(circle at 85% 18%, rgba(61, 118, 196, 0.2) 0%, rgba(61, 118, 196, 0) 36%),
    linear-gradient(180deg, #101b2b 0%, #162940 100%);
}

.home-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  margin-bottom: 1.35rem;
}

.home-featured-head .home-section-copy {
  color: #becde0;
  max-width: 58ch;
}

.home-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 1rem;
}

.home-featured-main,
.home-featured-side figure {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(209, 225, 243, 0.2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.18);
}

.home-featured-main img,
.home-featured-side img {
  display: block;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

.home-featured-main img {
  height: 490px;
}

.home-featured-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}

.home-featured-side img {
  height: 228px;
}

.home-featured-main figcaption,
.home-featured-side figcaption {
  padding: 0.9rem 1rem 1rem;
  color: #d9e6f4;
  font-size: 0.92rem;
}

.home-featured-notes {
  border: 1px solid rgba(209, 225, 243, 0.2);
  border-radius: 20px;
  background: rgba(14, 29, 47, 0.58);
  padding: 1rem;
}

.home-featured-notes p {
  margin: 0;
  color: #c4d5e8;
  line-height: 1.58;
}

.home-featured-notes p + p {
  margin-top: 0.72rem;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(209, 225, 243, 0.18);
}

.home-featured-notes strong {
  color: #eff6ff;
}

.home-trust-section {
  padding-block: clamp(3.8rem, 6vw, 5.1rem);
  background: linear-gradient(180deg, #f1f3f5 0%, #e9edf1 100%);
}

.home-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.3rem, 3vw, 2rem);
  align-items: start;
}

.home-trust-copy .home-section-copy {
  max-width: 58ch;
}

.home-trust-points {
  list-style: none;
  margin: 1rem 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.home-trust-points li {
  position: relative;
  padding-left: 1rem;
  color: #344f66;
  line-height: 1.55;
}

.home-trust-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.home-method-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.home-method-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  border: 1px solid #d1dce6;
  border-radius: 18px;
  background: #ffffff;
  padding: 0.95rem 1rem 1.02rem;
}

.home-method-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.home-method-list h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: 1.08rem;
}

.home-method-list p {
  margin: 0.28rem 0 0;
  color: #4a6177;
  line-height: 1.53;
}

.home-cta-section {
  padding-block: clamp(3.6rem, 5.8vw, 5rem);
  background: linear-gradient(180deg, #e9edf1 0%, #dce4ea 100%);
}

.home-cta-panel--refined {
  border-radius: 30px;
  background: linear-gradient(135deg, #102b47 0%, #183f66 100%);
  box-shadow: 0 30px 64px rgba(12, 25, 42, 0.24);
}

.home-cta-panel--refined::after {
  width: 260px;
  height: 260px;
  inset: auto auto -120px -80px;
}

.home-cta-panel--refined h2 {
  max-width: 14ch;
}

@media (max-width: 1080px) {
  .home-hero-frame,
  .home-trust-layout,
  .home-featured-layout {
    grid-template-columns: 1fr;
  }

  .home-signature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-row:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  #hero.home-hero-pass2 {
    padding-block: 2rem 2.45rem;
  }

  .home-hero-image {
    min-height: 320px;
    height: 54vh;
  }

  .home-proof-inline {
    grid-template-columns: 1fr;
  }

  .home-proof-row {
    border-right: none;
    border-top: 1px solid #cbd5df;
  }

  .home-proof-row:first-child {
    border-top: none;
  }

  .home-signature-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-main img {
    height: 330px;
  }

  .home-featured-side img {
    height: 220px;
  }
}

/* About page premium pass (2026-03-12) */
.about-page .about-hero-section {
  padding-block: clamp(2.7rem, 5.6vw, 4.8rem);
  background:
    radial-gradient(circle at 85% 12%, rgba(86, 130, 187, 0.2) 0%, rgba(86, 130, 187, 0) 36%),
    linear-gradient(180deg, #ece9e1 0%, #e5e3dc 100%);
}

.about-page .about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

.about-page .about-hero-copy .page-title {
  max-width: 11.5ch;
}

.about-page .about-hero-copy .page-lead {
  color: #334f66;
}

.about-page .about-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid #cad5df;
}

.about-page .about-hero-meta > div {
  padding-right: 0.4rem;
}

.about-page .about-hero-meta strong {
  display: block;
  color: #223c56;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-page .about-hero-meta span {
  display: block;
  margin-top: 0.25rem;
  color: #3e576d;
  line-height: 1.45;
  font-size: 0.9rem;
  font-weight: 600;
}

.about-page .about-hero-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #cad5df;
  background: #ffffff;
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.15);
}

.about-page .about-hero-figure img {
  display: block;
  width: 100%;
  height: clamp(340px, 52vh, 510px);
  object-fit: cover;
}

.about-page .about-profile-section {
  background: linear-gradient(180deg, #efeee9 0%, #f6f5f1 100%);
}

.about-page .about-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.2rem;
  align-items: start;
}

.about-page .about-profile-copy .home-section-title {
  max-width: 14ch;
}

.about-page .about-story-flow {
  margin-top: 1.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid #d0d9e2;
  display: grid;
  gap: 0.75rem;
}

.about-page .about-story-flow p {
  margin: 0;
  color: #42596f;
  line-height: 1.72;
}

.about-page .about-profile-aside {
  padding: 1.2rem 1.25rem;
  border: 1px solid #cfd9e3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.about-page .about-profile-aside h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: 1.18rem;
}

.about-page .about-profile-list {
  margin: 0.85rem 0 0;
  padding: 0;
}

.about-page .about-profile-list > div {
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid #e2e9f0;
}

.about-page .about-profile-list > div:first-child {
  border-top: none;
  padding-top: 0.2rem;
}

.about-page .about-profile-list dt {
  color: #28435d;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.about-page .about-profile-list dd {
  margin: 0.34rem 0 0;
  color: #4a6278;
  line-height: 1.56;
}

.about-page .about-strength-note {
  margin-top: 0.8rem;
  padding-top: 0.85rem;
  border-top: 1px solid #d9e2ec;
}

.about-page .about-strength-note strong {
  display: block;
  color: #10283f;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-page .about-strength-note ul {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.about-page .about-strength-note li {
  position: relative;
  padding-left: 0.95rem;
  color: #4a6278;
  line-height: 1.52;
}

.about-page .about-strength-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.about-page .about-standards-section {
  background:
    radial-gradient(circle at 82% 14%, rgba(61, 117, 196, 0.2) 0%, rgba(61, 117, 196, 0) 34%),
    linear-gradient(180deg, #101c2d 0%, #162c47 100%);
}

.about-page .about-standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.1rem;
  align-items: start;
}

.about-page .about-standards-copy .page-eyebrow {
  color: rgba(255, 229, 188, 0.88);
}

.about-page .about-standards-copy .home-section-title {
  color: #ffffff;
  max-width: 14ch;
}

.about-page .about-standards-copy .page-lead {
  color: #c3d2e3;
}

.about-page .about-principles-list {
  margin-top: 1.1rem;
  border-top: 1px solid rgba(206, 221, 238, 0.18);
}

.about-page .about-principles-list article {
  padding: 0.95rem 0 0.98rem;
  border-bottom: 1px solid rgba(206, 221, 238, 0.18);
}

.about-page .about-principles-list h3 {
  margin: 0;
  color: #f4f8fe;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
}

.about-page .about-principles-list p {
  margin: 0.35rem 0 0;
  color: #bed0e3;
  line-height: 1.58;
}

.about-page .about-process-panel {
  border: 1px solid rgba(206, 221, 238, 0.24);
  border-radius: 24px;
  background: rgba(15, 33, 53, 0.56);
  padding: 1.2rem 1.2rem 1.25rem;
}

.about-page .about-process-panel h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
}

.about-page .about-process-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.about-page .about-process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(206, 221, 238, 0.22);
}

.about-page .about-process-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.about-page .about-process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  background: rgba(200, 136, 26, 0.34);
  color: #fff4de;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-page .about-process-list strong {
  display: block;
  color: #f3f8ff;
  font-size: 0.98rem;
}

.about-page .about-process-list p {
  margin: 0.3rem 0 0;
  color: #b9cce0;
  line-height: 1.54;
}

.about-page .about-cta-section {
  background: linear-gradient(180deg, #e9edf1 0%, #dce4ea 100%);
}

.about-page .about-cta-section .page-cta-panel {
  background: linear-gradient(135deg, #102c49 0%, #194268 100%);
  box-shadow: 0 30px 64px rgba(12, 25, 42, 0.24);
}

@media (max-width: 1080px) {
  .about-page .about-hero-grid,
  .about-page .about-profile-grid,
  .about-page .about-standards-grid {
    grid-template-columns: 1fr;
  }

  .about-page .about-hero-meta {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (max-width: 768px) {
  .about-page .about-hero-section,
  .about-page .about-profile-section,
  .about-page .about-standards-section,
  .about-page .about-cta-section {
    padding-block: 3.2rem;
  }

  .about-page .about-hero-figure img {
    height: 320px;
  }
}

/* Services page premium pass (2026-03-12) */
.services-page .services-hero-section {
  padding-block: clamp(2.7rem, 5.6vw, 4.8rem);
  background:
    radial-gradient(circle at 82% 14%, rgba(79, 126, 188, 0.18) 0%, rgba(79, 126, 188, 0) 34%),
    linear-gradient(180deg, #ece9e1 0%, #e5e3dc 100%);
}

.services-page .services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

.services-page .services-hero-copy .page-title {
  max-width: 11.8ch;
}

.services-page .services-hero-copy .page-lead {
  color: #355067;
}

.services-page .services-hero-meta {
  margin-top: 1.15rem;
  padding-top: 0.8rem;
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid #cbd6df;
}

.services-page .services-hero-meta span {
  color: #3f5870;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.services-page .services-hero-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #cad5df;
  background: #ffffff;
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.14);
}

.services-page .services-hero-figure img {
  display: block;
  width: 100%;
  height: clamp(340px, 52vh, 510px);
  object-fit: cover;
}

.services-page .services-directory-section {
  background: linear-gradient(180deg, #efeee9 0%, #f6f5f1 100%);
}

.services-page .services-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.3rem;
  margin-bottom: 1.3rem;
}

.services-page .services-head .page-lead {
  max-width: 52ch;
}

.services-page .services-intent-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #ced9e3;
  border-bottom: 1px solid #ced9e3;
  margin-bottom: 1.65rem;
}

.services-page .services-intent-inline > div {
  padding: 0.85rem 0.95rem 0.92rem;
  border-right: 1px solid #ced9e3;
}

.services-page .services-intent-inline > div:last-child {
  border-right: none;
}

.services-page .services-intent-inline strong {
  display: block;
  color: #223b55;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-page .services-intent-inline span {
  display: block;
  margin-top: 0.3rem;
  color: #435c72;
  line-height: 1.48;
}

.services-page .services-group {
  margin-top: 1.9rem;
}

.services-page .services-group-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.services-page .services-group-head h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: clamp(1.28rem, 2.4vw, 1.66rem);
}

.services-page .services-group-head p {
  margin: 0;
  color: #4d6479;
  line-height: 1.55;
  max-width: 56ch;
}

.services-page .services-feature-list {
  display: grid;
  gap: 0.95rem;
}

.services-page .service-feature-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.08fr);
  border: 1px solid #cfdae4;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.services-page .service-feature-row:hover,
.services-page .service-feature-row:focus-visible {
  border-color: #b4c7d9;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.services-page .service-feature-row--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
}

.services-page .service-feature-row--reverse .service-feature-media {
  order: 2;
}

.services-page .service-feature-row--reverse .service-feature-body {
  order: 1;
}

.services-page .service-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.services-page .service-feature-body {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.05rem, 2.4vw, 1.4rem);
  align-content: start;
}

.services-page .service-feature-body h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: clamp(1.28rem, 2.3vw, 1.7rem);
  line-height: 1.16;
}

.services-page .service-feature-body p {
  margin: 0;
  color: #455c72;
  line-height: 1.6;
}

.services-page .service-feature-body .service-directory-fit {
  background: #f3f8fd;
  border-color: #d5e4f3;
  font-size: 0.9rem;
}

.services-page .services-group--compact {
  margin-top: 2.05rem;
}

.services-page .services-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.services-page .service-compact-card {
  border-radius: 20px;
  border-color: #d4dfe9;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.services-page .service-compact-card .service-directory-media img {
  height: 190px;
}

.services-page .service-compact-card .service-directory-body {
  gap: 0.58rem;
  padding: 1rem;
}

.services-page .service-compact-card .service-directory-body h3 {
  font-size: 1.08rem;
  line-height: 1.24;
}

.services-page .service-compact-card .service-directory-body p {
  font-size: 0.9rem;
  line-height: 1.54;
}

.services-page .services-brief-strip {
  margin-top: 1.9rem;
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #ced9e3;
  border-bottom: 1px solid #ced9e3;
}

.services-page .services-brief-strip > div {
  padding: 0.25rem 0.95rem 0.2rem;
  border-right: 1px solid #ced9e3;
}

.services-page .services-brief-strip > div:last-child {
  border-right: none;
}

.services-page .services-brief-strip strong {
  display: block;
  color: #223b55;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-page .services-brief-strip span {
  display: block;
  margin-top: 0.34rem;
  color: #445d73;
  line-height: 1.5;
}

.services-page .service-not-sure {
  margin-top: 1.35rem;
  border-radius: 18px;
  border: 1px solid #cfdbe6;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.services-page .services-cta-section {
  background: linear-gradient(180deg, #e9edf1 0%, #dce4ea 100%);
}

.services-page .services-cta-section .page-cta-panel {
  background: linear-gradient(135deg, #102c49 0%, #194268 100%);
  box-shadow: 0 30px 64px rgba(12, 25, 42, 0.24);
}

@media (max-width: 1080px) {
  .services-page .services-hero-grid {
    grid-template-columns: 1fr;
  }

  .services-page .services-head,
  .services-page .services-group-head {
    flex-direction: column;
    align-items: start;
  }

  .services-page .services-intent-inline,
  .services-page .services-brief-strip {
    grid-template-columns: 1fr;
  }

  .services-page .services-intent-inline > div,
  .services-page .services-brief-strip > div {
    border-right: none;
    border-top: 1px solid #ced9e3;
  }

  .services-page .services-intent-inline > div:first-child,
  .services-page .services-brief-strip > div:first-child {
    border-top: none;
  }

  .services-page .service-feature-row,
  .services-page .service-feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .services-page .service-feature-row--reverse .service-feature-media,
  .services-page .service-feature-row--reverse .service-feature-body {
    order: initial;
  }

  .services-page .services-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-page .services-hero-section,
  .services-page .services-directory-section,
  .services-page .services-cta-section {
    padding-block: 3.1rem;
  }

  .services-page .services-hero-figure img {
    height: 320px;
  }

  .services-page .service-feature-media img {
    min-height: 230px;
  }

  .services-page .services-compact-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery page premium pass (2026-03-12) */
.gallery-page .gallery-hero-section {
  padding-block: clamp(2.7rem, 5.6vw, 4.8rem);
  background:
    radial-gradient(circle at 82% 14%, rgba(79, 126, 188, 0.16) 0%, rgba(79, 126, 188, 0) 34%),
    linear-gradient(180deg, #ece9e1 0%, #e5e3dc 100%);
}

.gallery-page .gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

.gallery-page .gallery-hero-copy .page-title {
  max-width: 11.7ch;
}

.gallery-page .gallery-hero-copy .page-lead {
  color: #355067;
}

.gallery-page .gallery-hero-facts {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #cbd6df;
  display: grid;
  gap: 0.36rem;
}

.gallery-page .gallery-hero-facts span {
  color: #3f5870;
  line-height: 1.5;
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-page .gallery-hero-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #cad5df;
  background: #ffffff;
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.14);
}

.gallery-page .gallery-hero-figure img {
  display: block;
  width: 100%;
  height: clamp(340px, 52vh, 510px);
  object-fit: cover;
}

.gallery-page .gallery-inspect-strip {
  margin: 0.8rem 0 0;
  color: #476179;
  line-height: 1.55;
  font-size: 0.92rem;
}

.gallery-page .gallery-inspect-strip strong {
  color: #173552;
}

.gallery-page .gallery-archive-section {
  background: linear-gradient(180deg, #efeee9 0%, #f6f5f1 100%);
}

.gallery-page .gallery-archive-header .page-lead {
  max-width: 54ch;
}

.gallery-page .gallery-directory-note {
  margin-top: 0.35rem;
}

.gallery-page .gallery-featured-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
}

.gallery-page .gallery-card {
  border-color: #d1dce6;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.gallery-page .gallery-card--hero {
  border-color: #c6d8ea;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.gallery-page .gallery-card--hero .gallery-compare-item img {
  height: 320px;
}

.gallery-page .gallery-card--hero .gallery-card-body h3 {
  font-size: clamp(1.36rem, 2.4vw, 1.88rem);
  line-height: 1.16;
}

.gallery-page .gallery-card--side .gallery-compare-item img {
  height: 250px;
}

.gallery-page .gallery-card--side .gallery-card-body h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.52rem);
}

.gallery-page .gallery-card-meta span {
  background: #f3f8fd;
  color: #49647d;
}

.gallery-page .gallery-support-head {
  margin: 1.35rem 0 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.gallery-page .gallery-support-head h3 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: clamp(1.24rem, 2.3vw, 1.62rem);
}

.gallery-page .gallery-support-head p {
  margin: 0;
  max-width: 56ch;
  color: #4d6479;
  line-height: 1.55;
}

.gallery-page .gallery-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.gallery-page .gallery-card--wide {
  grid-column: span 2;
}

.gallery-page .gallery-card--wide .gallery-compare-item img {
  height: 280px;
}

.gallery-page .gallery-materials-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(67, 121, 194, 0.22) 0%, rgba(67, 121, 194, 0) 36%),
    linear-gradient(180deg, #101c2d 0%, #162c47 100%);
}

.gallery-page .gallery-materials-header .page-eyebrow {
  color: rgba(255, 229, 188, 0.88);
}

.gallery-page .gallery-materials-header .home-section-title {
  color: #ffffff;
  max-width: 14ch;
}

.gallery-page .gallery-materials-header .page-lead {
  color: #c3d2e3;
  max-width: 56ch;
}

.gallery-page .gallery-material-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 0.95rem;
}

.gallery-page .gallery-material-card {
  border-color: rgba(205, 221, 238, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.gallery-page .gallery-material-card h3 {
  color: #f3f8ff;
}

.gallery-page .gallery-materials-section .gallery-material-body p,
.gallery-page .gallery-materials-section .gallery-card-notes li {
  color: #cfe0f1;
}

.gallery-page .gallery-archive-section .gallery-card-notes li {
  color: #445d73;
}

.gallery-page .gallery-material-body .gallery-card-tag {
  color: #f0c887;
}

.gallery-page .gallery-material-body .gallery-card-notes li::before {
  background: #d5a14b;
}

.gallery-page .gallery-material-card--hero .gallery-material-media img {
  height: 360px;
}

.gallery-page .gallery-material-stack {
  display: grid;
  gap: 0.95rem;
}

.gallery-page .gallery-material-stack .gallery-material-media img {
  height: 230px;
}

.gallery-page .gallery-material-actions .home-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8f2fd;
  border-color: rgba(205, 221, 238, 0.3);
}

.gallery-page .gallery-material-actions .home-btn-secondary:hover,
.gallery-page .gallery-material-actions .home-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(205, 221, 238, 0.5);
  color: #ffffff;
}

.gallery-page .gallery-card-hint {
  color: var(--accent-gold-strong);
}

.gallery-page .gallery-cta-section {
  background: linear-gradient(180deg, #e9edf1 0%, #dce4ea 100%);
}

.gallery-page .gallery-cta-section .page-cta-panel {
  background: linear-gradient(135deg, #102c49 0%, #194268 100%);
  box-shadow: 0 30px 64px rgba(12, 25, 42, 0.24);
}

@media (max-width: 1080px) {
  .gallery-page .gallery-hero-grid,
  .gallery-page .gallery-featured-stage,
  .gallery-page .gallery-material-layout {
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-support-head {
    flex-direction: column;
    align-items: start;
  }

  .gallery-page .gallery-card--wide {
    grid-column: auto;
  }

  .gallery-page .gallery-support-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-material-card--hero .gallery-material-media img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .gallery-page .gallery-hero-section,
  .gallery-page .gallery-archive-section,
  .gallery-page .gallery-materials-section,
  .gallery-page .gallery-cta-section {
    padding-block: 3.1rem;
  }

  .gallery-page .gallery-hero-figure img,
  .gallery-page .gallery-card--hero .gallery-compare-item img,
  .gallery-page .gallery-card--side .gallery-compare-item img,
  .gallery-page .gallery-card--wide .gallery-compare-item img,
  .gallery-page .gallery-material-card--hero .gallery-material-media img,
  .gallery-page .gallery-material-stack .gallery-material-media img {
    height: 240px;
  }
}

/* Contact page premium pass (2026-03-12) */
.contact-page .contact-hero-section {
  padding-block: clamp(2.7rem, 5.6vw, 4.8rem);
  background:
    radial-gradient(circle at 82% 14%, rgba(79, 126, 188, 0.18) 0%, rgba(79, 126, 188, 0) 34%),
    linear-gradient(180deg, #ece9e1 0%, #e5e3dc 100%);
}

.contact-page .contact-hero-grid {
  align-items: center;
}

.contact-page .page-lead {
  color: #355067;
}

.contact-page .contact-hero-facts {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #cbd6df;
  display: grid;
  gap: 0.36rem;
}

.contact-page .contact-hero-facts span {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: #3f5870;
  line-height: 1.5;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-page .page-figure {
  border-color: #cad5df;
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.14);
}

.contact-page .page-figure img {
  height: clamp(340px, 52vh, 510px);
}

.contact-page .page-note-card {
  border-color: #cad5df;
  background: rgba(255, 255, 255, 0.98);
}

.contact-page .contact-options-section {
  background: linear-gradient(180deg, #efeee9 0%, #f6f5f1 100%);
}

.contact-page .contact-options-header .page-lead {
  max-width: 52ch;
}

.contact-page .contact-layout--premium {
  align-items: start;
  gap: 1rem;
}

.contact-page .contact-rail--channels {
  gap: 0;
  border: 1px solid #cfdae4;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.contact-page .contact-rail--channels .contact-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 1.2rem 1.15rem 1.15rem;
  border-bottom: 1px solid #e2e9f0;
}

.contact-page .contact-rail--channels .contact-card:last-child {
  border-bottom: 0;
}

.contact-page .contact-card--whatsapp {
  background: linear-gradient(180deg, #f2fbf6 0%, #eaf7f0 100%);
}

.contact-page .contact-card--whatsapp .contact-card-kicker {
  color: #0b7a45;
}

.contact-page .contact-rail--channels .contact-card h3 {
  font-size: 1.06rem;
}

.contact-page .contact-rail--channels .contact-card p {
  color: #52677c;
}

.contact-page .contact-rail--channels .contact-card ul {
  margin-top: 0.72rem;
  gap: 0.42rem;
}

.contact-page .contact-rail--channels .contact-card li {
  color: #53687d;
}

.contact-page .contact-rail--channels .contact-card-action {
  margin-top: 0.8rem;
}

.contact-page .contact-rail--channels .contact-card-action .home-btn-primary,
.contact-page .contact-rail--channels .contact-card-action .home-btn-secondary {
  width: auto;
  min-height: 44px;
  padding-inline: 1rem;
}

.contact-page .contact-whatsapp-cta {
  border-color: #108746;
  background: linear-gradient(180deg, #18a957 0%, #0d8f49 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 111, 58, 0.2);
}

.contact-page .contact-whatsapp-cta:hover,
.contact-page .contact-whatsapp-cta:focus-visible {
  border-color: #0a7a3d;
  background: linear-gradient(180deg, #1bb25d 0%, #0f974d 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(13, 111, 58, 0.24);
}

.contact-page .contact-form-shell--premium {
  display: grid;
  gap: 0.35rem;
  border-color: var(--color-border);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-raised) 100%);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
  padding: clamp(1.35rem, 2.8vw, 2rem);
}

.contact-page .contact-form-header--premium {
  margin-bottom: 1.2rem;
}

.contact-page .contact-form-header--premium h2 {
  margin: 0;
  font-size: clamp(1.72rem, 2.8vw, 2.35rem);
}

.contact-page .contact-form-header--premium > p {
  margin: 0;
  max-width: 58ch;
}

.contact-page .contact-method-intro {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.1rem;
}

.contact-page .contact-method-intro strong {
  color: #17395a;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.contact-page .contact-method-intro p {
  margin: 0;
  color: #5b7086;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-page .contact-meta-grid {
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.contact-page .contact-meta-grid > div {
  border-color: var(--color-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-raised) 100%);
}

.contact-page .contact-reassurance {
  margin-top: 0.9rem;
  border-color: var(--color-border);
  background: #f7fafc;
}

.contact-proof-note {
  margin-top: 0.75rem;
}

.contact-page .contact-request-form {
  margin-top: 0;
}

.contact-page .contact-request-form .grid {
  align-items: start;
}

.contact-page .contact-request-form .grid > .form-group {
  min-width: 0;
  margin-bottom: 0;
}

.contact-page .contact-request-form .form-group {
  animation: none;
  opacity: 1;
  transform: none;
  margin-top: 0;
}

.contact-page .contact-request-form .form-label {
  margin-bottom: 0.44rem;
  color: #25415d;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.contact-page .contact-request-form .form-input,
.contact-page .contact-request-form select.form-input,
.contact-page .contact-request-form textarea.form-input,
.contact-page .contact-request-form .form-input-file {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid #d3deea;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.contact-page .contact-request-form .form-input:focus,
.contact-page .contact-request-form select.form-input:focus,
.contact-page .contact-request-form textarea.form-input:focus,
.contact-page .contact-request-form .form-input-file:focus {
  border-color: #8db8e2;
  box-shadow: 0 0 0 4px rgba(15, 93, 168, 0.12);
}

.contact-page .contact-request-form textarea.form-input {
  height: auto;
  min-height: 154px;
}

.contact-page .form-group--upload .upload-field-shell {
  padding: 0.52rem;
  border: 1px dashed #b7cde2;
  border-radius: 16px;
  background: #f6f9fd;
}

.contact-page .form-group--upload .form-input-file {
  border-style: solid;
  background: #ffffff;
}

.contact-page .upload-help-text {
  color: #4a5968 !important;
}

.contact-page .upload-progress {
  margin-top: 0.7rem;
  border-radius: 14px;
  border-color: #d4e0ec;
  background: #f4f8fc;
}

.contact-page .upload-progress__track {
  background: #dce8f3;
}

.contact-page .form-submit-section {
  border-top: 1px solid #dce6f1;
  margin-top: 0.25rem;
  padding-top: 1.1rem !important;
}

.contact-page .form-submit-section .btn-cta {
  min-height: 54px;
}

.contact-page .contact-expectations-section {
  padding-block: 2rem;
  background: linear-gradient(180deg, #f2f4f6 0%, #e8edf2 100%);
}

.contact-page .contact-expectation-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.contact-page .contact-expectation-intro-card,
.contact-page .contact-expectation-chip {
  padding: 1rem 1.05rem;
  border: 1px solid #cfdbe6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.contact-page .contact-expectation-intro-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.contact-page .contact-expectation-intro-card .page-eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
}

.contact-page .contact-expectation-intro-card h2 {
  margin: 0;
  color: #17395a;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.contact-page .contact-expectation-chip strong {
  display: block;
  margin: 0;
  color: #17395a;
  font-size: 0.95rem;
}

.contact-page .contact-expectation-chip p {
  margin: 0.35rem 0 0;
  color: #5b7086;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-page .contact-map-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(67, 121, 194, 0.2) 0%, rgba(67, 121, 194, 0) 36%),
    linear-gradient(180deg, #101c2d 0%, #162c47 100%);
}

.contact-page .contact-map-header .page-eyebrow {
  color: rgba(255, 229, 188, 0.88);
}

.contact-page .contact-map-header .home-section-title {
  color: #ffffff;
  max-width: 14ch;
}

.contact-page .contact-map-header .page-lead {
  color: #c3d2e3;
  max-width: 56ch;
}

.contact-page .map-panel--premium {
  border-color: rgba(205, 221, 238, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.contact-page .map-panel--premium .map-panel-copy h3,
.contact-page .map-panel--premium .map-panel-copy p {
  color: #d1dfec;
}

.contact-page .map-panel--premium .home-btn-primary {
  background: #0f66c8;
}

.contact-page .map-panel--premium .home-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8f2fd;
  border-color: rgba(205, 221, 238, 0.3);
}

.contact-page .map-panel--premium .home-btn-secondary:hover,
.contact-page .map-panel--premium .home-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(205, 221, 238, 0.5);
  color: #ffffff;
}

@media (max-width: 1080px) {
  .contact-page .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-layout--premium {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-form-shell--premium {
    order: -1;
  }

  .contact-page .contact-expectation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-expectation-intro-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .contact-page .contact-hero-section,
  .contact-page .contact-options-section,
  .contact-page .contact-expectations-section,
  .contact-page .contact-map-section {
    padding-block: 3.1rem;
  }

  .contact-page .page-figure img {
    height: 300px;
  }

  .contact-page .contact-rail--channels .contact-card-action .home-btn-primary,
  .contact-page .contact-rail--channels .contact-card-action .home-btn-secondary {
    width: 100%;
  }

  .contact-page .contact-expectations-section {
    padding-block: 1.5rem 2.2rem;
  }

  .contact-page .contact-expectation-strip {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

/* Shared chrome premium pass (2026-03-12) */
header.surface {
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid rgba(183, 201, 221, 0.45);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

header.surface.solid {
  background: rgba(248, 251, 255, 0.97);
  border-bottom-color: rgba(183, 201, 221, 0.58);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.nav-container {
  width: min(1180px, calc(100% - 1.75rem));
  padding: 0.62rem 0.2rem;
  gap: 0.8rem;
}

.site-logo-header {
  width: 6.9rem;
}

.nav-menu {
  gap: 0.25rem;
}

.nav-menu a::before {
  display: none;
}

.nav-menu a {
  min-height: 40px;
  padding: 0.52rem 0.78rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #243b52;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow: none;
  transform: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #0f5da8;
  border-color: rgba(141, 184, 226, 0.46);
  background: rgba(15, 93, 168, 0.08);
  box-shadow: none;
  transform: none;
}

.nav-menu a.active,
.nav-menu a[aria-current="page"] {
  color: #0e4f91;
  border-color: rgba(126, 170, 214, 0.6);
  background: linear-gradient(180deg, rgba(15, 93, 168, 0.12) 0%, rgba(15, 93, 168, 0.06) 100%);
  font-weight: 700;
}

.nav-header-cta {
  min-height: 42px;
  padding: 0.58rem 0.98rem;
  border-radius: 11px;
  border: 1px solid #0f5da8;
  background: linear-gradient(180deg, #0f5da8 0%, #0b4e8f 100%);
  box-shadow: 0 10px 24px rgba(12, 55, 104, 0.22);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.nav-header-cta:hover,
.nav-header-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(12, 55, 104, 0.28);
  filter: none;
}

.hamburger {
  background: rgba(15, 93, 168, 0.08);
  color: #0e4f91;
  border: 1px solid rgba(141, 184, 226, 0.46);
  border-radius: 12px;
}

.hamburger:hover {
  background: rgba(15, 93, 168, 0.14);
  transform: none;
}

@media (max-width: 768px) {
  .nav-container {
    width: min(1180px, calc(100% - 1.1rem));
    padding: 0.5rem 0.05rem;
  }

  .nav-menu {
    top: calc(100% + 0.6rem);
    left: 0.4rem;
    right: 0.4rem;
    padding: 0.65rem;
    border-radius: 16px;
    border: 1px solid #cfdbe7;
    background: rgba(247, 250, 253, 0.98);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
  }

  .nav-menu a {
    text-align: left;
    justify-content: flex-start;
    min-height: 44px;
    margin: 0;
    padding: 0.72rem 0.84rem;
    font-size: 0.95rem;
  }

  .nav-menu .nav-menu-quote {
    margin-top: 0.35rem;
    border-radius: 12px;
    border-color: #0f5da8;
    box-shadow: 0 8px 18px rgba(12, 55, 104, 0.2);
  }
}

/* Hero image placeholders (visible while loading) */
.home-hero-image,
.about-hero-figure img,
.services-hero-figure img,
.gallery-hero-figure img,
.page-figure img {
  background-color: #dfe8f1;
}

/* Hide footer direct-actions on mobile (mobile contact bar provides the same CTAs) */
@media (max-width: 768px) {
  .site-footer .footer-direct-actions {
    display: none;
  }
}

/* Testimonial slider dot indicators */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #b0bec5;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.testimonial-dot.is-active {
  background: var(--accent-gold-strong, #C8881A);
  border-color: var(--accent-gold-strong, #C8881A);
}

/* ── Utility classes (Tailwind CDN replacement) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.relative { position: relative; }
.hidden { display: none; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-sm { max-width: 24rem; }
.max-h-\[88vh\] { max-height: 88vh; }
.mx-auto { margin-left: auto; margin-right: auto; }

.m-4 { margin: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

.pt-4 { padding-top: 1rem; }
.p-0 { padding: 0; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pl-6 { padding-left: 1.5rem; }

.font-sans { font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-opacity-75 { background-color: rgba(0, 0, 0, 0.75); }
.z-50 { z-index: 50; }
.rounded-2xl { border-radius: 1rem; }
.overflow-y-auto { overflow-y: auto; }
.transform { transform: translateZ(0); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; pointer-events: none; }
.visible { visibility: visible; pointer-events: auto; }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.transition-all { transition-property: all; }
.transition-transform { transition-property: transform; }
.duration-300 { transition-duration: 300ms; }

.hover\:text-white:hover { color: #ffffff; }

/* Tailwind JIT bracket-notation classes */
.bg-\[var\(--background\)\] { background-color: var(--background); }
.bg-\[var\(--footer-bg-1\)\] { background-color: var(--footer-bg-1); }
.bg-\[var\(--footer-bg-2\)\] { background-color: var(--footer-bg-2); }
.bg-\[\#0f1720\] { background-color: #0f1720; }
.text-\[var\(--primary\)\] { color: var(--primary); }
.text-\[var\(--accent\)\] { color: var(--accent-gold-strong); }

/* Responsive utilities */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:w-auto { width: auto; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
}

.site-footer {
  background: linear-gradient(180deg, #0d1828 0%, #0b1524 100%);
  border-top: 1px solid rgba(171, 192, 214, 0.2);
}

.site-footer .footer-inner {
  width: min(1180px, calc(100% - 2rem));
  padding: 3.75rem 0 2.15rem;
  gap: 2rem;
}

.site-footer .footer-brand p {
  max-width: 34ch;
  margin-top: 0.85rem;
  color: #b8cade;
}

.site-footer .footer-contact h2,
.site-footer .footer-links h2,
.site-footer .footer-contact h4,
.site-footer .footer-links h4 {
  margin: 0 0 0.72rem;
  color: #dbe8f6;
}

.site-footer .footer-contact p {
  margin-top: 0.28rem;
  color: #b8cade;
}

.site-footer .footer-links ul {
  gap: 0.22rem;
}

.site-footer .footer-links ul a {
  color: #c6d7ea;
}

.site-footer .footer-links ul a:hover,
.site-footer .footer-links ul a:focus {
  color: #ffffff;
}

.site-footer .footer-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 1.05rem;
  width: auto;
}

.site-footer .footer-direct-link {
  min-height: 38px;
  width: auto;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 201, 222, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: #d9e7f5;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: none;
}

.site-footer .footer-direct-link[href*="#contact-form"] {
  border-color: rgba(152, 189, 227, 0.65);
  color: #e7f2ff;
}

.site-footer .footer-direct-link[href^="https://wa.me"] {
  border-color: rgba(152, 189, 227, 0.72);
  background: linear-gradient(135deg, #0f5da8 0%, #0b4f91 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(12, 55, 104, 0.3);
}

.site-footer .footer-direct-link:hover,
.site-footer .footer-direct-link:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(191, 205, 221, 0.55);
  transform: none;
  box-shadow: none;
}

.site-footer .footer-direct-link[href^="https://wa.me"]:hover,
.site-footer .footer-direct-link[href^="https://wa.me"]:focus {
  background: linear-gradient(135deg, #1267bc 0%, #0d579e 100%);
  border-color: rgba(171, 205, 240, 0.9);
  box-shadow: 0 12px 22px rgba(12, 55, 104, 0.36);
}

.site-footer .footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(171, 192, 214, 0.2);
}

.site-footer .footer-bottom .container {
  width: min(1040px, calc(100% - 2rem));
}

.site-footer .footer-bottom__copy {
  color: rgba(205, 218, 233, 0.76);
  line-height: 1.45;
}

.site-footer .footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.site-footer .footer-bottom__links a,
.site-footer .footer-bottom__links a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.38rem 0.82rem;
  border: 1px solid rgba(180, 198, 217, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(223, 232, 243, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease-default),
    background-color var(--duration-fast) var(--ease-default),
    border-color var(--duration-fast) var(--ease-default),
    box-shadow var(--duration-fast) var(--ease-default),
    transform var(--duration-fast) var(--ease-default);
}

.site-footer .footer-bottom__links a:hover,
.site-footer .footer-bottom__links a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 164, 76, 0.62);
  box-shadow: 0 0 0 3px rgba(214, 164, 76, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.site-footer .footer-bottom__links a:active {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-footer .footer-direct-actions {
    gap: 0.45rem;
  }

  .site-footer .footer-direct-link {
    flex: 1 1 calc(50% - 0.3rem);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-inner {
    width: min(1180px, calc(100% - 1.25rem));
    padding: 3rem 0 1.9rem;
    gap: 1.4rem;
  }

  .site-footer .footer-direct-link {
    flex: 1 1 100%;
  }
}

/* UX cleanup pass (non-functional, visual/performance/accessibility only):
   tokens consolidated in top :root */

body {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef4f9 55%, #e9eff5 100%);
  color: var(--ui-ink);
}

.site-section,
.page-section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.home-shell,
.page-shell {
  width: min(1140px, calc(100% - 2rem));
}

.home-section-title,
.page-title {
  color: var(--ui-ink);
  letter-spacing: -0.02em;
}

.home-lead,
.page-lead {
  max-width: 62ch;
  color: var(--ui-ink-soft);
  line-height: 1.72;
}

.home-signature-card,
.services-page .service-feature-row,
.services-page .service-compact-card,
.gallery-page .gallery-card,
.contact-card,
.about-page .about-profile-aside,
.about-page .about-process-panel,
.contact-page .contact-form-shell--premium,
.contact-page .map-panel--premium,
.page-note-card {
  border-color: var(--ui-line);
  border-radius: var(--ui-radius-card);
  box-shadow: var(--ui-shadow-soft);
}

.home-btn-primary,
.home-btn-secondary,
.nav-header-cta,
.site-quick-contact__fab,
.mobile-contact-bar__link {
  border-radius: var(--ui-radius-control);
  min-height: 44px;
}

.site-quick-contact__fab {
  min-height: 48px;
  padding: 0.72rem 1.02rem;
  box-shadow: 0 12px 26px rgba(12, 55, 104, 0.26);
}

/* Reduce repeated CTA pressure in footer; retain call + WhatsApp as primary direct actions */
@media (min-width: 981px) {
  .site-footer .footer-direct-link[href*="#contact-form"] {
    display: none;
  }
}

.site-footer .footer-direct-actions {
  gap: 0.44rem;
}

.site-footer .footer-direct-link {
  min-height: 36px;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
}

/* Contact page already has multiple direct contact rails, so hide floating duplicate CTA there */
.page-contact .site-quick-contact {
  display: none;
}

/* Early render optimization without touching business logic */
.site-section,
.page-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

#hero,
.page-hero-section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ring-focus-outline);
  outline-offset: 3px;
}

/* Explicit focus styles for high-traffic controls to avoid being muted by local overrides */
.nav-menu a:focus-visible,
nav a:focus-visible,
.nav-header-cta:focus-visible,
.home-btn-primary:focus-visible,
.home-btn-secondary:focus-visible,
.page-cta-panel .home-btn-secondary:focus-visible,
.gallery-page .gallery-material-actions .home-btn-secondary:focus-visible,
.contact-page .map-panel--premium .home-btn-secondary:focus-visible {
  outline: 3px solid var(--ring-focus-outline);
  outline-offset: 3px;
  box-shadow: var(--ring-focus);
}

/* Amber-accent links get an amber focus ring for visual consistency */
.home-inline-link:focus-visible,
.home-case-section .home-inline-link:focus-visible,
.service-directory-link:focus-visible {
  outline: 3px solid var(--ring-focus-gold-outline);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: var(--ring-focus-gold);
}

/* Phase 3: component surgery (homepage-first, no business-logic changes) */

/* Buttons */
:where(.home-btn-primary, .home-btn-secondary, .btn-cta, .btn-secondary, .btn-glass, .nav-header-cta) {
  --btn-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-height);
  padding-inline: calc(var(--btn-height) * 0.75);
  padding-block: 0;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  user-select: none;
  transition:
    background-color var(--duration-fast) var(--ease-default),
    transform var(--duration-fast) var(--ease-default),
    box-shadow var(--duration-fast) var(--ease-default),
    border-color var(--duration-fast) var(--ease-default),
    color var(--duration-fast) var(--ease-default);
}

:where(.home-btn-primary, .btn-cta, .nav-header-cta) {
  border: 1px solid var(--color-accent-hover);
  background: var(--color-accent);
  color: var(--color-text-on-accent);
  box-shadow: none;
}

:where(.home-btn-secondary, .btn-secondary, .btn-glass) {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-primary);
  box-shadow: none;
}

:where(.home-btn-primary, .home-btn-secondary, .btn-cta, .btn-secondary, .btn-glass, .nav-header-cta):hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

:where(.home-btn-primary, .btn-cta, .nav-header-cta):hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text-on-accent);
}

:where(.home-btn-secondary, .btn-secondary, .btn-glass):hover {
  border-color: var(--color-border-strong);
  color: var(--color-accent);
}

:where(.home-btn-primary, .home-btn-secondary, .btn-cta, .btn-secondary, .btn-glass, .nav-header-cta):active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

:where(.home-btn-primary, .home-btn-secondary, .btn-cta, .btn-secondary, .btn-glass, .nav-header-cta):focus-visible {
  outline: 3px solid var(--ring-focus-outline);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--color-accent-border);
}

:where(button, input, select, textarea)[disabled],
:where(.home-btn-primary, .home-btn-secondary, .btn-cta, .btn-secondary, .btn-glass, .nav-header-cta).btn-loading {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-sm {
  --btn-height: 36px;
}

.btn-lg {
  --btn-height: 52px;
}

/* Cards */
:where(.home-signature-card, .home-service-card, .service-directory-card, .gallery-card, .gallery-material-card, .contact-card, .page-note-card) {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-base) var(--ease-out),
    border-color var(--duration-fast) var(--ease-default),
    box-shadow var(--duration-base) var(--ease-out);
}

:where(.home-signature-card, .home-service-card, .service-directory-card, .gallery-card, .gallery-material-card, .contact-card, .page-note-card):hover,
:where(.home-signature-card, .home-service-card, .service-directory-card, .gallery-card, .gallery-material-card, .contact-card, .page-note-card):focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

:where(.home-signature-card, .home-service-card, .service-directory-card) {
  cursor: pointer;
}

:where(.home-signature-body, .home-service-body, .service-directory-body, .gallery-card-body, .gallery-material-body) > :first-child {
  margin-top: 0;
}

:where(.home-signature-body, .home-service-body, .service-directory-body, .gallery-card-body, .gallery-material-body) > :last-child {
  margin-bottom: 0;
}

.home-signature-body,
.home-service-body,
.service-directory-body,
.gallery-card-body {
  padding: var(--space-5);
}

/* Form inputs */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
}

:where(.form-input, .form-input-file, select.form-input, textarea.form-input) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-size: var(--text-base);
  transition:
    border-color var(--duration-fast) var(--ease-default),
    box-shadow var(--duration-fast) var(--ease-default),
    background-color var(--duration-fast) var(--ease-default);
}

:where(.form-input, .form-input-file, select.form-input) {
  min-height: 44px;
  height: 44px;
  padding: 0 var(--space-3);
}

.form-input-file {
  cursor: pointer;
}

textarea.form-input {
  min-height: 132px;
  padding: var(--space-3);
  resize: vertical;
}

:where(.form-input, .form-input-file, select.form-input, textarea.form-input):hover {
  border-color: var(--color-border-strong);
}

:where(.form-input, .form-input-file, select.form-input, textarea.form-input):focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.form-input::placeholder,
.form-input-file::placeholder,
textarea.form-input::placeholder {
  color: var(--color-text-muted);
  font-style: normal;
}

/* Navigation */
header.surface {
  background: rgba(252, 253, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191, 208, 224, 0.72);
  box-shadow: var(--shadow-sm);
}

header.surface.solid {
  background: rgba(252, 253, 255, 0.94);
  border-bottom-color: rgba(191, 208, 224, 0.9);
  box-shadow: var(--shadow-md);
}

.nav-menu a,
nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--color-text-primary);
  background: transparent;
  font-weight: var(--font-normal);
  transition:
    color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    background-color var(--duration-base) var(--ease-out);
}

.nav-menu a::before,
nav a::before {
  display: none;
}

.nav-menu a::after,
nav a::after {
  content: "";
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-2);
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a:focus,
nav a:hover,
nav a:focus {
  color: var(--accent-gold-strong);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after,
nav a:hover::after,
nav a:focus::after {
  transform: scaleX(1);
}

.nav-menu a.active,
.nav-menu a[aria-current="page"],
nav a.active,
nav a[aria-current="page"] {
  color: var(--accent-gold-strong);
  font-weight: var(--font-medium);
}

.mobile-nav-backdrop {
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .nav-menu {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-menu a {
    min-height: 44px;
    justify-content: center;
  }
}

/* Images */
.home-hero-image-wrap,
.home-signature-card,
.home-featured-main,
.home-featured-side figure,
.gallery-card,
.gallery-material-card {
  overflow: hidden;
}

.home-signature-card img {
  --card-image-scale: 1;
  --card-image-scale-hover: 1.03;
  --card-image-shift-y: 0px;
  --card-image-shift-y-hover: var(--card-image-shift-y);
  width: 100%;
  min-height: 264px;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  transform: translateY(var(--card-image-shift-y)) scale(var(--card-image-scale));
  transform-origin: center top;
  transition: transform var(--duration-base) var(--ease-out);
}

.home-signature-card[data-modal="roofing-modal"] img,
.home-signature-card[data-modal="windows-modal"] img {
  --card-image-scale: 1.11;
  --card-image-scale-hover: 1.14;
  --card-image-shift-y: -14px;
  --card-image-shift-y-hover: -16px;
}

.home-signature-card[data-modal="gutters-modal"] img {
  --card-image-scale: 1.05;
  --card-image-scale-hover: 1.08;
}

@media (max-width: 768px) {
  .home-signature-card img {
    min-height: 236px;
  }
}

.home-featured-main img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.home-featured-side img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.home-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img[loading="lazy"] {
  background: linear-gradient(90deg, #eef3f8 0%, #f8fbff 40%, #eef3f8 100%);
  background-size: 240% 100%;
  animation: none;
}

img[loading="lazy"].loaded {
  animation: none;
  background: none;
}

.home-signature-card:hover img,
.home-signature-card:focus-within img {
  transform: translateY(var(--card-image-shift-y-hover)) scale(var(--card-image-scale-hover));
}

.home-featured-main:hover img,
.home-featured-main:focus-within img,
.home-featured-side figure:hover img,
.home-featured-side figure:focus-within img,
.gallery-card:hover img,
.gallery-card:focus-within img,
.gallery-material-card:hover img,
.gallery-material-card:focus-within img {
  transform: scale(1.03);
}

/* Phase 5: typography upgrade */
body {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4 {
  line-height: var(--leading-tight);
  text-wrap: balance;
  letter-spacing: -0.02em;
  font-weight: var(--font-bold);
}

h1 {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  max-width: 68ch;
  text-wrap: pretty;
}

strong {
  font-weight: var(--font-medium);
}

small,
figcaption,
label,
.form-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

:where(.section-kicker, .home-service-tag, .modal-eyebrow) {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:where(.home-lead, .home-section-copy, .home-hero-meta, .home-signature-body p, .home-proof-row span, .home-method-list p, .home-featured-notes p, .home-cta-panel p, .home-featured-main figcaption, .home-featured-side figcaption, .modal-lead, .modal-summary-line, .modal-list li) {
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}

:where(.home-signature-body h3, .home-method-list h3, .modal-panel h3, .gallery-card-body h3, .page-note-card h3) {
  font-size: clamp(1.18rem, 1.9vw, 1.42rem);
  line-height: 1.22;
}

.home-display {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
}

.home-section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.12;
}

.legal-page-title {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ui-ink);
  text-wrap: balance;
}

.legal-page-date {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ui-ink-soft);
}

.legal-section-title {
  margin: 0 0 0.55rem;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ui-ink);
}

.legal-main p,
.legal-main li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ui-ink-soft);
}

.legal-main {
  width: min(900px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(2.8rem, 5vw, 4.2rem);
}

.legal-main .site-section {
  padding-block: 1.25rem;
}

.legal-footnote {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ui-ink-soft);
}

.legal-page .legal-main--privacy,
.legal-page .legal-main--terms {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 0;
}

.legal-page .legal-hero-section {
  padding-block: clamp(2.6rem, 5.2vw, 4.6rem);
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.16) 0%, rgba(200, 136, 26, 0) 20%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 52%, #eee9df 100%);
}

.legal-page .legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: start;
}

.legal-page .legal-hero-copy {
  display: grid;
  gap: 1rem;
}

.legal-page .legal-hero-copy .page-lead {
  max-width: 60ch;
}

.legal-page .legal-hero-aside {
  padding: 1.2rem 1.25rem;
  border: 1px solid #d5dfe8;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.legal-page .legal-hero-aside h2 {
  margin: 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: 1.18rem;
}

.legal-page .legal-hero-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.legal-page .legal-hero-list li {
  position: relative;
  padding-left: 1rem;
  color: #445f76;
  line-height: 1.58;
}

.legal-page .legal-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.legal-page .legal-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.legal-page .legal-summary-section {
  padding-block: 1.4rem 2rem;
}

.legal-page .legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.legal-page .legal-summary-card {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid #d5dfe8;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.legal-page .legal-summary-card strong {
  display: block;
  color: #8a4b11;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page .legal-summary-card p {
  margin: 0.5rem 0 0;
}

.legal-page .legal-content-stack {
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(2.8rem, 5vw, 4rem);
}

.legal-page .legal-section-card {
  padding: 1.3rem 1.35rem 1.35rem;
  border: 1px solid #d5dfe8;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.legal-page .legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.legal-page .legal-list li {
  position: relative;
  padding-left: 1rem;
}

.legal-page .legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

@media (max-width: 1080px) {
  .legal-page .legal-hero-grid,
  .legal-page .legal-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .legal-page .legal-main--privacy,
  .legal-page .legal-main--terms {
    width: min(100%, calc(100% - 1rem));
  }

  .legal-page .legal-hero-section {
    padding-block: 2.8rem 3rem;
  }

  .legal-page .legal-section-card,
  .legal-page .legal-summary-card,
  .legal-page .legal-hero-aside {
    padding-inline: 1rem;
  }
}

.home-card-link,
.home-inline-link,
.nav-menu a,
.nav-header-cta {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

/* Phase 6: mobile audit hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg,
canvas {
  max-width: 100%;
}

/* Prevent overflow from grid/flex children in mixed layouts */
:where(
  .home-hero-frame,
  .home-featured-layout,
  .home-trust-layout,
  .page-hero-grid,
  .page-grid-two,
  .contact-layout,
  .about-page .about-hero-grid,
  .about-page .about-profile-grid,
  .about-page .about-standards-grid,
  .services-page .services-hero-grid,
  .gallery-page .gallery-hero-grid,
  .gallery-page .gallery-featured-stage,
  .gallery-page .gallery-material-layout,
  .contact-page .contact-hero-grid,
  .contact-page .contact-layout--premium
) > * {
  min-width: 0;
}

/* Full-screen modal sheet on mobile */
@media (max-width: 768px) {
  .modal {
    padding: 0;
    align-items: stretch;
  }

  .modal .modal-content {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .modal-hero {
    padding-top: max(var(--space-4), env(safe-area-inset-top));
  }

  .modal-body {
    padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom));
  }

  /* Inputs stay 16px+ to avoid iOS zoom */
  :where(input, select, textarea, .form-input, .form-input-file) {
    font-size: var(--text-base);
  }

  /* Keep primary touch controls at 44px+ */
  :where(
    .nav-menu a,
    .nav-header-cta,
    .home-btn-primary,
    .home-btn-secondary,
    .btn-cta,
    .btn-secondary,
    .mobile-contact-bar__link,
    .site-quick-contact__fab,
    .footer-direct-link
  ) {
    min-height: 44px;
  }
}

/* 1024px: collapse major split layouts for cleaner tablet-to-mobile transition */
@media (max-width: 1024px) {
  .home-hero-frame,
  .home-featured-layout,
  .home-trust-layout,
  .page-hero-grid,
  .page-grid-two,
  .contact-layout,
  .about-page .about-hero-grid,
  .about-page .about-profile-grid,
  .about-page .about-standards-grid,
  .services-page .services-hero-grid,
  .gallery-page .gallery-hero-grid,
  .gallery-page .gallery-featured-stage,
  .gallery-page .gallery-material-layout,
  .contact-page .contact-hero-grid,
  .contact-page .contact-layout--premium {
    grid-template-columns: 1fr;
  }
}

/* 430px: tighten shell and avoid cramped dual-column utility grids */
@media (max-width: 430px) {
  .home-shell,
  .page-shell,
  .nav-container,
  .site-footer .footer-inner,
  .footer-bottom .container {
    width: min(100%, calc(100% - 1rem));
  }

  .home-signature-grid,
  .services-page .services-compact-grid,
  .gallery-page .gallery-support-grid {
    grid-template-columns: 1fr;
  }

  .home-proof-inline {
    grid-template-columns: 1fr;
  }
}

/* 390px: stack any two-column regions that would drop below ~200px/col */
@media (max-width: 390px) {
  :root {
    --mobile-contact-bar-height: 9.2rem;
  }

  .mobile-contact-bar {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-links ul,
  .gallery-compare,
  .gallery-page .gallery-support-grid {
    grid-template-columns: 1fr;
  }
}

/* 375px: constrained-phone safeguards */
@media (max-width: 375px) {
  .home-display,
  .page-title {
    font-size: clamp(var(--text-2xl), 10vw, var(--text-4xl));
  }

  .home-hero-image,
  .about-page .about-hero-figure img,
  .services-page .services-hero-figure img,
  .gallery-page .gallery-hero-figure img,
  .contact-page .page-figure img {
    height: clamp(220px, 46vh, 300px);
  }

  .home-signature-body,
  .home-service-body,
  .gallery-card-body,
  .map-panel-copy,
  .contact-page .contact-rail--channels .contact-card {
    padding: var(--space-4);
  }
}

/* Phase 7: finishing details */

/* Consistent section rhythm baseline */
.site-section,
.page-section {
  padding-block: clamp(var(--space-7), 8vw, var(--space-9));
}

/* Subtle section alternation (dark branded sections retain their own palette) */
#hero.home-hero-section,
.home-services-section,
.home-cta-section {
  background: linear-gradient(180deg, #f6f8fb 0%, #edf2f7 100%);
}

.home-proof-strip,
.home-trust-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

/* Radius and shadow normalization for major surfaces */
:where(
  .home-signature-card,
  .home-service-card,
  .service-directory-card,
  .gallery-card,
  .gallery-material-card,
  .contact-card,
  .page-note-card,
  .page-figure,
  .map-panel,
  .modal .modal-content,
  .about-page .about-profile-aside,
  .about-page .about-process-panel,
  .contact-page .contact-form-shell--premium,
  .contact-page .map-panel--premium,
  .home-featured-main,
  .home-featured-side figure
) {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

:where(
  .home-btn-primary,
  .home-btn-secondary,
  .btn-cta,
  .btn-secondary,
  .btn-glass,
  .nav-header-cta,
  .mobile-contact-bar__link,
  .site-quick-contact__fab,
  .footer-direct-link
) {
  border-radius: var(--radius-md);
}

/* Divider consistency */
hr,
.home-proof-inline,
.home-proof-row,
.modal-hero,
.modal-panel,
.home-method-list li,
.contact-page .contact-rail--channels,
.site-footer .footer-bottom,
.site-footer .footer-direct-link {
  border-color: var(--color-border);
}

.home-proof-inline,
.home-proof-row,
.modal-hero,
.modal-panel,
.home-method-list li,
.contact-page .contact-rail--channels,
.site-footer .footer-bottom {
  border-width: 1px;
}

/* Interactive affordance and selection behavior */
:where(
  a[href],
  button,
  [role="button"],
  summary,
  .home-signature-card,
  .home-service-card,
  .service-directory-card,
  .gallery-card,
  .gallery-material-card,
  .mobile-contact-bar__link,
  .site-quick-contact__fab
) {
  cursor: pointer;
}

:where(
  button,
  .nav-menu a,
  .nav-header-cta,
  .home-btn-primary,
  .home-btn-secondary,
  .btn-cta,
  .btn-secondary,
  .btn-glass,
  .mobile-contact-bar__link,
  .site-quick-contact__fab
) {
  user-select: none;
}

/* Icon consistency for inline svg icons in controls */
:where(
  .home-btn-primary svg,
  .home-btn-secondary svg,
  .btn-cta svg,
  .btn-secondary svg,
  .nav-header-cta svg
) {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 1.9;
}

/* Empty and loading states */
.empty-state {
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: var(--color-text-secondary);
}

.skeleton {
  background: linear-gradient(90deg, #e9f0f7 0%, #f8fbff 40%, #e9f0f7 100%);
  background-size: 220% 100%;
  animation: shimmer 1.15s linear infinite;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(19, 40, 63, 0.22);
  border-top-color: var(--color-accent);
  animation: spin 0.9s linear infinite;
}

/* Footer finish pass */
.site-footer {
  border-top: 1px solid rgba(191, 208, 224, 0.24);
}

.site-footer .footer-inner {
  gap: var(--space-6);
}

.site-footer .footer-links ul {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: start;
  gap: 0.35rem 0.4rem;
}

.site-footer .footer-links li {
  margin: 0;
  display: flex;
}

.site-footer .footer-links ul a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: auto;
  max-width: 100%;
  padding: 0.38rem 0.56rem;
  border: 1px solid rgba(182, 201, 222, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e7f5;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition:
    background-color var(--duration-fast) var(--ease-default),
    border-color var(--duration-fast) var(--ease-default),
    color var(--duration-fast) var(--ease-default),
    box-shadow var(--duration-fast) var(--ease-default);
}

.site-footer .footer-links ul a:hover,
.site-footer .footer-links ul a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(191, 205, 221, 0.55);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.2);
  outline: none;
}

/* Regression fixups after breakpoint sweep */
@media (max-width: 768px) {
  .site-footer .footer-contact a,
  .site-footer .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer .footer-links ul a {
    min-height: 30px;
  }

  .site-footer .footer-links ul {
    gap: var(--space-1);
  }
}

@media (max-width: 430px) {
  .site-footer .footer-links ul {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom .container {
    align-items: flex-start;
  }

  .site-footer .footer-bottom__links {
    justify-content: flex-start;
  }
}

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 5.85rem;
  z-index: 60;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 219, 254, 0.58);
  border-radius: var(--radius-full);
  background: #0f66c8;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(29, 78, 216, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out,
    transform 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #005bbb;
  box-shadow: 0 16px 30px rgba(0, 91, 187, 0.34);
}

.back-to-top:active {
  background: #004f9e;
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 79, 158, 0.28);
}

.back-to-top:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.4), 0 12px 26px rgba(29, 78, 216, 0.34);
}

.back-to-top svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 0.95rem;
    bottom: calc(var(--mobile-contact-bar-height) + 1.3rem + env(safe-area-inset-bottom));
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
    transform: none;
  }

  .back-to-top.is-visible {
    transform: none;
  }

  .back-to-top:hover,
  .back-to-top:active {
    transform: none;
  }
}

/* Mobile nav polish: final override to keep menu readable and visually clean */
@media (max-width: 768px) {
  .mobile-nav-backdrop {
    background: rgba(12, 18, 30, 0.5);
    backdrop-filter: blur(4px);
  }

  .nav-container .nav-menu {
    left: 1.1rem;
    right: 1.1rem;
    top: calc(100% + 0.4rem);
    padding: 0.55rem;
    gap: 0.3rem;
    align-items: stretch;
    border-radius: 22px;
    border: 1px solid rgba(196, 211, 228, 0.92);
    background: rgba(247, 251, 255, 0.99);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
    max-height: min(78dvh, 540px);
    overscroll-behavior: contain;
  }

  .nav-container .nav-menu a {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.92rem 1rem;
    min-height: 48px;
    border-radius: 14px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #12345b;
    background: transparent;
  }

  .nav-container .nav-menu a:hover,
  .nav-container .nav-menu a:focus-visible {
    background: rgba(15, 102, 200, 0.12);
    color: #0f3b67;
    transform: none;
    box-shadow: none;
  }

  .nav-container .nav-menu a[aria-current="page"] {
    background: rgba(15, 102, 200, 0.14);
    border: 1px solid rgba(15, 102, 200, 0.28);
    color: #c07f16;
  }

  .nav-container .nav-menu .nav-menu-quote {
    margin-top: 0.2rem;
    border: 1px solid rgba(15, 102, 200, 0.4);
    background: linear-gradient(180deg, #0f66c8 0%, #0b58af 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 53, 112, 0.22);
  }
}

/* Mobile-first audit fixes (2026-04-06) */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hp-field-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  left: auto;
}

:where(#contact-form, #project-archive, #materials-showcase, #services, #gallery, #about, #proof) {
  scroll-margin-top: calc(5.5rem + env(safe-area-inset-top));
}

@media (max-width: 768px) {
  :root {
    --mobile-contact-bar-height: 6rem;
  }

  .mobile-contact-bar {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
    padding: 0.55rem;
    border: 1px solid rgba(187, 202, 219, 0.14);
    border-radius: 20px;
    background: rgba(10, 18, 29, 0.88);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-contact-bar__link {
    min-height: 46px;
    padding: 0.72rem 0.82rem;
    border-radius: 13px;
    font-size: 0.94rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    box-shadow: none;
  }

  .mobile-contact-bar__link:not(.is-primary) {
    border-color: rgba(187, 202, 219, 0.14);
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-contact-bar__link.is-primary {
    background: linear-gradient(180deg, #0f66c8 0%, #0b58af 100%);
    box-shadow: 0 10px 20px rgba(0, 53, 112, 0.24);
  }

  .mobile-contact-bar__link:hover,
  .mobile-contact-bar__link:focus-visible {
    transform: translateY(-1px);
  }

  .mobile-contact-bar__link:not(.is-primary):hover,
  .mobile-contact-bar__link:not(.is-primary):focus-visible {
    background: rgba(255, 255, 255, 0.09);
  }

  .back-to-top {
    right: 0.9rem;
    bottom: calc(var(--mobile-contact-bar-height) + 1rem + env(safe-area-inset-bottom));
    width: 2.55rem;
    height: 2.55rem;
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.28);
  }

  body:not(.is-menu-open) .back-to-top {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .home-inline-link {
    min-height: 44px;
    padding: 0.62rem 0.92rem;
    border: 1px solid rgba(146, 64, 14, 0.24);
    border-radius: 999px;
    border-bottom-width: 1px;
    background: rgba(255, 255, 255, 0.74);
    line-height: 1.2;
  }

  .home-case-section .home-inline-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 200, 135, 0.36);
    color: #f4c27a;
  }

  .home-card-link,
  .service-directory-link {
    min-height: 40px;
    padding: 0.5rem 0.82rem;
    border: 1px solid rgba(146, 64, 14, 0.16);
    border-radius: 999px;
    background: rgba(200, 136, 26, 0.12);
    line-height: 1.2;
  }

  .site-footer .footer-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .site-footer .footer-links ul a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .site-footer .footer-bottom a {
    min-width: 44px;
    padding-inline: 0.55rem;
    justify-content: center;
  }

  .gallery-page .gallery-card--hero .gallery-compare-item img,
  .gallery-page .gallery-card--side .gallery-compare-item img,
  .gallery-page .gallery-card--wide .gallery-compare-item img,
  .gallery-page .gallery-material-card--hero .gallery-material-media img,
  .gallery-page .gallery-material-stack .gallery-material-media img {
    height: 204px;
  }

  .gallery-card-body,
  .gallery-material-body {
    padding: 1rem;
  }

  .services-page .service-feature-media img {
    min-height: 210px;
  }
}

@media (max-width: 359px) {
  :root {
    --mobile-contact-bar-height: 8.9rem;
  }

  .mobile-contact-bar {
    grid-template-columns: 1fr;
  }
}

/* Homepage and About storytelling pass (2026-04-06) */
.home-page .reveal,
.about-page .reveal {
  transform: translateY(18px);
  transition-duration: 0.3s;
}

.home-page .reveal-children > *,
.about-page .reveal-children > * {
  transform: translateY(10px);
  transition-duration: 0.26s;
  transition-delay: calc(var(--index, 0) * 40ms);
}

.home-page #hero.home-hero-pass2 {
  padding-block: clamp(2.5rem, 5.7vw, 5.1rem);
  background:
    radial-gradient(circle at 18% 11%, rgba(200, 136, 26, 0.18) 0%, rgba(200, 136, 26, 0) 23%),
    radial-gradient(circle at 84% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 50%, #eee9df 100%);
}

.home-page .home-hero-frame {
  gap: clamp(1.5rem, 3.7vw, 2.8rem);
}

.home-page .home-hero-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.home-page .home-hero-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.1rem;
}

.home-page .home-hero-story-card {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid rgba(184, 196, 209, 0.68);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-page .home-hero-story-card strong {
  display: block;
  margin: 0;
  color: #8a4b11;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .home-hero-story-card span {
  display: block;
  margin-top: 0.45rem;
  color: #365066;
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-page .home-hero-meta {
  max-width: 60ch;
  margin-top: 0;
  color: #3f576d;
}

.home-page .home-hero-image-wrap {
  position: relative;
  border-color: rgba(199, 208, 218, 0.86);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.15);
}

.home-page .home-hero-image {
  min-height: 440px;
  height: clamp(440px, 66vh, 680px);
  object-position: center 68%;
}

.home-page .home-hero-figure-caption {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  left: auto;
  display: grid;
  gap: 0.28rem;
  width: min(15.5rem, 38%);
  max-width: calc(100% - 2.2rem);
  padding: 0.78rem 0.86rem;
  border: 1px solid rgba(225, 238, 248, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0.78) 0%, rgba(10, 22, 34, 0.64) 100%);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(7, 15, 24, 0.22);
}

.home-page .home-hero-figure-caption strong {
  color: #f6d7aa;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-page .home-hero-figure-caption span {
  color: #e6eff8;
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-page .home-proof-strip {
  padding-block: 1.1rem 2.75rem;
  background: linear-gradient(180deg, #f1ece2 0%, #f8f5ee 100%);
}

.home-page .home-proof-inline {
  gap: 0.8rem;
  border: none;
}

.home-page .home-proof-row,
.home-page .home-proof-row:last-child {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid #d7e0e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.home-page .home-proof-row {
  border-right: 1px solid #d7e0e9;
}

.home-page .home-proof-row strong {
  color: #1f3750;
}

.home-page .home-proof-row span {
  color: #446078;
}

.home-page .home-services-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 100%);
}

.home-page .home-signature-card {
  border-color: #d6dfe8;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.home-page .home-signature-card:hover,
.home-page .home-signature-card:focus-visible {
  border-color: rgba(146, 64, 14, 0.24);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.11);
}

.home-page .home-case-section {
  background:
    radial-gradient(circle at 80% 14%, rgba(200, 136, 26, 0.12) 0%, rgba(200, 136, 26, 0) 30%),
    linear-gradient(180deg, #0d1824 0%, #142738 56%, #172d41 100%);
}

.home-page .home-featured-layout {
  gap: 1.2rem;
}

.home-page .home-featured-main,
.home-page .home-featured-side figure {
  border-color: rgba(232, 219, 201, 0.16);
  box-shadow: 0 24px 56px rgba(3, 10, 16, 0.28);
}

.home-page .home-featured-main figcaption,
.home-page .home-featured-side figcaption {
  color: #dee9f4;
}

.home-page .home-featured-notes {
  background: linear-gradient(180deg, rgba(13, 31, 48, 0.82) 0%, rgba(13, 31, 48, 0.68) 100%);
}

.home-page .home-featured-checklist {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.home-page .home-featured-checklist li {
  position: relative;
  padding-left: 1rem;
  color: #d5e0eb;
  line-height: 1.55;
}

.home-page .home-featured-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #f0c17c;
}

.home-page .home-trust-section {
  background: linear-gradient(180deg, #f6f1e8 0%, #edf1f5 100%);
}

.home-page .home-trust-copy .home-section-copy,
.home-page .home-trust-points li,
.home-page .home-method-list p {
  color: #445f76;
}

.home-page .home-method-list li {
  border-color: #d5dfe8;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.home-page .home-method-list span {
  background: linear-gradient(180deg, #f8e9d0 0%, #edd3a8 100%);
  color: #7b420c;
}

.home-page .home-cta-section {
  background: linear-gradient(180deg, #edf1f5 0%, #e4e9ef 100%);
}

.home-page .home-cta-panel--refined {
  background: linear-gradient(135deg, #102238 0%, #18324d 55%, #1d4261 100%);
}

.home-page .home-cta-panel--refined::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(245, 220, 186, 0.08) 0%, rgba(245, 220, 186, 0) 42%),
    radial-gradient(circle at 78% 24%, rgba(245, 220, 186, 0.1) 0%, rgba(245, 220, 186, 0) 34%);
  pointer-events: none;
}

.about-page .about-hero-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.16) 0%, rgba(200, 136, 26, 0) 22%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 52%, #eee9df 100%);
}

.about-page .about-hero-copy .page-title {
  max-width: 12.5ch;
}

.about-page .about-hero-meta {
  gap: 0.75rem;
  margin-top: 1.45rem;
  padding-top: 0;
  border-top: none;
}

.about-page .about-hero-meta > div {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid #d7e0e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.about-page .about-hero-figure {
  position: relative;
  border-radius: 32px;
  border-color: rgba(199, 208, 218, 0.86);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.14);
}

.about-page .about-hero-figure .page-figure-caption {
  padding: 1.1rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.about-page .about-profile-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 100%);
}

.about-page .about-profile-aside {
  border-color: #d7e0e9;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.about-page .about-standards-section {
  background:
    radial-gradient(circle at 80% 16%, rgba(200, 136, 26, 0.12) 0%, rgba(200, 136, 26, 0) 28%),
    linear-gradient(180deg, #0d1824 0%, #142738 56%, #172d41 100%);
}

.about-page .about-process-panel {
  border-color: rgba(232, 219, 201, 0.18);
  background: linear-gradient(180deg, rgba(12, 28, 43, 0.84) 0%, rgba(12, 28, 43, 0.66) 100%);
}

.about-page .about-cta-section {
  background: linear-gradient(180deg, #edf1f5 0%, #e4e9ef 100%);
}

.about-page .about-cta-section .page-cta-panel {
  background: linear-gradient(135deg, #102238 0%, #18324d 55%, #1d4261 100%);
}

@media (max-width: 1024px) {
  .home-page .home-hero-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-hero-image {
    object-position: center 62%;
  }

  .home-page .home-hero-figure-caption {
    width: min(14.5rem, 42%);
  }
}

@media (max-width: 768px) {
  .home-page .home-hero-story,
  .home-page .home-proof-inline {
    grid-template-columns: 1fr;
  }

  .home-page .home-proof-inline {
    gap: 0.7rem;
  }

  .home-page .home-hero-image-wrap {
    overflow: hidden;
  }

  .home-page .home-hero-image {
    object-position: center 56%;
  }

  .home-page .home-hero-figure-caption {
    position: static;
    margin: 0.8rem;
    width: auto;
    max-width: none;
  }

  .about-page .about-hero-meta {
    grid-template-columns: 1fr;
  }
}

/* Services storytelling pass (2026-04-06) */
.services-page .services-hero-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.16) 0%, rgba(200, 136, 26, 0) 20%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 52%, #eee9df 100%);
}

.services-page .services-hero-copy .page-title {
  max-width: 12.3ch;
}

.services-page .services-hero-figure--collage {
  border-radius: 32px;
  border-color: rgba(199, 208, 218, 0.86);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.14);
}

.services-page .services-hero-collage {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.6rem;
  padding: 0.6rem;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.94) 0%, rgba(241, 246, 250, 0.92) 100%);
}

.services-page .services-hero-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.services-page .services-hero-collage img:first-child {
  grid-row: span 2;
  min-height: 352px;
}

.services-page .services-directory-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 100%);
}

.services-page .services-family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.45rem;
}

.services-page .services-family-card {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid #d5dfe8;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.services-page .services-family-card h3 {
  margin: 0.32rem 0 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: 1.05rem;
  line-height: 1.25;
}

.services-page .services-family-card p:last-child {
  margin: 0.55rem 0 0;
  color: #435d73;
  line-height: 1.55;
}

.services-page .services-intent-inline {
  border: none;
  gap: 0.75rem;
}

.services-page .services-intent-inline > div,
.services-page .services-intent-inline > div:last-child {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid #d5dfe8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.services-page .services-intent-inline > div {
  border-right: 1px solid #d5dfe8;
}

.services-page .service-feature-row {
  border-color: #d5dfe8;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.services-page .service-feature-row:hover,
.services-page .service-feature-row:focus-visible {
  border-color: rgba(146, 64, 14, 0.24);
}

.services-page .services-correction-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: clamp(1.1rem, 2.6vw, 1.45rem);
  border: 1px solid #d5dfe8;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 136, 26, 0.12) 0%, rgba(200, 136, 26, 0) 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.services-page .services-correction-copy h3 {
  margin: 0.35rem 0 0;
  font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #10283f;
  font-size: clamp(1.28rem, 2.3vw, 1.7rem);
  line-height: 1.18;
}

.services-page .services-correction-copy > p {
  margin: 0.8rem 0 0;
  color: #455d73;
  line-height: 1.66;
}

.services-page .services-correction-list {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.services-page .services-correction-list li {
  position: relative;
  padding-left: 1rem;
  color: #455d73;
  line-height: 1.55;
}

.services-page .services-correction-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent-gold-strong);
}

.services-page .services-correction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.services-page .services-correction-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.services-page .services-correction-proof figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5dfe8;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.services-page .services-correction-proof img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.services-page .services-correction-proof figcaption {
  padding: 0.8rem 0.9rem 0.88rem;
  color: #314b62;
  font-size: 0.9rem;
  font-weight: 700;
}

.services-page .services-group--compact {
  margin-top: 2.2rem;
}

.services-page .services-brief-strip {
  border: none;
  gap: 0.75rem;
}

.services-page .services-brief-strip > div,
.services-page .services-brief-strip > div:last-child {
  padding: 0.9rem 1rem 0.95rem;
  border: 1px solid #d5dfe8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.services-page .services-brief-strip > div {
  border-right: 1px solid #d5dfe8;
}

.services-page .service-not-sure {
  margin-top: 1.5rem;
}

@media (max-width: 1080px) {
  .services-page .services-family-grid,
  .services-page .services-correction-panel {
    grid-template-columns: 1fr;
  }

  .services-page .services-hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page .services-hero-collage img:first-child {
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .services-page .services-family-grid,
  .services-page .services-correction-proof,
  .services-page .services-hero-collage {
    grid-template-columns: 1fr;
  }

  .services-page .services-hero-collage img,
  .services-page .services-hero-collage img:first-child {
    min-height: 205px;
  }

  .services-page .services-correction-proof img {
    height: 200px;
  }
}

/* Gallery storytelling pass (2026-04-06) */
.gallery-page .gallery-hero-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.16) 0%, rgba(200, 136, 26, 0) 20%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 52%, #eee9df 100%);
}

.gallery-page .gallery-hero-copy .page-title {
  max-width: 12.2ch;
}

.gallery-page .gallery-hero-figure--collage {
  border-radius: 32px;
  border-color: rgba(199, 208, 218, 0.86);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.14);
}

.gallery-page .gallery-hero-collage {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.6rem;
  padding: 0.6rem;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.94) 0%, rgba(241, 246, 250, 0.92) 100%);
}

.gallery-page .gallery-hero-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.gallery-page .gallery-hero-collage img:first-child {
  grid-row: span 2;
  min-height: 352px;
}

.gallery-page .gallery-archive-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 100%);
}

.gallery-page .gallery-featured-stage {
  gap: 1.1rem;
}

.gallery-page .gallery-featured-stack {
  display: grid;
  gap: 1rem;
}

.gallery-page .gallery-featured-stack .gallery-card {
  height: 100%;
}

.gallery-page .gallery-featured-stack .gallery-single-media img {
  height: 220px;
}

.gallery-page .gallery-client-impact {
  margin: 0.78rem 0 0;
  color: #405b72;
  line-height: 1.58;
}

.gallery-page .gallery-client-impact strong {
  color: #173552;
}

.gallery-page .gallery-support-grid {
  align-items: start;
}

.gallery-page .gallery-materials-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(200, 136, 26, 0.12) 0%, rgba(200, 136, 26, 0) 28%),
    linear-gradient(180deg, #0d1824 0%, #142738 56%, #172d41 100%);
}

.gallery-page .gallery-materials-note {
  margin: 0.35rem 0 1.2rem;
  max-width: 66ch;
  color: #c8d8ea;
  line-height: 1.68;
}

@media (max-width: 1080px) {
  .gallery-page .gallery-hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-page .gallery-hero-collage img:first-child {
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .gallery-page .gallery-hero-collage {
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-hero-collage img,
  .gallery-page .gallery-hero-collage img:first-child {
    min-height: 205px;
  }

  .gallery-page .gallery-featured-stack .gallery-single-media img {
    height: 205px;
  }
}

/* About storytelling refinement (2026-04-06) */
.about-page .about-hero-figure--collage {
  border-radius: 32px;
  border-color: rgba(199, 208, 218, 0.86);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.14);
}

.about-page .about-hero-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.6rem;
  padding: 0.6rem;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.94) 0%, rgba(241, 246, 250, 0.92) 100%);
}

.about-page .about-hero-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 168px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.about-page .about-hero-collage img:first-child {
  grid-row: span 2;
  min-height: 352px;
}

.about-page .about-client-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.about-page .about-client-value-card {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid #d5dfe8;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.about-page .about-client-value-card strong {
  display: block;
  color: #8a4b11;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-page .about-client-value-card p {
  margin: 0.5rem 0 0;
  color: #445f76;
  line-height: 1.58;
}

@media (max-width: 1080px) {
  .about-page .about-hero-collage,
  .about-page .about-client-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .about-hero-collage img:first-child {
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .about-page .about-hero-collage,
  .about-page .about-client-value-grid {
    grid-template-columns: 1fr;
  }

  .about-page .about-hero-collage img,
  .about-page .about-hero-collage img:first-child {
    min-height: 205px;
  }
}

/* Contact storytelling pass (2026-04-06) */
.contact-page .contact-hero-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.16) 0%, rgba(200, 136, 26, 0) 20%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 52%, #eee9df 100%);
}

.contact-page .contact-hero-figure--collage {
  border-radius: 32px;
  border-color: rgba(199, 208, 218, 0.86);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.14);
}

.contact-page .contact-hero-collage {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0.6rem;
  padding: 0.6rem;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.94) 0%, rgba(241, 246, 250, 0.92) 100%);
}

.contact-page .contact-hero-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 168px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.contact-page .contact-hero-collage img:first-child {
  grid-row: span 2;
  min-height: 352px;
}

.contact-page .contact-hero-facts {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 0;
  border-top: none;
}

.contact-page .contact-hero-facts span {
  padding: 0.9rem 1rem 0.95rem;
  border: 1px solid #d5dfe8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.contact-page .page-note-card {
  border-color: #d5dfe8;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.contact-page .contact-options-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 100%);
}

.contact-page .contact-card-kicker {
  margin: 0 0 0.35rem;
  color: #8a4b11;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-page .contact-rail--channels {
  border-color: #d5dfe8;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.contact-page .contact-form-shell--premium {
  border-color: #d5dfe8;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
}

.contact-page .contact-meta-grid > div {
  border-color: #d5dfe8;
}

.contact-page .contact-reassurance {
  border-color: #d5dfe8;
  background: linear-gradient(180deg, #f8fbfd 0%, #f2f7fb 100%);
}

.contact-page .contact-expectations-section {
  background: linear-gradient(180deg, #f2f4f6 0%, #e8edf2 100%);
}

.contact-page .contact-expectation-card {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.contact-page .contact-map-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(200, 136, 26, 0.12) 0%, rgba(200, 136, 26, 0) 28%),
    linear-gradient(180deg, #0d1824 0%, #142738 56%, #172d41 100%);
}

@media (max-width: 1080px) {
  .contact-page .contact-hero-collage,
  .contact-page .contact-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-hero-collage img:first-child {
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .contact-page .contact-hero-collage,
  .contact-page .contact-hero-facts {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero-collage img,
  .contact-page .contact-hero-collage img:first-child {
    min-height: 205px;
  }
}

/* 404 recovery page pass (2026-04-06) */
.not-found-page .not-found-hero-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.16) 0%, rgba(200, 136, 26, 0) 20%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 28%),
    linear-gradient(180deg, #f3eee5 0%, #e7e1d7 52%, #eee9df 100%);
}

.not-found-page .not-found-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
}

.not-found-page .not-found-copy {
  display: grid;
  gap: 1rem;
}

.not-found-page .not-found-copy .page-title {
  max-width: 12.2ch;
}

.not-found-page .not-found-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.not-found-page .not-found-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 208, 218, 0.86);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.14);
}

.not-found-page .not-found-collage {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 0.6rem;
  padding: 0.6rem;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.94) 0%, rgba(241, 246, 250, 0.92) 100%);
}

.not-found-page .not-found-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 176px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.not-found-page .not-found-collage img:first-child {
  grid-row: span 2;
  min-height: 360px;
}

.not-found-page .not-found-options-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #fbfaf7 100%);
}

.not-found-page .not-found-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.not-found-page .page-info-card {
  display: grid;
  align-content: start;
}

.not-found-page .page-info-card .home-inline-link {
  margin-top: 0.9rem;
}

@media (max-width: 1080px) {
  .not-found-page .not-found-grid,
  .not-found-page .not-found-card-grid,
  .not-found-page .not-found-collage {
    grid-template-columns: 1fr;
  }

  .not-found-page .not-found-collage img:first-child {
    grid-row: auto;
    min-height: 230px;
  }
}

@media (max-width: 768px) {
  .not-found-page .not-found-collage img,
  .not-found-page .not-found-collage img:first-child {
    min-height: 205px;
  }
}

/* Admin access routing page pass (2026-04-06) */
.admin-access-page .admin-access-hero-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(200, 136, 26, 0.14) 0%, rgba(200, 136, 26, 0) 24%),
    radial-gradient(circle at 82% 16%, rgba(18, 52, 89, 0.12) 0%, rgba(18, 52, 89, 0) 30%),
    linear-gradient(180deg, #edf2f6 0%, #e5ebf0 50%, #eff3f6 100%);
}

.admin-access-page .admin-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
}

.admin-access-page .admin-access-copy {
  display: grid;
  gap: 1rem;
}

.admin-access-page .admin-access-copy .page-title {
  max-width: 12ch;
}

.admin-access-page .admin-access-note {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(176, 188, 200, 0.8);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 252, 0.94) 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.admin-access-page .admin-access-note strong {
  color: var(--primary);
}

.admin-access-page .admin-access-note p {
  margin: 0;
}

.admin-access-page .admin-access-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(190, 202, 214, 0.88);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  box-shadow: 0 32px 62px rgba(15, 23, 42, 0.12);
}

.admin-access-page .admin-access-collage {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 0.6rem;
  padding: 0.6rem;
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.96) 0%, rgba(237, 243, 248, 0.92) 100%);
}

.admin-access-page .admin-access-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 176px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.admin-access-page .admin-access-collage img:first-child {
  grid-row: span 2;
  min-height: 360px;
}

.admin-access-page .admin-access-options-section {
  background: linear-gradient(180deg, #f7fafc 0%, #fbfcfd 100%);
}

.admin-access-page .admin-access-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-access-page .page-info-card {
  display: grid;
  align-content: start;
}

.admin-access-page .page-info-card .home-inline-link {
  margin-top: 0.9rem;
}

@media (max-width: 1080px) {
  .admin-access-page .admin-access-grid,
  .admin-access-page .admin-access-card-grid,
  .admin-access-page .admin-access-collage {
    grid-template-columns: 1fr;
  }

  .admin-access-page .admin-access-collage img:first-child {
    grid-row: auto;
    min-height: 230px;
  }
}

@media (max-width: 768px) {
  .admin-access-page .admin-access-note {
    padding: 0.9rem 0.95rem;
    border-radius: 18px;
  }

  .admin-access-page .admin-access-collage img,
  .admin-access-page .admin-access-collage img:first-child {
    min-height: 205px;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   Visual polish pass — 2026-04-06
   Refinements only: type rhythm, spacing normalisation, card balance,
   section transitions, icon sizing.  No layout changes.
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Type rhythm ──────────────────────────────────────────────────────────── */

/* Lead copy: settle on 1.7 (removes the 1.72 vs 1.76 drift across earlier passes) */
.home-lead {
  line-height: 1.7;
}

/* Testimonial quote: 1.75 is too relaxed for a single-paragraph pull-quote */
.home-quote {
  line-height: 1.7;
}

/* Compact body copy: harmonise to 1.65 across cards and lists */
.gallery-card-copy,
.gallery-material-body p,
.gallery-card-notes li,
.home-method-list p,
.home-trust-points li {
  line-height: 1.65;
}

/* Uppercase stat label at 0.92rem is too large for all-caps + letter-spacing */
.home-case-stats strong {
  font-size: 0.78rem;
}

/* Gallery eyebrow tags: join the site-wide eyebrow size via specificity override */
.gallery-card-tag {
  font-size: 0.8125rem;
}

/* ── Spacing ──────────────────────────────────────────────────────────────── */

/* Button-row gap: standardise to 1rem everywhere */
.home-hero-actions {
  gap: 1rem;
}

/* Signature card body: 0.48rem (~7.7px) is below comfortable text rhythm */
.home-signature-body {
  gap: 0.65rem;
}

/* Signature card grid: 1.15rem → 1.2rem to match the 4-col service card grid */
.home-signature-grid {
  gap: 1.2rem;
}

/* Proof strip top padding: 0.45rem renders as a margin artefact against the hero */
.home-proof-strip {
  padding-block-start: 0.9rem;
}

/* Featured-notes divider: 0.72rem → 0.75rem (matches rest of the paragraph-gap system) */
.home-featured-notes p + p {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

/* ── Card balance ─────────────────────────────────────────────────────────── */

/* Testimonial cards: 1.8rem top/bottom padding is visibly taller than peer card types */
.home-testimonial-card {
  padding: 1.5rem 1.45rem;
}

/* CTA panel decorative blob: normalise all three variants (300px / 280px / 260px) to 280px */
.home-cta-panel::after {
  width: 280px;
  height: 280px;
}

.home-cta-panel--refined::after {
  width: 280px;
  height: 280px;
}

/* Gallery material CTAs: 48px override breaks uniform 44px site button height */
.gallery-material-actions .home-btn-secondary,
.gallery-material-actions .home-btn-primary {
  min-height: 44px;
}

/* ── Section transitions ──────────────────────────────────────────────────── */

/* Trust → CTA: identical background end/start colours render as one merged zone */
.home-cta-section {
  border-top: 1px solid rgba(183, 196, 210, 0.38);
}

/* ── Icons and badges ─────────────────────────────────────────────────────── */

/* Replace ASCII "->" with a single typographic arrow character */
.home-card-link::after,
.service-directory-link::after {
  content: "→";
}

/* Align media badge and meta pill padding (0.38 vs 0.45 → unified 0.42rem) */
.gallery-media-badge {
  padding: 0.42rem 0.65rem;
}

.gallery-card-meta span {
  padding: 0.42rem 0.65rem;
}

/* Step number markers: normalise to 2rem across all three size variants (2.2 / 2.05 / 1.95) */
.home-intro-panel-item span,
.home-pillar-card span,
.home-method-list span {
  width: 2rem;
  height: 2rem;
}

.about-page .about-process-list span {
  width: 2rem;
  height: 2rem;
}

/* Inline text link: add minimal vertical padding for a better tap surface on desktop */
.home-inline-link {
  padding-block: 0.2rem;
}
