/* ============================================
   BLUE SEAL HVAC & PLUMBING — styles.css
   Palette matched to ST scheduler brand blue
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --blue:        #2563EB;   /* ST scheduler brand blue */
  --blue-dark:   #1A4FC4;
  --blue-dim:    rgba(37,99,235,0.12);
  --blue-glow:   rgba(37,99,235,0.25);
  --navy:        #0F1E35;   /* scheduler header dark */
  --navy-mid:    #162847;
  --ink:         #07111E;
  --white:       #FFFFFF;
  --offwhite:    #F5F8FF;
  --text:        #1E293B;
  --muted:       #64748B;
  --border:      #E2E8F2;
  --border-dark: rgba(255,255,255,0.1);
  --amber:       #F59C1A;   /* kept for emergency badge only */

  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(7,17,30,.06);
  --shadow-md: 0 8px 32px rgba(7,17,30,.12);
  --shadow-lg: 0 20px 60px rgba(7,17,30,.2);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.35);

  --ease: cubic-bezier(.22,.68,0,1.2);
  --t: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Shared Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 30px; border-radius: var(--r-sm);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.45); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); color: var(--white);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  padding: 14px 30px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.22);
  transition: background var(--t), border-color var(--t);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }

.btn-book {
  display: inline-flex; align-items: center;
  background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--r-sm);
  transition: background var(--t), transform var(--t);
  white-space: nowrap;
}
.btn-book:hover { background: var(--blue-dark); transform: translateY(-1px); }

.eyebrow {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px; display: block;
}
.eyebrow.light { color: rgba(255,255,255,0.55); }

/* ── Fade-up ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(37,99,235,0.3);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.15);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute; inset: 3px; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.3);
}
.brand-mark span {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 800;
  color: var(--white); position: relative; z-index: 1;
}
.brand-mark.small { width: 36px; height: 36px; }
.brand-mark.small span { font-size: 0.78rem; }

.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.06em; line-height: 1;
}
.brand-text small {
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); line-height: 1;
}

.nav-links {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 7px 13px; border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-phone { color: rgba(255,255,255,0.55) !important; font-size: 0.8rem !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.3s ease; }

/* ════════════════════════════════════════
   MOBILE DRAWER
════════════════════════════════════════ */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 100vw);
  background: var(--navy); z-index: 200; padding: 24px 28px;
  display: flex; flex-direction: column; gap: 28px;
  transform: translateX(100%); transition: transform 0.3s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 190; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.show { opacity: 1; pointer-events: all; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { color: rgba(255,255,255,0.7); font-size: 1.4rem; line-height: 1; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.04em;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--t);
}
.drawer-links a:hover { color: var(--white); }
.drawer-cta { align-self: flex-start; }
.drawer-phone { font-size: 0.88rem; color: rgba(255,255,255,0.45); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative; background: var(--ink);
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute; top: -20%; left: 30%; width: 70%; height: 120%;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-body {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 28px;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.4);
  color: #93B4FF;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 6px var(--blue);
  animation: pulse 2s ease-in-out infinite;
}

.hero-body h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 6rem);
  color: var(--white); line-height: 1.0; letter-spacing: -0.01em;
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-body h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue) 0%, #60A5FA 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,0.65);
  max-width: 480px; margin-bottom: 36px; line-height: 1.7;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex; align-items: center; gap: 0;
  animation: fadeUp 0.7s ease 0.4s both;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  width: fit-content;
}
.stat { text-align: center; padding: 0 28px; }
.stat strong {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  color: var(--white); display: block; line-height: 1;
}
.stat span { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ════════════════════════════════════════
   TRUST STRIP
════════════════════════════════════════ */
.trust-strip {
  background: var(--blue); padding: 14px 0; overflow: hidden;
}
.trust-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.trust-inner span {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
}
.sep { color: rgba(255,255,255,0.4) !important; }

/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
.services {
  background: var(--offwhite); padding: 80px 0;
}
.section-intro {
  max-width: 1200px; margin: 0 auto 44px; padding: 0 28px;
}
.section-intro h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--navy);
}

.services-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.service-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 28px 24px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.2); }
.service-card:hover::after { transform: scaleX(1); }

.sc-icon {
  width: 48px; height: 48px; background: var(--blue-dim);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--navy); margin-bottom: 14px;
}
.service-card ul { display: flex; flex-direction: column; gap: 7px; }
.service-card ul li {
  font-size: 0.84rem; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.service-card ul li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

.service-card--emergency {
  background: var(--navy); border-color: var(--navy);
}
.service-card--emergency h3 { color: var(--white); }
.service-card--emergency ul li { color: rgba(255,255,255,0.6); }
.service-card--emergency ul li::before { background: var(--amber); }
.service-card--emergency .sc-icon { background: rgba(245,156,26,0.15); }
.service-card--emergency::after { background: var(--amber); }
.sc-emerg-label {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}

/* ════════════════════════════════════════
   SCHEDULE SECTION
════════════════════════════════════════ */
.schedule-section {
  background: var(--navy); padding: 100px 0;
}
.schedule-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

/* Left */
.schedule-left h2 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; color: var(--white); margin-bottom: 36px; line-height: 1.05;
}

.trust-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; }
.tl-icon {
  width: 42px; height: 42px; background: var(--blue-dim);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.trust-list li strong { font-size: 0.95rem; font-weight: 600; color: var(--white); display: block; margin-bottom: 3px; }
.trust-list li p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

.hours-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark);
  border-radius: var(--r-md); padding: 20px 24px;
}
.hours-title {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.hours-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
}
.hours-grid span { font-size: 0.84rem; }
.hours-grid span:nth-child(odd) { color: rgba(255,255,255,0.55); }
.hours-grid span:nth-child(even) { color: var(--white); font-weight: 500; text-align: right; }

/* Right — Book Card */
.book-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: 44px 40px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.book-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), #60A5FA);
}
.book-card-top { margin-bottom: 32px; }
.book-icon { font-size: 2.2rem; display: block; margin-bottom: 16px; }
.book-card h3 {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}
.book-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* THE Book Now button — links to ST scheduler */
.btn-book-now {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
  padding: 18px 28px; border-radius: var(--r-md);
  box-shadow: var(--shadow-blue);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-bottom: 20px;
}
.btn-book-now:hover {
  background: var(--blue-dark); transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,.5);
}

.book-perks {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px;
}
.book-perks li { font-size: 0.82rem; color: var(--muted); }

.book-or {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.book-or::before, .book-or::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.book-or span { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }

.btn-call-alt {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--text); transition: border-color var(--t), background var(--t);
}
.btn-call-alt:hover { border-color: var(--blue); background: var(--blue-dim); color: var(--blue); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background: var(--ink); padding: 64px 0 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px 52px;
  display: grid; grid-template-columns: 1.8fr 1fr 1.4fr 1fr;
  gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand > div { display: flex; align-items: center; gap: 12px; }
.footer-brand strong {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.06em; display: block;
}
.footer-brand small {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); display: block;
}
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 240px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 6px;
}
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
.footer-cities { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-book {
  margin-top: 8px; align-self: flex-start;
  font-size: 0.8rem !important; padding: 8px 18px;
}

.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 20px 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
}
.footer-bottom em { font-style: normal; }

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .btn-book:not(.drawer-cta):not(.footer-book) { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero-stats { flex-wrap: wrap; width: 100%; padding: 16px 20px; gap: 4px; }
  .stat { padding: 8px 16px; flex: 1 1 auto; }
  .stat-divider { display: none; }
  .schedule-inner { padding: 0 20px; }
  .book-card { padding: 32px 24px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-body { padding: 60px 20px; }
  .trust-strip .sep { display: none; }
  .trust-inner { gap: 12px; }
}
