/* ============================================
   Suncoast Roofing Co. — Demo Client Site
   Light, professional, high-converting
   ============================================ */

:root {
  --brand: #1B4FD8;
  --brand-dark: #1440B8;
  --brand-light: #EEF2FF;
  --accent: #F97316;
  --dark: #0F172A;
  --text: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 72px; /* sticky cta */
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  background: var(--brand-light);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; text-decoration: none;
  cursor: pointer; transition: all 0.2s ease; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #EA6A0A; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.35); }
.btn-white { background: #fff; color: var(--dark); border-color: #fff; }
.btn-white:hover { background: #f1f5f9; }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-full { width: 100%; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--dark);
  padding: 8px 0;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #94A3B8;
}
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; }
.topbar-phone:hover { color: var(--accent); }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 20px; font-weight: 900; color: var(--dark);
  text-decoration: none; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--brand); }
.logo-icon { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }
.mobile-call-btn { display: none; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex; align-items: center;
  padding: 80px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,20,40,0.88) 50%, rgba(10,20,40,0.4) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 900;
  color: #fff; line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 20px; max-width: 640px;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.8);
  max-width: 520px; margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg); padding: 20px 28px;
  max-width: fit-content; flex-wrap: wrap; gap: 0;
}
.trust-item { text-align: center; padding: 0 24px; }
.trust-item strong { display: block; font-size: 24px; font-weight: 900; color: #fff; line-height: 1.1; }
.trust-item span { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ---- SERVICES STRIP ---- */
.services-strip {
  background: var(--brand);
  padding: 0;
}
.services-strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 28px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(255,255,255,0.08); }
.strip-icon { font-size: 28px; }
.strip-item strong { display: block; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.strip-item span { color: rgba(255,255,255,0.65); font-size: 13px; }

/* ---- ABOUT ---- */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: block;
  aspect-ratio: 4/3; object-fit: cover;
}
.about-img-sub {
  position: absolute; bottom: -28px; right: -28px;
  width: 180px; height: 140px;
  object-fit: cover; border-radius: var(--radius);
  border: 4px solid #fff; box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; top: -20px; left: -20px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-lg); padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge strong { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.about-badge span { font-size: 12px; font-weight: 600; opacity: 0.9; line-height: 1.3; }
.about-content h2 {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1; color: var(--dark);
  margin-bottom: 20px; max-width: 480px;
}
.about-content p { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.about-badge-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
}

/* ---- PHOTO STRIP ---- */
.photo-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: 220px; overflow: hidden;
}
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-strip img:hover { transform: scale(1.03); }

/* ---- REVIEWS ---- */
.reviews { background: var(--bg-soft); }
.reviews h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  letter-spacing: -1.5px; margin-bottom: 16px; color: var(--dark);
}
.stars-row { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.stars { color: #F59E0B; font-size: 22px; letter-spacing: 2px; }
.stars-row strong { font-size: 18px; color: var(--dark); }
.stars-row span { color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
}
.review-stars { color: #F59E0B; font-size: 16px; letter-spacing: 1px; margin-bottom: 16px; }
.review-card p { color: var(--text); font-size: 15px; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 15px; color: var(--dark); }
.reviewer span { font-size: 13px; color: var(--text-muted); }

/* ---- PROCESS ---- */
.process h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  letter-spacing: -1.5px; color: var(--dark); margin-bottom: 48px;
}
.process-steps {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
}
.process-step {
  flex: 1; min-width: 180px;
  padding: 32px 24px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.process-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; margin-bottom: 16px;
}
.process-step h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.process-arrow { font-size: 22px; color: var(--text-light); margin-top: 50px; flex-shrink: 0; }

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative; padding: 96px 0; text-align: center; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.82); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 52px); font-weight: 900;
  color: #fff; letter-spacing: -2px; margin-bottom: 14px;
}
.cta-inner p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 36px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
  padding: 72px 0 56px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 900;
  letter-spacing: -2px; color: var(--dark); line-height: 1.05;
  margin-bottom: 16px; max-width: 600px;
}
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 520px; line-height: 1.7; }

/* ---- SERVICE BLOCKS ---- */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block-reverse { direction: rtl; }
.service-block-reverse > * { direction: ltr; }
.service-block-img img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover;
}
.service-icon { font-size: 36px; margin-bottom: 12px; }
.service-block-content h2 {
  font-size: 32px; font-weight: 900; color: var(--dark);
  letter-spacing: -1px; margin-bottom: 16px;
}
.service-block-content p {
  color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 20px;
}
.service-block-content ul { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.service-block-content ul li { font-size: 15px; color: var(--text); padding-left: 20px; position: relative; }
.service-block-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ---- MATERIALS ---- */
.materials { background: var(--bg-soft); }
.materials h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  letter-spacing: -1.5px; color: var(--dark); margin-bottom: 48px;
}
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.material-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  box-shadow: var(--shadow);
}
.material-icon { font-size: 32px; margin-bottom: 16px; }
.material-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.material-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ---- CONTACT ---- */
.contact-section { padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.contact-form-wrap h2 { font-size: 28px; font-weight: 900; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.5px; }
.form-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 13px 15px; color: var(--dark); font-family: inherit; font-size: 15px;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-disclaimer { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 8px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.contact-info-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.contact-info-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.call-link { display: block; font-size: 26px; font-weight: 900; color: var(--accent); text-decoration: none; margin-bottom: 8px; }
.call-link:hover { text-decoration: underline; }
.contact-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.expect-list li { display: flex; gap: 14px; }
.expect-num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.expect-list strong { display: block; font-size: 14px; color: var(--dark); font-weight: 700; margin-bottom: 2px; }
.expect-list p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.trust-card { background: var(--brand); border-color: var(--brand); }
.trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust-b { background: rgba(255,255,255,0.12); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; text-align: center; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-col .logo { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer-col p { color: #64748B; font-size: 14px; line-height: 1.7; margin-bottom: 6px; }
.footer-license { font-size: 12px !important; color: #475569 !important; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul li a { color: #64748B; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1E293B; padding: 20px 0; }
.footer-bottom p { color: #475569; font-size: 13px; }
.footer-bottom a { color: var(--accent); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---- STICKY MOBILE CTA ---- */
.sticky-mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px; gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.sticky-mobile-cta .btn { flex: 1; justify-content: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .services-strip-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block-reverse { direction: ltr; }
  .service-block-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { flex-direction: column; }
  .process-arrow { display: none; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: 280px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 80px; }
  .topbar { display: none; }
  .nav-links li:not(:last-child) { display: none; }
  .nav-links .btn { display: none; }
  .mobile-call-btn { display: flex; align-items: center; font-weight: 700; font-size: 14px; text-decoration: none; background: var(--accent); color: #fff; padding: 9px 16px; border-radius: var(--radius); }
  .hero { min-height: 520px; padding: 60px 0; }
  .hero-trust { display: none; }
  .services-strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 16px; }
  .materials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .sticky-mobile-cta { display: flex; }
  .photo-strip { display: none; }
  .trust-divider { display: none; }
  .hero-trust .trust-item { padding: 0 12px; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ---- HAMBURGER & DRAWER ---- */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--bg-soft); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.active { opacity: 1; pointer-events: all; }

/* Drawer */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-header .logo { font-size: 16px; }

.drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.drawer-close:hover { background: var(--bg-soft); color: var(--dark); }

.drawer-links {
  list-style: none;
  flex: 1;
  padding: 8px 0;
}
.drawer-links li a {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.drawer-links li a:hover { background: var(--brand-light); color: var(--brand); }

.drawer-section {
  padding: 16px 20px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

.drawer-cta {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .nav-mobile-right { display: flex; }
  .mobile-call-btn { display: none; }
}
