:root {
  --ink: #10172a;
  --navy: #08084d;
  --surface: #ffffff;
  --muted: #667085;
  --line: #d9dee8;
  --orange: #f4a735;
  --green: #28d678;
  --steel: #eef2f6;
  --charcoal: #2f3744;
  --shadow: 0 22px 54px rgba(16, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 18px;
  min-height: 92px;
  padding: 8px clamp(16px, 5vw, 64px) 10px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 222, 232, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 74px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  max-width: min(56vw, 560px);
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #344054;
  font-size: 0.95rem;
}

.header-action {
  grid-column: 3;
  justify-self: end;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

nav a,
.header-action,
.primary-link,
.secondary-link,
.summary-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-action,
.primary-link,
.summary-actions button {
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: #06112f;
  background: var(--orange);
  font-weight: 700;
  cursor: pointer;
}

.secondary-link,
.summary-actions button + button {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #08084d;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 77, 0.9), rgba(8, 8, 77, 0.52) 45%, rgba(8, 8, 77, 0.16));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto clamp(42px, 10vh, 94px);
  color: #ffffff;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.hero-line {
  max-width: 660px;
  margin: 0 auto 24px;
  color: #eef4ff;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 116px;
  padding: 24px clamp(18px, 4vw, 42px);
  background: #ffffff;
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band span {
  margin-top: 6px;
  color: var(--muted);
}

.section,
.gallery-section,
.quote-section,
.contact-section {
  padding: clamp(54px, 8vw, 96px) clamp(16px, 5vw, 64px);
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 28px;
}

.service-grid,
.gallery-grid,
.quote-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(16, 23, 42, 0.08);
}

.service-grid article img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--steel);
}

.service-grid h3,
.service-grid p {
  padding-inline: 20px;
}

.service-grid p {
  margin-bottom: 22px;
  color: var(--muted);
}

.gallery-section {
  background: var(--steel);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.gallery-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dce3ec;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #ffffff;
  background: rgba(16, 23, 42, 0.78);
  font-weight: 700;
}

.quote-section {
  background: #ffffff;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.quote-form,
.quote-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.quote-form {
  padding: clamp(16px, 3vw, 26px);
}

fieldset {
  margin: 0;
  padding: 0 0 22px;
  border: 0;
}

fieldset + fieldset {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

legend {
  margin-bottom: 14px;
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.field-row,
.finish-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.field-row:nth-of-type(2) {
  grid-template-columns: repeat(3, 1fr);
}

.measurement-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 12px;
  font-weight: 800;
}

.measurement-heading button,
.remove-measurement {
  min-height: 40px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 0 13px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.measurement-list {
  display: grid;
  gap: 12px;
}

.measurement-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) repeat(3, minmax(90px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.remove-measurement {
  color: #9f1d1d;
  border-color: #f1b7b7;
}

.swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.swatch-option {
  display: inline-flex;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.swatch {
  width: 20px;
  height: 20px;
  border: 1px solid #98a2b3;
  border-radius: 50%;
}

.white {
  background: #ffffff;
}

.bronze {
  background: #6d5136;
}

.charcoal {
  background: #364152;
}

.black {
  background: #111827;
}

.gold {
  background: #c7832e;
}

.toggle-line {
  align-content: end;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 68px;
}

.toggle-line input,
.swatch-option input {
  width: auto;
}

.quote-summary {
  position: sticky;
  top: 96px;
  padding: 22px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.summary-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.summary-top img {
  width: 74px;
  height: 54px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.summary-top p {
  margin-bottom: 2px;
  color: #b7c5df;
}

dl {
  margin: 18px 0;
}

dl div,
.price-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
}

dl div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

dt,
.price-lines span,
.small-note {
  color: #b7c5df;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.price-lines {
  padding: 14px 0;
}

.price-lines strong {
  text-align: right;
}

.total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.total-line strong {
  color: var(--orange);
  font-size: 1.85rem;
}

.small-note {
  margin: 16px 0;
  font-size: 0.86rem;
}

.summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-actions button {
  min-width: 0;
  padding-inline: 10px;
}

.contact-section {
  color: #ffffff;
  background: #10172a;
}

.contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-form,
.map-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
}

.contact-form label {
  color: #ffffff;
}

.contact-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form-actions button,
.contact-form-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
}

.contact-form-actions button {
  border: 0;
  color: #06112f;
  background: var(--orange);
  cursor: pointer;
}

.contact-form-actions a {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.map-panel {
  overflow: hidden;
  min-height: 440px;
}

.map-panel iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: 0;
  background: #dce3ec;
}

.map-details {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.map-details a {
  color: #d8e0ec;
}

.site-footer {
  color: #d8e0ec;
  background: #08084d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(16px, 5vw, 64px);
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid img {
  width: 72px;
  height: 42px;
  object-fit: contain;
}

.footer-grid h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.footer-grid p {
  margin-bottom: 4px;
}

.footer-grid a,
.footer-grid span {
  color: #d8e0ec;
  overflow-wrap: anywhere;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #06112f;
  background: var(--orange);
  font-weight: 900;
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(16px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #aebbd0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro-band,
  .service-grid,
  .gallery-grid,
  .quote-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure {
    min-height: 300px;
  }

  .quote-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 8px 10px;
    min-height: 88px;
  }

  .brand img {
    width: 58px;
    height: 36px;
  }

  .brand {
    gap: 7px;
  }

  .brand span {
    max-width: 210px;
    font-size: 0.9rem;
    text-align: left;
  }

  .header-action {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(8, 8, 77, 0.3), rgba(8, 8, 77, 0.92));
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions,
  .summary-actions,
  .field-row,
  .field-row:nth-of-type(2),
  .finish-row,
  .measurement-row {
    grid-template-columns: 1fr;
  }

  .measurement-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    display: grid;
  }

  .secondary-link {
    border-color: rgba(255, 255, 255, 0.34);
  }

  .intro-band div {
    min-height: auto;
  }

  .contact-form-actions,
  .footer-bottom {
    display: grid;
  }
}

@media print {
  .site-header,
  .hero,
  .intro-band,
  .section,
  .gallery-section,
  .quote-form,
  .contact-section,
  footer,
  .summary-actions {
    display: none;
  }

  body {
    background: #ffffff;
  }

  .quote-section {
    padding: 0;
  }

  .quote-layout {
    display: block;
  }

  .quote-summary {
    position: static;
    box-shadow: none;
    color: #111827;
    background: #ffffff;
    border: 0;
  }

  dt,
  .price-lines span,
  .small-note,
  .summary-top p {
    color: #475467;
  }
}
