/* ==========================================================================
   Southern Maine Roofs — Master Stylesheet
   Version:  2.0.0
   Updated:  2026-04-04
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   1.  CSS Custom Properties (Design Tokens)
   2.  CSS Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Utility Classes
   6.  Animations & Keyframes
   7.  Promo Banner
   8.  Site Header & Navigation
   9.  Hero Sections
   10. Buttons
   11. Section Styling
   12. Feature Cards
   13. Stats Section
   14. Gallery
   15. Testimonials
   16. Service Cards
   17. Contact Form
   18. FAQ Accordion
   19. Footer
   20. Scroll Animations
   21. CTA / Call-to-Action Banner
   22. Additional Components
   23. Responsive — Tablet (max-width: 1024px)
   24. Responsive — Mobile (max-width: 768px)
   25. Responsive — Small Mobile (max-width: 480px)
   26. Print Styles
   -------------------------------------------------------------------------- */


/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Color Palette — warm craftsman luxury */
  --color-primary-dark:    #111827;
  --color-accent-blue:     #b45309;
  --color-cta-orange:      #b45309;
  --color-cta-hover:       #92400e;
  --color-light-bg:        #faf7f2;
  --color-dark-bg:         #111827;
  --color-white:           #ffffff;
  --color-warm-gray:       #6b7280;
  --color-light-gray:      #e5e7eb;
  --color-success-green:   #059669;
  --color-body-text:       #4b5563;
  --color-icon-bg:         #fef3c7;
  --color-star-gold:       #d97706;
  --color-border-subtle:   rgba(0, 0, 0, 0.06);

  /* Premium Gradients */
  --gradient-hero:         linear-gradient(180deg, rgba(17, 24, 39, 0.93) 0%, rgba(17, 24, 39, 0.78) 50%, rgba(120, 53, 15, 0.55) 100%);
  --gradient-card-accent:  linear-gradient(135deg, #b45309, #d97706);
  --gradient-stats:        linear-gradient(160deg, #111827 0%, #1f2937 50%, #111827 100%);
  --gradient-cta:          linear-gradient(135deg, #b45309 0%, #92400e 100%);
  --gradient-dark-subtle:  linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);

  /* Typography — Serif + Sans luxury pairing */
  --font-family-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-family-base: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                      Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base:   1rem;
  --line-height-base: 1.75;
  --letter-spacing-heading: -0.025em;
  --letter-spacing-label:    0.08em;
  --letter-spacing-button:   0.04em;

  /* Spacing */
  --section-padding-y:     100px;
  --section-padding-y-sm:   68px;
  --container-max-width:  1280px;
  --container-padding-x:    24px;

  /* Shadows — clean elevated style */
  --shadow-card:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-header:
    0 1px 0 rgba(0, 0, 0, 0.05);
  --shadow-header-scrolled:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-btn:
    0 2px 8px rgba(180, 83, 9, 0.25),
    0 8px 24px rgba(180, 83, 9, 0.12);
  --shadow-btn-hover:
    0 4px 12px rgba(180, 83, 9, 0.3),
    0 16px 40px rgba(180, 83, 9, 0.18);
  --shadow-input-focus:
    0 0 0 4px rgba(180, 83, 9, 0.1);
  --shadow-glow-orange:
    0 0 40px rgba(180, 83, 9, 0.15);

  /* Borders */
  --radius-sm:  6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-base:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-card:  all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow:  all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Z-index layers */
  --z-promo:   1000;
  --z-header:   900;
  --z-overlay:  800;
  --z-mobile-menu: 850;
}


/* ==========================================================================
   2. CSS Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-body-text);
  background-color: #fdfcfa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Subtle warm grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font: inherit;
  border: none;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-primary-dark);
}

p + p {
  margin-top: 1rem;
}


/* ==========================================================================
   3. Typography
   ========================================================================== */

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.6;
}

.text-small {
  font-size: 0.9rem;
}

.text-muted {
  color: var(--color-warm-gray);
}

.section-label {
  display: inline-block;
  font-family: var(--font-family-base);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent-blue);
  margin-bottom: 16px;
  padding: 7px 18px;
  background-color: rgba(180, 83, 9, 0.06);
  border: 1px solid rgba(180, 83, 9, 0.12);
  border-radius: 999px;
}

.accent-line {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gradient-card-accent);
  margin-top: 20px;
  border-radius: 3px;
}

/* Italic accent for serif elegance */
.hero__subtitle em,
.page-hero__subtitle em {
  font-style: italic;
  font-family: var(--font-family-heading);
  color: rgba(251, 191, 36, 0.9);
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================================
   4. Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

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

.container--wide {
  max-width: 1400px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col {
  flex: 1;
  padding-left: 15px;
  padding-right: 15px;
}


/* ==========================================================================
   5. Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.gap-1         { gap: 0.5rem; }
.gap-2         { gap: 1rem; }
.gap-3         { gap: 1.5rem; }
.gap-4         { gap: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}


/* ==========================================================================
   6. Animations & Keyframes
   ========================================================================== */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-12px) translateX(-50%);
  }
  60% {
    transform: translateY(-6px) translateX(-50%);
  }
}

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

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

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

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}


/* ==========================================================================
   7. Promo Banner
   ========================================================================== */

.promo-banner {
  position: sticky;
  top: 0;
  z-index: var(--z-promo);
  background: linear-gradient(135deg, #78350f 0%, #92400e 40%, #b45309 100%);
  color: var(--color-white);
  text-align: center;
  padding: 12px 50px 12px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.promo-banner a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.promo-banner a:hover {
  text-decoration: none;
}

.promo-banner__highlight {
  display: inline-block;
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
}

.promo-banner__close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.3rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  line-height: 1;
  opacity: 0.7;
}

.promo-banner__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.promo-banner.hidden {
  display: none;
}


/* ==========================================================================
   8. Site Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid #f3f0eb;
}

/* When promo banner is present, header sits below it */
.promo-banner + .site-header {
  top: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px var(--container-padding-x);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state — frosted glass */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: var(--shadow-header-scrolled);
  border-bottom: 1px solid #e7e5e4;
}

.site-header.scrolled .site-header__inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__img {
  height: 240px;
  width: auto;
  display: block;
  margin: -90px 0;
  object-fit: contain;
}

.site-logo__img--footer {
  height: 200px;
  margin: -72px 0;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.site-logo__name {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-logo__tagline {
  font-family: var(--font-family-base);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav__link {
  display: inline-block;
  padding: 8px 18px;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-warm-gray);
  position: relative;
  transition: color 0.2s ease;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--gradient-card-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.main-nav__link:hover,
.main-nav__link.active {
  color: var(--color-primary-dark);
}

.main-nav__link:hover::after,
.main-nav__link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.main-nav__item {
  position: relative;
}

.main-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  box-shadow: var(--shadow-card-hover);
  border-radius: var(--radius-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.main-nav__item:hover .main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav__dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-body-text);
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
}

.main-nav__dropdown a:hover {
  background-color: var(--color-light-bg);
  color: var(--color-cta-orange);
  padding-left: 28px;
}

/* Header CTA — phone */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0;
  box-shadow: var(--shadow-btn);
}

.header-cta__phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.05);
}

.header-cta__phone svg,
.header-cta__phone i {
  font-size: 1rem;
}

/* Hamburger / Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: calc(var(--z-mobile-menu) + 10);
  position: relative;
}

.mobile-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle__bar + .mobile-toggle__bar {
  margin-top: 6px;
}

/* Hamburger open state */
.mobile-toggle.open .mobile-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.open .mobile-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.open .mobile-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-white);
  z-index: var(--z-mobile-menu);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open,
body.mobile-menu-open .mobile-menu {
  display: flex;
  opacity: 1;
}

.mobile-menu__list {
  text-align: center;
}

.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-family: var(--font-family-base);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--color-cta-orange);
}

.mobile-menu__cta {
  margin-top: 40px;
}

.mobile-menu__cta .btn {
  font-size: 1.1rem;
  padding: 18px 44px;
}


/* ==========================================================================
   8b. Inner-Page Header & Nav (Convention B classes)
   All inner pages use different class names than the homepage.
   These rules mirror the Convention A styles above.
   ========================================================================== */

/* Inner header layout — .header__inner inside .container */
.site-header .header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .header__inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo — Convention B */
.header__logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-name {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none;
}

.header__logo-tagline {
  font-family: var(--font-family-base);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation — Convention B */
.header__nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-warm-gray);
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gradient-card-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary-dark);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

/* Header CTA — Convention B */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
  border: none;
}

.header__cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
  background: linear-gradient(135deg, #a16207 0%, #92400e 100%);
  color: var(--color-white);
}

/* Mobile toggle — Convention B */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: calc(var(--z-mobile-menu) + 10);
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

.header__menu-toggle .hamburger,
.header__menu-toggle .hamburger::before,
.header__menu-toggle .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__menu-toggle .hamburger {
  position: relative;
}

.header__menu-toggle .hamburger::before,
.header__menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.header__menu-toggle .hamburger::before {
  top: -7px;
}

.header__menu-toggle .hamburger::after {
  top: 7px;
}

/* Promo banner — Convention B subclasses */
.promo-banner__text {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.promo-banner__link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.promo-banner__link:hover {
  text-decoration: none;
}


/* ==========================================================================
   8c. Inner-Page Footer (Convention B classes)
   ========================================================================== */

.site-footer .footer__col {
  /* Column styling handled by footer__grid */
}

.footer__logo {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer__about {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer__title {
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-white);
  margin-bottom: 24px;
}

.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.footer__contact li strong {
  color: rgba(255, 255, 255, 0.8);
}

.footer__contact li a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer__contact li a:hover {
  color: #fbbf24;
}


/* ==========================================================================
   9. Hero Sections
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Subtle vignette for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  padding: 0 var(--container-padding-x);
}

/* Decorative accent line above hero title */
.hero__content::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-card-accent);
  margin: 0 auto 32px;
  border-radius: 3px;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s both;
}

.hero__title {
  font-family: var(--font-family-heading);
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: none;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero__subtitle {
  font-family: var(--font-family-base);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.15s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s both;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.5s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.9) 0%,
    rgba(120, 53, 15, 0.55) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 var(--container-padding-x);
}

.page-hero__title {
  font-family: var(--font-family-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: none;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero__subtitle {
  font-family: var(--font-family-base);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-weight: 300;
}

/* Breadcrumb in page hero */
.page-hero__breadcrumb {
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-hero__breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero__breadcrumb span {
  margin: 0 8px;
}


/* ==========================================================================
   10. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(0) !important;
}

/* Primary — blue gradient */
.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
  background: linear-gradient(135deg, #a16207 0%, #92400e 100%);
}

/* Secondary — Atlantic Blue */
.btn-secondary {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  border-color: var(--color-accent-blue);
}

.btn-secondary:hover {
  background-color: #78350f;
  border-color: #78350f;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(180, 83, 9, 0.3);
}

/* Outline — For Dark Sections */
.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Outline Dark — For Light Sections */
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-dark:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Small */
.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Large */
.btn-lg {
  padding: 16px 40px;
  font-size: 0.9375rem;
}

/* Full Width */
.btn-block {
  display: flex;
  width: 100%;
}

/* Button with icon */
.btn svg,
.btn i {
  font-size: 1.1em;
  flex-shrink: 0;
}


/* ==========================================================================
   11. Section Styling
   ========================================================================== */

.section {
  padding: var(--section-padding-y) 0;
}

.section-light {
  background: linear-gradient(180deg, #f7f3ee 0%, #fdfcfa 100%);
  position: relative;
}

/* Two-column content grid (replaces inline grid styles) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-grid--top {
  align-items: start;
}

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

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

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

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-label {
  color: var(--color-cta-orange);
}

.section-dark .accent-line {
  background: var(--gradient-card-accent);
}

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

.section-primary h2,
.section-primary h3 {
  color: var(--color-white);
}

/* Section Header — Centered */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-header p {
  margin-top: 20px;
  color: var(--color-warm-gray);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
}

.section-header .accent-line {
  margin-left: auto;
  margin-right: auto;
}

/* Section Header in dark sections */
.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--color-light-gray);
  margin: 0;
}


/* ==========================================================================
   12. Feature Cards
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
  position: relative;
  border: 1px solid rgba(180, 83, 9, 0.06);
}

/* Accent bottom border — hidden by default, appears on hover */
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--gradient-card-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(180, 83, 9, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #c27803, #b45309);
  margin: 0 auto 20px;
  transition: var(--transition-base);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, #a16207, #92400e);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
  transform: scale(1.05);
}

.feature-card__icon svg,
.feature-card__icon i,
.feature-card__icon img {
  width: 26px;
  height: 26px;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-card__icon svg,
.feature-card:hover .feature-card__icon i {
  color: var(--color-white);
}

.feature-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.92rem;
  color: var(--color-warm-gray);
  line-height: 1.65;
}

/* 3-column variant */
.features-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Light section feature cards */
.section-light .feature-card {
  background-color: var(--color-white);
}


/* ==========================================================================
   13. Stats Section
   ========================================================================== */

.stats {
  background: var(--gradient-stats);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative glow */
.stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 115, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
}

.stat-item {
  padding: 24px;
}

.stat-item__number {
  display: block;
  font-family: var(--font-family-heading);
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}

.stat-item__label {
  display: block;
  font-family: var(--font-family-base);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: rgba(255, 255, 255, 0.5);
}

/* Dividers between stats */
.stat-item + .stat-item {
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}


/* ==========================================================================
   14. Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

/* Masonry-like sizing */
.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0) 30%,
    rgba(120, 53, 15, 0.75) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Gallery filter tabs */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  border: 1px solid var(--color-light-gray);
  background: transparent;
  color: var(--color-warm-gray);
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue);
  background-color: rgba(180, 83, 9, 0.05);
}


/* ==========================================================================
   15. Testimonials
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
  position: relative;
  border: 1px solid rgba(180, 83, 9, 0.06);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(180, 83, 9, 0.1);
}

/* Quote icon — badge style like reference */
.testimonial-card__quote {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-white);
  opacity: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: -14px;
  left: 28px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c27803, #b45309);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

/* Star rating */
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--color-star-gold);
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-body-text);
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #f3f0eb;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #c27803, #b45309);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-family-base);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.testimonial-card__location {
  font-size: 0.78rem;
  color: var(--color-warm-gray);
  margin-top: 2px;
}

/* Dark section testimonials */
.section-dark .testimonial-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-dark .testimonial-card__text {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .testimonial-card__name {
  color: var(--color-white);
}

.section-dark .testimonial-card__location {
  color: rgba(255, 255, 255, 0.5);
}

.section-dark .testimonial-card__quote {
  color: var(--color-cta-orange);
  opacity: 0.15;
}

.section-dark .testimonial-card__author {
  border-top-color: rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   16. Service Cards
   ========================================================================== */

/* Grid variant */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
  border: 1px solid rgba(180, 83, 9, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(180, 83, 9, 0.1);
}

.service-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.service-card__content {
  padding: 32px;
}

.service-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.92rem;
  color: var(--color-warm-gray);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-cta-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition-base);
}

.service-card__link:hover {
  gap: 10px;
  color: var(--color-cta-hover);
}

/* Alternating layout variant */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-row + .service-row {
  margin-top: 40px;
}

.service-row__image {
  overflow: hidden;
  min-height: 400px;
}

.service-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-row__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  background-color: var(--color-white);
}

.service-row__content h3 {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}

.service-row__content p {
  color: var(--color-warm-gray);
  margin-bottom: 24px;
  line-height: 1.75;
}

/* Alternate: image right, content left */
.service-row--reverse {
  direction: rtl;
}

.service-row--reverse > * {
  direction: ltr;
}


/* ==========================================================================
   Article Pages
   ========================================================================== */

.article-page {
  background:
    radial-gradient(circle at top right, rgba(212, 115, 26, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: rgba(212, 115, 26, 0.08);
  color: var(--color-cta-orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.article-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.article-dek {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-warm-gray);
  max-width: 720px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background-color: var(--color-white);
  border: 1px solid rgba(26, 35, 50, 0.08);
  box-shadow: var(--shadow-card);
  color: var(--color-primary-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

.article-cover {
  margin: 40px 0 46px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}

.article-cover img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.article-caption {
  padding: 14px 20px;
  background-color: var(--color-white);
  color: var(--color-warm-gray);
  font-size: 0.86rem;
  border-top: 1px solid rgba(26, 35, 50, 0.06);
}

.article-prose {
  background-color: var(--color-white);
  border: 1px solid rgba(26, 35, 50, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 48px;
}

.article-prose h2,
.article-prose h3 {
  margin-top: 40px;
  margin-bottom: 14px;
}

.article-prose h2:first-child,
.article-prose h3:first-child {
  margin-top: 0;
}

.article-prose p,
.article-prose li {
  font-size: 1rem;
  line-height: 1.9;
}

.article-prose strong {
  color: var(--color-primary-dark);
}

.article-prose ul,
.article-prose ol {
  list-style: disc;
  padding-left: 22px;
  margin: 18px 0;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li + li {
  margin-top: 10px;
}

.article-prose a {
  color: var(--color-accent-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--color-cta-orange);
  background-color: rgba(180, 83, 9, 0.05);
  color: var(--color-primary-dark);
  font-style: italic;
}

.article-inline-image {
  margin: 28px 0 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-inline-image img {
  width: 100%;
}

.article-footer-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-light-gray);
  color: var(--color-warm-gray);
  font-size: 0.92rem;
}

.article-related {
  margin-top: 56px;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.article-related__card {
  display: block;
  padding: 24px;
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  border: 1px solid rgba(26, 35, 50, 0.06);
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.article-related__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.article-related__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cta-orange);
  margin-bottom: 10px;
}

.article-related__title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.article-related__text {
  color: var(--color-warm-gray);
  font-size: 0.94rem;
  line-height: 1.75;
}


/* ==========================================================================
   17. Contact Form
   ========================================================================== */

.contact-form-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hover);
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #f3f0eb;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__group {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 16px 18px;
  font-size: 0.98rem;
  color: var(--color-body-text);
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #a8b2bf;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  border-color: var(--color-accent-blue);
  background-color: var(--color-white);
  box-shadow: var(--shadow-input-focus);
  outline: none;
}

.contact-form__textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.contact-form__submit {
  margin-top: 8px;
}

.contact-form__note {
  font-size: 0.78rem;
  color: var(--color-warm-gray);
  margin-top: 16px;
  text-align: center;
}

/* Error states */
.contact-form__input.error,
.contact-form__textarea.error,
.contact-form__select.error {
  border-color: #e74c3c;
}

.contact-form__error {
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 6px;
}

/* Success state */
.contact-form__success {
  text-align: center;
  padding: 40px;
}

.contact-form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-success-green);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-blue);
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-gray);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.contact-info__value a {
  color: var(--color-primary-dark);
  transition: color 0.3s ease;
}

.contact-info__value a:hover {
  color: var(--color-cta-orange);
}


/* ==========================================================================
   18. FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-light-gray);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-light-gray);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family-base);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.4;
  transition: color 0.2s ease;
  gap: 16px;
}

.faq-item__question:hover {
  color: var(--color-cta-orange);
}

.faq-item.active .faq-item__question {
  color: var(--color-cta-orange);
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-light-bg);
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-warm-gray);
  transition: var(--transition-base);
}

.faq-item.active .faq-item__toggle {
  background: var(--gradient-cta);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding-bottom: 28px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-warm-gray);
}

.faq-item__answer-inner p + p {
  margin-top: 12px;
}

/* Dark section FAQ */
.section-dark .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-dark .faq-item:first-child {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.section-dark .faq-item__question {
  color: var(--color-white);
}

.section-dark .faq-item__toggle {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.section-dark .faq-item.active .faq-item__toggle {
  background: var(--gradient-cta);
  color: var(--color-white);
}

.section-dark .faq-item__answer-inner {
  color: rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   19. Footer
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, #111827 0%, #020617 100%);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  position: relative;
}

/* Warm accent top border */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, rgba(180, 83, 9, 0.5) 30%, rgba(217, 119, 6, 0.6) 50%, rgba(180, 83, 9, 0.5) 70%, transparent 90%);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fbbf24;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
}

/* Footer columns */
.footer__col-title {
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 0;
}

.footer__col-title::after {
  display: none;
}

/* About column */
.footer__about .site-logo {
  margin-bottom: 18px;
}

.footer__about .site-logo__name {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
}

.footer__about-text {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Footer links */
.footer__links li + li {
  margin-top: 12px;
}

.footer__links a {
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

/* Footer contact info */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer__contact-item svg,
.footer__contact-item i {
  flex-shrink: 0;
  margin-top: 3px;
  color: #fbbf24;
  font-size: 1rem;
  width: 18px;
}

/* Social icons */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition-base);
}

.footer__social-link:hover {
  background-color: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  transform: scale(1.1);
}

/* Footer bottom bar */
.footer__bottom {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a,
.footer__bottom-links span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   20. Scroll Animations
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="6"] { transition-delay: 0.6s; }

/* nth-child stagger for grids */
.features-grid .feature-card:nth-child(1),
.testimonials-grid .testimonial-card:nth-child(1),
.services-grid .service-card:nth-child(1) { --stagger: 0s; }

.features-grid .feature-card:nth-child(2),
.testimonials-grid .testimonial-card:nth-child(2),
.services-grid .service-card:nth-child(2) { --stagger: 0.1s; }

.features-grid .feature-card:nth-child(3),
.testimonials-grid .testimonial-card:nth-child(3),
.services-grid .service-card:nth-child(3) { --stagger: 0.2s; }

.features-grid .feature-card:nth-child(4) { --stagger: 0.3s; }

.features-grid .animate-on-scroll.feature-card,
.testimonials-grid .animate-on-scroll.testimonial-card,
.services-grid .animate-on-scroll.service-card {
  transition-delay: var(--stagger);
}

/* Slide variants */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced motion preference */
@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-on-scroll,
  .animate-slide-left,
  .animate-slide-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   21. CTA / Call-to-Action Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, #78350f 0%, #92400e 40%, #b45309 70%, #d97706 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative glow */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-family-heading);
  color: var(--color-white);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

.cta-banner .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
}


/* ==========================================================================
   22. Additional Components
   ========================================================================== */

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  line-height: 1.4;
}

.badge-orange {
  background-color: rgba(212, 115, 26, 0.1);
  color: var(--color-cta-orange);
}

.badge-blue {
  background-color: rgba(180, 83, 9, 0.1);
  color: var(--color-accent-blue);
}

.badge-green {
  background-color: rgba(29, 145, 80, 0.1);
  color: var(--color-success-green);
}

/* Process / Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-btn);
}

/* Connector line between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background-color: var(--color-light-gray);
  z-index: 0;
}

.process-step__title {
  font-family: var(--font-family-base);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 0.88rem;
  color: var(--color-warm-gray);
  line-height: 1.65;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid #f3f0eb;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.trust-bar img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Map embed container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent-blue);
  font-weight: 700;
  font-size: 0.9rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(180, 83, 9, 0.1);
  border-radius: 50%;
  font-size: 0.7rem;
}

/* Pricing table (optional) */
.pricing-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card--featured {
  border-color: var(--color-cta-orange);
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: 50px;
}


/* ==========================================================================
   Lead Generation Form
   ========================================================================== */

.lead-form-section {
  background: var(--gradient-stats);
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow: hidden;
}

.lead-form-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.lead-form-section .section-header h2 {
  color: var(--color-white);
}

.lead-form-section .section-label {
  color: var(--color-star-gold);
}

.lead-form-section .accent-line--center {
  background: var(--gradient-card-accent);
}

.lead-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hover);
  padding: 48px;
  border: 1px solid #f3f0eb;
  position: relative;
  z-index: 1;
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lead-form__group {
  margin-bottom: 24px;
}

.lead-form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.lead-form__input,
.lead-form__textarea,
.lead-form__select {
  width: 100%;
  padding: 16px 18px;
  font-size: 0.98rem;
  color: var(--color-body-text);
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.lead-form__input::placeholder,
.lead-form__textarea::placeholder {
  color: var(--color-warm-gray);
}

.lead-form__input:focus,
.lead-form__textarea:focus,
.lead-form__select:focus {
  border-color: var(--color-cta-orange);
  box-shadow: var(--shadow-input-focus);
  background-color: var(--color-white);
}

.lead-form__textarea {
  resize: vertical;
  min-height: 100px;
}

.lead-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.lead-form__checkbox-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lead-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-body-text);
  cursor: pointer;
}

.lead-form__checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-cta-orange);
  cursor: pointer;
}

.lead-form__submit {
  margin-top: 8px;
}

.lead-form__input.input-error,
.lead-form__textarea.input-error,
.lead-form__select.input-error {
  border-color: #dc3545;
}

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid rgba(26, 35, 50, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-icon-bg);
  margin: 0 auto 16px;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-cta-orange);
}

.contact-card__title {
  font-family: var(--font-family-base);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.contact-card__text {
  font-size: 0.95rem;
  color: var(--color-body-text);
  line-height: 1.6;
}

.contact-card__text a {
  color: var(--color-accent-blue);
  font-weight: 600;
}

/* ==========================================================================
   Admin Page
   ========================================================================== */

.admin-login {
  max-width: 400px;
  margin: 80px auto;
  padding: 48px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hover);
  text-align: center;
}

.admin-login h1 {
  font-family: var(--font-family-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.admin-login p {
  color: var(--color-warm-gray);
  margin-bottom: 24px;
}

.admin-login__input {
  width: 100%;
  padding: 16px 18px;
  font-size: 0.98rem;
  color: var(--color-body-text);
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition-base);
}

.admin-login__input:focus {
  border-color: var(--color-cta-orange);
  box-shadow: var(--shadow-input-focus);
  background-color: var(--color-white);
}

.admin-login__error {
  color: #dc3545;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: none;
}

.admin-dashboard {
  display: none;
  padding: 32px 0;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-toolbar__filters select,
.admin-toolbar__filters input[type="date"] {
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-body-text);
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26, 35, 50, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 0.9rem;
}

.admin-table thead {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-light-gray);
  color: var(--color-body-text);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background-color: var(--color-light-bg);
}

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

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--color-white);
  border: 1px solid rgba(26, 35, 50, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.admin-stat-card__number {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.admin-stat-card__label {
  font-size: 0.85rem;
  color: var(--color-warm-gray);
  margin-top: 4px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.admin-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-warm-gray);
}


/* ==========================================================================
   23. Responsive — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {

  /* Typography */
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.35rem; }

  /* Section */
  .section {
    padding: 80px 0;
  }

  /* Header */
  .main-nav,
  .header__nav {
    display: none;
  }

  .mobile-toggle,
  .header__menu-toggle {
    display: flex;
  }

  .header-cta__phone span.phone-text {
    display: none;
  }

  /* Hero */
  .hero__title {
    font-size: 3rem;
  }

  .page-hero__title {
    font-size: 2.6rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row__image {
    min-height: 280px;
  }

  .service-row__content {
    padding: 40px 32px;
  }

  .service-row--reverse {
    direction: ltr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Process Steps */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  /* Contact Form */
  .contact-form-wrapper {
    padding: 40px 32px;
  }
}


/* ==========================================================================
   24. Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {

  /* Typography */
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.25rem; }

  body {
    font-size: 1rem;
  }

  /* Section */
  .section {
    padding: var(--section-padding-y-sm) 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .section-header p {
    font-size: 0.98rem;
  }

  /* Header */
  .site-header__inner,
  .site-header .header__inner {
    padding: 14px 0;
  }

  .site-logo__img {
    height: 200px;
    margin: -74px 0;
  }

  .site-logo__name,
  .header__logo-name {
    font-size: 1.15rem;
  }

  .site-logo__tagline,
  .header__logo-tagline {
    font-size: 0.6rem;
  }

  .header-cta__phone,
  .header__cta {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__title {
    font-size: 2.4rem;
    margin-bottom: 16px;
  }

  .hero__subtitle {
    font-size: 1.02rem;
    margin-bottom: 28px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .page-hero {
    min-height: 40vh;
  }

  .page-hero__title {
    font-size: 2.1rem;
  }

  /* Buttons */
  .btn {
    padding: 14px 28px;
  }

  .btn-lg {
    padding: 16px 36px;
    font-size: 0.85rem;
  }

  /* Features */
  .features-grid,
  .features-grid--3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  /* Stats */
  .stats {
    padding: 70px 0;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item__number {
    font-size: 2.6rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 32px 24px 24px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row__image {
    min-height: 220px;
  }

  .service-row__content {
    padding: 32px 24px;
  }

  .service-row__content h3 {
    font-size: 1.5rem;
  }

  /* Contact Form */
  .contact-form-wrapper {
    padding: 32px 20px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form__submit .btn {
    width: 100%;
  }

  /* FAQ */
  .faq-item__question {
    font-size: 1.05rem;
    padding: 22px 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    margin-top: 40px;
  }

  .footer__bottom-links {
    justify-content: center;
  }

  /* Process Steps */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 70px 0;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  .cta-banner p {
    font-size: 0.98rem;
  }

  /* Map */
  .map-container {
    height: 300px;
  }

  /* Promo banner */
  .promo-banner {
    font-size: 0.82rem;
    padding: 10px 44px 10px 16px;
  }

  /* Trust bar */
  .trust-bar {
    gap: 24px;
    padding: 28px 0;
  }

  .trust-bar__item {
    font-size: 0.82rem;
  }

  .lead-form__row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 28px 20px;
  }

  .lead-form__checkbox-group {
    flex-direction: column;
    gap: 12px;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ==========================================================================
   25. Responsive — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 0.92rem;
  }

  .page-hero__title {
    font-size: 1.8rem;
  }

  .stat-item__number {
    font-size: 2.2rem;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header__inner,
  .site-header .header__inner {
    padding: 12px 0;
  }

  .site-logo__img {
    height: 160px;
    margin: -58px 0;
  }

  .site-logo__name,
  .header__logo-name {
    font-size: 1rem;
  }

  .section {
    padding: 52px 0;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
  }

  .service-row__content {
    padding: 24px 20px;
  }

  .article-title {
    font-size: 2.3rem;
  }

  .article-prose {
    padding: 28px 22px;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    gap: 32px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   26. Print Styles
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Hide non-essential elements */
  .promo-banner,
  .site-header,
  .main-nav,
  .header__nav,
  .mobile-toggle,
  .header__menu-toggle,
  .mobile-menu,
  .scroll-indicator,
  .site-footer,
  .cta-banner,
  .gallery-item__overlay,
  .btn,
  .header-cta,
  .header__cta {
    display: none !important;
  }

  /* Hero simplification */
  .hero,
  .page-hero {
    min-height: auto !important;
    padding: 30px 0 !important;
  }

  .hero::before,
  .hero::after,
  .page-hero::before {
    display: none !important;
  }

  .hero__title,
  .page-hero__title {
    font-size: 24pt !important;
    color: #000 !important;
    text-shadow: none !important;
  }

  /* Layout simplification */
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .section {
    padding: 20px 0 !important;
  }

  .features-grid,
  .testimonials-grid,
  .services-grid,
  .stats__grid,
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Cards */
  .feature-card,
  .testimonial-card,
  .service-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666 !important;
  }

  a[href^="#"]::after,
  a[href^="tel"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  /* Images */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Page breaks */
  h2, h3 {
    page-break-after: avoid;
  }

  .section {
    page-break-inside: avoid;
  }
}
