/* ============================================
   MYLE HOME SERVICES - Brand Guide CSS
   Version 3 - October 2025
   Fully implements MYLE Brand Style Guide
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

/* === ROOT VARIABLES === */
:root {
  /* === BRAND COLORS (60-30-10 Rule) === */
  
  /* 60% - Neutrals (Backgrounds & Body Text) */
  --color-neutral-primary: #4A4A4A;      /* Dark Gray - Main text */
  --color-neutral-secondary: #FFFFFF;    /* White - Backgrounds */
  --color-black: #000000;                /* Black - Rare strong contrast */
  
  /* 30% - Secondary (Headers & Emphasis) */
  --color-secondary: #F4A000;            /* Golden Orange - Titles, Headers */
  
  /* 10% - Accent (CTAs & Highlights) */
  --color-accent: #F3B234;               /* Warm Orange - Buttons, Links */
  
  /* Opacity Variations */
  --color-accent-subtle: rgba(243, 178, 52, 0.05);
  --color-accent-light: rgba(243, 178, 52, 0.1);
  --color-accent-medium: rgba(243, 178, 52, 0.2);
  
  /* === TYPOGRAPHY === */
  
  /* Fonts */
  --font-headings: 'Poppins', sans-serif;    /* Bold headings */
  --font-body: 'Open Sans', sans-serif;      /* Light body text */
  
  /* Type Scale - Major Third (1.25 ratio), REM values */
  --font-size-body: 1rem;                /* 16px - Base */
  --font-size-h6: 1.25rem;               /* 20px */
  --font-size-h5: 1.563rem;              /* 25px */
  --font-size-h4: 1.953rem;              /* 31px */
  --font-size-h3: 2.441rem;              /* 39px */
  --font-size-h2: 3.052rem;              /* 49px */
  --font-size-h1: 3.815rem;              /* 61px */
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* === SPACING - 8-Point Grid === */
  --space-0: 0;
  --space-1: 0.5rem;                     /* 8px */
  --space-2: 1rem;                       /* 16px */
  --space-3: 1.5rem;                     /* 24px */
  --space-4: 2rem;                       /* 32px */
  --space-5: 2.5rem;                     /* 40px */
  --space-6: 3rem;                       /* 48px */
  --space-7: 3.5rem;                     /* 56px */
  --space-8: 4rem;                       /* 64px */
  --space-10: 5rem;                      /* 80px */
  --space-12: 6rem;                      /* 96px */
  
  /* === LAYOUT - Grid Columns === */
  --grid-columns-desktop: 12;
  --grid-columns-tablet: 8;
  --grid-columns-mobile: 4;
  --grid-gap: var(--space-3);
  
  /* === DESIGN ELEMENTS === */
  
  /* Border Radius - Medium rounding (8px) */
  --radius-sm: 0.25rem;                  /* 4px */
  --radius-md: 0.5rem;                   /* 8px - Brand standard */
  --radius-lg: 1rem;                     /* 16px */
  --radius-full: 9999px;                 /* Fully rounded */
  
  /* Shadows - Subtle for depth */
  --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Container Max Width */
  --container-width: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-light);
  line-height: 1.5;                      /* 150% for body text */
  color: var(--color-neutral-primary);
  background-color: var(--color-neutral-secondary);
  letter-spacing: normal;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: var(--font-weight-bold);
  color: var(--color-secondary);         /* Golden Orange for headings */
  line-height: 1.2;                      /* Tightened for headings */
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;               /* Slight negative tracking */
}

h1 {
  font-size: var(--font-size-h1);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

p {
  margin-bottom: var(--space-2);
  color: var(--color-neutral-primary);   /* Dark Gray for body */
}

a {
  color: var(--color-accent);            /* Warm Orange for links */
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

/* Strong text */
strong, b {
  font-weight: var(--font-weight-semibold);
}

/* Lists */
ul, ol {
  margin-bottom: var(--space-2);
  padding-left: var(--space-4);
}

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

/* ============================================
   LAYOUT SYSTEM
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

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

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

/* Section Spacing */
.section {
  padding: var(--space-8) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

/* Responsive Grid - 12/8/4 columns */
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

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

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

/* Desktop: 12 columns */
@media (min-width: 1024px) {
  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Tablet: 8 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-8 {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 4 columns */
@media (max-width: 767px) {
  .grid-4-mobile {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  background-color: var(--color-neutral-secondary);
  box-shadow: var(--shadow-subtle);
  position: relative;
  top: 0;
  z-index: 1000;
  padding: var(--space-2) 0;
}

/* Sticky header only on desktop (tablet and up) */
@media (min-width: 768px) {
  .header {
    position: sticky;
  }
}

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

.logo {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.logo img {
  height: 60px;
  width: auto;
}

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

.nav-link {
  color: var(--color-neutral-primary);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

/* ============================================
   BUTTONS & CTAs (Conversion-Focused with Enhanced Visibility)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-h6);        /* 20px for better visibility */
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);       /* 8px - Brand standard */
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(243, 178, 52, 0.3);  /* Orange-tinted shadow for pop */
  position: relative;
}

.btn:hover {
  box-shadow: 0 6px 16px rgba(243, 178, 52, 0.4);  /* Stronger on hover */
  transform: translateY(-2px);                       /* Subtle lift */
}

/* Primary Button - Filled Warm Orange */
.btn-primary {
  background-color: var(--color-accent); /* #F3B234 */
  color: var(--color-neutral-secondary);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: rgba(243, 178, 52, 0.9);
}

/* Secondary Button - Golden Orange */
.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-neutral-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 4px 12px rgba(244, 160, 0, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(244, 160, 0, 0.9);
}

/* Inverted Button - For colored/warm backgrounds (e.g., pricing section) */
.btn-inverted {
  background-color: var(--color-neutral-secondary);  /* White fill */
  color: var(--color-accent);                         /* Orange text */
  border: 2px solid var(--color-accent);              /* Orange outline */
  box-shadow: 0 4px 12px rgba(243, 178, 52, 0.2);    /* Softer shadow */
}

.btn-inverted:hover {
  background-color: var(--color-accent);
  color: var(--color-neutral-secondary);
  border-color: var(--color-accent);
  box-shadow: 0 6px 16px rgba(243, 178, 52, 0.4);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-neutral-secondary);
  color: var(--color-neutral-secondary);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background-color: var(--color-neutral-secondary);
  color: var(--color-neutral-primary);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-3) var(--space-5);
  font-size: 1.125rem;
}

/* Button Container */
.hero-buttons,
.cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

/* ============================================
   HERO SECTION (Conversion-Focused)
   ============================================ */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-10) var(--space-3);
}

/* Hero overlay for image backgrounds */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 160, 0, 0.85) 0%,
    rgba(243, 178, 52, 0.75) 100%
  );
  z-index: 1;
}

/* Hero with gradient only (no image) */
.hero-gradient-only {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-accent) 100%
  );
}

.hero-gradient-only::before {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--color-neutral-secondary);
  margin-bottom: var(--space-3);
}

.hero p {
  color: var(--color-neutral-secondary);
  font-size: 1.25rem;
  margin-bottom: var(--space-5);
  opacity: 0.95;
}


/* ============================================
   CARDS (Brand Standard: 8px radius, subtle shadow)
   ============================================ */

.card {
  background-color: var(--color-neutral-secondary);
  border-radius: var(--radius-md);       /* 8px - Brand standard */
  padding: var(--space-4);
  box-shadow: var(--shadow-subtle);      /* Subtle shadow */
  transition: all var(--transition-base);
  border: none;                          /* Clean and minimal */
}

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

.card h3, .card h4 {
  margin-bottom: var(--space-2);
}

/* Refined Hierarchy for Cards/Subheadings */
.card h3 {
  color: var(--color-neutral-primary); /* Dark Gray - Subtle support vs. section h2 */
  line-height: 1.2; /* Tighter for compactness */
  font-size: var(--font-size-h3); /* Retain scale, but feels lighter now */
}

.card p {
  color: var(--color-neutral-primary);
}

/* Card with subtle accent border (optional) */
.card-accent {
  border: 1px solid var(--color-accent-light);
}

/* ============================================
   BADGES & TAGS
   ============================================ */

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background-color: var(--color-accent);
  color: var(--color-neutral-secondary);
}

.badge-secondary {
  background-color: var(--color-secondary);
  color: var(--color-neutral-secondary);
}

.badge-outline {
  background-color: transparent;
  border: 2px solid var(--color-neutral-primary);
  color: var(--color-neutral-primary);
}

/* Guarantee badges */
.guarantee-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.guarantee-badges .badge {
  background: var(--color-neutral-secondary);
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-4);
  box-shadow: var(--shadow-subtle);
  text-transform: none;
  letter-spacing: normal;
}

/* ============================================
   FORMS
   ============================================ */

form {
  max-width: 600px;
  margin: 0 auto;
}

input,
textarea,
select {
  width: 100%;
  padding: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  border: 2px solid var(--color-accent-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
  background-color: var(--color-neutral-secondary);
  color: var(--color-neutral-primary);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
}

input.error,
textarea.error,
select.error {
  border-color: #ef4444;
}

label {
  display: block;
  margin-bottom: var(--space-1);
  font-weight: var(--font-weight-medium);
  color: var(--color-neutral-primary);
}

/* Form Messages */
.form-message {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message-success {
  background-color: #d1fae5;
  border: 2px solid #10b981;
  color: #065f46;
}

.form-message-success strong {
  color: #047857;
}

.form-message-success a {
  color: #047857;
  text-decoration: underline;
}

.form-message-error {
  background-color: #fee2e2;
  border: 2px solid #ef4444;
  color: #991b1b;
}

/* Button Loading State */
.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: var(--space-3);
  margin-top: -8px;
  border: 2px solid var(--color-neutral-secondary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
  width: 100%;
}

/* Footer CTA Section */
.footer-cta {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  color: white !important;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-cta h2 {
  font-family: var(--font-headings) !important;
  font-weight: var(--font-weight-bold) !important;
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
  color: white !important;
  letter-spacing: normal !important;
}

.footer-cta p {
  font-size: 1.2rem !important;
  margin-bottom: 2rem !important;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: white !important;
}

.footer-cta .btn-primary {
  background: white;
  color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-cta .btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.footer-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  box-shadow: none;
}

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

/* Main Footer Content */
.footer-main {
  background-color: var(--color-neutral-primary);
  color: white;
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-column h4 {
  font-family: var(--font-headings);
  font-weight: var(--font-weight-semibold);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  letter-spacing: normal;
}

/* Brand Column */
.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-text {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

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

/* Contact Information */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-accent);
}

/* Service Areas */
.service-area {
  margin-bottom: 1rem;
}

.area-name {
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.area-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Service Categories */
.service-category {
  margin-bottom: 1.25rem;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-name {
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.service-category .footer-links {
  margin-bottom: 0;
}

.service-category .footer-links li {
  margin-bottom: 0.5rem;
}

.service-category .footer-links li:last-child {
  margin-bottom: 0;
}

/* Service Area Banner */
.footer-service-banner {
  background-color: var(--color-neutral-primary);
  color: white;
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.star-rating {
  margin-bottom: 1rem;
}

.star {
  color: var(--color-accent);
  font-size: 1.5rem;
  margin: 0 0.1rem;
}

.footer-service-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
  font-weight: var(--font-weight-medium);
}

/* Copyright Section */
.footer-copyright {
  background-color: var(--color-neutral-primary);
  color: rgba(255, 255, 255, 0.6);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-cta h2 {
    font-size: 2rem !important;
  }

  .footer-cta p {
    font-size: 1rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-cta {
    padding: 3rem 1.5rem;
  }

  .footer-cta h2 {
    font-size: 1.75rem;
  }

  .footer-main {
    padding: 3rem 1.5rem;
  }

  .star {
    font-size: 1.2rem;
  }

  .footer-service-banner p {
    font-size: 1rem;
  }
}

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

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--color-neutral-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-neutral-secondary); }
.text-muted { color: rgba(74, 74, 74, 0.7); }

/* Background Colors */
.bg-white { background-color: var(--color-neutral-secondary); }
.bg-light { background-color: #FAFAFA; }
.bg-primary { background-color: var(--color-secondary); color: var(--color-neutral-secondary); }
.bg-accent { background-color: var(--color-accent); color: var(--color-neutral-secondary); }
.bg-dark { background-color: var(--color-neutral-primary); color: var(--color-neutral-secondary); }

/* Spacing Utilities - 8-Point Grid */
.mt-0 { margin-top: var(--space-0); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

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

.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }

/* Icons */
.icon-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-2);
}

/* ============================================
   CTA SECTIONS (Every 2-3 Scrolls)
   ============================================ */

.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-accent) 100%
  );
  color: var(--color-neutral-secondary);
  padding: var(--space-8) var(--space-3);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-neutral-secondary);
  margin-bottom: var(--space-3);
}

.cta-section p {
  color: var(--color-neutral-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--space-5);
  opacity: 0.95;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;              /* Scale down for mobile */
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
  }
  
  .container {
    padding: 0 var(--space-2);
  }
  
  .section {
    padding: var(--space-6) 0;
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .hero {
    min-height: 400px;
    padding: var(--space-8) var(--space-2);
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ensure minimum contrast ratios (WCAG AA) */
/* Dark Gray (#4A4A4A) on White (#FFFFFF) = 8.6:1 ✓ */
/* Golden Orange (#F4A000) on White (#FFFFFF) = 4.7:1 ✓ */
/* Warm Orange (#F3B234) on Dark Gray (#4A4A4A) = 5.2:1 ✓ */
