:root {
  --paper: #F8F1E6;
  --ink: #1F1C1A;
  --olive: #6B7C3A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-size: 18px;
  line-height: 1.42;
}
a { color: inherit; }

.ribbon {
  padding: 9px 20px;
  background: var(--olive);
  color: var(--paper);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-header, .subpage-top {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: .83;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 34px;
  padding: 4px;
  border: 3px solid var(--ink);
}
.brand-mark span { display: block; width: 5px; background: var(--olive); }
.brand-mark span:nth-child(1) { height: 11px; }
.brand-mark span:nth-child(2) { height: 19px; }
.brand-mark span:nth-child(3) { height: 25px; }

nav { display: flex; gap: 24px; }
nav a, .back-link, .text-link {
  font-size: 16px;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.button {
  display: inline-block;
  border: 3px solid var(--ink);
  padding: 11px 20px 10px;
  background: var(--olive);
  color: var(--paper);
  font: 800 17px/1 "Baloo 2", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .button:focus { background: var(--ink); color: var(--paper); }
.button-small { padding: 8px 13px 7px; font-size: 15px; }

.window-section, .prices-section, .service-section, .form-section, .contact-section, .hero-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.window-section { padding: 62px 0 72px; }
.section-intro { max-width: 720px; }
.section-intro.centered { margin: 0 auto 40px; text-align: center; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--olive);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; }
h1 { margin-bottom: 16px; font-size: clamp(38px, 5vw, 66px); font-weight: 800; }
h2 { margin-bottom: 13px; font-size: clamp(29px, 3.4vw, 45px); font-weight: 800; }
h3 { margin-bottom: 8px; font-size: 22px; }

.window-grid { display: grid; gap: 24px; }
.window-grid-large { grid-template-columns: repeat(2, 1fr); }
.window-tile { border: 6px solid var(--ink); padding: 16px; }
.tile-olive { background: var(--olive); color: var(--paper); }
.tile-light { background: var(--paper); color: var(--ink); }
.tile-frame {
  min-height: 248px;
  border: 4px solid currentColor;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
}
.tile-frame svg { width: 60px; height: 60px; margin-bottom: auto; }
.tile-kicker { margin-bottom: 5px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.tile-frame h2 { margin-bottom: 0; font-size: clamp(28px, 3vw, 42px); }
.window-tile > p { margin: 15px 4px 0; font-size: 17px; }

.prices-section { border-top: 4px solid var(--ink); padding: 58px 0 70px; }
.price-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0 25px; }
.price-card {
  min-height: 176px;
  border: 4px solid var(--ink);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
}
.price-label { color: var(--olive); margin-bottom: 4px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.price-card h3 { max-width: 235px; }
.price {
  align-self: end;
  margin: 0;
  color: var(--olive);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: .8;
  text-align: right;
}
.price span, .price small { display: block; font-size: 15px; line-height: 1; text-transform: uppercase; }
.text-link { color: var(--olive); }

.subpage-top { padding-bottom: 40px; }
.hero-section { position: relative; padding: 70px 0; }
.hero-window { max-width: 880px; border: 6px solid var(--ink); padding: clamp(30px, 6vw, 70px); background: var(--olive); color: var(--paper); }
.hero-window .eyebrow { color: var(--paper); }
.hero-window h2 { max-width: 700px; }
.hero-window p:not(.eyebrow) { max-width: 635px; }
.hero-window .button { background: var(--paper); color: var(--ink); }
.hero-window .button:hover, .hero-window .button:focus { background: var(--ink); color: var(--paper); }
.hero-badge {
  position: absolute;
  right: 3%;
  bottom: 34px;
  width: 140px;
  height: 140px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(9deg);
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.hero-badge strong { font-size: 24px; }

.service-section { padding: 25px 0 22px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 4px solid var(--ink); margin-top: 30px; }
.service-item { min-height: 210px; padding: 19px; border-right: 3px solid var(--ink); }
.service-item:last-child { border-right: 0; }
.service-item h2 { font-size: 22px; }
.service-item p { margin-bottom: 0; font-size: 16px; }
.check { display: inline-flex; width: 29px; height: 29px; align-items: center; justify-content: center; margin-bottom: 20px; background: var(--olive); color: var(--paper); font-weight: 800; }

.form-section { padding: 72px 0; border-top: 4px solid var(--ink); }
.request-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin-top: 30px; }
.field-wide, .form-action { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.3 "Baloo 2", sans-serif;
}
input:focus, textarea:focus { outline: 3px solid var(--olive); outline-offset: 2px; }
.form-action { display: flex; align-items: center; gap: 18px; }
.form-status { margin: 0; font-weight: 700; }

.contact-section { padding: 0 0 70px; }
.contact-panel { border: 6px solid var(--ink); padding: clamp(25px, 5vw, 52px); background: var(--olive); color: var(--paper); }
.contact-panel .eyebrow { color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; margin-top: 35px; }
.contact-grid h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.contact-grid p, address { margin: 0; font-style: normal; }
.phone-link { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.privacy-panel { padding: 38px 0 0; max-width: 760px; }
.privacy-panel h2 { font-size: 25px; }
.privacy-panel p { margin-bottom: 0; font-size: 16px; }

.compact-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 3px solid var(--ink);
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 700;
}
.compact-footer a { text-underline-offset: 4px; }

@media (max-width: 850px) {
  .site-header nav { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2n) { border-right: 0; }
  .service-item:nth-child(3) { border-top: 3px solid var(--ink); }
  .service-item:nth-child(4) { border-top: 3px solid var(--ink); }
  .service-item:nth-child(5) { border-top: 3px solid var(--ink); border-right: 0; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .site-header, .subpage-top, .window-section, .prices-section, .service-section, .form-section, .contact-section, .hero-section, .compact-footer { width: min(100% - 28px, 1180px); }
  .site-header { padding: 15px 0; }
  .button-small { font-size: 13px; padding: 8px 10px 7px; }
  .window-section { padding: 42px 0 50px; }
  .window-grid-large, .price-row, .request-form, .contact-grid { grid-template-columns: 1fr; }
  .tile-frame { min-height: 210px; }
  .price-card { min-height: 150px; }
  .price { font-size: 44px; }
  .hero-section { padding: 44px 0; }
  .hero-window { padding: 30px 25px 86px; }
  .hero-badge { right: 20px; bottom: 17px; width: 105px; height: 105px; font-size: 11px; }
  .hero-badge strong { font-size: 19px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:nth-child(2n), .service-item:last-child { min-height: auto; border-right: 0; border-bottom: 3px solid var(--ink); }
  .service-item:last-child { border-bottom: 0; }
  .service-item:nth-child(2), .service-item:nth-child(3), .service-item:nth-child(4), .service-item:nth-child(5) { border-top: 0; }
  .form-action { align-items: flex-start; flex-direction: column; }
  .compact-footer { flex-direction: column; }
  .subpage-top { padding-bottom: 25px; }
}
