/* ============================================================
   Wasatch Site Services — Premium Stylesheet v2
   Brand: Navy #1D3057 | Sky #EEF5FF | Accent #2563EB
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1D3057;
  --navy-mid:    #243a6b;
  --navy-deep:   #111d35;
  --navy-light:  #3A5FA0;
  --accent:      #2563EB;
  --accent-light:#EFF6FF;
  --green:       #16a34a;
  --green-light: #dcfce7;
  --gold:        #F59E0B;
  --sky:         #EEF5FF;
  --sky-mid:     #D6E8FF;
  --sky-dark:    #B8D4F5;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --text-dark:   #0F1A2E;
  --text-mid:    #374151;
  --text-light:  #6B7280;
  --border:      #E2EAF4;
  --shadow-sm:   0 2px 8px rgba(29,48,87,0.07);
  --shadow-md:   0 8px 32px rgba(29,48,87,0.11);
  --shadow-lg:   0 24px 64px rgba(29,48,87,0.15);
  --shadow-xl:   0 40px 100px rgba(29,48,87,0.2);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  all 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; }

/* ── Announcement Bar ─────────────────────────────────────── */
.announce-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.88);
  text-align: center;
  padding: 10px 24px;
  font-size: 13.5px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.announce-bar a {
  color: var(--sky-mid);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announce-dot {
  width: 5px; height: 5px;
  background: var(--sky-dark);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-family: 'Sora', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(29,48,87,0.25);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,48,87,0.35);
}

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

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

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

.btn-lg { padding: 16px 34px; font-size: 15.5px; }
.btn-xl { padding: 18px 40px; font-size: 16px; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.has-announce .navbar { top: 44px; }

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

.nav-logo img { height: 42px; width: auto; }

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

.nav-links a {
  padding: 7px 15px;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
  background: var(--sky);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-phone {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Sora', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(37,99,235,0.15);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.75;
}

.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--sky-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ── Grids ────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 48px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── Divider ──────────────────────────────────────────────── */
.divider { width: 48px; height: 4px; background: var(--accent); border-radius: 2px; margin: 16px 0; }
.divider.centered { margin: 16px auto; }

/* ── Checklist ────────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 11px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-mid);
}
.checklist li::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; min-width: 20px;
  background: var(--green); color: white;
  border-radius: 50%; font-size: 11px; font-weight: 800;
  margin-top: 2px;
}

/* ── Trust Badges ─────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sky); color: var(--navy);
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--sky-mid);
}
.badge-group { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  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='%23ffffff' fill-opacity='0.03'%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");
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; color: var(--white); margin-bottom: 16px;
}
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.72); max-width: 520px; }
.page-hero .section-label {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.2);
}

/* ── Guarantee Badge ──────────────────────────────────────── */
.guarantee-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green);
  border: 1.5px solid #bbf7d0;
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 100px;
}

/* ── Rating Stars ─────────────────────────────────────────── */
.stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; }

/* ── Sticky Mobile CTA ────────────────────────────────────── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--navy);
  padding: 14px 20px;
  gap: 10px;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(29,48,87,0.25);
}
.sticky-mobile-cta a {
  flex: 1; text-align: center;
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  padding: 12px 0; border-radius: 8px;
}
.sticky-mobile-cta a:first-child {
  background: var(--accent); color: white;
}
.sticky-mobile-cta a:last-child {
  background: rgba(255,255,255,0.12); color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::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='%23ffffff' fill-opacity='0.03'%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");
  pointer-events: none;
}
.cta-banner-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(24px,3vw,38px); max-width: 560px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-top: 8px; font-size: 16px; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: 'Sora', sans-serif; font-size: 13px;
  font-weight: 700; color: var(--text-dark); margin-bottom: 7px; letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text-dark); background: var(--white);
  transition: var(--transition); outline: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: #080f1e; color: rgba(255,255,255,0.65); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-brand img { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-brand .footer-guarantee {
  margin-top: 20px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer h4 {
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer ul li a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,0.6); }
.footer-contact a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px;
}
.footer-certifications {
  display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}
.footer-cert {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px; padding: 7px 12px; font-size: 11.5px;
  font-family: 'Sora', sans-serif; font-weight: 700;
  color: rgba(255,255,255,0.55); letter-spacing: 0.04em;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

.fade-up { animation: fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) forwards; }
.fade-up-delay-1 { animation-delay: 0.08s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.18s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.28s; opacity: 0; }
.fade-up-delay-4 { animation-delay: 0.38s; opacity: 0; }
.fade-up-delay-5 { animation-delay: 0.48s; opacity: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner .btn-group { justify-content: center; }
  .has-announce .navbar { top: 0; }
  .announce-bar { display: none; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  .page-hero { padding: 130px 0 60px; }
  .cta-banner { padding: 56px 0; }
  .btn-xl { padding: 15px 28px; font-size: 15px; }
}

/* Mobile nav open */
@media (max-width: 640px) {
  .nav-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; gap: 2px; z-index: 999;
  }
}
