/* Leesburg Ceramic Coating — shared styles */
:root {
  --navy: #0b1220;
  --navy-2: #121a2b;
  --charcoal: #1a2336;
  --slate: #2a3548;
  --silver: #c5d0e0;
  --accent: #3b7dd8;
  --accent-hover: #5a96e8;
  --accent-soft: rgba(59, 125, 216, 0.15);
  --white: #ffffff;
  --off-white: #f4f6f9;
  --muted: #8b97ab;
  --text: #e8edf5;
  --text-dark: #1a2336;
  --border: rgba(197, 208, 224, 0.12);
  --radius: 10px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --max: 1100px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.25;
}
.logo:hover { text-decoration: none; color: var(--silver); }
.logo span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-toggle[aria-expanded="true"] { border-color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--silver);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--accent-soft);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 125, 216, 0.35);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--silver);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); color: var(--white); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--border);
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
}
.btn-ghost:hover { color: var(--white); border-color: var(--accent); }

.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 3.5rem 0 3rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: var(--navy-2);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 125, 216, 0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}
.hero.hero--photo {
  background-image:
    linear-gradient(105deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.78) 45%, rgba(11, 18, 32, 0.55) 100%),
    var(--hero-bg, none);
}
.hero > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-card ul { display: grid; gap: 0.75rem; }
.hero-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--silver);
  font-size: 0.95rem;
}
.hero-card li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Sections */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--navy-2); border-block: 1px solid var(--border); }
.section-light {
  background: var(--off-white);
  color: var(--text-dark);
  border-block: 1px solid #dde3ee;
}
.section-light h2,
.section-light h3 { color: var(--navy); }
.section-light p,
.section-light li { color: #3a4558; }
.section-light .muted { color: #5a667a; }

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--muted); }

.section-light .section-header h2 { color: var(--navy); }
.section-light .section-header p { color: #5a667a; }

/* Cards / grids */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.card p, .card li { color: var(--silver); font-size: 0.98rem; }
.card ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.card li {
  padding-left: 1.1rem;
  position: relative;
}
.card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  position: relative;
}
.card-badge {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.section-light .card {
  background: var(--white);
  border-color: #dde3ee;
  box-shadow: 0 4px 16px rgba(11, 18, 32, 0.06);
}
.section-light .card h3 { color: var(--navy); }
.section-light .card p,
.section-light .card li { color: #3a4558; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* CTA band */
.cta-band {
  padding: 3rem 0;
  background: linear-gradient(135deg, #152238 0%, #1a3a6a 100%);
  border-block: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-band p {
  color: var(--silver);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: 2.75rem 0 2rem;
  background-color: var(--navy-2);
  background-image: linear-gradient(180deg, var(--navy-2), var(--navy));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}
.page-hero.page-hero--photo {
  min-height: 200px;
  background-image:
    linear-gradient(180deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.92) 100%),
    var(--page-hero-bg, none);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--silver);
  max-width: 40rem;
  font-size: 1.1rem;
}

/* Process timeline */
.process-list {
  display: grid;
  gap: 0;
  max-width: 42rem;
  margin-inline: auto;
}
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.process-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.process-item .step-num { margin-bottom: 0; }
.process-item h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.process-item p { color: var(--silver); }

/* FAQ */
.faq { display: grid; gap: 1rem; max-width: 42rem; margin-inline: auto; }
.faq details {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: 0.75rem;
  color: var(--silver);
  font-size: 0.98rem;
}

/* Areas */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.area-tag {
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}
.info-block h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.info-block a, .info-block p {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}
.info-block a:hover { color: var(--accent-hover); }

.contact-form {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.75rem;
}
.contact-form h2 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.form-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 0.35rem;
}
.form-group label .req { color: var(--accent-hover); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--slate);
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-group textarea { min-height: 110px; resize: vertical; }

.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-success {
  display: none;
  background: rgba(46, 160, 100, 0.15);
  border: 1px solid rgba(46, 160, 100, 0.4);
  color: #7ddea8;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.form-success.is-visible { display: block; }

.form-error {
  display: none;
  background: rgba(200, 60, 60, 0.15);
  border: 1px solid rgba(200, 60, 60, 0.45);
  color: #f0a0a0;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.form-error.is-visible { display: block; }

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: #070b14;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; }
.footer-col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.footer-col ul { display: grid; gap: 0.4rem; }
.footer-col a { color: var(--silver); }
.footer-col a:hover { color: var(--white); }
.footer-nap {
  color: var(--silver);
  display: grid;
  gap: 0.35rem;
}
.footer-nap a { color: var(--silver); }
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Utility */
.muted { color: var(--muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.sr-only,
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-2);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1rem;
    gap: 0.15rem;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.75rem 1rem; }
  .header-cta .btn-ghost { display: none; }
  .site-header { position: sticky; }
  .header-inner { position: relative; flex-wrap: wrap; }
  body { padding-bottom: 4.5rem; }
  .mobile-call-bar { display: flex; }
}

/* ========== Photo / media helpers ========== */
.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--charcoal);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-img {
  margin: -1.5rem -1.5rem 1rem;
  height: 180px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-popular .card-img {
  border-radius: var(--radius) var(--radius) 0 0;
}

.photo-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
.photo-grid figure {
  margin: 0;
}
.photo-grid .img-frame {
  height: 220px;
}
@media (min-width: 700px) {
  .photo-grid .img-frame { height: 260px; }
}
.photo-grid figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.banner-img {
  margin-top: 1.75rem;
  height: 220px;
  max-width: 100%;
}
@media (min-width: 700px) {
  .banner-img { height: 300px; }
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .split--reverse .split-media { order: 2; }
  .split--reverse .split-body { order: 1; }
}
.split-media .img-frame {
  height: 240px;
}
@media (min-width: 800px) {
  .split-media .img-frame { height: 280px; }
}
.split-body h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.split-body p {
  color: var(--silver);
}
.split .step-num {
  margin-bottom: 0.75rem;
}

.contact-side-img {
  margin-top: 1.5rem;
  height: 200px;
}
@media (min-width: 800px) {
  .contact-side-img { height: 240px; }
}

.footer-attr {
  flex-basis: 100%;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.8;
}



.process-splits {
  max-width: 960px;
  margin-inline: auto;
}


/* Sticky mobile call bar — visible only under 900px */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 11, 20, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
}
.mobile-call-bar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
}
.mobile-call-bar__btn:hover { text-decoration: none; }
.mobile-call-bar__call {
  background: var(--accent);
  color: var(--white);
  border: 1px solid transparent;
}
.mobile-call-bar__call:hover { background: var(--accent-hover); color: var(--white); }
.mobile-call-bar__quote {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--slate);
}
.mobile-call-bar__quote:hover {
  border-color: var(--accent);
  color: var(--white);
}

