/* Nottatown Roofing - main stylesheet */

:root {
  --red: #9b2018;
  --red-dark: #6f140e;
  --red-light: #c9362b;
  --charcoal: #2a2b2d;
  --charcoal-2: #3a3c3f;
  --silver: #b9bec3;
  --silver-light: #e3e6e8;
  --paper: #f6f4ef;
  --text: #2b2b2b;
  --muted: #5d6166;
  --slab: "Roboto Slab", Rockwell, Georgia, serif;
  --sans: "Source Sans 3", Verdana, Tahoma, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background-color: #34363a;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.12) 0 1px, transparent 1px 8px),
    linear-gradient(to bottom, #3d3f43, #2a2b2e);
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
}

a { color: var(--red); }
a:hover { color: var(--red-light); }

img { max-width: 100%; }

.icon { width: 1em; height: 1em; flex: none; }

#wrapper {
  width: 1040px;
  max-width: 100%;
  margin: 22px auto;
  background: #ffffff;
  border: 1px solid #16171a;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.05), 0 8px 30px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* ---------- Header ---------- */
#header {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px),
    linear-gradient(to bottom, #a8261c 0%, #7c160f 100%);
  border-bottom: 4px solid var(--silver);
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 26px 16px;
}
#logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}
.logo-mark {
  flex: none;
  width: 66px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(to bottom, #3b3d40, #1f2022);
  border: 2px solid var(--silver);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.4);
}
.logo-mark svg { width: 46px; height: 32px; }
#logo .name {
  display: block;
  font-family: var(--slab);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0 #3d0a06;
  line-height: 1.05;
  text-transform: uppercase;
}
#logo .name span { color: var(--silver-light); }
#logo .tagline {
  display: block;
  font-style: italic;
  font-size: 15px;
  color: #f4dcd9;
  margin-top: 4px;
}
#header-phone {
  text-align: right;
  color: #fff;
  flex: none;
}
#header-phone .label { display: block; font-size: 12px; color: #f4dcd9; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
#header-phone .number {
  display: block;
  font-family: var(--slab);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 0 #3d0a06;
  line-height: 1.2;
}
#header-phone .since { font-size: 13px; color: var(--silver-light); }

/* ---------- Nav ---------- */
#nav {
  background: linear-gradient(to bottom, #4a4c50 0%, #26272a 100%);
  border-top: 1px solid #6a6c70;
}
#nav ul {
  list-style: none;
  margin: 0;
  padding: 0 14px;
  display: flex;
  flex-wrap: wrap;
}
#nav a {
  display: block;
  padding: 12px 20px;
  color: #eceef0;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  border-right: 1px solid #1b1b1b;
  box-shadow: inset 1px 0 0 #5a5c60;
  text-shadow: 1px 1px 0 #000;
}
#nav a:hover { background: var(--red); color: #fff; }
#nav a.current {
  background: linear-gradient(to bottom, #eef0f1 0%, #aab0b5 100%);
  color: var(--charcoal);
  text-shadow: 1px 1px 0 #fff;
}

/* ---------- Lead (opening statement) ---------- */
.lead {
  background: var(--paper);
  border-bottom: 1px solid #dcd6c8;
  padding: 16px 26px;
  font-size: 16px;
  color: #33312d;
}
.lead p { margin: 0; }
.lead p + p { margin-top: 8px; }
.lead-town {
  display: inline-block;
  font-size: 14.5px;
  font-style: italic;
  color: var(--muted);
  padding-left: 10px;
  border-left: 3px solid var(--red);
}

/* ---------- Corrugated metal strip ---------- */
.corrugated {
  height: 22px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(0,0,0,0.18)),
    repeating-linear-gradient(90deg,
      #7e848a 0px, #c3c8cc 5px, #f4f6f7 9px, #c3c8cc 13px, #7e848a 18px);
  border-top: 1px solid #5f6469;
  border-bottom: 2px solid #4b5055;
  box-shadow: inset 0 -3px 4px rgba(0,0,0,0.2);
}
.corrugated-dark {
  height: 14px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.35)),
    repeating-linear-gradient(90deg,
      #6f1510 0px, #a8261c 5px, #cf4a3e 9px, #a8261c 13px, #6f1510 18px);
  border-top: none;
  border-bottom: 1px solid #111;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,20,22,0.88) 0%, rgba(20,20,22,0.6) 45%, rgba(20,20,22,0.05) 80%),
    linear-gradient(to top, rgba(20,20,22,0.55), transparent 50%);
}
.hero-text {
  position: relative;
  max-width: 600px;
  padding: 40px 30px 36px;
  color: #fff;
}
.hero .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 10px;
  border-left: 4px solid var(--silver);
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--slab);
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
  border: none;
  padding: 0;
}
.hero p { font-size: 18px; margin: 0 0 20px; color: #eceef0; text-shadow: 1px 1px 2px rgba(0,0,0,0.7); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #c9362b, #7c160f 70%);
  border: 4px solid var(--silver-light);
  box-shadow: 0 0 0 3px var(--red-dark), 0 6px 14px rgba(0,0,0,0.5);
  transform: rotate(-8deg);
  font-family: var(--slab);
  line-height: 1;
}
.badge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.55);
}
.badge-top, .badge-bottom { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.badge-year { font-size: 38px; font-weight: 800; margin: 4px 0; text-shadow: 1px 2px 0 rgba(0,0,0,0.4); }
.badge-bottom { font-size: 10px; letter-spacing: 1px; }

/* ---------- Page title band (inner pages) ---------- */
.page-title {
  background:
    linear-gradient(to right, rgba(20,20,22,0.9), rgba(20,20,22,0.55)),
    url("img/crew-barn.jpg") center 35% / cover no-repeat,
    var(--charcoal);
  color: #fff;
}
.page-title-inner { padding: 34px 26px 30px; }
.page-title h1 {
  font-family: var(--slab);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 6px;
  color: #fff;
  border: none;
  padding: 0;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.page-title p { margin: 0; font-size: 17px; color: var(--silver-light); }

/* ---------- Trust bar ---------- */
.trust-bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--charcoal);
  border-bottom: 4px solid var(--red);
}
.trust-bar li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  color: #fff;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-right: 1px solid #45474b;
  text-align: center;
}
.trust-bar li:last-child { border-right: none; }
.trust-bar .icon { color: #e35a4e; width: 20px; height: 20px; stroke-width: 4; }

/* ---------- Layout ---------- */
#content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  padding: 28px 26px 34px;
}

h1, h2, h3, h4 { font-family: var(--slab); color: var(--red-dark); }
h1 { font-size: 30px; margin: 0 0 12px; }
h2 { font-size: 23px; margin: 30px 0 10px; line-height: 1.2; }
h3 { font-size: 18px; margin: 16px 0 6px; color: var(--charcoal); }

#main > :first-child { margin-top: 0; }

.section-title {
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--silver-light);
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--red);
}

.intro { font-size: 18px; color: #3a3a3a; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 0 #3d0a06;
  background: linear-gradient(to bottom, #d0403a 0%, #8e1b14 100%);
  border: 1px solid #5e0f0a;
  border-top-color: #e36d63;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 3px rgba(0,0,0,0.3);
  cursor: pointer;
}
.button:hover { background: linear-gradient(to bottom, #de5046 0%, #a3231a 100%); color: #fff; }
.button:active { box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); }
.button.silver {
  color: var(--charcoal);
  text-shadow: 1px 1px 0 #fff;
  background: linear-gradient(to bottom, #f6f7f8 0%, #b9bec3 100%);
  border-color: #7c8288;
  border-top-color: #fff;
}
.button.silver:hover { background: linear-gradient(to bottom, #fff 0%, #cdd1d5 100%); color: #000; }
.button.big { font-size: 17px; padding: 12px 22px; }
.button .icon { width: 18px; height: 18px; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.card {
  background: linear-gradient(to bottom, #fff, #f1f2f3);
  border: 1px solid #c9cdd1;
  border-top: 4px solid var(--red);
  border-radius: 3px;
  padding: 18px 16px 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  text-align: center;
}
.card h3 { margin: 10px 0 4px; color: var(--red-dark); font-size: 17px; }
.card p { margin: 0; font-size: 15px; color: #444; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(to bottom, #45474b, #232427);
  border: 3px solid var(--silver);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.card-icon .icon { width: 34px; height: 34px; }

.service {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid #c9cdd1;
  border-left: 5px solid var(--red);
  background: linear-gradient(to right, #fafafa, #fff);
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.service .card-icon { flex: none; }
.service h2 { margin: 2px 0 6px; font-size: 20px; }
.service p { margin: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 12px;
  background: #f4f5f6;
  border: 1px solid #e0e3e6;
}
.checklist .icon { color: var(--red); width: 22px; height: 22px; stroke-width: 4; margin-top: 1px; }

/* ---------- Framed photos ---------- */
.frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 18px 0 24px;
}
.frame {
  margin: 0;
  background: #fff;
  padding: 8px 8px 0;
  border: 1px solid #a9aeb3;
  box-shadow: 0 0 0 4px #e6e8ea, 0 0 0 5px #b9bec3, 3px 6px 12px rgba(0,0,0,0.25);
}
.frame a { display: block; }
.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #555;
}
.frame figcaption {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  padding: 8px 4px 10px;
}
.frames-large { gap: 30px; }
.frame-right { float: right; width: 300px; max-width: 45%; margin: 4px 4px 16px 22px; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 18px 0;
  padding: 0 0 0 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: repeating-linear-gradient(to bottom, var(--silver) 0 8px, #d6dadd 8px 12px);
}
.timeline li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 6px 0 12px;
}
.timeline .year {
  position: relative;
  flex: none;
  width: 80px;
  text-align: center;
  font-family: var(--slab);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(to bottom, var(--red-light), var(--red-dark));
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--red-dark), 0 2px 4px rgba(0,0,0,0.3);
  border-radius: 4px;
  padding: 4px 0;
}
.timeline p {
  margin: 0;
  flex: 1;
  min-width: 0;
  padding: 6px 14px;
  background: #f6f7f8;
  border: 1px solid #e0e3e6;
  border-radius: 3px;
}

/* ---------- Highlight & CTA ---------- */
.highlight {
  background: #f7f1e1;
  border: 1px solid #e3d6b3;
  border-left: 5px solid var(--red);
  padding: 14px 18px;
  margin: 20px 0;
}
.highlight p { margin: 0; }
.highlight p + p { margin-top: 10px; }

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 16px 20px;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px),
    var(--charcoal);
  border-top: 4px solid var(--red);
}
.cta-strip p { margin: 0; font-size: 17px; }

/* ---------- Sidebar ---------- */
#sidebar { min-width: 0; }
.box {
  border: 1px solid #a9aeb3;
  background: #f3f4f5;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 12px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(to bottom, #505257 0%, #26272a 100%);
  border-bottom: 3px solid var(--red);
  text-shadow: 1px 1px 0 #000;
}
.box h3 .icon { width: 18px; height: 18px; color: #e8a09a; }
.box .inner { padding: 12px 14px; font-size: 15px; }
.box p.first { margin-top: 0; }
.box p.last { margin-bottom: 0; }
.box table { width: 100%; border-collapse: collapse; font-size: 15px; }
.box td { padding: 5px 0; border-bottom: 1px dotted #b9bec3; }
.box tr:last-child td { border-bottom: none; }
.box td.day { font-weight: 700; }

.town-chips { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.town-chips li {
  font-size: 14px;
  padding: 2px 9px;
  background: #fff;
  border: 1px solid #c3c7cb;
  border-radius: 12px;
}

.callbox {
  text-align: center;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px),
    linear-gradient(to bottom, #a8261c, #74140e);
  border: 1px solid #4d0c08;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.18), 0 3px 6px rgba(0,0,0,0.2);
  color: #fff;
  padding: 18px 14px;
  margin-bottom: 20px;
}
.callbox-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}
.callbox-icon .icon { width: 24px; height: 24px; }
.callbox .big {
  display: block;
  font-family: var(--slab);
  font-size: 26px;
  font-weight: 800;
  margin: 6px 0 0;
  text-shadow: 1px 1px 0 #3d0a06;
}
.callbox .phone {
  display: block;
  font-family: var(--slab);
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin: 2px 0 8px;
}
.callbox p { margin: 0 0 12px; font-size: 14px; color: #f4dcd9; }
.callbox .button { background: linear-gradient(to bottom, #f6f7f8, #b9bec3); color: var(--charcoal); text-shadow: 1px 1px 0 #fff; border-color: #6a7076; }
.callbox .button:hover { background: #fff; color: #000; }

.sponsor-box { background: #fbf6e8; border-color: #cdbd90; }

/* ---------- Service area ---------- */
.town-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.town-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #f3f4f5;
  border: 1px solid #c9cdd1;
  border-left: 4px solid var(--silver);
  padding: 9px 12px;
}
.town-list li .icon { color: var(--red); width: 18px; height: 18px; }
.town-list li b { color: var(--red-dark); }
.town-list li em { color: var(--muted); font-size: 14px; }
.town-list li.home-town { grid-column: 1 / -1; border-left-color: var(--red); background: #f7f1e1; }

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.contact-card {
  position: relative;
  background: #f3f4f5;
  border: 1px solid #c9cdd1;
  border-top: 4px solid var(--red);
  padding: 14px 14px 12px 60px;
  min-width: 0;
}
.contact-card > .icon {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 32px;
  height: 32px;
  color: var(--red);
}
.contact-card h3 { margin: 0 0 2px; font-size: 16px; }
.contact-card p { margin: 0; overflow-wrap: anywhere; }

.contact-form {
  background: #f3f4f5;
  border: 1px solid #c9cdd1;
  border-top: 4px solid var(--charcoal);
  padding: 18px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.contact-form label { display: block; font-weight: 700; margin: 10px 0 4px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  font-family: var(--sans);
  font-size: 16px;
  border: 1px solid #8a9096;
  border-top-color: #5c6166;
  border-radius: 2px;
  background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 0;
}
.contact-form textarea { height: 130px; }
.contact-form .submit-row { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
#footer {
  background: #1f2022;
  color: var(--silver);
  font-size: 15px;
}
#footer a { color: #eceef0; }
#footer a:hover { color: #fff; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr;
  gap: 28px;
  padding: 28px 26px 20px;
}
.footer-col p { margin: 0 0 8px; }
.footer-name {
  display: block;
  font-family: var(--slab);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-name span { color: var(--silver); }
#footer h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-contact, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; color: #e35a4e; margin-top: 3px; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { text-decoration: none; }
.footer-links a::before { content: "\203A"; color: #e35a4e; margin-right: 8px; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid #36383c;
  background: #18191b;
  padding: 14px 26px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom p { margin: 2px 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1040px) {
  #wrapper { margin: 0; border: none; }
}
@media (max-width: 880px) {
  #content { grid-template-columns: minmax(0, 1fr); }
  #sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-top { flex-wrap: wrap; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-top { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 10px; }
  .logo-mark { width: 50px; height: 44px; }
  .logo-mark svg { width: 34px; height: 24px; }
  #logo .name { font-size: 25px; }
  #logo .tagline { font-size: 13px; }
  #header-phone { text-align: left; }
  #header-phone .number { font-size: 26px; }
  #nav ul { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #nav a { padding: 10px 14px; border-right: none; box-shadow: none; border-bottom: 1px solid #1b1b1b; font-size: 15px; }
  #nav li:nth-child(odd) a { border-right: 1px solid #1b1b1b; }
  .lead { padding: 14px 16px; font-size: 15px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-img { position: relative; height: 210px; }
  .hero-shade { display: none; }
  .hero-text { background: var(--charcoal); padding: 22px 16px 24px; max-width: none; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero .button.big { width: 100%; justify-content: center; }
  .badge { width: 96px; height: 96px; top: 12px; right: 12px; border-width: 3px; }
  .badge-year { font-size: 27px; }
  .badge-top { font-size: 10px; }
  .badge-bottom { font-size: 8px; }
  .page-title-inner { padding: 24px 16px 22px; }
  .page-title h1 { font-size: 29px; }
  .page-title p { font-size: 15px; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-bar li { font-size: 13px; padding: 10px 6px; border-bottom: 1px solid #45474b; }
  .trust-bar li:nth-child(2) { border-right: none; }
  #content { padding: 20px 16px 26px; gap: 22px; }
  #sidebar { display: block; }
  h2 { font-size: 21px; }
  .intro { font-size: 17px; }
  .cards, .frames, .town-list, .contact-cards, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .service { flex-direction: column; gap: 10px; padding: 14px; }
  .service .card-icon { width: 54px; height: 54px; }
  .frame-right { float: none; width: auto; max-width: none; margin: 4px 4px 18px; }
  .timeline::before { left: 29px; }
  .timeline li { gap: 12px; }
  .timeline .year { width: 62px; font-size: 14px; }
  .timeline p { padding: 6px 10px; font-size: 15px; }
  .cta-strip { padding: 16px; }
  .cta-strip .button { width: 100%; justify-content: center; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 16px 16px; }
  .footer-bottom { padding: 14px 16px; }
}
