@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&family=Barlow:wght@300;400;500&display=swap');

:root {
  --navy: #2e2e2e;
  --navy-mid: #3a3a3a;
  --slate: #555555;
  --steel: #6e6e6e;
  --mist: #9a9a9a;
  --fog: #cccccc;
  --cloud: #e8e8e8;
  --white: #f5f8fa;
  --warm-white: #fdfcfa;
  --accent: #7baa6e;
  --accent-soft: #a8c9a0;
  --warn: #c4a55a;
  --danger: #a85c5c;
  --text-dark: #2e2e2e;
  --text-mid: #555555;
  --text-light: #7a7a7a;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
}

/* NAV */
nav {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--accent-soft); }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: var(--fog);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  border-radius: var(--radius);
  height: 36px !important;
  padding: 0 1.2rem !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--accent-soft) !important; color: var(--navy) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--fog); margin: 5px 0; transition: 0.3s; }

/* HERO */
.hero {
  background: linear-gradient(160deg, #2e2e2e 0%, #3a3a3a 40%, #555555 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235c7a96' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}
.hero h1 em { color: var(--accent-soft); font-style: normal; }
.hero p {
  font-family: 'Lora', serif;
  color: var(--fog);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(123,170,110,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--mist); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--fog); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* TRUST BAR */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 2rem;
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fog);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-item svg { color: var(--accent-soft); flex-shrink: 0; }

/* SECTIONS */
section { padding: 4rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-family: 'Lora', serif;
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--accent-soft));
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-icon {
  width: 44px; height: 44px;
  background: var(--cloud);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--slate);
}
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.service-card .card-link:hover { color: var(--navy); }

/* INSPECTION BANNER */
.inspection-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.inspection-banner::after {
  content: '$139';
  position: absolute;
  right: -10px; top: -20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 9rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.inspection-banner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.inspection-banner p { color: var(--fog); font-size: 0.95rem; max-width: 480px; }
.price-badge {
  background: var(--accent);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}

/* AFTER STORM */
.after-storm { background: var(--cloud); }
.after-storm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.after-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--fog);
}
.after-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.after-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1rem; }
.after-card a { color: var(--steel); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.after-card a:hover { color: var(--navy); }

/* SAFE FLORIDA SECTION */
.safe-florida {
  background: var(--navy);
  color: var(--fog);
  text-align: center;
}
.safe-florida .section-title { color: var(--white); }
.safe-florida .section-sub { color: var(--fog); margin: 0 auto 2rem; }
.safe-florida-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: left;
}
.safe-florida-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.safe-florida-box li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.95rem; color: var(--fog);
}
.safe-florida-box li::before { content: '✓'; color: var(--accent-soft); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* FORM STYLES */
.form-section { background: var(--white); }
.form-card {
  background: var(--warm-white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--fog);
  border-radius: var(--radius);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--steel); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.5rem; text-align: center; }

/* CALCULATOR */
.calculator-section { background: var(--cloud); }
.calc-card {
  background: var(--warm-white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}
.calc-header {
  background: var(--navy-mid);
  padding: 1.5rem 2rem;
  color: var(--white);
}
.calc-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.calc-header p { color: var(--fog); font-size: 0.88rem; margin-top: 0.25rem; }
.calc-body { padding: 2rem; }
.calc-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 1.5rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--fog);
}
.calc-section-title:first-child { margin-top: 0; }
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.calc-label { font-size: 0.92rem; color: var(--text-dark); flex: 1; min-width: 200px; }
.calc-label small { display: block; font-size: 0.78rem; color: var(--text-light); margin-top: 1px; }
.calc-input-group { display: flex; align-items: center; gap: 0.5rem; }
.calc-input-group input,
.calc-input-group select {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--fog);
  border-radius: var(--radius);
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  width: 100px;
  transition: border-color 0.2s;
}
.calc-input-group input:focus,
.calc-input-group select:focus { border-color: var(--steel); }
.calc-input-group select { width: 180px; }
.qty-btn {
  width: 30px; height: 30px;
  border: 1.5px solid var(--fog);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--cloud); border-color: var(--mist); }
.qty-display {
  width: 36px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.arch-note { font-size: 0.78rem; color: var(--warn); font-style: italic; }

/* QUOTE RESULT */
.quote-result {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
}
.quote-result h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1rem;
}
.quote-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
  color: var(--fog);
}
.quote-line:last-of-type { border-bottom: none; }
.quote-line .ql { color: var(--mist); }
.quote-line .qv { color: var(--white); font-weight: 500; }
.quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.quote-total .qt-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
}
.quote-total .qt-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent-soft);
}
.quote-disclaimer { font-size: 0.78rem; color: var(--mist); margin-top: 0.75rem; font-style: italic; }
.quote-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }

/* FOOTER */
footer {
  background: var(--navy);
  color: var(--fog);
  padding: 3rem 2rem 1.5rem;
  border-top: 3px solid var(--slate);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--mist); line-height: 1.6; margin-top: 0.75rem; max-width: 300px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--mist); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
}
.footer-bottom a { color: var(--mist); text-decoration: none; }
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--fog);
}

/* CHECKLIST */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.checklist li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.95rem;
}
.checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(160deg, #2e2e2e 0%, #3a3a3a 60%, #555555 100%);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-family: 'Lora', serif;
  color: var(--fog);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* INSPECTION PAGE */
.inspection-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.include-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius-lg);
}
.include-icon {
  width: 36px; height: 36px;
  background: var(--cloud);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--slate);
  font-size: 1.1rem;
}
.include-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.include-item p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; }

/* UTILITIES */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }
.divider { height: 1px; background: var(--cloud); margin: 1.5rem 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 0;
    z-index: 99;
  }
  .nav-links.open a { height: 48px; padding: 0 1.5rem; }
  .nav-links.open .nav-cta { margin: 0.5rem 1rem; height: 40px !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .inspection-banner { flex-direction: column; text-align: center; }
  .inspection-banner::after { display: none; }
  .calc-row { flex-direction: column; align-items: flex-start; }
  .calc-input-group select { width: 100%; }
}

/* SUCCESS STATE */
.success-msg {
  background: rgba(123,170,110,0.12);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--accent);
  font-size: 0.92rem;
  text-align: center;
  margin-top: 1rem;
}
