/* =========================================================
   Eagle's Master Shingle LLC — Site Design System
   Palette matches the marketing plan doc for brand consistency.
   ========================================================= */

:root {
  --navy: #1F3550;
  --navy-dark: #142640;
  --orange: #F37021;
  --orange-light: #F79A5C;
  --orange-dark: #C85A16;
  --slate: #44515C;
  --bg: #FAF9F5;
  --panel: #FFFFFF;
  --light-orange: #FDEAD9;
  --gray-100: #F4F5F6;
  --gray-200: #E6E8EA;
  --gray-600: #5B6670;
  --text: #23282D;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(31, 53, 80, 0.08);
  --shadow-lg: 0 12px 32px rgba(31, 53, 80, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.28;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1.15em; color: var(--gray-600); }
a { color: var(--navy); text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--orange); color: var(--navy-dark); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #CFD8E3;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #E9EEF4; }
.topbar .tb-phone { font-weight: 600; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}
.brand-logo { height: 34px; width: auto; flex: none; }

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
nav.primary-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--slate);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover,
nav.primary-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-toggle { display: none; }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 220px;
  border: 1px solid var(--gray-200);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  border-bottom: none !important;
  font-size: 0.9rem;
}
.dropdown a:hover { background: var(--light-orange); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #0f1f33 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 20%, rgba(243,112,33,0.28), transparent 45%),
                     radial-gradient(circle at 15% 85%, rgba(243,112,33,0.14), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 116px 0 96px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede { color: #C9D3DE; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 100%; max-width: 380px; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 84px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lede { color: #C9D3DE; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--orange-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--orange-light); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
  text-align: center;
}
.trust-grid .stat-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.trust-grid .stat-label {
  font-size: 0.82rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Sections ---------- */
section { padding: 112px 0; }
section.tight { padding: 72px 0; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head p { margin-bottom: 0; }
.bg-panel { background: var(--panel); }
.bg-tint { background: var(--light-orange); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #C9D3DE; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px; height: 48px;
  margin-bottom: 22px;
  color: var(--orange);
}
.card h3 { margin-bottom: 12px; }
.card p:last-of-type { margin-bottom: 0; }
.card a.card-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.badge {
  display: inline-block;
  background: var(--light-orange);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step h3 { margin-bottom: 8px; }
.step p { margin-bottom: 0; }
.step-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Lists ---------- */
ul.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
ul.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text);
}
ul.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--light-orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F37021' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-light) 100%);
  border-radius: var(--radius);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--navy-dark); margin-bottom: 8px; }
.cta-banner p { color: var(--navy-dark); opacity: 0.85; margin: 0; }
.cta-banner .btn-navy:hover { background: #0f1f33; }

/* ---------- Location chips ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.area-tier h3 { display:flex; align-items:center; gap:10px; margin-bottom: 20px;}
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.area-list a, .area-list span {
  display: block;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
}
.area-list a { color: var(--navy); }
.area-list a:hover { border-color: var(--orange); background: var(--light-orange); }
.area-list span { color: var(--gray-600); }
.area-list .tag {
  float: right;
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-tile {
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gallery-tile.placeholder {
  aspect-ratio: 4/3;
  border: 2px dashed var(--gray-200);
  background: var(--gray-100);
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-600);
  text-align: center;
  padding: 16px;
}
.gallery-tile.placeholder svg { width: 34px; height: 34px; color: var(--orange); }
.gallery-tile .tile-label { font-size: 0.82rem; font-weight: 600; color: var(--slate); }
.gallery-tile .tile-sub { font-size: 0.74rem; color: var(--gray-600); }
.gallery-tile.has-photo {
  background: var(--panel);
  box-shadow: var(--shadow);
}
.gallery-tile.has-photo .tile-img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.gallery-tile.has-photo .tile-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tile.has-photo .tile-cap { padding: 14px 16px; text-align: left; }
.gallery-tile.has-photo .tile-label { font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.gallery-feature {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.gallery-feature .tile-img-wrap { aspect-ratio: 32/7; overflow: hidden; }
.gallery-feature .tile-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-feature .tile-cap { padding: 16px 20px; text-align: left; }
.gallery-feature .tile-label { font-size: 0.95rem; color: var(--navy); margin-bottom: 2px; }

/* ---------- Reviews ---------- */
.review-embed {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-100);
  padding: 48px 24px;
  text-align: center;
  color: var(--gray-600);
}
.sample-review {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  font-style: italic;
  color: var(--gray-600);
  position: relative;
}
.sample-review .tag-sample {
  position: absolute;
  top: -11px; left: 20px;
  background: var(--navy);
  color: var(--white);
  font-style: normal;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-100);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--orange);
  background: var(--white);
}
.form-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  background: var(--light-orange);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 14px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #B9C4D1;
  padding: 88px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.footer-grid a, .footer-grid p { color: #B9C4D1; font-size: 0.9rem; }
.footer-grid p { margin-bottom: 0; line-height: 1.6; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.footer-brand span { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--white); font-size: 1.1rem; }
.footer-logo { height: 44px; width: auto; flex: none; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #8493A3;
}

/* ---------- Placeholder tag ---------- */
.placeholder-tag {
  display: inline-block;
  background: #FFF3E0;
  color: #9A5B00;
  border: 1px dashed #E0A85B;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .container { padding: 0 22px; }
  section { padding: 72px 0; }
  section.tight { padding: 52px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head.left { margin-bottom: 32px; }
  .grid { gap: 20px; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; gap: 40px; }
  .hero-actions { margin-top: 28px; }
  .hero-art { order: -1; max-width: 220px; margin: 0 auto; }
  .page-hero { padding: 56px 0; }
  .trust-grid { padding: 28px 0; }
  .trust-grid, .grid-3, .grid-4, .grid-2, .area-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 28px 24px; }
  .cta-banner { padding: 36px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  footer.site-footer { padding: 64px 0 28px; }
  .form-card { padding: 28px 24px; }
  .nav-phone { display: none; }
  .nav-wrap { flex-wrap: wrap; row-gap: 10px; }
  .brand small { display: none; }
  nav.primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
  }
  nav.primary-nav.nav-open { display: flex; }
  nav.primary-nav a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--gray-100) !important; }
  .has-dropdown { width: 100%; }
  .has-dropdown .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
  }
  header.site-header { position: relative; }
  .nav-wrap { position: relative; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  section.tight { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .trust-grid, .grid-3, .grid-4, .grid-2, .area-grid, .gallery-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .hero-inner { padding-top: 40px; padding-bottom: 44px; gap: 32px; }
  .card { padding: 26px 22px; }
  .form-card { padding: 24px 20px; }
}
