@import url("assets/icon-fallback.css");

:root {
  --ink: #111820;
  --text: #2b3542;
  --muted: #66717f;
  --line: #dde3eb;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --warm: #f7f3ed;
  --navy: #071334;
  --charcoal: #151b22;
  --steel: #7c8794;
  --silver: #d4dae2;
  --gold: #c6944c;
  --gold-light: #f2d28b;
  --danger: #a52828;
  --shadow: 0 22px 60px rgba(17, 24, 32, 0.14);
  --shadow-soft: 0 14px 36px rgba(17, 24, 32, 0.08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
}

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

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

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

button {
  cursor: pointer;
}

.lucide {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2;
}

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

.topbar {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(90deg, #0b111a, #151b22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-height: 36px;
}

.topbar a {
  color: #fff;
  font-weight: 750;
}

.topbar span {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 88px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(17, 24, 32, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 19, 52, 0.12);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(7, 19, 52, 0.16);
}

.brand span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand strong {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.05;
  white-space: nowrap;
}

.brand small {
  max-width: 290px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: #f3f5f7;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 999px;
}

.main-nav a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: #35404d;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 850;
}

.main-nav a:hover,
.main-nav a.is-active,
.button-link:hover {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.08);
}

.main-nav .nav-action,
.button-link.nav-action {
  margin-left: 6px;
  color: #111820;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 28px rgba(198, 148, 76, 0.24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 120px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.94) 0%, rgba(8, 13, 24, 0.82) 42%, rgba(8, 13, 24, 0.28) 74%),
    url("assets/visual-steel-door.jpg") right center / cover no-repeat,
    #101820;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(7, 11, 18, 0.45)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 70px 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.48fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  padding: clamp(62px, 8vw, 110px) 0;
}

.hero-copy {
  max-width: 760px;
}

.hero-panel {
  justify-self: end;
  width: min(100%, 440px);
  padding: 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 16, 24, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel-head img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-panel-head div,
.hero-panel-grid article {
  display: grid;
  gap: 4px;
}

.hero-panel-head span,
.hero-panel-grid span {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel-head strong {
  color: #fff;
  font-size: 1.08rem;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-panel-grid article {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel-grid .card-icon {
  margin-top: 6px;
  color: var(--gold-light);
}

.hero-panel-grid strong {
  color: #fff;
}

.hero-panel-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

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

.hero .eyebrow,
.page-hero .eyebrow,
.process-section .eyebrow,
.final-cta .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
}

.hero h1,
.page-hero h1,
.process-section h2,
.final-cta h2 {
  color: #fff;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

h2 {
  max-width: 780px;
  font-size: clamp(1.9rem, 3.4vw, 3.3rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.process-layout > div > p,
.final-cta-inner > p:not(.eyebrow),
.intro-copy p,
.quality-copy p,
.quality-grid p,
.service-list p,
.process-steps p,
.category-showcase strong,
.audience-grid p,
.faq-layout > div > p,
.faq-list p,
.story-copy p,
.value-grid p,
.detailed-services p,
.product-card p,
.contact-item strong,
.footer-brand p,
.footer-contact span,
.admin-row p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.process-layout > div > p,
.final-cta-inner > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  max-width: 660px;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions,
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #111820;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 36px rgba(198, 148, 76, 0.26);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 950;
}

.link-icon {
  width: 16px;
  height: 16px;
}

.proof-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid div {
  display: grid;
  gap: 4px;
  padding: 24px 22px;
  border-left: 1px solid var(--line);
}

.proof-grid div:last-child {
  border-right: 1px solid var(--line);
}

.proof-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  color: var(--gold);
}

.proof-grid strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
}

.proof-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 88px 0;
}

.intro-grid,
.story-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.logo-display,
.story-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.logo-display img,
.story-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mini-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--warm);
  border: 1px solid #eadfce;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
}

.services-section,
.audience-section,
.products,
.contact,
.values-section,
.admin-page {
  background: var(--soft);
}

.section-title {
  margin-bottom: 34px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-list,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-list article,
.value-grid article,
.contact-item,
.quote-form,
.product-card,
.admin-form,
.admin-list-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-list article,
.value-grid article {
  min-height: 230px;
  padding: 26px;
}

.card-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.service-list span,
.value-grid span,
.detailed-services span {
  color: var(--gold);
  font-weight: 950;
}

.service-list h3,
.value-grid h3 {
  margin-top: 22px;
}

.section-link-row {
  margin-top: 26px;
}

.visual-section {
  background: #fff;
}

.visual-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  gap: 18px;
}

.visual-main,
.visual-stack article {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.visual-main {
  min-height: 500px;
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.visual-stack article {
  min-height: 241px;
}

.visual-main img,
.visual-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.visual-main:hover img,
.visual-stack article:hover img {
  transform: scale(1.035);
}

.visual-main::after,
.visual-stack article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 12, 18, 0.86));
  pointer-events: none;
}

.visual-main > div,
.visual-stack article > div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: #fff;
}

.visual-main .lucide,
.visual-stack .lucide,
.visual-main i[data-lucide],
.visual-stack i[data-lucide] {
  width: 30px;
  height: 30px;
  color: var(--gold-light);
}

.visual-main span,
.visual-stack span {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.visual-main strong {
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.65rem);
  line-height: 1.08;
}

.quality-section {
  background: #fff;
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.quality-copy {
  position: sticky;
  top: 126px;
}

.quality-copy p {
  max-width: 560px;
}

.quality-copy .btn {
  margin-top: 18px;
}

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

.quality-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(198, 148, 76, 0.08), transparent 46%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.quality-grid span,
.audience-grid span {
  color: #855b24;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quality-grid h3,
.audience-grid h3 {
  margin-top: 18px;
}

.process-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(198, 148, 76, 0.16), transparent 46%),
    #121820;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 12px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.process-steps span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #111820;
  background: var(--gold-light);
  border-radius: 999px;
  font-weight: 950;
}

.process-steps span .lucide,
.process-steps span i[data-lucide] {
  width: 18px;
  height: 18px;
}

.process-steps strong {
  color: #fff;
}

.process-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.audience-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.audience-grid article:hover,
.quality-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(17, 24, 32, 0.12);
}

.audience-grid article > div:last-child {
  padding: 24px;
}

.audience-media {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.1), rgba(17, 24, 32, 0.68)),
    url("assets/visual-steel-door.jpg") center / cover no-repeat;
}

.audience-site {
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.12), rgba(17, 24, 32, 0.68)),
    url("assets/visual-ferforje-villa.jpg") center / cover no-repeat;
}

.audience-work {
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.14), rgba(17, 24, 32, 0.7)),
    url("assets/visual-shutter-firedoor.jpg") center / cover no-repeat;
}

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

.category-showcase a {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.12), rgba(17, 24, 32, 0.92)),
    url("assets/visual-steel-door.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.category-showcase a:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.2), rgba(17, 24, 32, 0.92)),
    url("assets/visual-ferforje-villa.jpg") center / cover no-repeat;
}

.category-showcase a:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.2), rgba(17, 24, 32, 0.92)),
    url("assets/visual-shutter-firedoor.jpg") center / cover no-repeat;
}

.category-showcase span {
  color: var(--gold-light);
  font-weight: 950;
}

.category-showcase strong {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 10px;
}

.final-cta {
  padding-top: 0;
}

.final-cta-inner {
  padding: clamp(32px, 5vw, 58px);
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(8, 12, 18, 0.96), rgba(8, 13, 24, 0.8)),
    url("assets/visual-steel-door.jpg") right center / cover no-repeat;
  box-shadow: var(--shadow);
}

.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.faq-layout > div > p {
  max-width: 520px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink);
  background: var(--warm);
  border-radius: 999px;
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.95), rgba(8, 13, 24, 0.72)),
    url("assets/visual-steel-door.jpg") right center / cover no-repeat,
    #101820;
}

.page-hero-inner {
  padding: clamp(64px, 8vw, 104px) 0;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.2rem, 4.4vw, 4.65rem);
}

.story-copy p {
  max-width: 720px;
}

.detailed-services {
  display: grid;
  gap: 18px;
}

.detailed-services article {
  display: grid;
  grid-template-columns: 82px minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.detailed-services article:first-child {
  padding-top: 0;
}

.detailed-services article:last-child {
  border-bottom: 0;
}

.detailed-services h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.product-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.search-field,
form label {
  display: grid;
  gap: 8px;
}

.search-field span,
form label span {
  color: #46515f;
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd3de;
  border-radius: var(--radius);
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 148, 76, 0.14);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  color: #2e3946;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.filter-icon {
  width: 15px;
  height: 15px;
}

.category-filters button.is-active {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

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

.product-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-visual-link {
  display: block;
}

.product-card:hover,
.service-list article:hover,
.value-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(17, 24, 32, 0.12);
}

.product-card:hover .product-visual img {
  transform: scale(1.035);
}

.product-visual {
  position: relative;
  height: 230px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 44%),
    linear-gradient(140deg, #111820, #344152);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-visual-villa,
.product-visual-steel,
.product-visual-custom {
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.66)),
    url("assets/visual-steel-door.jpg") center / cover no-repeat;
}

.product-visual-classic,
.product-visual-wood {
  background: linear-gradient(140deg, #5d351a, #c6944c);
}

.product-visual-entry {
  background: linear-gradient(140deg, #313d49, #8c98a5);
}

.product-visual-fire {
  background: linear-gradient(140deg, #3b1717, #a52828);
}

.product-visual-forged,
.product-visual-iron {
  background: linear-gradient(140deg, #121820, #66717f);
}

.product-visual-shutter {
  background: repeating-linear-gradient(0deg, #303b49 0 18px, #202a36 18px 25px);
}

.door-silhouette {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 112px;
  height: 176px;
  transform: translateX(-50%);
  border: 8px solid rgba(240, 244, 249, 0.84);
  border-bottom: 0;
  background: rgba(5, 10, 22, 0.16);
}

.door-silhouette::before {
  content: "";
  position: absolute;
  inset: -42px 10px auto;
  height: 60px;
  border-top: 8px solid rgba(240, 244, 249, 0.84);
  border-left: 8px solid rgba(240, 244, 249, 0.84);
  transform: rotate(45deg);
  transform-origin: bottom left;
}

.door-silhouette span {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 34px;
  border: 4px solid rgba(240, 244, 249, 0.72);
}

.door-silhouette span:nth-child(1) {
  top: 28px;
}

.door-silhouette span:nth-child(2) {
  top: 76px;
}

.door-silhouette span:nth-child(3) {
  top: 124px;
}

.product-card-body {
  padding: 22px;
}

.product-category,
.product-code {
  color: #855b24;
  font-size: 0.82rem;
  font-weight: 950;
}

.product-card h3 {
  margin-top: 8px;
}

.product-card h3 a:hover {
  color: #855b24;
}

.product-code {
  margin: 8px 0 0;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.text-link-muted {
  color: var(--muted);
}

.product-detail-section {
  background: var(--soft);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
}

.product-detail-grid [data-detail-visual] {
  min-height: 440px;
}

.product-detail-grid .product-visual {
  height: 100%;
  min-height: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-detail-grid .door-silhouette {
  width: 150px;
  height: 238px;
}

.product-detail-content {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.back-link {
  width: fit-content;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.product-detail-content h2 {
  margin-top: 8px;
}

.detail-description {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.detail-info-grid article,
.product-not-found {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-info-grid span {
  color: var(--gold);
  font-weight: 950;
}

.detail-info-grid h3 {
  margin-top: 18px;
}

.detail-info-grid p,
.product-not-found p {
  color: var(--muted);
  line-height: 1.7;
}

.related-products-wrap {
  margin-top: 70px;
}

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

.product-not-found {
  display: grid;
  gap: 12px;
}

.empty-state {
  margin-top: 20px;
  padding: 18px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1fr);
  gap: 20px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-item {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.contact-item span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-item strong {
  color: var(--ink);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #0b111a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(240px, 0.74fr);
  gap: 36px;
  padding: 44px 0 34px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #fff;
  font-weight: 900;
}

.admin-main {
  min-height: calc(100svh - 82px);
}

.admin-nav {
  display: flex;
}

.admin-section {
  padding: 70px 0;
}

.admin-count {
  margin: 0;
  color: var(--muted);
  font-weight: 950;
}

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

.admin-form,
.admin-list-wrap {
  padding: 22px;
}

.admin-list-wrap {
  display: grid;
  gap: 14px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-row div:first-child {
  display: grid;
  gap: 4px;
}

.admin-row span {
  color: #855b24;
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-row p {
  margin: 4px 0 0;
}

.admin-row-actions {
  display: flex;
  align-items: start;
  gap: 8px;
}

.small-button {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.danger-button {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

@media (max-width: 1080px) {
  .service-list,
  .proof-grid,
  .product-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid,
  .visual-showcase,
  .category-showcase,
  .detail-info-grid,
  .related-products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .topbar {
    display: none;
  }

  .site-header {
    min-height: 76px;
    padding: 10px 18px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
  }

  .main-nav .nav-action {
    margin-left: 0;
  }

  .admin-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .admin-nav a,
  .admin-nav button {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(8, 12, 18, 0.95), rgba(8, 13, 24, 0.72)),
      url("assets/visual-steel-door.jpg") 58% center / cover no-repeat,
      #101820;
  }

  .section {
    padding: 66px 0;
  }

  .intro-grid,
  .story-layout,
  .hero-inner,
  .quality-layout,
  .process-layout,
  .faq-layout,
  .contact-layout,
  .product-detail-grid,
  .admin-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

  .quality-copy {
    position: static;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .section-title-row {
    align-items: start;
    flex-direction: column;
  }

  .detailed-services article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero-actions,
  .contact-actions,
  .admin-form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-inner,
  .page-hero-inner {
    padding: 58px 0;
  }

  .proof-grid,
  .service-list,
  .product-grid,
  .quality-grid,
  .audience-grid,
  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .quality-grid article,
  .audience-grid article > div:last-child,
  .faq-list summary {
    padding: 18px;
  }

  .hero-panel-grid article {
    min-height: auto;
  }

  .audience-media {
    min-height: 180px;
  }

  .visual-main {
    min-height: 360px;
  }

  .visual-stack article {
    min-height: 220px;
  }

  .visual-main > div,
  .visual-stack article > div {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .proof-grid div,
  .proof-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .logo-display img,
  .story-media img {
    min-height: 250px;
  }

  .product-visual {
    height: 210px;
  }

  .product-detail-grid [data-detail-visual],
  .product-detail-grid .product-visual {
    min-height: 300px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-row-actions {
    align-items: stretch;
  }

  .small-button {
    flex: 1;
  }
}
