/* Base */
:root {
  --dzp-bg: #F2F7F7;
  --dzp-surface: #FFFFFF;
  --dzp-text: #0F2A2E;
  --dzp-muted: #46605F;
  --dzp-accent: #0B6E77;
  --dzp-accent-dark: #08555C;
  --dzp-accent-text: #FFFFFF;
  --dzp-plate-bg: #0B6E77;
  --dzp-plate-text: #FFFFFF;
  --dzp-line: #C7DADA;
  --dzp-radius-card: 18px;
  --dzp-radius-btn: 999px;
  --dzp-shadow: 0 1px 2px rgb(15 42 46 / 0.06), 0 6px 16px rgb(15 42 46 / 0.06);
  --dzp-font-head: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --dzp-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --dzp-pad: clamp(16px, 4vw, 40px);
  --dzp-sect-space: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--dzp-font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--dzp-text);
  background-color: var(--dzp-bg);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 220px,
    rgb(228 239 239 / 0.55) 220px,
    rgb(228 239 239 / 0.55) 440px
  );
}

h1, h2, h3, h4 {
  font-family: var(--dzp-font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--dzp-text);
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: 1.35rem; }

p { max-width: 68ch; margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--dzp-accent); }
a:hover { color: var(--dzp-accent-dark); }

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

ul, ol { padding-left: 1.3em; }

address { font-style: normal; }

.dzp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--dzp-pad);
  padding-right: var(--dzp-pad);
}

.dzp-sect { padding-top: var(--dzp-sect-space); padding-bottom: var(--dzp-sect-space); }
.dzp-sect > .dzp-wrap > h2 + p { margin-top: -8px; }

.dzp-accent {
  font-weight: 700;
  color: var(--dzp-accent);
  /* Typographic accent */
  font-family: var(--dzp-font-head);
  font-size: clamp(1.25rem, 1.6vw + 0.6rem, 2.1rem);
  line-height: 1.2;
}

.dzp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--dzp-surface);
  color: var(--dzp-accent);
  padding: 12px 20px;
  border-radius: var(--dzp-radius-btn);
  border: 2px solid var(--dzp-accent);
  font-weight: 600;
}
.dzp-skip:focus { left: 16px; top: 16px; }

/* Announcement bar */
.dzp-note {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--dzp-plate-bg);
  color: var(--dzp-plate-text);
  padding: 12px var(--dzp-pad);
}
.dzp-note__text {
  max-width: none;
  margin: 0;
  font-size: 0.95rem;
  display: inline;
}
.dzp-note__close {
  float: right;
  background: transparent;
  color: var(--dzp-plate-text);
  border: 1px solid var(--dzp-plate-text);
  border-radius: var(--dzp-radius-btn);
  padding: 4px 14px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  margin-left: 16px;
}
.dzp-note__close:hover { background: rgb(255 255 255 / 0.15); }
.dzp-note__close:focus-visible { outline: 3px solid var(--dzp-plate-text); outline-offset: 2px; }

/* Header */
.dzp-head { background: var(--dzp-surface); border-bottom: 1px solid var(--dzp-line); }
.dzp-head__top { background: var(--dzp-plate-bg); color: var(--dzp-plate-text); }
.dzp-head__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-start;
  padding-top: 6px;
  padding-bottom: 6px;
}
.dzp-head__contact {
  color: var(--dzp-plate-text);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 2px 0;
}
.dzp-head__contact:hover, .dzp-head__contact:focus-visible { text-decoration: underline; }
.dzp-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.dzp-logo {
  font-family: var(--dzp-font-head);
  font-size: clamp(1.3rem, 2vw + 0.6rem, 1.7rem);
  font-weight: 700;
  color: var(--dzp-accent);
  text-decoration: none;
  order: 2;
  margin-left: auto;
}

/* Nav */
.dzp-nav__toggle {
  display: none;
  background: var(--dzp-surface);
  border: 2px solid var(--dzp-accent);
  border-radius: var(--dzp-radius-btn);
  color: var(--dzp-accent);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  order: 1;
}
.dzp-nav__bars, .dzp-nav__bars::before, .dzp-nav__bars::after {
  width: 20px; height: 2px; background: var(--dzp-accent);
  border-radius: 2px; content: ""; display: block;
}
.dzp-nav__bars { position: relative; }
.dzp-nav__bars::before { position: absolute; top: -6px; left: 0; }
.dzp-nav__bars::after { position: absolute; top: 6px; left: 0; }
.dzp-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 10px 0 16px;
}
.dzp-nav__link {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid var(--dzp-accent);
  border-radius: var(--dzp-radius-btn);
  color: var(--dzp-accent);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease, text-decoration-thickness 0.25s ease;
}
.dzp-nav__link:hover {
  background: rgb(11 110 119 / 0.1);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.dzp-nav__link:focus-visible { outline: 3px solid var(--dzp-accent); outline-offset: 2px; }
.dzp-nav__link[aria-current="page"] { background: var(--dzp-accent); color: var(--dzp-accent-text); }

/* Buttons */
.dzp-btn {
  display: inline-block;
  min-height: 48px;
  padding: 10px 26px;
  border: 2px solid var(--dzp-accent);
  border-radius: var(--dzp-radius-btn);
  background: var(--dzp-accent);
  color: var(--dzp-accent-text);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}
/* Fill wave from center */
.dzp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dzp-accent-dark);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
  z-index: 0;
}
.dzp-btn > * { position: relative; z-index: 1; }
.dzp-btn:hover::before { transform: scaleX(1); }
.dzp-btn:hover { box-shadow: 0 6px 18px rgb(11 110 119 / 0.3); }
.dzp-btn:focus-visible {
  outline: 3px solid var(--dzp-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgb(11 110 119 / 0.25);
}
.dzp-btn:active { transform: scale(0.97); }
.dzp-btn--alt {
  background: transparent;
  color: var(--dzp-accent);
}
.dzp-btn--alt::before { background: rgb(11 110 119 / 0.12); }

/* Hero */
.dzp-hero { padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--dzp-sect-space); }
.dzp-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.dzp-hero__panel {
  background: rgb(11 110 119 / 0.12);
  border-radius: var(--dzp-radius-card);
  padding: clamp(24px, 4vw, 48px);
}
.dzp-hero__title { margin-bottom: 20px; }
.dzp-hero__lead { font-size: clamp(1.05rem, 1vw + 0.7rem, 1.25rem); color: var(--dzp-muted); }
.dzp-hero__media { position: relative; }
.dzp-hero__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--dzp-radius-card);
  box-shadow: var(--dzp-shadow);
  transform: scale(1.04);
  transition: transform 0.8s ease;
}
.dzp-hero__img.is-settled, html:not(.dzp-js) .dzp-hero__img { transform: scale(1); }

/* Plate */
.dzp-plate {
  background: var(--dzp-plate-bg);
  color: var(--dzp-plate-text);
  border-radius: var(--dzp-radius-card);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--dzp-shadow);
}
.dzp-plate__title { color: var(--dzp-plate-text); }
.dzp-plate strong { color: #EAF4F4; }
.dzp-plate a { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 2px; }

/* Checklist (zigzag) */
.dzp-checklist {
  display: grid;
  gap: 32px;
  align-items: center;
}
.dzp-checklist__media { order: 0; }
.dzp-checklist__body { background: var(--dzp-surface); border-radius: var(--dzp-radius-card); padding: clamp(24px, 4vw, 40px); box-shadow: var(--dzp-shadow); }
.dzp-checklist__list li { margin-bottom: 12px; }
.dzp-checklist__list li::marker { color: var(--dzp-accent); }

/* Arch crop for vertical photos */
.dzp-arch {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 50% 50% var(--dzp-radius-card) var(--dzp-radius-card) / 30% 30% var(--dzp-radius-card) var(--dzp-radius-card);
  box-shadow: var(--dzp-shadow);
}
.dzp-checklist__media .dzp-arch { max-width: 480px; margin: 0 auto; }

/* Cards */
.dzp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
.dzp-card {
  background: var(--dzp-surface);
  border-radius: var(--dzp-radius-card);
  padding: 28px;
  box-shadow: var(--dzp-shadow);
  border: 1px solid var(--dzp-line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.dzp-card:hover {
  box-shadow: 0 2px 4px rgb(11 110 119 / 0.12), 0 16px 40px rgb(11 110 119 / 0.22);
  transform: translateY(-4px);
}
.dzp-card__initial {
  font-family: var(--dzp-font-head);
  font-size: clamp(2.6rem, 4vw + 1rem, 4rem);
  font-weight: 700;
  color: var(--dzp-accent);
  line-height: 1;
  margin-bottom: 12px;
}
.dzp-card h3 { margin-bottom: 8px; }
.dzp-card p { margin-bottom: 16px; flex: 1; }
.dzp-card__link {
  color: var(--dzp-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.dzp-card__link:hover { text-decoration-thickness: 4px; color: var(--dzp-accent-dark); }
.dzp-card__link:focus-visible { outline: 3px solid var(--dzp-accent); outline-offset: 2px; }

/* Form */
.dzp-sect--form { background: rgb(255 255 255 / 0.7); }
.dzp-formgrid {
  display: grid;
  gap: 40px;
  align-items: start;
}
.dzp-form__field { margin-bottom: 20px; }
.dzp-form__label { display: block; font-weight: 600; margin-bottom: 6px; }
.dzp-form__input {
  width: 100%;
  font: inherit;
  color: var(--dzp-text);
  background: var(--dzp-surface);
  border: 2px solid var(--dzp-line);
  border-radius: 12px;
  padding: 12px 16px;
}
.dzp-form__input::placeholder { color: var(--dzp-muted); opacity: 1; }
.dzp-form__input:focus { border-color: var(--dzp-accent); outline: none; }
.dzp-form__input:focus-visible { outline: 3px solid rgb(11 110 119 / 0.3); }
textarea.dzp-form__area { resize: vertical; min-height: 120px; }
.dzp-form__check { margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.dzp-form__check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--dzp-accent); flex: none; }
.dzp-form__check label { font-size: 0.95rem; }
.dzp-form__note { font-size: 0.9rem; color: var(--dzp-muted); margin-bottom: 20px; }
.dzp-form__err {
  color: #8A1F27;
  font-size: 0.9rem;
  margin: 4px 0 12px;
}
.dzp-form__input[aria-invalid="true"] { border-color: #8A1F27; }
.dzp-form__btn--busy { opacity: 0.6; pointer-events: none; }
.dzp-form__btn { width: 100%; max-width: 320px; }

/* Steps */
.dzp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: dzpstep;
}
.dzp-steps__item {
  background: var(--dzp-surface);
  border-radius: var(--dzp-radius-card);
  padding: 28px;
  box-shadow: var(--dzp-shadow);
  border: 1px solid var(--dzp-line);
}
.dzp-steps__item:not(.dzp-steps__item--media) { counter-increment: dzpstep; position: relative; padding-left: 76px; }
.dzp-steps__item:not(.dzp-steps__item--media)::before {
  content: counter(dzpstep);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dzp-accent);
  color: var(--dzp-accent-text);
  font-family: var(--dzp-font-head);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dzp-steps__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--dzp-radius-card);
}

/* FAQ */
.dzp-faq__list { margin-top: 24px; }
.dzp-faq__item {
  background: var(--dzp-surface);
  border: 1px solid var(--dzp-line);
  border-radius: var(--dzp-radius-card);
  padding: 18px 24px;
  margin-bottom: 12px;
  box-shadow: var(--dzp-shadow);
}
.dzp-faq__item summary {
  font-family: var(--dzp-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
}
.dzp-faq__item[open] summary { color: var(--dzp-accent); }
.dzp-faq__item p { margin-top: 12px; }

/* Inner page head */
.dzp-pagehead { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 8px; }
.dzp-pagehead h1 { margin-bottom: 16px; }
.dzp-pagehead p { color: var(--dzp-muted); font-size: clamp(1.05rem, 1vw + 0.7rem, 1.25rem); }

/* Prose */
.dzp-prose { max-width: 760px; }
.dzp-prose h2 { margin-top: 40px; }
.dzp-prose h3 { margin-top: 32px; }
.dzp-prose ol, .dzp-prose ul { margin: 0 0 16px; }
.dzp-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.dzp-prose th, .dzp-prose td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--dzp-line);
  background: var(--dzp-surface);
}
.dzp-prose th { background: rgb(11 110 119 / 0.1); font-family: var(--dzp-font-head); }

/* Key data block */
.dzp-keydata {
  background: var(--dzp-surface);
  border: 1px solid var(--dzp-line);
  border-left: 6px solid var(--dzp-accent);
  border-radius: var(--dzp-radius-card);
  padding: 24px 28px;
  box-shadow: var(--dzp-shadow);
  margin-bottom: 32px;
}

/* Contacts block */
.dzp-contacts {
  background: var(--dzp-surface);
  border-radius: var(--dzp-radius-card);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--dzp-shadow);
}
.dzp-contacts ul { list-style: none; padding: 0; margin: 0; }
.dzp-contacts li { padding: 10px 0; border-bottom: 1px solid var(--dzp-line); display: flex; flex-wrap: wrap; gap: 8px; }
.dzp-contacts li:last-child { border-bottom: 0; }
.dzp-contacts span { color: var(--dzp-muted); min-width: 96px; }
.dzp-contacts a { font-weight: 600; }

/* Thanks / 404 */
.dzp-confirm, .dzp-error {
  background: var(--dzp-surface);
  border-radius: var(--dzp-radius-card);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--dzp-shadow);
  text-align: center;
}
.dzp-confirm__list, .dzp-error__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; }
.dzp-confirm__list a, .dzp-error__links a {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--dzp-accent);
  border-radius: var(--dzp-radius-btn);
  text-decoration: none;
  font-weight: 600;
  color: var(--dzp-accent);
}
.dzp-confirm__list a:hover, .dzp-error__links a:hover { background: rgb(11 110 119 / 0.1); }
.dzp-confirm__list a:focus-visible, .dzp-error__links a:focus-visible { outline: 3px solid var(--dzp-accent); outline-offset: 2px; }

/* Reveal */
.dzp-reveal { opacity: 1; }
html.dzp-js .dzp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.6s ease;
}
html.dzp-js .dzp-reveal.dzp-reveal--on { opacity: 1; transform: none; }

/* Floating call */
.dzp-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  background: var(--dzp-accent);
  color: var(--dzp-accent-text);
  border-radius: var(--dzp-radius-btn);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--dzp-shadow);
  transition: background-color 0.3s ease, transform 0.15s ease;
}
.dzp-call:hover { background: var(--dzp-accent-dark); }
.dzp-call:focus-visible { outline: 3px solid var(--dzp-accent); outline-offset: 3px; box-shadow: 0 0 0 6px rgb(11 110 119 / 0.25); }
.dzp-call:active { transform: scale(0.97); }

/* Footer */
.dzp-foot {
  background: #0C3336;
  color: #EAF4F4;
  margin-top: var(--dzp-sect-space);
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: 24px;
}
.dzp-foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.dzp-foot__title {
  font-family: var(--dzp-font-head);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.dzp-foot__text { color: #EAF4F4; }
.dzp-foot__links { list-style: none; padding: 0; margin: 0; }
.dzp-foot__links li { margin-bottom: 8px; }
.dzp-foot__links a { color: #BFE0E3; text-decoration: none; }
.dzp-foot__links a:hover { text-decoration: underline; text-decoration-thickness: 2px; color: #FFFFFF; }
.dzp-foot__links a:focus-visible { outline: 2px solid #BFE0E3; outline-offset: 2px; }
.dzp-foot address p { margin-bottom: 8px; color: #EAF4F4; }
.dzp-foot ul { list-style: none; padding: 0; margin: 0; }
.dzp-foot ul li { margin-bottom: 8px; color: #EAF4F4; }
.dzp-foot ul span { color: #BFE0E3; margin-right: 4px; }
.dzp-foot a { color: #BFE0E3; }
.dzp-foot a:hover { color: #FFFFFF; }
.dzp-foot__bottom {
  border-top: 1px solid rgb(234 244 244 / 0.25);
  margin-top: 32px;
  padding-top: 20px;
}
.dzp-foot__copy { color: #BFE0E3; font-size: 0.9rem; margin: 0; }

/* Breakpoints */
@media (min-width: 480px) {
  .dzp-hero__grid { grid-template-columns: 1fr 1fr; }
  .dzp-form__btn { width: auto; }
}

@media (min-width: 640px) {
  .dzp-cards { grid-template-columns: 1fr 1fr; }
  .dzp-steps { grid-template-columns: 1fr 1fr; }
  .dzp-formgrid { grid-template-columns: 1fr 1fr; }
  .dzp-formgrid__info p { max-width: none; }
}

@media (min-width: 768px) {
  .dzp-checklist { grid-template-columns: 1fr 1fr; }
  .dzp-checklist__media { order: 1; }
  .dzp-checklist + .dzp-sect .dzp-checklist__media { order: 0; }
  .dzp-foot__grid { grid-template-columns: 1fr 1fr; }
  .dzp-nav__toggle { display: none; }
}

@media (min-width: 1024px) {
  .dzp-cards { grid-template-columns: repeat(3, 1fr); }
  .dzp-steps { grid-template-columns: repeat(4, 1fr); }
  .dzp-formgrid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  .dzp-foot__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .dzp-wrap { max-width: 1160px; }
  .dzp-hero__lead { max-width: 44ch; }
}

@media (max-width: 767px) {
  .dzp-nav__toggle { display: inline-flex; }
  /* Mobile slide-down nav panel */
  .dzp-nav--panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dzp-surface);
    border-bottom: 1px solid var(--dzp-line);
    box-shadow: var(--dzp-shadow);
    display: none;
    z-index: 40;
  }
  .dzp-head { position: relative; }
  .dzp-nav--panel.dzp-nav--open { display: block; }
  .dzp-nav__list { flex-direction: column; padding: 12px 0 20px; }
  .dzp-nav__link { display: block; text-align: center; }
  .dzp-logo { order: 1; margin-left: 0; }
  .dzp-head__bar { justify-content: space-between; }
  .dzp-call { padding: 12px 18px; }
  .dzp-call__text { font-size: 0.95rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.dzp-js .dzp-reveal { opacity: 1; transform: none; }
  .dzp-hero__img { transform: none; }
}

/* Paint cost */
.dzp-hero__img { transition: none; }
details > * { content-visibility: auto; contain-intrinsic-size: auto 500px; }
