/* ============================================================
   AAA AIRWAVES — Premium HVAC Website Stylesheet
   Inspired by Murphy Heat & Cool design patterns
   ============================================================ */

/* ==========================================================
   1. CSS RESET & CUSTOM PROPERTIES
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700&display=swap');

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

:root {
  /* ── Brand Colors ── */
  --color-primary:        #0D2A6E;
  --color-primary-dark:   #091F54;
  --color-primary-light:  #1A3D8F;
  --color-accent-heat:    #E8421A;
  --color-accent-heat-dark: #C33615;
  --color-accent-cool:    #4DC3F7;
  --color-accent-cool-dark: #2EAEE0;
  --color-gold:           #FB9D26;
  --color-gold-dark:      #E08A15;

  /* ── Neutrals ── */
  --color-bg:             #F5F7FA;
  --color-white:          #FFFFFF;
  --color-dark:           #1A1A2E;
  --color-text-light:     #FFFFFF;
  --color-text-muted:     #6B7280;
  --color-border:         #E5E7EB;
  --color-about-bg:       #F1F1F1;
  --color-footer-bg:      #0A1E4A;
  --color-footer-border:  rgba(255, 255, 255, 0.08);

  /* ── Typography ── */
  --font-heading:         'Montserrat', sans-serif;
  --font-body:            'Nunito Sans', sans-serif;

  /* ── Spacing Scale ── */
  --space-xs:   0.25rem;   /*  4px */
  --space-sm:   0.5rem;    /*  8px */
  --space-md:   1rem;      /* 16px */
  --space-lg:   1.5rem;    /* 24px */
  --space-xl:   2rem;      /* 32px */
  --space-2xl:  3rem;      /* 48px */
  --space-3xl:  4rem;      /* 64px */
  --space-4xl:  5rem;      /* 80px */
  --space-5xl:  6rem;      /* 96px */

  /* ── Sizing ── */
  --container-max:        1200px;
  --top-bar-height:       40px;
  --header-height:        80px;
  --border-radius:        8px;
  --border-radius-lg:     12px;
  --border-radius-xl:     16px;
  --border-radius-full:   9999px;

  /* ── Shadows ── */
  --shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:    0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl:    0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-header: 0 2px 20px rgba(13, 42, 110, 0.12);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================
   2. TYPOGRAPHY
   ========================================================== */

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

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-heat);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-heat), var(--color-gold));
  border-radius: 2px;
  margin-top: var(--space-md);
}

.section-title--center {
  text-align: center;
}

.section-title--center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  max-width: 640px;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================
   3. LAYOUT — Container, Grid, Flex Utilities
   ========================================================== */

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

.section {
  padding: var(--space-5xl) 0;
}

.section--sm {
  padding: var(--space-3xl) 0;
}

.section--no-top {
  padding-top: 0;
}

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

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

.section--bg-navy {
  background-color: var(--color-primary);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent-heat), #FF5733);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(232, 66, 26, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-accent-heat-dark), var(--color-accent-heat));
  box-shadow: 0 6px 24px rgba(232, 66, 26, 0.45);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

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

.btn--navy {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(13, 42, 110, 0.3);
}

.btn--navy:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  box-shadow: 0 6px 24px rgba(13, 42, 110, 0.4);
  transform: translateY(-2px);
}

.btn--cool {
  background: linear-gradient(135deg, var(--color-accent-cool), #29B6F6);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(77, 195, 247, 0.35);
}

.btn--cool:hover {
  background: linear-gradient(135deg, var(--color-accent-cool-dark), var(--color-accent-cool));
  box-shadow: 0 6px 24px rgba(77, 195, 247, 0.45);
  transform: translateY(-2px);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
}

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

.btn--rounded {
  border-radius: var(--border-radius-full);
}

/* ==========================================================
   4. TOP BAR
   ========================================================== */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-white);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.top-bar__item:hover {
  opacity: 1;
}

.top-bar__item i,
.top-bar__item svg {
  font-size: 0.875rem;
  color: var(--color-accent-cool);
}

.top-bar__divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.top-bar__social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.top-bar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 0.75rem;
  transition: all var(--transition-base);
}

.top-bar__social a:hover {
  background: var(--color-accent-heat);
  transform: translateY(-1px);
}

/* ==========================================================
   5. HEADER & NAVIGATION
   ========================================================== */

.header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
}

.header-scrolled {
  box-shadow: var(--shadow-header);
  top: 0;
  height: 70px;
}

.header-scrolled + .top-bar,
.header-scrolled ~ .top-bar {
  transform: translateY(-100%);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-smooth);
}

.header-scrolled .header__logo img {
  height: 42px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header__logo-text span {
  color: var(--color-accent-heat);
}

/* ── Navigation ── */

.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-heat), var(--color-gold));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-smooth);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent-heat);
}

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

/* ── Dropdown ── */

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-smooth);
  border-top: 3px solid var(--color-accent-heat);
}

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

.nav__dropdown-link {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background: var(--color-bg);
  color: var(--color-accent-heat);
  padding-left: 1.5rem;
}

/* ── Header CTA ── */

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.header__phone i,
.header__phone svg {
  color: var(--color-accent-heat);
  font-size: 1.125rem;
}

/* ── Hamburger Button ── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.hamburger__line {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
  background-color: var(--color-white);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
  background-color: var(--color-white);
}

/* ==========================================================
   6. MOBILE MENU — Off-Canvas
   ========================================================== */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 74, 0.6);
  z-index: 1049;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
  z-index: 1050;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white);
}

.mobile-menu__logo span {
  color: var(--color-accent-heat);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

.mobile-menu__close:hover {
  background: var(--color-accent-heat);
  transform: rotate(90deg);
}

.mobile-menu__nav {
  padding: var(--space-md) 0;
  flex: 1;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.mobile-menu__link:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: var(--space-xl);
  color: var(--color-accent-cool);
}

.mobile-menu__link--active {
  color: var(--color-accent-cool);
  border-left: 3px solid var(--color-accent-heat);
}

/* ── Mobile Sub-menu ── */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  background: rgba(0, 0, 0, 0.15);
}

.mobile-submenu.open {
  max-height: 500px;
}

.mobile-submenu__link {
  display: block;
  padding: 0.625rem var(--space-lg);
  padding-left: var(--space-2xl);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.mobile-submenu__link:hover {
  color: var(--color-white);
  padding-left: calc(var(--space-2xl) + var(--space-sm));
}

/* ── Mobile Menu Footer ── */
.mobile-menu__footer {
  padding: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__contact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-menu__contact i,
.mobile-menu__contact svg {
  width: 20px;
  color: var(--color-accent-cool);
}

.mobile-menu__btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: var(--space-md);
}

/* ==========================================================
   7. HERO SLIDER
   ========================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  max-height: 800px;
  margin-top: calc(var(--top-bar-height) + var(--header-height));
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero__slide.active {
  opacity: 1;
  z-index: 2;
}

.hero__slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Dark Overlay ── */
.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 74, 0.8) 0%,
    rgba(13, 42, 110, 0.6) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-lg);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-full);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
}

.hero__badge i,
.hero__badge svg {
  color: var(--color-gold);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  max-width: 900px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__title span {
  color: var(--color-accent-cool);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 640px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ── Slider Controls ── */
.hero__dots {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: var(--space-sm);
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.hero__dot.active {
  background: var(--color-accent-heat);
  border-color: var(--color-white);
  transform: scale(1.2);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.hero__arrow:hover {
  background: var(--color-accent-heat);
  border-color: var(--color-accent-heat);
  transform: translateY(-50%) scale(1.1);
}

.hero__arrow--prev {
  left: var(--space-lg);
}

.hero__arrow--next {
  right: var(--space-lg);
}

/* ==========================================================
   8. ABOUT SECTION — 2-Column
   ========================================================== */

.about {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

.about__image {
  position: relative;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.about__image:hover img {
  transform: scale(1.05);
}

/* Decorative accent bar on image edge */
.about__image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent-heat), var(--color-gold));
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  background: var(--color-about-bg);
}

.about__content .section-title {
  margin-bottom: var(--space-md);
}

.about__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-dark);
}

.about__highlight i,
.about__highlight svg {
  color: var(--color-accent-heat);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.about__stat-row {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ==========================================================
   9. WHY CHOOSE US — 3-Column Cards
   ========================================================== */

.why-choose {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.why-choose__card {
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-choose__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  transition: width var(--transition-smooth);
}

.why-choose__card:hover::before {
  width: 100%;
}

/* ── Alternating Card Colors — Murphy style ── */
/* Cards 1 & 3: Gold/Orange background */
.why-choose__card:nth-child(odd) {
  background: var(--color-gold);
  color: var(--color-white);
}

.why-choose__card:nth-child(odd)::before {
  background: var(--color-accent-heat);
}

.why-choose__card:nth-child(odd) .why-choose__card-title {
  color: var(--color-white);
}

.why-choose__card:nth-child(odd) .why-choose__card-text {
  color: rgba(255, 255, 255, 0.9);
}

.why-choose__card:nth-child(odd) .why-choose__card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

/* Card 2: White background */
.why-choose__card:nth-child(even) {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.why-choose__card:nth-child(even)::before {
  background: var(--color-gold);
}

.why-choose__card:nth-child(even) .why-choose__card-icon {
  background: rgba(251, 157, 38, 0.1);
  color: var(--color-gold);
}

.why-choose__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.why-choose__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-smooth);
}

.why-choose__card:hover .why-choose__card-icon {
  transform: scale(1.1) rotate(5deg);
}

.why-choose__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.why-choose__card-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ==========================================================
   10. SERVICES GRID — 3x2 Cards
   ========================================================== */

.services {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.service-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Dark overlay */
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 30, 74, 0.9) 0%,
    rgba(10, 30, 74, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  transition: background var(--transition-smooth);
  z-index: 1;
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(
    0deg,
    rgba(232, 66, 26, 0.85) 0%,
    rgba(10, 30, 74, 0.6) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-xl);
  transform: translateY(0);
  transition: transform var(--transition-smooth);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card__icon {
  background: var(--color-accent-heat);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card__desc {
  max-height: 100px;
  opacity: 1;
  margin-bottom: var(--space-md);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent-cool);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateY(0);
}

.service-card__link:hover {
  color: var(--color-white);
}

/* ==========================================================
   11. TESTIMONIALS
   ========================================================== */

.testimonials {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  border: 1px solid var(--color-border);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-accent-heat);
  opacity: 0.12;
  line-height: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-card__star {
  color: var(--color-gold);
  font-size: 1rem;
}

.testimonial-card__star--empty {
  color: var(--color-border);
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--color-dark);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__avatar--placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-dark);
  line-height: 1.3;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================
   12. BRAND LOGOS STRIP
   ========================================================== */

.brand-logos {
  padding: var(--space-3xl) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.brand-logos__label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.brand-logos__track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.brand-logos__track:hover {
  animation-play-state: paused;
}

.brand-logos__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-2xl);
  height: 60px;
}

.brand-logos__item img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
  transition: all var(--transition-smooth);
}

.brand-logos__item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================
   13. CTA SECTION
   ========================================================== */

.cta {
  position: relative;
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
  overflow: hidden;
}

/* Decorative pattern overlay */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(77, 195, 247, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 66, 26, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(251, 157, 38, 0.06) 0%, transparent 50%);
  z-index: 0;
}

/* Subtle geometric shapes */
.cta::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.03);
  z-index: 0;
}

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

.cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.cta__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.cta__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  justify-content: center;
}

.cta__phone-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta__phone-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

/* ==========================================================
   14. FOOTER
   ========================================================== */

.footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer__main {
  padding: var(--space-4xl) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
}

/* ── Footer Brand Column ── */
.footer__brand {
  padding-right: var(--space-xl);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__logo span {
  color: var(--color-accent-heat);
}

.footer__logo img {
  height: 44px;
  width: auto;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

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

.footer__social-link:hover {
  background: var(--color-accent-heat);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 66, 26, 0.35);
}

/* ── Footer Navigation Columns ── */
.footer__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-heat), var(--color-gold));
  border-radius: 1px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-fast);
  padding: 2px 0;
}

.footer__link:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer__link i,
.footer__link svg {
  font-size: 0.625rem;
  color: var(--color-accent-heat);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer__link:hover i,
.footer__link:hover svg {
  opacity: 1;
}

/* ── Footer Contact Info ── */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-accent-cool);
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer__contact-text strong {
  display: block;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ── Footer Bottom ── */
.footer__bottom {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-footer-border);
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer__copyright a {
  color: var(--color-accent-cool);
  transition: color var(--transition-fast);
}

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

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

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

/* ==========================================================
   15. ANIMATIONS
   ========================================================== */

/* ── Fade-in on Scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-in-group > .fade-in:nth-child(1) { transition-delay: 0ms; }
.fade-in-group > .fade-in:nth-child(2) { transition-delay: 100ms; }
.fade-in-group > .fade-in:nth-child(3) { transition-delay: 200ms; }
.fade-in-group > .fade-in:nth-child(4) { transition-delay: 300ms; }
.fade-in-group > .fade-in:nth-child(5) { transition-delay: 400ms; }
.fade-in-group > .fade-in:nth-child(6) { transition-delay: 500ms; }

/* ── Slide-in Variants ── */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Scale In ── */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Pulse animation for phone numbers / CTAs ── */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 66, 26, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(232, 66, 26, 0);
  }
}

.pulse {
  animation: pulse-glow 2s ease infinite;
}

/* ── Floating animation ── */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* ==========================================================
   16. RESPONSIVE MEDIA QUERIES
   ========================================================== */

/* ── Tablet: 768px – 1023px ── */
@media (max-width: 1023px) {
  :root {
    --space-5xl: 4rem;
    --space-4xl: 3.5rem;
  }

  /* Header adjustments */
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header__cta .btn {
    display: none;
  }

  .header__phone {
    font-size: 0.9375rem;
  }

  /* Hero */
  .hero {
    height: 70vh;
    min-height: 450px;
  }

  .hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero__arrow {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about__image {
    height: 350px;
  }

  .about__image::after {
    width: 100%;
    height: 5px;
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
  }

  .about__content {
    padding: var(--space-2xl);
  }

  /* Why Choose Us */
  .why-choose__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose__card:nth-child(3) {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

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

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

  .testimonial-card:nth-child(3) {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

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

  .footer__brand {
    grid-column: span 2;
    padding-right: 0;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__desc {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Mobile: < 768px ── */
@media (max-width: 767px) {
  :root {
    --top-bar-height: 0px;
    --header-height: 70px;
    --space-5xl: 3rem;
    --space-4xl: 2.5rem;
    --space-3xl: 2rem;
  }

  /* Hide top bar on mobile */
  .top-bar {
    display: none;
  }

  .header {
    top: 0;
    height: var(--header-height);
  }

  .header__logo img {
    height: 38px;
  }

  .header__phone span {
    display: none;
  }

  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  /* Hero */
  .hero {
    height: 85vh;
    min-height: 400px;
    margin-top: var(--header-height);
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: 0.9375rem;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

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

  .hero__arrow {
    display: none;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    border-radius: var(--border-radius);
  }

  .about__image {
    height: 280px;
  }

  .about__content {
    padding: var(--space-xl) var(--space-md);
  }

  .about__highlights {
    grid-template-columns: 1fr;
  }

  .about__stat-row {
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
  }

  /* Why Choose Us */
  .why-choose__grid {
    grid-template-columns: 1fr;
  }

  .why-choose__card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 260px;
  }

  /* Show description on mobile since there's no hover */
  .service-card__desc {
    max-height: 100px;
    opacity: 0.8;
  }

  .service-card__link {
    opacity: 1;
    transform: translateY(0);
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  /* CTA */
  .cta__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta__phone {
    flex-direction: column;
    gap: var(--space-xs);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__social {
    justify-content: center;
  }

  .footer__link {
    justify-content: center;
  }

  .footer__contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }

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

  /* Section headers */
  .section-title::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Large Screens: 1400px+ ── */
@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
  }

  .hero {
    max-height: 900px;
  }
}

/* ==========================================================
   UTILITY CLASSES
   ========================================================== */

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

.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-heat { color: var(--color-accent-heat); }
.text-cool { color: var(--color-accent-cool); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }

.bg-white { background-color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-light { background-color: var(--color-bg); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ==========================================================
   BACK TO TOP BUTTON
   ========================================================== */

.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-heat), #FF5733);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 66, 26, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--color-accent-heat-dark), var(--color-accent-heat));
  box-shadow: 0 6px 24px rgba(232, 66, 26, 0.5);
  transform: translateY(-4px);
}

/* ==========================================================
   FINANCING MODAL
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 74, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: var(--space-md);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-smooth);
  opacity: 0;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal__close:hover {
  background: var(--color-accent-heat);
  color: var(--color-white);
  transform: rotate(90deg);
}

.modal__content {
  padding: var(--space-xl);
}

.modal__content .section-title {
  margin-bottom: var(--space-md);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.modal__content .section-title::after {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.finance-list {
  margin-bottom: var(--space-xl);
}

.finance-list li {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.finance-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-heat);
  font-weight: bold;
}

.finance-list strong {
  color: var(--color-dark);
}

.modal__actions {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .modal__content {
    padding: var(--space-lg);
  }
}

/* ── Prefers Reduced Motion ── */
@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;
  }

  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }

  .brand-logos__track {
    animation: none;
  }
}

