:root {
  --bg: #f4f5f5;
  --ink: #151719;
  --muted: #62686f;
  --line: #d7dcdf;
  --panel: #ffffff;
  --brand: #c8322a;
  --brand-dark: #951f1a;
  --steel: #262d33;
  --steel-2: #3c454d;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 21, 27, 0.92), rgba(16, 21, 27, 0.12));
  backdrop-filter: blur(10px);
}

.brand img {
  width: 168px;
  height: auto;
}

.site-header .brand {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
}

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
}

.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-center {
  grid-column: 2;
}

.nav-right {
  grid-column: 3;
  justify-self: end;
}

.admin-lock {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.82;
}

.admin-lock::before {
  content: "";
  position: absolute;
  top: 7px;
  width: 10px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.admin-lock span {
  position: absolute;
  top: 15px;
  width: 16px;
  height: 11px;
  border-radius: 3px;
  background: currentColor;
}

.admin-lock span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: rgba(18, 24, 30, 0.92);
}

.admin-lock:hover {
  border-color: rgba(200, 50, 42, 0.92);
  color: #fff;
  background: var(--brand);
  opacity: 1;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-dropdown {
  position: relative;
  padding: 12px 0;
}

.nav-more::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  min-width: 250px;
  display: grid;
  gap: 1px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(18, 24, 30, 0.96);
  box-shadow: 0 18px 46px rgba(7, 12, 16, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-panel a {
  padding: 12px 14px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.nav-dropdown-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-cta,
.button,
.quote-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.is-hidden {
  display: none !important;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.header-cta,
.button.primary,
.quote-card button {
  color: #fff;
  background: var(--brand);
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(16, 21, 27, 0.2);
  white-space: nowrap;
}

.header-cta:hover {
  border-color: var(--brand);
  background: var(--brand);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: visible;
  color: #fff;
  background: #111820;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.88) 0%, rgba(10, 14, 18, 0.56) 45%, rgba(10, 14, 18, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 14, 18, 0.12), rgba(10, 14, 18, 0.7)),
    url("assets/premium-carport.png") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 790px) 340px;
  gap: 46px;
  align-items: end;
  padding: 132px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-panel {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel a {
  padding: 18px;
  background: rgba(15, 20, 26, 0.76);
}

.hero-panel span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
  line-height: 1.35;
}

.hero-panel a:hover {
  background: rgba(200, 50, 42, 0.86);
}

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

.system-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--line);
}

.system-strip div {
  padding: 32px clamp(22px, 4vw, 48px);
  background: #fff;
}

.system-strip strong {
  display: block;
  margin-bottom: 34px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.system-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 22px;
  font-weight: 950;
}

.system-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.page-hero {
  position: relative;
  width: 100%;
  min-height: 390px;
  margin: 0;
  display: grid;
  align-content: end;
  overflow: visible;
  padding: 166px max(20px, calc((100vw - 1180px) / 2)) 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.88), rgba(16, 21, 27, 0.6) 46%, rgba(16, 21, 27, 0.2)),
    url("assets/configurator-premium.png") center / cover;
}

.page-hero.carport-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.9), rgba(16, 21, 27, 0.58) 48%, rgba(16, 21, 27, 0.18)),
    url("assets/premium-carport.png") center / cover;
}

.page-hero.pergola-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.9), rgba(16, 21, 27, 0.58) 48%, rgba(16, 21, 27, 0.18)),
    url("assets/premium-pergola.png") center / cover;
}

.page-hero.offer-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.88), rgba(16, 21, 27, 0.62) 48%, rgba(16, 21, 27, 0.22)),
    url("assets/premium-carport.png") center / cover;
}

.page-hero.process-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.9), rgba(16, 21, 27, 0.58) 48%, rgba(16, 21, 27, 0.18)),
    url("assets/process-engineering.png") center / cover;
}

.page-hero.technology-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.9), rgba(16, 21, 27, 0.58) 48%, rgba(16, 21, 27, 0.18)),
    url("assets/technology-laser.png") center / cover;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.9), rgba(16, 21, 27, 0.58) 48%, rgba(16, 21, 27, 0.18)),
    url("assets/premium-carport.png") center / cover;
}

.page-hero.guide-hero {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.9), rgba(16, 21, 27, 0.58) 48%, rgba(16, 21, 27, 0.18)),
    url("assets/configurator-premium.png") center / cover;
}

.page-hero.compact {
  min-height: 330px;
  padding-bottom: 42px;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  color: #fff;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

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

.offer-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-card,
.realisation-grid article,
.quote-card {
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(20, 26, 32, 0.08);
  overflow: hidden;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-card div {
  padding: 26px;
}

.offer-card h3,
.realisation-grid h3,
.quote-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.offer-card p,
.realisation-grid p,
.estimator-copy p,
.config-options p {
  color: var(--muted);
  line-height: 1.65;
}

.offer-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
  color: #3f464d;
  font-size: 14px;
}

.offer-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--brand);
}

.offer-card a {
  color: var(--brand);
  font-weight: 900;
}

.offer-card-accent {
  outline: 2px solid rgba(200, 50, 42, 0.22);
}

.offer-card-accent div {
  border-top: 4px solid var(--brand);
}

.offer-card-accent h3 {
  color: var(--brand);
}

.premium-showcase {
  width: 100%;
  padding: 96px clamp(20px, 5vw, 72px);
  color: #fff;
  background: #12191f;
}

.premium-showcase-heading {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
}

.premium-showcase-heading h2 {
  max-width: 840px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(32px, 4.8vw, 62px);
  line-height: 1.02;
}

.premium-showcase-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.6;
}

.comparison-slider {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 610px;
  overflow: hidden;
  background: #0f151b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.comparison-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split));
}

.comparison-after img {
  width: 100%;
  max-width: none;
}

.comparison-slider input {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-slider::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.comparison-slider::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--split);
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(200, 50, 42, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.comparison-label {
  position: absolute;
  z-index: 2;
  top: 24px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(17, 24, 31, 0.78);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-label.before {
  left: 24px;
}

.comparison-label.after {
  right: 24px;
}

.premium-articles {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.premium-articles a {
  min-height: 190px;
  display: grid;
  align-content: end;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.premium-articles span {
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.premium-articles strong {
  font-size: 22px;
  line-height: 1.18;
}

.editorial-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.editorial-split h2 {
  margin-bottom: 0;
}

.editorial-split p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.process-roadmap ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  background: var(--line);
  list-style: none;
}

.process-roadmap li {
  min-height: 250px;
  display: grid;
  align-content: start;
  padding: 28px;
  background: #fff;
}

.process-roadmap span,
.tech-grid span,
.contact-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-roadmap strong {
  display: block;
  margin-bottom: 12px;
  color: var(--steel);
  font-size: 22px;
  line-height: 1.18;
}

.process-roadmap p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-roadmap a {
  color: var(--brand);
  font-weight: 900;
}

.visual-band {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  background: #111820;
  color: #fff;
}

.visual-band.reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.visual-band.reverse img {
  order: 2;
}

.visual-band img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.visual-band > div {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.visual-band h2 {
  color: #fff;
}

.visual-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.tech-grid,
.contact-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tech-grid article,
.contact-grid article,
.article-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 26, 32, 0.08);
}

.tech-grid article,
.contact-grid article {
  min-height: 300px;
  padding: 30px;
}

.tech-grid h2,
.contact-grid h2,
.article-grid h2 {
  margin-bottom: 14px;
  color: var(--steel);
  font-size: 28px;
  line-height: 1.08;
}

.tech-grid p,
.contact-grid p,
.article-grid p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid a,
.contact-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--steel);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 950;
  line-height: 1.2;
}

.contact-grid a:hover {
  color: var(--brand);
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
  background: #111820;
  color: #fff;
}

.contact-cta h2 {
  color: #fff;
}

.contact-cta p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.62;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-grid article > div {
  padding: 26px;
}

.typical-products .section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.typical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.typical-card {
  display: grid;
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 26, 32, 0.08);
}

.typical-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.typical-card > div {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.typical-card span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.typical-card h3 {
  margin: 0;
  color: var(--steel);
  font-size: 23px;
}

.typical-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.typical-card dl {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.typical-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  background: #f8f9fa;
}

.typical-card dt,
.typical-card dd {
  margin: 0;
  font-size: 13px;
}

.typical-card dt {
  color: var(--muted);
  font-weight: 850;
}

.typical-card dd {
  color: var(--steel);
  font-weight: 950;
  text-align: right;
}

.typical-card strong {
  color: var(--steel);
  font-size: 24px;
}

.typical-card a {
  color: var(--brand);
  font-weight: 950;
}

.typical-inquiry-button,
.typical-inquiry-form button {
  min-height: 42px;
  border: 0;
  border-radius: 4px;
  padding: 0 14px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.typical-inquiry-form {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f9;
}

.typical-inquiry-form input,
.typical-inquiry-form select,
.status-select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 11px;
  color: var(--steel);
  background: #fff;
  font: inherit;
}

.typical-inquiry-form small {
  color: #216b49;
  font-weight: 850;
}

.typical-assembly-note {
  color: var(--muted) !important;
  font-weight: 850;
  line-height: 1.45;
}

.typical-assembly-note.is-active {
  color: var(--steel) !important;
}

.typical-empty {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}

.standard-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  padding-top: 42px;
}

.standard-copy h2 {
  color: var(--steel);
}

.standard-copy p,
.standard-copy li {
  color: var(--muted);
  line-height: 1.65;
}

.standard-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.calculator-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #242b31, #11171c);
}

.calculator-cta h2 {
  margin-bottom: 8px;
  color: #fff;
}

.calculator-cta p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.configurator-preview {
  padding-top: 20px;
}

.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.config-stage,
.config-options {
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 26, 32, 0.08);
}

.config-stage {
  position: relative;
  min-height: 480px;
}

.config-stage img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.config-tabs {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.config-tabs button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  color: #fff;
  background: rgba(17, 24, 31, 0.82);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.config-options {
  padding: 34px;
}

.config-options h3 {
  margin-bottom: 14px;
  font-size: 32px;
}

.swatches {
  display: flex;
  gap: 10px;
  margin: 28px 0;
}

.swatches span {
  width: 40px;
  height: 40px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--line);
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 16px;
  padding: 15px 0;
  background: #fff;
}

.spec-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  font-weight: 850;
}

.estimator {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  padding: 100px clamp(20px, 6vw, 90px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 29, 35, 0.96), rgba(23, 29, 35, 0.84)),
    url("assets/detail.jpg") center / cover;
}

.estimator h2 {
  max-width: 980px;
}

.estimator-copy p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.84);
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  background: var(--brand);
}

.configurator-layout {
  display: grid;
  grid-template-columns: minmax(340px, 35%) minmax(0, 65%);
  gap: 24px;
  align-items: start;
  width: 100%;
  margin-top: 0;
}

.quote-card {
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #3e454b;
  font-size: 13px;
  font-weight: 900;
}

.check-field {
  align-content: center;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #3e454b;
  background: #fff;
}

.quote-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.quote-card small.is-ok {
  color: #26704b;
}

.quote-card small.is-warning {
  color: #9a5b10;
}

.quote-card input,
.quote-card select,
.quote-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

.quote-card input,
.quote-card select {
  min-height: 48px;
}

.quote-card .check-field input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--brand);
}

.quote-card textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-result {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 18px;
  border-radius: 6px;
  background: #f1f3f4;
}

.quote-result span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quote-result strong {
  color: var(--brand);
  font-size: 24px;
}

.quote-result em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.price-button {
  margin-top: 6px;
}

.contact-step {
  display: grid;
  gap: 0;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-step.is-sent {
  border-top-color: rgba(38, 112, 75, 0.35);
}

.quote-card button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.visual-section {
  padding-top: 20px;
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.visual-preview,
.visual-copy,
.admin-grid article {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 26, 32, 0.08);
}

.visual-preview {
  position: relative;
  width: 100%;
  min-height: 520px;
  max-width: none;
  justify-self: stretch;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(245, 247, 248, 0.96), rgba(232, 237, 240, 0.94)),
    repeating-linear-gradient(0deg, rgba(32, 38, 43, 0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(32, 38, 43, 0.04) 0 1px, transparent 1px 28px);
}

.plan-preview {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 12px;
}

.plan-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  background: #1f272e;
  color: #fff;
}

.plan-toolbar span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-toolbar strong {
  text-align: right;
  font-size: 14px;
}

.plan-svg {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 390px;
}

.plan-beams rect {
  fill: #222b32;
}

.plan-rafters rect {
  fill: #56616a;
}

.plan-posts rect {
  fill: #c8322a;
  stroke: #7e1e19;
  stroke-width: 2;
}

.plan-footings circle {
  fill: transparent;
  stroke: #909ba3;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.plan-dimensions line {
  stroke: #c8322a;
  stroke-width: 2;
}

.plan-dimensions text {
  fill: #c8322a;
  font-size: 18px;
  font-weight: 900;
  text-anchor: middle;
}

.plan-labels text {
  fill: #303941;
  font-size: 15px;
  font-weight: 850;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: visible;
  border-radius: 6px;
  background: var(--line);
}

.profile-summary div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #fff;
}

.profile-summary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-summary strong {
  color: var(--steel);
  font-size: 15px;
}

.profile-summary strong small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.profile-summary-card em {
  color: #216b49;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.profile-choice-dropdown {
  position: relative;
}

.profile-choice-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 9px;
  color: var(--steel);
  background: #f8fafb;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.profile-choice-dropdown summary::-webkit-details-marker {
  display: none;
}

.profile-choice-dropdown summary::after {
  content: "v";
  color: var(--muted);
}

.profile-choice-dropdown[open] summary::after {
  content: "^";
}

.profile-choice-dropdown > div {
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  max-height: min(70vh, 520px);
  overflow: auto;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(13, 22, 28, 0.18);
}

.profile-choice-dropdown button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 8px;
  color: var(--steel);
  background: #fff;
  font: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.profile-choice-dropdown button small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-choice-dropdown button.is-selected {
  border-color: #216b49;
  background: #edf7f1;
}

.profile-choice-dropdown button.is-overloaded {
  border-color: #c8322a;
  color: #9d241d;
  background: #fff1f0;
  cursor: not-allowed;
}

.profile-choice-dropdown i {
  font-style: normal;
  font-weight: 950;
}

.profile-choice-dropdown i.is-minus {
  color: #216b49;
}

.profile-choice-dropdown i.is-plus {
  color: #c8322a;
}


.visual-copy {
  padding: 32px;
}

.visual-copy h3,
.admin-grid h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.visual-copy p,
.admin-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-section {
  padding-top: 30px;
}

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

.admin-grid article {
  padding: 28px;
}

.realisation-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}


.realisation-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.realisation-grid h3,
.realisation-grid p {
  padding: 0 24px;
}

.realisation-grid h3 {
  padding-top: 24px;
}

.realisation-grid p {
  padding-bottom: 24px;
}

.process {
  padding-top: 44px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.steps li {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  color: var(--steel);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.steps span {
  display: block;
  margin-bottom: 46px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 950;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 66px clamp(20px, 6vw, 90px);
  color: #fff;
  background: var(--steel);
}

.footer h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

@media (max-width: 1200px) {
  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .configurator-layout {
    grid-template-columns: minmax(340px, 0.95fr) minmax(340px, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .site-header::after {
    content: "";
    width: 28px;
    height: 18px;
    border-top: 3px solid rgba(255, 255, 255, 0.86);
    border-bottom: 3px solid rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 7px 0 rgba(255, 255, 255, 0.86);
  }

  .brand img {
    width: 150px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 128px;
  }

  .system-strip,
  .premium-tiles,
  .premium-articles,
  .offer-grid,
  .offer-grid.two,
  .typical-grid,
  .standard-copy,
  .editorial-split,
  .process-roadmap ol,
  .visual-band,
  .visual-band.reverse,
  .tech-grid,
  .contact-grid,
  .contact-cta,
  .article-grid,
  .calculator-cta,
  .config-grid,
  .visual-grid,
  .configurator-layout,
  .realisation-grid,
  .steps,
  .admin-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .estimator {
    padding: 76px 20px;
  }

  .profile-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-showcase {
    padding: 76px 20px;
  }

  .comparison-slider {
    min-height: 430px;
  }

  .premium-tile {
    min-height: 420px;
  }

  .visual-band.reverse img {
    order: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-content,
  .section {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 116px 0 34px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.06em;
    line-height: 1.5;
  }

  h1 {
    max-width: 360px;
    font-size: 38px;
    line-height: 1.03;
  }

  .lead {
    font-size: 17px;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .premium-showcase {
    padding: 62px 16px;
  }

  .comparison-slider {
    min-height: 330px;
  }

  .premium-articles a,
  .process-roadmap li,
  .tech-grid article,
  .contact-grid article {
    min-height: auto;
    padding: 22px;
  }

  .visual-band img {
    min-height: 300px;
  }

  .contact-cta {
    padding: 24px;
  }

  .premium-tile {
    min-height: 360px;
    padding: 24px;
  }

  .section h2 {
    font-size: 34px;
  }

  .hero-actions,
  .field-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .system-strip {
    width: 100%;
  }

  .system-strip div {
    padding: 26px 18px;
  }

  .config-stage,
  .config-stage img {
    min-height: 340px;
  }

  .config-tabs {
    grid-template-columns: 1fr;
  }

  .config-options,
  .quote-card,
  .visual-copy {
    padding: 22px;
  }

  .visual-preview {
    min-height: 300px;
  }

  .plan-preview {
    padding: 12px;
  }

  .plan-toolbar {
    display: grid;
    gap: 6px;
  }

  .plan-toolbar strong {
    text-align: left;
  }

  .plan-svg {
    min-height: 250px;
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.admin-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  background: #eef1f3;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: #151b21;
  color: #fff;
}

.admin-brand img {
  width: 172px;
  margin-bottom: 34px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  padding: 12px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: #fff;
  background: rgba(200, 50, 42, 0.86);
}

.admin-main {
  padding: 30px clamp(20px, 4vw, 46px) 60px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--steel);
  font-size: clamp(34px, 5vw, 54px);
}

.admin-preview-link {
  color: var(--steel);
  border-color: #b9c1c7;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(13, 18, 24, 0.9), rgba(13, 18, 24, 0.72)),
    url("assets/premium-carport.png") center / cover;
}

.login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(18, 24, 30, 0.9);
  box-shadow: var(--shadow);
}

.login-card img {
  width: 170px;
}

.login-card h1 {
  margin: 0;
  font-size: 34px;
}

.login-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.login-card form,
.login-card label {
  display: grid;
  gap: 10px;
}

.login-card label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 900;
}

.login-card input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.login-card button {
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.login-error {
  min-height: 20px;
  color: #ffb7b2;
  font-size: 13px;
  font-weight: 850;
}

.login-back {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-metrics article,
.admin-panel {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 26, 32, 0.08);
}

.admin-metrics article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-metrics strong {
  color: var(--brand);
  font-size: 34px;
}

.admin-panel {
  margin-bottom: 18px;
  overflow: hidden;
}

.admin-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-panel-heading h2 {
  margin: 0;
  color: var(--steel);
  font-size: 26px;
}

.admin-panel button {
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  padding: 0 14px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-panel button.danger {
  background: #84231f;
}

.admin-row-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-right: 6px;
  border-radius: 4px;
  padding: 0 10px;
  color: #fff;
  background: var(--steel);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-row-action:hover {
  background: var(--brand);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  white-space: normal;
}

.admin-thumb {
  width: 74px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #eef1f3;
}

.admin-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f7f8f9;
}

.admin-log-table th,
.admin-log-table td {
  white-space: normal;
  vertical-align: top;
}

.admin-log-table td {
  min-width: 110px;
}

.admin-log-table .admin-details-row > td {
  padding: 0;
  background: #f8f9fa;
}

.admin-log-table details {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.admin-category-row td {
  color: var(--steel);
  background: #eef1f3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.status-pill.ok {
  color: #216b49;
  background: #e2f5eb;
}

.status-pill.muted {
  color: #68717a;
  background: #eef1f3;
}

.admin-grid-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.admin-shortcuts a {
  padding: 22px;
  color: var(--steel);
  background: #fff;
  font-weight: 950;
}

.admin-shortcuts a:hover {
  color: #fff;
  background: var(--brand);
}

.admin-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.admin-list-item,
.admin-empty {
  padding: 16px 20px;
  background: #fff;
}

.admin-list-item > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.admin-list-item span,
.admin-list-item small,
.admin-empty {
  color: var(--muted);
}

.admin-list-item p {
  margin-bottom: 6px;
  color: var(--steel);
  font-weight: 850;
}

.admin-calculation-details {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9fa;
}

.admin-calculation-details summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-calculation-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.admin-calculation-details h3 {
  margin: 16px 14px 8px;
  color: var(--steel);
  font-size: 15px;
}

.admin-calculation-details p {
  margin: 0 14px 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.admin-details-grid section {
  padding: 2px 0 10px;
  background: #fff;
}

.admin-mini-table {
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}

.admin-mini-table th,
.admin-mini-table td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.admin-mini-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-pair strong,
.price-pair small {
  display: block;
}

.price-pair small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-nested-details {
  margin: 0 14px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-nested-details summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-nested-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.admin-nested-details .admin-mini-table {
  width: 100%;
  margin: 0;
}

.admin-nested-details p {
  margin: 12px 14px;
}

.admin-danger {
  color: #c22e24;
  font-weight: 950;
}

.admin-success {
  color: #16803d;
  font-weight: 950;
}

.quote-success {
  display: grid;
  gap: 6px;
  border: 1px solid #bde4cc;
  border-radius: 6px;
  padding: 14px;
  color: #16583a;
  background: #e8f7ee;
}

.quote-success strong {
  color: #16583a;
}

#estimateValue small,
.typical-card strong small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.quote-success span {
  color: #216b49;
  line-height: 1.45;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.admin-image-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}

.admin-image-field img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #eef1f3;
}

.admin-image-field img.is-empty {
  opacity: 0.5;
}

.admin-image-field > div {
  display: grid;
  gap: 8px;
}

.admin-file-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 10px 13px;
  color: #fff;
  background: var(--steel);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.admin-file-button input {
  display: none;
}

.admin-image-field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.settings-grid label {
  display: grid;
  gap: 8px;
  color: #3e454b;
  font-size: 13px;
  font-weight: 900;
}

.settings-grid input,
.settings-grid select,
.admin-textarea-label textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  font: inherit;
}

.admin-textarea-label {
  display: grid;
  gap: 8px;
  padding: 0 22px 22px;
  color: #3e454b;
  font-size: 13px;
  font-weight: 900;
}

.admin-textarea-label textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.admin-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 22px 22px;
}

.admin-check {
  align-content: end;
}

.admin-check input {
  width: 18px;
  min-height: 18px;
}

@media (max-width: 900px) {
  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-metrics,
  .admin-grid-panels,
  .admin-shortcuts,
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
