:root {
  --navy: #14273f;
  --steel: #2c4a6e;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --light: #f6f7f9;
  --text: #1f2937;
  --muted: #5b6472;
  --border: #e2e5ea;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* The logo is white line art, so it only reads on the navy brand surface --
   the header and footer both supply that. */
.brand img {
  height: 64px;
  width: auto;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #dbe2ea;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

.header-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-light);
}

/* Header phone — the primary conversion on a damage job */
.header-tel {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.header-tel:hover {
  border-bottom-color: var(--accent);
}

.header-tel-label {
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: #fff;
  padding: 96px 0;
}

.hero .container {
  max-width: 720px;
}

.hero .eyebrow {
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 20px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.15rem;
  color: #cfd8e3;
  margin: 0 0 32px;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Page header (for non-home pages) */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 2.25rem;
}

.page-header p {
  color: #cfd8e3;
  margin: 0;
  max-width: 640px;
}

/* Sections */
section {
  padding: 72px 0;
}

section.alt {
  background: var(--light);
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-heading .eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--navy);
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

/* Grids and cards */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats .num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
}

.stats .label {
  color: #cfd8e3;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .placeholder-image {
  background: linear-gradient(135deg, var(--steel), var(--navy));
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.split h2 {
  color: var(--navy);
  font-size: 1.85rem;
  margin: 0 0 16px;
}

.split p {
  color: var(--muted);
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* Values / about */
.value-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.value-item .num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.value-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 1.85rem;
}

.cta-band p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-primary {
  background: var(--navy);
}

.cta-band .btn-primary:hover {
  background: var(--steel);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1rem;
}

.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

form.contact-form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 18px;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.contact-form button[type="submit"][disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: #16a34a;
  margin: 0 auto 20px;
}

.form-success h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.form-success p {
  color: var(--muted);
  margin: 0;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cfd8e3;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-grid p {
  color: #a9b4c2;
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #a9b4c2;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #7f8ca0;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  .header-cta {
    display: none;
  }

  .header-tel {
    margin-left: auto;
    margin-right: 12px;
    font-size: 0.9rem;
  }

  .header-tel-label {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0;
  }

  section {
    padding: 56px 0;
  }
}

/* Breadcrumbs */
.crumbs {
  font-size: 0.85rem;
  color: #a9b4c2;
  margin-bottom: 14px;
}

.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.crumbs [aria-current] {
  color: #fff;
}

/* Long-form service copy */
.prose {
  max-width: 760px;
}

.prose h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin: 0 0 18px;
}

section.alt .prose h2 {
  color: var(--navy);
}

.prose p {
  color: var(--muted);
  margin: 0 0 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--text);
}

/* Cards that link through to a service page */
.card h3 a:hover {
  color: var(--accent);
}

.card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

.card-link:hover {
  text-decoration: underline;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card p {
  flex-grow: 1;
}

/* FAQ — plain details/summary, no JavaScript needed */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq[open] summary::after {
  content: "\2212";
}

.faq p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 68ch;
}

/* Simple internal link lists */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.link-list a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.link-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Footer service-area line */
.footer-areas {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  margin-bottom: 6px;
}

.footer-areas p {
  color: #a9b4c2;
  font-size: 0.85rem;
  margin: 0;
}

.footer-areas strong {
  color: #fff;
}

/* Marks a detail the owner still has to supply */
.needs-detail {
  color: #b91c1c;
  font-size: 0.9rem;
}

.needs-detail code {
  background: #fef2f2;
  padding: 1px 5px;
  border-radius: 3px;
}

/* Print */
@media print {
  /* Browsers drop background colours when printing, which would leave the
     white logo invisible on white paper. Swap in the navy artwork. */
  .brand img,
  .footer-logo {
    content: url("../images/logo-navy.svg");
  }

  .site-header,
  .site-footer {
    background: #fff;
    color: var(--text);
    box-shadow: none;
  }

  .site-header {
    position: static;
  }

  .footer-grid h4,
  .footer-grid p,
  .footer-grid a,
  .footer-bottom {
    color: var(--text);
  }

  .header-cta,
  .nav-toggle,
  .main-nav {
    display: none;
  }
}
