/* ============================================
   HORIZON PLUMBING, HEATING & AIR
   CSS Foundation - Refined Tradesman Design
   ============================================ */

/* ============================================
   1. CSS RESET & VARIABLES
   ============================================ */

:root {
  /* Core palette */
  --midnight: #0c1e2d;          /* Deep navy — footer, dark sections */
  --charcoal: #1a2b3c;          /* Slightly lighter navy */
  --slate: #4a5568;             /* Body text */
  --pewter: #718096;            /* Secondary text */
  --silver: #cbd5e0;            /* Borders, dividers */
  --fog: #edf2f7;               /* Light backgrounds */
  --cloud: #f7fafc;             /* Lighter backgrounds */
  --white: #ffffff;

  /* Brand colors */
  --flame: #e8451c;             /* Warm orange-red — primary CTA, energy */
  --flame-dark: #c73a16;        /* Hover state */
  --steel: #2b6cb0;             /* Trustworthy blue — secondary actions */
  --steel-dark: #2c5282;        /* Hover state */
  --copper: #c77d4a;            /* Warm accent — subtle highlights */
  --gold-star: #f6ad55;         /* Review stars, warm accents */

  /* Typography */
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(12, 30, 45, 0.06), 0 1px 2px rgba(12, 30, 45, 0.04);
  --shadow-md: 0 4px 6px rgba(12, 30, 45, 0.05), 0 2px 4px rgba(12, 30, 45, 0.03);
  --shadow-lg: 0 10px 25px rgba(12, 30, 45, 0.08), 0 4px 10px rgba(12, 30, 45, 0.04);
  --shadow-xl: 0 20px 40px rgba(12, 30, 45, 0.12), 0 8px 16px rgba(12, 30, 45, 0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 40px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
  background-color: var(--white);
}

::selection {
  background-color: var(--flame);
  color: var(--white);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--midnight);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: 52px;
  font-weight: 400;
}

h2 {
  font-size: 44px;
  font-weight: 400;
}

h3 {
  font-size: 32px;
  font-weight: 400;
}

h4 {
  font-size: 24px;
  font-weight: 400;
}

h5 {
  font-size: 20px;
  font-weight: 400;
}

h6 {
  font-size: 17px;
  font-weight: 400;
}

p {
  margin-bottom: var(--space-lg);
}

a {
  color: var(--steel);
  text-decoration: none;
  text-decoration-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--flame);
}

ul,
ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

li {
  margin-bottom: var(--space-sm);
}

/* Responsive Typography */
@media (max-width: 1024px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }
}

/* ============================================
   3. LAYOUT & CONTAINERS
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--container-padding);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--space-sm) * -1);
}

.row > * {
  padding: 0 var(--space-sm);
}

.col-1 {
  width: calc(8.33333% - calc(var(--space-sm) * 2));
}

.col-2 {
  width: calc(16.66667% - calc(var(--space-sm) * 2));
}

.col-3 {
  width: calc(25% - calc(var(--space-sm) * 2));
}

.col-4 {
  width: calc(33.33333% - calc(var(--space-sm) * 2));
}

.col-6 {
  width: calc(50% - calc(var(--space-sm) * 2));
}

.col-8 {
  width: calc(66.66667% - calc(var(--space-sm) * 2));
}

.col-9 {
  width: calc(75% - calc(var(--space-sm) * 2));
}

.col-12 {
  width: calc(100% - calc(var(--space-sm) * 2));
}

@media (max-width: 768px) {
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-9 {
    width: calc(100% - calc(var(--space-sm) * 2));
  }
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--silver);
  transition: all var(--transition-base);
  position: relative;
  z-index: 100;
}

header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 85px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95);
}

body.sticky-active {
  padding-top: 85px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--midnight);
  transition: all var(--transition-base);
}

.logo img {
  max-width: 200px;
  height: auto;
  transition: max-width var(--transition-base);
}

header.sticky .logo img {
  max-width: 160px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  margin: 0 40px;
}

nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

nav a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--midnight);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

nav a:hover,
nav a.active {
  color: var(--flame);
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: var(--space-xs);
  border: solid var(--midnight);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform var(--transition-base);
}

.dropdown-toggle:hover::after,
.dropdown-toggle.active::after {
  transform: rotate(-135deg);
  border-color: var(--flame);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  padding: var(--space-md) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--fog);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 200;
}

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

.dropdown-menu a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--midnight);
  font-size: 16px;
}

.dropdown-menu a:hover {
  background-color: var(--fog);
  color: var(--flame);
}

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

/* CTA Button in Header */
.header-cta {
  background-color: var(--flame);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  display: none;
}

.header-cta:hover {
  background-color: var(--flame-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 769px) {
  .d-none.d-block {
    display: inline-flex !important;
  }
}

/* ============================================
   5. MOBILE MENU
   ============================================ */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--midnight);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    box-shadow: var(--shadow-xl);
  }

  .nav-wrapper.active {
    max-height: 500px;
  }

  header.sticky .nav-wrapper.active {
    max-height: 600px;
  }

  nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  nav a {
    display: block;
    padding: var(--space-lg) var(--container-padding);
    border-bottom: 1px solid var(--fog);
    text-transform: none;
    letter-spacing: 0;
  }

  .header-cta {
    margin: var(--space-lg) var(--container-padding);
    width: auto;
  }

  .dropdown-menu {
    position: static;
    background-color: var(--fog);
    box-shadow: none;
    border: none;
    padding: var(--space-md) var(--space-lg);
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .dropdown-menu.active {
    max-height: 300px;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 300px;
  }

  .dropdown-menu a {
    padding: var(--space-sm) 0;
  }
}

/* ============================================
   6. HERO SECTIONS
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 30, 45, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: var(--space-2xl) 0;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-content .row {
  align-items: center;
}

.hero-content .col-6:first-child {
  text-align: left;
  padding-right: var(--space-xl);
}

.hero-content h1,
.hero-content h2 {
  color: var(--white);
  font-size: 44px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: 48px;
}

.hero-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background-color: var(--flame);
  transform: translateY(-50%);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.hero-content .form-card {
  margin-left: auto;
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 420px;
}

.hero-content .form-card h4 {
  color: var(--midnight);
  text-align: center;
  font-size: 26px;
  text-shadow: none;
  margin-bottom: var(--space-md);
}

.hero-content .form-card p {
  color: var(--slate);
  font-size: 15px;
  text-align: center;
}

.hero-content .form-card a {
  color: var(--steel);
}

.hero-large {
  min-height: 640px;
  padding: var(--space-2xl) var(--container-padding);
}

@media (max-width: 1024px) {
  .hero-content h1,
  .hero-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-large {
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }

  .hero-content {
    padding: 0 var(--space-md);
  }

  .hero-content .col-6:first-child {
    padding-right: 0;
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .hero-content .col-6:last-child {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content h3 {
    font-size: 14px;
    padding-left: 0;
  }

  .hero-content h3::before {
    display: none;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-content .form-card {
    margin-left: 0;
  }
}

/* ============================================
   7. SECTION STYLES
   ============================================ */

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

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

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

.section-light-tint {
  background: linear-gradient(180deg, var(--fog) 0%, var(--cloud) 100%);
}

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

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

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

.section-dark a:hover {
  color: var(--flame);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 18px;
  color: var(--pewter);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   8. SERVICE CARDS (3-Column Grid)
   ============================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--fog);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--fog);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-content {
  padding: var(--space-xl) var(--space-lg);
}

.service-card-content h3 {
  font-size: 22px;
  color: var(--midnight);
  margin-bottom: var(--space-md);
}

.service-card-content p {
  color: var(--pewter);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-card-content a {
  font-weight: 600;
  color: var(--steel);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.service-card-content a:hover {
  color: var(--flame);
  gap: 10px;
}

.service-card-content a::after {
  content: "→";
  transition: margin-left var(--transition-fast);
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================
   9. TWO-COLUMN LAYOUTS
   ============================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.two-column-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.two-column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-column-content h2 {
  margin-bottom: var(--space-lg);
}

.two-column-content p {
  font-size: 18px;
  color: var(--pewter);
  margin-bottom: var(--space-md);
}

.two-column.reverse {
  grid-template-columns: 1fr 1fr;
}

.two-column.reverse .two-column-image {
  order: 2;
}

@media (max-width: 1024px) {
  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .two-column-image {
    height: 350px;
  }

  .two-column.reverse .two-column-image {
    order: 0;
  }
}

/* ============================================
   10. REVIEWS SECTION
   ============================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.review-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.review-card::before {
  display: none;
}

.review-stars {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.review-stars .star {
  color: var(--gold-star);
  font-size: 16px;
}

.review-text {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.review-author {
  color: var(--midnight);
  font-weight: 700;
  font-size: 14px;
}

.review-author-title {
  color: var(--white);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.trust-badge-main {
  display: block;
  max-width: 400px;
  width: 100%;
}

.trust-badge-main img {
  width: 100%;
  height: auto;
}

.trust-badge-row {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  justify-content: center;
}

.trust-badge-row img {
  max-width: 180px;
  height: auto;
}

@media (max-width: 768px) {
  .trust-badge-row img {
    max-width: 140px;
  }
}

/* ============================================
   11. CONTACT & CTA SECTIONS
   ============================================ */

.contact-section {
  position: relative;
  padding: var(--space-3xl) var(--container-padding);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 30, 45, 0.75);
  z-index: 1;
}

.contact-section h2 {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  font-size: 18px;
}

.contact-section a {
  position: relative;
  z-index: 2;
}

.contact-content {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

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

.contact-item h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: var(--space-md);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
  color: var(--steel);
}

.contact-item a:hover {
  color: var(--flame);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .contact-section {
    padding: var(--space-lg) var(--container-padding);
  }
}

/* ============================================
   12. FORMS
   ============================================ */

.form-card {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--midnight);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 2px solid var(--fog);
  border-radius: var(--radius-md);
  background-color: var(--cloud);
  transition: all var(--transition-fast);
  color: var(--midnight);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--steel);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-row .form-group {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: var(--space-lg);
  }
}

/* ============================================
   13. BUTTONS
   ============================================ */

.btn,
.btn-primary,
.btn-cta,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary,
.reg-btn {
  background-color: var(--steel);
  color: var(--white);
}

.btn-primary:hover,
.reg-btn:hover {
  background-color: var(--steel-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta,
.cta-btn {
  background-color: var(--flame);
  color: var(--white);
}

.btn-cta:hover,
.cta-btn:hover {
  background-color: var(--flame-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 69, 28, 0.3);
}

.btn-secondary {
  background-color: var(--fog);
  color: var(--midnight);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--midnight);
  color: var(--white);
}

button[type="submit"],
input[type="submit"] {
  background-color: var(--flame);
  color: var(--white);
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: var(--flame-dark);
  transform: translateY(-1px);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-large {
  padding: 20px 40px;
  font-size: 18px;
}

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

footer {
  background-color: var(--midnight);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) var(--container-padding);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-column h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-md);
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--flame);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: var(--space-md);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

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

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  footer {
    padding: var(--space-lg) var(--container-padding);
  }
}

/* ============================================
   15. GOOGLE MAP EMBEDS
   ============================================ */

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 66.66%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ============================================
   16. UTILITY CLASSES
   ============================================ */

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

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

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

.text-primary {
  color: var(--midnight);
}

.text-secondary {
  color: var(--pewter);
}

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

.text-accent {
  color: var(--flame);
}

.text-white {
  color: var(--white);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--space-sm);
}

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

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

.mt-4 {
  margin-top: var(--space-xl);
}

.mt-5 {
  margin-top: var(--space-2xl);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

.mb-5 {
  margin-bottom: var(--space-2xl);
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: var(--space-sm);
}

.p-2 {
  padding: var(--space-md);
}

.p-3 {
  padding: var(--space-lg);
}

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

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

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

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

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

.gap-1 {
  gap: var(--space-sm);
}

.gap-2 {
  gap: var(--space-md);
}

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

.gap-4 {
  gap: var(--space-xl);
}

.gap-5 {
  gap: var(--space-2xl);
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.rounded {
  border-radius: 4px;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

