/* ============================================
   BAYLINE SURFACE GROUP — SHARED STYLES
   ============================================ */

:root {
  --primary: #1e3a5f;
  --primary-dark: #15293f;
  --primary-light: #2c5282;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --text-dark: #1a1a1a;
  --text-mid: #4a5568;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-mid: #edf2f7;
  --border: #e2e8f0;
  --success: #065f46;
  --success-bg: #d1fae5;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 9px 0;
  font-size: 14px;
  text-align: center;
}
.topbar a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav a.nav-link {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
nav a.nav-link:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--primary); }
.btn:active { transform: translateY(1px); }
.btn-large { padding: 15px 30px; font-size: 17px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-light);
  color: var(--accent-light);
}
.btn-outline:hover { background: var(--accent-light); color: var(--primary-dark); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%, var(--primary-light) 100%);
  color: var(--white);
  padding: 65px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent-light); }
.hero .subtitle {
  font-size: 19px;
  margin-bottom: 26px;
  opacity: 0.95;
  line-height: 1.55;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  font-size: 15px;
}
.hero-trust div { display: flex; align-items: center; gap: 7px; }
.check { color: var(--accent-light); font-weight: 800; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FORM CARD ===== */
.form-card {
  background: var(--white);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.form-card h2 {
  font-size: 24px;
  margin-bottom: 6px;
  color: var(--primary);
  letter-spacing: -0.3px;
}
.form-card .form-sub {
  color: var(--text-mid);
  font-size: 14px;
  margin-bottom: 20px;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.form-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}
.form-success {
  background: var(--success-bg);
  color: var(--success);
  padding: 22px;
  border-radius: 6px;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 8px; }
.form-success a { color: var(--success); font-weight: 700; }

/* ===== SECTIONS ===== */
section { padding: 65px 0; }
section.alt { background: var(--bg-light); }
h2.section-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 17px;
  margin-bottom: 42px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
  border-color: var(--accent);
}
.service-icon { font-size: 36px; margin-bottom: 14px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--primary); }
.service-card p { font-size: 14px; color: var(--text-mid); margin-bottom: 14px; line-height: 1.55; }
.service-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
  display: block;
  margin-top: 8px;
}
.service-card a.service-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.service-card a.service-link:hover { color: var(--accent); }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.why-item { text-align: center; padding: 0 6px; }
.why-item .num {
  background: var(--accent);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.why-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.why-item p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

/* ===== INSTANT QUOTE CALCULATOR ===== */
.calculator {
  background: var(--white);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.calc-row { margin-bottom: 18px; }
.calc-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.calc-row select,
.calc-row input {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
}
.calc-result {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 24px;
  margin-top: 22px;
  text-align: center;
}
.calc-result h3 {
  color: var(--primary);
  font-size: 17px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.calc-result .price {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.calc-result .price-note {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.calc-result.large-job {
  background: #fff7ed;
  border: 1px solid var(--accent);
}
.calc-result.large-job .price {
  font-size: 24px;
}

/* ===== RECURRING PLANS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.plan-card {
  background: var(--white);
  padding: 30px 26px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.plan-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 6px;
}
.plan-card .frequency {
  color: var(--text-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.plan-card .price-block {
  margin: 18px 0 20px;
}
.plan-card .price-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-dark);
}
.plan-card .price-period {
  font-size: 15px;
  color: var(--text-light);
}
.plan-card ul {
  list-style: none;
  margin-bottom: 22px;
  text-align: left;
}
.plan-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 24px;
  position: relative;
}
.plan-card li:before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 800;
}
.plan-badge {
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== AREAS ===== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}
.area-tag {
  background: var(--primary);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.area-tag:hover { background: var(--accent); }
.area-tag.active { background: var(--accent); }
.area-tag.travel { opacity: 0.85; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  margin-bottom: 11px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
  font-size: 16px;
  user-select: none;
}
.faq-question:hover { background: var(--bg-light); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  padding: 0 22px 22px;
  max-height: 600px;
}
.faq-arrow { transition: transform 0.3s; color: var(--accent); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ===== STORY / ABOUT CONTENT ===== */
.story-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.8;
}
.story-content p { margin-bottom: 18px; }
.story-content h3 {
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 22px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  text-align: center;
}
.trust-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.trust-stat .label {
  font-size: 12.5px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 22px;
}
.final-cta h2 { font-size: 34px; margin-bottom: 14px; color: var(--white); letter-spacing: -0.5px; }
.final-cta p { font-size: 18px; margin-bottom: 26px; opacity: 0.95; }
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 44px 0 22px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 16px;
  letter-spacing: 0.3px;
}
footer a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  line-height: 1.6;
}
footer a:hover { color: var(--accent-light); }
.footer-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 12px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ===== STICKY MOBILE CTA ===== */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  z-index: 200;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.18);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 42px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero .subtitle { font-size: 17px; }
  h2.section-title { font-size: 26px; }
  .final-cta h2 { font-size: 26px; }
  .header-cta .phone-link { display: none; }
  nav { display: none; }
  .mobile-call { display: block; }
  body { padding-bottom: 60px; }
  section { padding: 44px 0; }
  .form-card { padding: 22px; }
  .calculator { padding: 22px; }
  .calc-result .price { font-size: 34px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 18px 22px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; font-size: 14px; line-height: 1.55; min-width: 250px; }
.cookie-banner-text a { color: var(--accent-light); text-decoration: underline; }
.cookie-banner-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.cookie-btn-accept { background: var(--accent); color: var(--white); }
.cookie-btn-accept:hover { background: var(--accent-light); color: var(--primary-dark); }
.cookie-btn-reject { background: transparent; color: var(--white); border: 1px solid var(--white); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.1); }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 850px; margin: 0 auto; padding: 40px 22px; line-height: 1.75; }
.legal-content h1 { color: var(--primary); font-size: 34px; margin-bottom: 8px; }
.legal-content .effective { color: var(--text-light); font-size: 14px; margin-bottom: 30px; }
.legal-content h2 { color: var(--primary); font-size: 22px; margin-top: 34px; margin-bottom: 12px; }
.legal-content h3 { color: var(--primary); font-size: 17px; margin-top: 20px; margin-bottom: 8px; }
.legal-content p { margin-bottom: 14px; color: var(--text-dark); }
.legal-content ul { margin-bottom: 14px; padding-left: 28px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--primary); }
.legal-content .alert { background: #fef3c7; border-left: 4px solid var(--accent); padding: 14px 18px; margin: 18px 0; }
