/* ============================================================
   SEALED, LLC — sealedms.com
   Palette and type derived from the Sealed wordmark
   ============================================================ */
:root {
  --navy: #1a2744;
  --navy-deep: #131d33;
  --gold: #c4944e;
  --gold-hover: #b3833d;
  --white: #ffffff;
  --gray-bg: #f5f6f8;
  --gray-text: #6b7280;
  --gray-line: #e5e7eb;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(19, 29, 51, 0.10);
  --shadow-lg: 0 12px 40px rgba(19, 29, 51, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1.0625rem;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4.5rem 0; }
section.alt { background: var(--gray-bg); }
.section-label {
  display: inline-block; font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.lead { font-size: 1.15rem; max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700;
  padding: 0.85rem 1.7rem; border-radius: var(--radius); font-size: 1rem;
  transition: all 0.2s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: var(--white);
  box-shadow: 0 2px 12px rgba(19, 29, 51, 0.08);
}
.topbar {
  background: var(--navy); color: #cbd5e1; font-size: 0.85rem;
  padding: 0.4rem 0; text-align: center;
}
.topbar a { color: var(--gold); font-weight: 600; }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.25rem; max-width: 1240px; margin: 0 auto; gap: 1rem;
}
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem;
  color: var(--navy);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy);
  white-space: nowrap;
}
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.8rem; color: var(--navy); line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); padding: 7rem 0 6rem;
  background: linear-gradient(rgba(19, 29, 51, 0.72), rgba(26, 39, 68, 0.78)),
    url('images/hero-exterior.jpg') center/cover no-repeat;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .tagline {
  color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 1.15rem; margin: 1rem 0 0.5rem; letter-spacing: 0.02em;
}
.hero p.sub { max-width: 55ch; color: #dbe2ee; font-size: 1.12rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo { height: 64px; width: auto; margin-bottom: 1.6rem; }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(rgba(19, 29, 51, 0.78), rgba(26, 39, 68, 0.82)),
    url('images/hero-exterior.jpg') center/cover no-repeat;
  color: var(--white); padding: 4.5rem 0; text-align: center;
}
.page-hero h1 { color: var(--white); margin: 0 auto; }
.page-hero p { color: #dbe2ee; max-width: 60ch; margin: 0.8rem auto 0; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy); padding: 1.4rem 0; }
.trust-bar .container {
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem;
}
.trust-item .dot { color: var(--gold); font-size: 1.2rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.card-body p { font-size: 0.98rem; }
.card-link {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.92rem;
  display: inline-block; margin-top: 0.8rem;
}
.icon-card {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}

/* ---------- Service detail sections ---------- */
.service-block { padding: 3.4rem 0; border-bottom: 1px solid var(--gray-line); }
.service-block:nth-child(even) { background: var(--gray-bg); }
.service-flex { display: flex; gap: 2.6rem; align-items: flex-start; }
.service-flex .text { flex: 1.2; }
.service-flex .media { flex: 1; }
.service-flex .media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.service-list {
  columns: 2; column-gap: 2rem; margin: 1rem 0 1.2rem; padding-left: 1.2rem;
  font-size: 0.98rem;
}
.service-list li { margin-bottom: 0.4rem; break-inside: avoid; }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.4rem; }
.faq details {
  background: var(--white); border: 1px solid var(--gray-line);
  border-radius: var(--radius); margin-bottom: 0.7rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1rem 1.3rem; font-family: 'Montserrat', sans-serif;
  font-weight: 600; color: var(--navy); list-style: none; position: relative;
}
.faq summary::after {
  content: '+'; position: absolute; right: 1.2rem; color: var(--gold);
  font-weight: 700; font-size: 1.2rem;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 1.3rem 1.1rem; font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); position: relative;
}
.testimonial .stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 0.6rem; }
.testimonial p { font-size: 0.98rem; font-style: italic; }
.testimonial .who {
  margin-top: 1rem; font-style: normal; font-family: 'Montserrat', sans-serif;
  font-weight: 700; color: var(--navy); font-size: 0.92rem;
}
.testimonial .where { color: var(--gray-text); font-weight: 400; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.gallery-grid figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--white); margin: 0;
}
.gallery-grid img { height: 240px; width: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  padding: 0.9rem 1.1rem; font-size: 0.9rem; font-family: 'Montserrat', sans-serif;
  font-weight: 600; color: var(--navy);
}
.gallery-wide { grid-column: span 3; }
.gallery-wide img { height: 420px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(rgba(19,29,51,0.85), rgba(19,29,51,0.85)),
    url('images/exterior-trim-detail.jpg') center/cover no-repeat;
  color: var(--white); text-align: center; padding: 4.5rem 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbe2ee; max-width: 55ch; margin: 0.8rem auto 1.8rem; }

/* ---------- Forms ---------- */
.quote-form {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 2.2rem; max-width: 720px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
label {
  display: block; font-family: 'Montserrat', sans-serif; font-weight: 600;
  color: var(--navy); font-size: 0.9rem; margin-bottom: 0.35rem;
}
input, select, textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--gray-line);
  border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem;
  color: var(--navy); background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}
.form-note { font-size: 0.85rem; margin-top: 0.8rem; }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.info-card {
  background: var(--navy); color: #dbe2ee; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.info-card h3 { color: var(--white); }
.info-card a { color: var(--gold); font-weight: 600; }
.info-card ul { list-style: none; margin-top: 1rem; }
.info-card li { padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.98rem; }
.map-embed { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Blog ---------- */
.post-card .card-body h3 { font-size: 1.15rem; }
.post-meta { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 0.5rem; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.post-body p { margin-bottom: 1.1rem; }
.post-body ul { margin: 0 0 1.1rem 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8c2d4; padding: 3.5rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem;
  padding-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white); font-size: 1rem; margin-bottom: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.site-footer a { color: #b8c2d4; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-verse {
  font-style: italic; font-size: 0.92rem; color: #93a1b8; margin-top: 1rem;
  border-left: 3px solid var(--gold); padding-left: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0;
  font-size: 0.85rem; text-align: center; color: #8494ad;
}

/* ---------- Utility ---------- */
.checklist { list-style: none; margin: 1.2rem 0; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: 0.55rem; }
.checklist li::before {
  content: '\2713'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.badge-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.badge {
  background: var(--gray-bg); border: 1px solid var(--gray-line); color: var(--navy);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-flex { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .nav-phone { display: none; }
}
@media (max-width: 700px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 1.2rem 1.5rem; gap: 1rem; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; }
  .gallery-wide img { height: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-list { columns: 1; }
  .hero { padding: 5rem 0 4.5rem; }
  .brand img { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
