/* ==========================================================================
   SUPERSTRUX™ — Quote page skin
   Cosmetic-only overrides that bring create-quote / create-garden-room-quote
   in line with the landing redesign. Loaded AFTER css/style.css.
   No layout or DOM assumptions beyond the classes style.css already styles —
   the calculator markup and JS are untouched.
   ========================================================================== */

:root {
  --ink-950: #060a14;
  --ink-900: #0a0f1e;
  --qs-accent: #f97316;
  --qs-accent-deep: #c2410c;
  --qs-cream: #f6ca8c;
  --qs-grad: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f6ca8c 100%);
  --qs-mono: "Space Mono", ui-monospace, monospace;
}

/* ---------- Focus visibility (matches landing) ---------- */
:focus-visible {
  outline: 3px solid var(--qs-accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Navigation ---------- */
nav {
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.9rem 2rem;
}

.nav-cta {
  background: var(--qs-grad);
  color: var(--ink-900) !important;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(249, 115, 22, 0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.45);
}

/* ---------- Quote hero band ---------- */
.form-section {
  background: var(--ink-900);
}

/* Blueprint grid backdrop instead of the old radial blob */
.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(120, 174, 193, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 174, 193, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 15%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 15%, black 30%, transparent 75%);
  border-radius: 0;
  pointer-events: none;
}

.form-header::before {
  content: "SYS.7 · Instant quote";
  display: block;
  font-family: var(--qs-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qs-cream);
  margin-bottom: 1.1rem;
}

.form-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.form-header p {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-inline: auto;
}

/* ---------- Configurator card ---------- */
.configurator {
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  padding: 28px;
}

.configurator .block {
  border-radius: 16px;
}

.configurator .block .name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.configurator input:focus {
  border-color: var(--qs-accent) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

/* Selection cards: slightly softer radii + landing-style active glow */
.configurator .roof-type-card,
.configurator .shell-option-card {
  border-radius: 16px;
}

.configurator .roof-type-card.active,
.configurator .shell-option-card.active {
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.22);
}

/* Price figures in the brand mono */
.shell-option-price-exvat,
#total-price {
  font-family: var(--qs-mono);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.totals {
  border-radius: 16px;
}

.totals > div:first-child {
  font-size: 1.55rem;
  font-weight: 800;
}

/* Badge + primary buttons: gradient pill with dark text (AA contrast) */
.shell-option-badge,
.configurator .shell-option-badge,
.configurator .shell-option-card .shell-option-badge {
  background: var(--qs-grad);
  color: var(--ink-900);
  font-weight: 700;
}

#save-quote-button,
#success-close {
  background: var(--qs-grad);
  color: var(--ink-900);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 1.05rem 2rem;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(249, 115, 22, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

#save-quote-button:hover:not(:disabled),
#success-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.45);
}

#save-quote-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Success modal ---------- */
.success-content {
  border-radius: 24px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink-950);
}

.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
