@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root { color: #13243c; background: #f5f8fb; font-family: "DM Sans", system-ui, sans-serif; line-height: 1.65; }
* { box-sizing: border-box; }
body { margin: 0; }
header, footer { background: white; border-block: 1px solid #dce4ed; }
a { color: #244b7a; }
a:focus-visible { outline: 3px solid #2876b7; outline-offset: 4px; }
.wrap { width: min(1120px, 92%); margin-inline: auto; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; flex-wrap: wrap; }
.bar nav, .actions { display: flex; gap: .8rem 1.2rem; flex-wrap: wrap; }
.brand { color: inherit; text-decoration: none; font-family: Manrope, system-ui, sans-serif; font-weight: 800; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 27rem;
  margin-block: 1.5rem 2rem;
  padding: clamp(1.75rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: 1rem;
  background: #13243c;
  color: white;
}
.hero-photo, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo { z-index: -2; object-fit: cover; object-position: center 48%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0b1d2ff2 0%, #0b1d2fdb 42%, #0b1d2f82 63%, #0b1d2f14 100%);
}
.hero-copy { max-width: 36rem; }
.hero .eyebrow { color: #dceaff; }
.hero .fee { color: #ebf3ff; }
.hero .button { background: #dceaff; color: #102747; }
.hero .secondary { background: #244b7a; color: white; }
@media (max-width: 600px) {
  .hero {
    min-height: 0;
    margin: 0 calc((100% - 100vw) / 2) 1.5rem;
    padding: 2.3rem max(4vw, 1.25rem);
    border-radius: 0;
  }
  .hero::after { background: linear-gradient(100deg, #071f19e5, #071f199e); }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
}
.eyebrow { color: #176644; font-weight: 700; }
h1,h2,h3 { font-family: Manrope, system-ui, sans-serif; line-height: 1.16; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.fee { color: #176644; font-size: 1.14rem; }
.button { display: inline-block; padding: .75rem 1.15rem; border-radius: .45rem; background: #176644; color: white; font-weight: 700; text-decoration: none; }
.secondary { background: #244b7a; }
section { padding-block: 1.75rem 2.5rem; border-top: 1px solid #dce4ed; }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.details article { background: white; border: 1px solid #dce4ed; padding: 1.25rem; border-radius: .75rem; }
ul { padding-left: 1.2rem; }
.related { columns: 3; }
.related li { break-inside: avoid; margin-bottom: .4rem; }
@media (max-width: 760px) { .details { grid-template-columns: 1fr; } .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } .related { columns: 2; } }
@media (max-width: 420px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.repair-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: .75rem;
  background: white;
}
.repair-card > a { display: block; }
.repair-card img { border-radius: 0; }
.repair-card figcaption { padding: 1rem; }
.repair-card h3 { margin: 0 0 .55rem; font-size: 1.08rem; }
.repair-card p { margin: 0 0 .65rem; font-size: .95rem; }
.repair-card .technician-role { margin: 0; color: #52647c; font-size: .875rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }
