:root {
  --ink: #102a43;
  --muted: #627282;
  --line: #d9e1df;
  --mist: #f5f7f4;
  --paper: #ffffff;
  --green: #2f8a68;
  --green-dark: #1f7558;
  --blue: #0e5a8a;
  --gold: #f0a83a;
  --ppx-void: #030813;
  --ppx-night: #061329;
  --ppx-panel: rgba(2, 10, 24, 0.84);
  --ppx-electric: #1ba6ff;
  --ppx-electric-soft: #3eb7ff;
  --ppx-flame: #f0a83a;
  --ppx-ember: #ff7a1a;
  --ppx-ice: #f8fbff;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

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

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav .button {
  color: #fff;
}

.hero {
  background:
    linear-gradient(115deg, rgba(16, 42, 67, 0.9), rgba(14, 90, 138, 0.7)),
    url("/ppx-logo.jpg") center 44% / min(560px, 78vw) no-repeat,
    #102a43;
  color: #fff;
  min-height: clamp(520px, 72vh, 760px);
  padding: clamp(54px, 8vw, 108px) clamp(18px, 6vw, 84px);
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 780px;
}

.eyebrow {
  color: #d8f1e8;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin: 16px 0 22px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

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

.hero p {
  color: #edf6f4;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 640px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.64);
}

.button.secondary.dark {
  background: #fff;
  border-color: var(--line);
  color: var(--green-dark);
}

.section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 6vw, 84px);
}

.section.alt {
  background: var(--mist);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
}

.quote-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8f5 100%);
}

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

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 42, 67, 0.09);
  padding: clamp(22px, 4vw, 34px);
}

.form-heading h2 {
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.check span {
  color: var(--ink);
  font-weight: 800;
}

.field small {
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid #bccbc7;
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 11px 12px;
  width: 100%;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.span-2 {
  grid-column: 1 / -1;
}

.address-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px;
}

.address-card legend {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 8px;
  text-transform: uppercase;
}

.address-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px 1fr;
  margin-top: 16px;
}

.check input {
  height: 20px;
  margin-top: 3px;
  width: 20px;
}

.form-alert,
.field-error {
  color: #9b1c1c;
}

.form-alert {
  background: #fff4f2;
  border: 1px solid #f0b4a9;
  border-radius: 8px;
  font-weight: 800;
  margin-top: 18px;
  padding: 12px 14px;
}

.field-error {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
}

.hp {
  display: none;
}

.quote-aside {
  display: grid;
  gap: 18px;
}

.plain-list {
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 9px;
}

.confirmation {
  max-width: 780px;
}

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 24px;
  padding: 22px;
}

.summary-card h2 {
  font-size: 1.45rem;
}

.intro {
  color: var(--muted);
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card strong {
  color: var(--green-dark);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
}

.steps li {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr;
}

.steps li::before {
  background: var(--gold);
  border-radius: 999px;
  color: #2b1a00;
  content: counter(step);
  counter-increment: step;
  display: grid;
  font-weight: 900;
  height: 42px;
  place-items: center;
  width: 42px;
}

.split {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 1fr;
}

.callout {
  background: var(--ink);
  color: #fff;
}

.callout p {
  color: #dce8eb;
}

.site-footer {
  background: #0b1f33;
  color: #d6e3e7;
  padding: 28px clamp(18px, 6vw, 84px);
}

.site-footer a {
  color: #fff;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.construction-front-door {
  background: #030813;
  color: #fff;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.construction-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  overflow: visible;
  padding: 0 0 clamp(26px, 5vw, 54px);
  position: relative;
  width: min(100%, 920px);
}

.construction-stage::before {
  background: radial-gradient(circle at top, rgba(20, 118, 255, 0.18), rgba(2, 7, 18, 0.05) 42%, rgba(0, 0, 0, 0.58) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

.construction-poster-frame {
  position: relative;
  width: 100%;
  z-index: 2;
}

.construction-poster {
  display: block;
  height: auto;
  object-fit: contain;
  object-position: center top;
  position: relative;
  width: 100%;
}

.construction-cta-row {
  display: flex;
  justify-content: center;
  margin: clamp(14px, 2.8vw, 24px) auto 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.quote-jump {
  min-width: min(330px, calc(100% - 44px));
}

.service-badges {
  align-items: start;
  background: linear-gradient(90deg, rgba(2, 9, 22, 0.1), rgba(2, 13, 33, 0.7) 12%, rgba(2, 13, 33, 0.7) 88%, rgba(2, 9, 22, 0.1));
  bottom: 16.8%;
  display: flex;
  gap: clamp(6px, 1.2vw, 15px);
  justify-content: center;
  left: 6.8%;
  margin: 0;
  overflow: hidden;
  padding: clamp(6px, 1.3vw, 12px) clamp(6px, 1vw, 10px);
  position: absolute;
  right: 6.8%;
  z-index: 3;
}

.service-badge {
  align-items: center;
  color: #f4f9ff;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: clamp(3px, 0.7vw, 7px);
  justify-items: center;
  min-width: 0;
  padding: 0;
  text-align: center;
}

.service-badge + .service-badge {
  border-left: 0;
}

.service-badge-icon {
  align-items: center;
  color: #2d99ff;
  display: inline-flex;
  height: clamp(16px, 3.2vw, 35px);
  justify-content: center;
  width: clamp(16px, 3.2vw, 35px);
}

.service-badge-icon svg {
  display: block;
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.service-badge span:last-child {
  font-size: clamp(0.34rem, 1.13vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.12;
  text-transform: uppercase;
}

.notify-panel {
  align-items: center;
  background: rgba(2, 10, 24, 0.78);
  border: 1px solid rgba(27, 166, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 0 38px rgba(0, 130, 255, 0.34), inset 0 0 24px rgba(0, 90, 255, 0.18);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr minmax(250px, 360px);
  margin: clamp(16px, 3vw, 26px) auto 0;
  max-width: 820px;
  padding: clamp(16px, 2.6vw, 24px);
  position: relative;
  width: calc(100% - clamp(28px, 6vw, 56px));
  z-index: 2;
}

.notify-panel h1 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.08;
  margin: 4px 0 8px;
  text-transform: uppercase;
}

.notify-panel p {
  color: #dcecff;
  margin: 0;
}

.notify-eyebrow {
  color: #3eb7ff !important;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.notify-row {
  display: grid;
  gap: 10px;
}

.notify-row input {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 7px;
  color: #061329;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.notify-row button,
.notify-home {
  align-items: center;
  background: #1378ff;
  border: 1px solid #2299ff;
  border-radius: 7px;
  box-shadow: 0 0 22px rgba(0, 130, 255, 0.46);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.notify-error {
  color: #ffd1d1 !important;
  font-weight: 900;
  margin-top: 8px !important;
}

.quote-modal {
  -ms-overflow-style: none;
  align-items: flex-start;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  overflow-y: auto;
  padding: clamp(14px, 3vw, 28px);
  pointer-events: none;
  position: fixed;
  scrollbar-width: none;
  visibility: hidden;
  z-index: 40;
}

.quote-modal::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.quote-modal:target,
.quote-modal-open .quote-modal,
body.quote-modal-open .quote-modal {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.quote-modal-open {
  overflow: hidden;
}

.quote-modal-backdrop {
  background: rgba(2, 8, 19, 0.74);
  backdrop-filter: blur(6px);
  inset: 0;
  position: fixed;
  z-index: 0;
}

.quote-modal-card {
  -webkit-overflow-scrolling: touch;
  margin-block: auto;
  max-height: none;
  max-width: 760px;
  overflow: visible;
  overscroll-behavior: contain;
  pointer-events: auto;
  position: relative;
  width: min(100%, 760px);
  z-index: 1;
}

.quote-modal-card::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.quote-modal-card * {
  pointer-events: auto;
}

.quote-modal-close {
  align-items: center;
  background: rgba(2, 10, 24, 0.96);
  border: 1px solid rgba(27, 166, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(0, 130, 255, 0.35);
  color: #f8fbff;
  display: flex;
  font-size: 1.25rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 12px;
  text-decoration: none;
  top: 12px;
  width: 42px;
  z-index: 2;
}

.quote-modal-card .quote-form {
  background: rgba(2, 10, 24, 0.86);
  border: 1px solid rgba(27, 166, 255, 0.88);
  box-shadow: 0 0 42px rgba(0, 130, 255, 0.28), inset 0 0 24px rgba(0, 90, 255, 0.12);
  color: #f8fbff;
  padding-top: clamp(54px, 7vw, 64px);
}

.quote-progressive-form .form-heading h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.quote-progress {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.quote-progress-dot {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(91, 186, 255, 0.42);
  border-radius: 999px;
  color: #b9d6ef;
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.quote-progress-dot.is-active {
  background: #1378ff;
  border-color: #79caff;
  color: #fff;
  box-shadow: 0 0 18px rgba(27, 166, 255, 0.45);
}

.quote-progress-dot.is-complete {
  background: rgba(27, 166, 255, 0.24);
  border-color: rgba(91, 186, 255, 0.72);
  color: #f8fbff;
}

.quote-progress-label {
  color: #9fd5ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 10px 0 0;
  text-transform: uppercase;
}

.quote-step-stack {
  margin-top: 22px;
}

.quote-step {
  display: none;
}

.quote-step.is-active {
  display: block;
}

.quote-step[hidden] {
  display: none !important;
}

.quote-step-header {
  margin-bottom: 18px;
}

.quote-step-count {
  color: #3eb7ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.quote-step-header h3 {
  color: #f8fbff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
  margin: 0;
}

.quote-step-header p {
  color: #cfe0ef;
  margin: 10px 0 0;
}

.quote-card-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.quote-card-actions .button,
.quote-card-actions .button.secondary.dark {
  width: 100%;
}

.quote-modal-card .form-heading h2,
.quote-modal-card .field span,
.quote-modal-card .check span {
  color: #f8fbff;
}

.quote-modal-card .intro,
.quote-modal-card .field small {
  color: #cfe0ef;
}

.quote-modal-card .address-card {
  border-color: rgba(35, 142, 228, 0.55);
  background: rgba(0, 38, 86, 0.16);
}

.quote-modal-card .address-card legend {
  color: #3eb7ff;
}

.quote-modal-card .field input,
.quote-modal-card .field select,
.quote-modal-card .field textarea {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(204, 230, 255, 0.72);
  color: #061329;
}

.quote-modal-card .field textarea {
  min-height: 112px;
}

.quote-modal-card .check input {
  accent-color: #1378ff;
}

.quote-modal-card .button {
  background: #1378ff;
  border-color: #2299ff;
  box-shadow: 0 0 22px rgba(0, 130, 255, 0.38);
}

.quote-modal-card .button.secondary.dark {
  background: transparent;
  border-color: rgba(27, 166, 255, 0.62);
  color: #dcecff;
}

.confirm-panel {
  display: block;
  max-width: 680px;
  text-align: center;
}

.confirm-panel .notify-home {
  margin-top: 18px;
}

.brand-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 166, 255, 0.2), rgba(3, 8, 19, 0.02) 42%),
    radial-gradient(circle at 82% 18%, rgba(255, 122, 26, 0.12), transparent 32%),
    linear-gradient(180deg, var(--ppx-void), var(--ppx-night) 58%, #02050d);
  color: var(--ppx-ice);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.brand-stage {
  align-content: start;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 56px);
  width: min(100%, 920px);
}

.brand-mark {
  display: flex;
  justify-content: center;
}

.brand-mark img {
  filter: drop-shadow(0 0 24px rgba(27, 166, 255, 0.48)) drop-shadow(0 0 16px rgba(255, 122, 26, 0.18));
  height: auto;
  object-fit: contain;
  width: clamp(84px, 16vw, 144px);
}

.brand-panel,
.brand-video-panel {
  background: var(--ppx-panel);
  border: 1px solid rgba(27, 166, 255, 0.72);
  border-radius: 10px;
  box-shadow:
    0 0 36px rgba(0, 130, 255, 0.22),
    inset 0 0 24px rgba(0, 90, 255, 0.1);
  padding: clamp(20px, 4vw, 34px);
}

.brand-confirmation-panel {
  display: grid;
  gap: 16px;
}

.brand-eyebrow {
  color: var(--ppx-electric-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.brand-panel h1 {
  color: #fff;
  font-size: clamp(2.15rem, 6vw, 4.6rem);
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0;
}

.brand-panel p {
  color: #dcecff;
  margin: 0;
}

.brand-summary-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #f8fbff;
  display: grid;
  gap: 8px;
  padding: clamp(16px, 3vw, 24px);
}

.brand-summary-card h2 {
  color: #fff;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  margin: 0 0 4px;
}

.brand-summary-card strong {
  color: var(--ppx-flame);
}

.brand-button {
  align-items: center;
  background: #1378ff;
  border: 1px solid #2299ff;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(0, 130, 255, 0.42);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
}

.brand-button.secondary {
  background: transparent;
  border-color: rgba(27, 166, 255, 0.62);
  box-shadow: none;
  color: #dcecff;
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-video-panel {
  padding: clamp(12px, 2.5vw, 18px);
}

.brand-video-frame {
  aspect-ratio: 16 / 9;
  background: #02050d;
  border: 1px solid rgba(62, 183, 255, 0.52);
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(27, 166, 255, 0.14);
  overflow: hidden;
}

.brand-video-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .grid,
  .split,
  .quote-layout,
  .form-grid,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 20px;
  }

  .hero {
    min-height: 560px;
  }

  .construction-stage {
    justify-content: start;
    padding-bottom: 24px;
  }

  .service-badges {
    bottom: 16.9%;
    gap: 5px;
    left: 5.2%;
    padding: 5px 4px;
    right: 5.2%;
  }

  .service-badge {
    min-height: 0;
  }

  .service-badge + .service-badge {
    border-left: 0;
  }

  .service-badge:nth-child(n + 3) {
    border-top: 0;
  }

  .service-badge:nth-child(even) {
    border-left: 0;
  }

  .service-badge-icon {
    height: 17px;
    width: 17px;
  }

  .service-badge span:last-child {
    font-size: clamp(0.34rem, 1.55vw, 0.46rem);
    letter-spacing: 0.08em;
  }

  .notify-panel {
    grid-template-columns: 1fr;
  }

  .notify-panel h1 {
    font-size: 1.28rem;
  }

  .brand-stage {
    padding: 26px 16px 42px;
  }

  .brand-panel,
  .brand-video-panel {
    border-radius: 8px;
  }

  .brand-button,
  .brand-actions {
    width: 100%;
  }
}
