/*
Theme Name: MAC4ESTATES
Theme URI: https://mac4estates.com
Author: MAC4ESTATES
Author URI: https://mac4estates.com
Description: Professional Wholesale Real Estate WordPress Theme with built-in Property Appraisal Calculator. Navy and gold design inspired by leading professional services firms.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mac4estates
Tags: real-estate, wholesale, custom-background, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy-dark:   #0B1F3A;
  --navy:        #1A3A5C;
  --navy-light:  #2D5986;
  --gold:        #C9A84C;
  --gold-light:  #E8C76B;
  --gold-dark:   #A88B35;
  --white:       #FFFFFF;
  --off-white:   #F8F9FA;
  --light-gray:  #E9ECEF;
  --gray:        #6C757D;
  --dark-text:   #1a1a2e;
  --body-text:   #444444;
  --shadow-sm:   0 2px 8px rgba(11,31,58,0.10);
  --shadow-md:   0 6px 24px rgba(11,31,58,0.15);
  --shadow-lg:   0 12px 48px rgba(11,31,58,0.20);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:   1200px;
  --font-heading:'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

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

p { margin-bottom: 1rem; }

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

.section-pad { padding: 90px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-navy {
  background: var(--navy-dark);
  color: var(--white);
  border-color: var(--navy-dark);
}
.btn-navy:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

#site-header.scrolled {
  background: var(--navy-dark);
  padding: 12px 0;
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--navy-dark);
  letter-spacing: -1px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.nav-cta { margin-left: 12px; }

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

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0d2647 50%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(45,89,134,0.3) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--gold);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-item { text-align: left; }
.hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 380px;
}

.hero-card-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-title::before {
  content: '🏠';
  font-size: 1.3rem;
}

.quick-calc { display: flex; flex-direction: column; gap: 12px; }

.qc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.qc-label { color: rgba(255,255,255,0.65); }
.qc-value { color: var(--gold); font-weight: 700; font-family: var(--font-heading); }

.qc-result {
  background: var(--gold) !important;
  margin-top: 4px;
}
.qc-result .qc-label { color: var(--navy-dark); font-weight: 600; }
.qc-result .qc-value { color: var(--navy-dark); font-size: 1.1rem; }

.hero-cta-small {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.step-num {
  width: 56px; height: 56px;
  background: var(--navy-dark);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
  position: relative;
  z-index: 2;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy-dark);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
#stats {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================================
   APPRAISAL CALCULATOR
   ============================================================ */
#appraisal { background: var(--off-white); }

.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid var(--light-gray);
}

.calc-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.calc-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin: 0;
}

.calc-header p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin: 4px 0 0;
}

.calc-steps-nav {
  display: flex;
  gap: 8px;
}

.calc-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.calc-step-dot.active {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.calc-step-dot.done {
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  border-color: var(--gold);
}

.calc-body { padding: 40px; }

.calc-step { display: none; }
.calc-step.active { display: block; }

.calc-step h4 {
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-gray);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-dark);
  font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

/* Repair Section */
.repair-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.repair-tab {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray);
}

.repair-tab.active {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.repair-panel { display: none; }
.repair-panel.active { display: block; }

.repair-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.repair-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.repair-item:hover { border-color: var(--gold); background: #fffbf0; }

.repair-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  padding: 0;
  border: none;
  flex-shrink: 0;
}

.repair-item-info { flex: 1; }
.repair-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-dark);
  display: block;
}
.repair-item-range {
  font-size: 0.78rem;
  color: var(--gray);
}
.repair-item-adj {
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-style: italic;
}

.state-notice {
  background: linear-gradient(135deg, rgba(11,31,58,0.04), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.state-notice span { font-size: 1.2rem; flex-shrink: 0; }

/* Results */
.results-panel {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}

.results-panel h4 { color: var(--white); border-color: rgba(255,255,255,0.15); margin-bottom: 28px; }

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

.result-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.result-box.highlight {
  background: var(--gold);
  border-color: var(--gold);
}

.result-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.result-box.highlight .result-label { color: rgba(11,31,58,0.7); }

.result-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.result-box.highlight .result-value { color: var(--navy-dark); font-size: 1.9rem; }

.result-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.result-box.highlight .result-sub { color: rgba(11,31,58,0.6); }

.state-breakdown {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.state-breakdown h5 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.breakdown-rows { display: flex; flex-direction: column; gap: 8px; }

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .label { color: rgba(255,255,255,0.6); }
.breakdown-row .value { color: var(--white); font-weight: 600; }
.breakdown-row .value.gold { color: var(--gold); }

.formula-note {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--navy);
}

.formula-note strong { font-family: var(--font-heading); }

/* Calc Nav Buttons */
.calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 2px solid var(--light-gray);
  margin-top: 24px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--white); }

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

.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--navy-dark);
}

.author-role { font-size: 0.8rem; color: var(--gray); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a3a5c 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin: 0;
}

.cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-form input {
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  min-width: 260px;
  outline: none;
  transition: var(--transition);
}

.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus { border-color: var(--gold); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.contact-info h3 { color: var(--navy-dark); font-size: 1.3rem; margin-bottom: 16px; }
.contact-info p { color: var(--gray); line-height: 1.8; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--navy-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy-dark);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail-text span { font-size: 0.9rem; color: var(--gray); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}

.contact-form-box h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--navy-dark);
}

.contact-form .form-grid { margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li + li { margin-top: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  max-width: 700px;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }

  .hamburger { display: flex; }

  .nav-links, .nav-cta {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open, .nav-cta.open { display: flex; }
  .nav-links a { font-size: 1.2rem; padding: 12px 24px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .repair-items { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-form { width: 100%; }
  .cta-form input { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
