/* =========================
   IANVS Homepage Optimized CSS V2
   High-end architectural style + real image slots
========================= */

:root {
  --bg: #0c0d0d;
  --bg-soft: #121414;
  --bg-light: #f4f1eb;
  --text: #f7f4ed;
  --text-dark: #171717;
  --muted: #a7a29a;
  --muted-dark: #6d675e;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(0, 0, 0, 0.1);
  --gold: #c8a96a;
  --gold-soft: #e5d0a2;
  --card: #171918;
  --max: 1180px;
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 13, 13, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-mark {
  font-size: 22px;
  font-weight: 700;
}

.brand-sub {
  margin-top: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(247, 244, 237, 0.78);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(200, 169, 106, 0.55);
  border-radius: 999px;
  color: var(--gold-soft);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.has-dropdown > a::before {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1px solid rgba(247, 244, 237, 0.7);
  border-bottom: 1px solid rgba(247, 244, 237, 0.7);
  transform: translateY(-64%) rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.has-dropdown:hover > a::before {
  transform: translateY(-30%) rotate(225deg);
  border-color: var(--gold-soft);
}

.dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  min-width: 260px;
  padding: 12px;
  border: 1px solid rgba(200, 169, 106, 0.22);
  border-radius: 18px;
  background: rgba(14, 15, 15, 0.95);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(247, 244, 237, 0.74);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.dropdown a:hover {
  color: #fff;
  background: rgba(200, 169, 106, 0.12);
}

.main-nav .dropdown a::after {
  display: none;
}

.wide-dropdown {
  min-width: 310px;
}



.main-nav a:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.mobile-close:focus-visible,
.mobile-nav-trigger:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}


.dropdown a strong {
  display: block;
  color: rgba(247, 244, 237, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.dropdown a span {
  display: block;
  margin-top: 4px;
  color: rgba(247, 244, 237, 0.48);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.dropdown a:hover span {
  color: rgba(247, 244, 237, 0.66);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(200, 169, 106, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle:hover {
  border-color: rgba(200, 169, 106, 0.62);
  background: rgba(200, 169, 106, 0.08);
}

.menu-toggle span,
.mobile-close span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile menu */
body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 5, 0.68);
  backdrop-filter: blur(8px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 430px);
  height: 100%;
  padding: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(200, 169, 106, 0.12), transparent 28%),
    #0d0f0f;
  border-left: 1px solid rgba(200, 169, 106, 0.22);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(200, 169, 106, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.mobile-close span:first-child {
  transform: translateY(0.5px) rotate(45deg);
}

.mobile-close span:last-child {
  transform: translateY(-0.5px) rotate(-45deg);
}

.mobile-nav {
  padding: 24px 0 8px;
}

.mobile-nav > a,
.mobile-nav-trigger {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(247, 244, 237, 0.9);
  font: inherit;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(247, 244, 237, 0.7);
  border-bottom: 1px solid rgba(247, 244, 237, 0.7);
  transform: rotate(45deg);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.mobile-nav-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg);
  border-color: var(--gold-soft);
}

.mobile-subnav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.mobile-nav-group.is-open .mobile-subnav {
  grid-template-rows: 1fr;
}

.mobile-subnav {
  overflow: hidden;
}

.mobile-subnav a {
  display: block;
  padding: 10px 0 10px 18px;
  color: rgba(247, 244, 237, 0.56);
  font-size: 15px;
  line-height: 1.35;
  border-left: 1px solid rgba(200, 169, 106, 0.28);
  transition: color 0.22s ease, transform 0.22s ease;
}

.mobile-subnav a:first-child {
  margin-top: 12px;
}

.mobile-subnav a:last-child {
  margin-bottom: 14px;
}

.mobile-subnav a:hover {
  color: var(--gold-soft);
  transform: translateX(3px);
}

.mobile-contact-btn {
  justify-content: center !important;
  min-height: 52px !important;
  margin-top: 24px;
  border: 1px solid rgba(200, 169, 106, 0.55) !important;
  border-radius: 999px;
  background: var(--gold);
  color: #111 !important;
  font-weight: 700;
}

.mobile-contact-btn:hover {
  background: var(--gold-soft);
}


/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 13, 0.98) 0%, rgba(12, 13, 13, 0.78) 42%, rgba(12, 13, 13, 0.35) 100%),
    radial-gradient(circle at 78% 44%, rgba(200, 169, 106, 0.2), transparent 34%),
    url("images/hero-entry-lifestyle.jpg");
  background-size: cover;
  background-position: center right;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,13,13,0.18), rgba(12,13,13,0.78)),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.hero-inner {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.65vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 36px;
  color: rgba(247, 244, 237, 0.76);
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost.dark {
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 620px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-metrics div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 20px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero real photo card */
.hero-photo-card {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(88%, 440px);
  min-height: 620px;
  border: 1px solid rgba(200, 169, 106, 0.42);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo-card img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.hero-photo-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 13, 0.72);
  color: rgba(247, 244, 237, 0.75);
  font-size: 13px;
  backdrop-filter: blur(16px);
}

/* Sections */
.section {
  padding: 120px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background: var(--bg);
  color: var(--text);
}

.section-soft {
  background: #ebe6dc;
  color: var(--text-dark);
}

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

.section-heading.compact {
  max-width: 700px;
}

.section-heading h2,
.intro-grid h2,
.sticky-copy h2,
.hardware-panel h2,
.brand-grid h2,
.contact-card h2 {
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.section-heading p,
.intro-grid p,
.sticky-copy p,
.hardware-panel p,
.brand-content p,
.contact-card p {
  color: var(--muted-dark);
  font-size: 17px;
}

.section-dark .section-heading p,
.section-dark .brand-content p {
  color: rgba(247, 244, 237, 0.68);
}

/* Intro */
.intro-section {
  padding: 80px 0;
  background: #111312;
  color: var(--text);
  border-block: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: end;
}

.intro-grid h2 {
  max-width: 520px;
  margin-bottom: 0;
}

.intro-grid p:last-child {
  margin-bottom: 0;
  color: rgba(247, 244, 237, 0.66);
  font-size: 19px;
}

/* Product series */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.series-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    var(--card);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  overflow: hidden;
}

.series-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 169, 106, 0.45);
}

.series-card.featured {
  background:
    radial-gradient(circle at 70% 20%, rgba(200, 169, 106, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)),
    var(--card);
}

.series-image {
  height: 168px;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.series-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.series-card:hover .series-image img {
  transform: scale(1.05);
}

.card-number {
  color: rgba(200, 169, 106, 0.9);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.series-card h3 {
  margin: 8px 10px 14px;
  font-size: 22px;
  line-height: 1.18;
}

.series-card p {
  margin-inline: 10px;
  color: rgba(247, 244, 237, 0.66);
}

.text-link {
  width: fit-content;
  margin: auto 10px 8px;
  color: var(--gold-soft);
  font-weight: 700;
}

.text-link::after {
  content: " →";
}

/* Craft */
.split-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 90px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 120px;
}

.craft-photo {
  margin: 34px 0 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd4c4;
  box-shadow: 0 22px 60px rgba(0,0,0,0.1);
}

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

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.feature-item span {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.feature-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

/* Door types */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.type-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.74), rgba(255,255,255,0.28));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.type-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.type-card p {
  color: var(--muted-dark);
}

/* Hardware */
.hardware-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding: 64px;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.28)),
    #ece7dc;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hardware-card {
  padding: 30px;
  border-radius: 24px;
  background: #111312;
  color: var(--text);
}

.hardware-card h3 {
  font-size: 24px;
}

.hardware-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(247, 244, 237, 0.68);
}

/* Brand */
.brand-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cert-list span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
}

/* Contact */
.contact-section {
  padding: 110px 0;
  background:
    linear-gradient(135deg, rgba(12, 13, 13, 0.92), rgba(12, 13, 13, 0.68)),
    radial-gradient(circle at 20% 20%, rgba(200, 169, 106, 0.24), transparent 30%),
    #141412;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.contact-card p {
  max-width: 620px;
  color: rgba(247, 244, 237, 0.7);
}

/* Footer */
.site-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(200, 169, 106, 0.1), transparent 28%),
    #090a0a;
  color: rgba(247, 244, 237, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 80px;
  padding: 76px 0 54px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 24px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.footer-logo-main {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.footer-logo-sub {
  margin-top: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.footer-brand p {
  margin-bottom: 26px;
  color: rgba(247, 244, 237, 0.62);
  font-size: 15px;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-certifications span {
  padding: 8px 10px;
  border: 1px solid rgba(200, 169, 106, 0.24);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 11px;
  color: rgba(247, 244, 237, 0.56);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-col a:hover {
  color: var(--gold-soft);
  transform: translateX(3px);
}

.qr-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.qr-card {
  width: 92px;
}

.qr-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 1px solid rgba(200, 169, 106, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    #111312;
}

.qr-card img[src$="wechat-qr.png"],
.qr-card img[src$="whatsapp-qr.png"] {
  padding: 8px;
}

.qr-card span {
  display: block;
  margin-top: 8px;
  color: rgba(247, 244, 237, 0.5);
  font-size: 12px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 244, 237, 0.45);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(247, 244, 237, 0.5);
  transition: color 0.22s ease;
}

.footer-bottom-links a:hover {
  color: var(--gold-soft);
}


/* =========================
   Subtle Motion System
   Keep it slow, light and premium
========================= */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    clip-path: inset(8% 0 0 0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0 0 0 0);
  }
}

.site-header {
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 13, 13, 0.92);
  border-bottom-color: rgba(200, 169, 106, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.hero .eyebrow,
.hero h1,
.hero .hero-lead,
.hero .hero-actions,
.hero .hero-metrics {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero .eyebrow {
  animation-delay: 0.12s;
}

.hero h1 {
  animation-delay: 0.24s;
}

.hero .hero-lead {
  animation-delay: 0.36s;
}

.hero .hero-actions {
  animation-delay: 0.48s;
}

.hero .hero-metrics {
  animation-delay: 0.62s;
}

.hero-photo-card {
  opacity: 0;
  animation: heroImageReveal 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}

.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.series-card,
.type-card,
.feature-item,
.hardware-card,
.btn,
.text-link {
  will-change: transform;
}

.series-card:hover .text-link,
.type-card:hover h3 {
  transform: translateX(4px);
}

.text-link,
.type-card h3 {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.hero-photo-card img,
.craft-photo img {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.hero-photo-card:hover img,
.craft-photo:hover img {
  transform: scale(1.025);
  filter: saturate(0.98) contrast(1.05);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero .hero-lead,
  .hero .hero-actions,
  .hero .hero-metrics,
  .hero-photo-card,
  .reveal,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}


@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
    font-size: 13px;
  }

  .desktop-nav .nav-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 940px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .footer-brand {
    max-width: 560px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero-inner,
  .intro-grid,
  .split-layout,
  .hardware-panel,
  .brand-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 42px;
  }

  .hero-photo-card {
    justify-self: start;
    width: min(100%, 480px);
    min-height: auto;
  }

  .hero-photo-card img {
    height: 560px;
  }

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hardware-panel,
  .contact-card {
    padding: 42px;
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .footer-main {
    padding: 56px 0 38px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .qr-row {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background-position: center;
  }

  .hero-inner {
    min-height: auto;
    padding: 64px 0 70px;
  }

  h1 {
    font-size: clamp(36px, 11.5vw, 50px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-photo-card {
    width: 100%;
  }

  .hero-photo-card img {
    height: 420px;
  }

  .section {
    padding: 78px 0;
  }

  .intro-section {
    padding: 64px 0;
  }

  .series-grid,
  .type-grid,
  .hardware-grid {
    grid-template-columns: 1fr;
  }

  .series-card {
    min-height: auto;
  }

  .series-image {
    height: 220px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px;
  }

  .hardware-panel,
  .contact-card {
    padding: 30px;
    border-radius: 24px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}


/* =========================
   Inner Page Template System
   Shared styles for all subpages
========================= */

.page-main {
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: end;
  padding: 160px 0 88px;
  overflow: hidden;
  background: #101111;
  color: var(--text);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 13, 0.94), rgba(12, 13, 13, 0.58)),
    var(--page-hero-image, linear-gradient(135deg, #111, #27231b));
  background-size: cover;
  background-position: center;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,13,13,0.15), rgba(12,13,13,0.82)),
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.page-hero-inner {
  position: relative;
  max-width: 820px;
}

.breadcrumb {
  margin-bottom: 26px;
  color: rgba(247, 244, 237, 0.55);
  font-size: 13px;
}

.breadcrumb a {
  color: rgba(247, 244, 237, 0.72);
}

.breadcrumb span {
  margin: 0 9px;
  color: rgba(200, 169, 106, 0.62);
}

.page-hero h1 {
  margin-bottom: 22px;
}

.page-hero p {
  max-width: 690px;
  color: rgba(247, 244, 237, 0.72);
  font-size: 19px;
}

.content-section {
  padding: 104px 0;
}

.content-section.dark {
  background: var(--bg);
  color: var(--text);
}

.content-section.soft {
  background: #ebe6dc;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 76px;
  align-items: start;
}

.content-copy h2,
.template-cta h2 {
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.content-copy p {
  color: var(--muted-dark);
  font-size: 17px;
}

.dark .content-copy p,
.dark .spec-table,
.dark .option-card p,
.dark .gallery-card p {
  color: rgba(247, 244, 237, 0.66);
}

.image-panel {
  overflow: hidden;
  border-radius: 28px;
  background: #ddd4c4;
  box-shadow: 0 24px 70px rgba(0,0,0,0.12);
}

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

.spec-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255,255,255,0.55);
}

.dark .spec-table {
  border-color: var(--line);
  background: rgba(255,255,255,0.045);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-dark);
}

.dark .spec-row {
  border-bottom-color: var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row strong {
  color: var(--text-dark);
}

.dark .spec-row strong {
  color: var(--gold-soft);
}

.spec-row span {
  color: var(--muted-dark);
}

.dark .spec-row span {
  color: rgba(247,244,237,0.65);
}

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

.option-card,
.gallery-card {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255,255,255,0.52);
}

.dark .option-card,
.dark .gallery-card {
  border-color: var(--line);
  background: rgba(255,255,255,0.045);
}

.gallery-card {
  padding: 14px;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #d8cfbf;
}

.gallery-card h3 {
  margin: 18px 10px 8px;
}

.gallery-card p {
  margin: 0 10px 12px;
}

.template-cta {
  padding: 92px 0;
  background:
    linear-gradient(135deg, rgba(12, 13, 13, 0.92), rgba(12, 13, 13, 0.68)),
    radial-gradient(circle at 20% 20%, rgba(200, 169, 106, 0.24), transparent 30%),
    #141412;
  color: var(--text);
}

.template-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,0.055);
}

.template-cta p {
  max-width: 680px;
  color: rgba(247, 244, 237, 0.7);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.product-gallery-main {
  overflow: hidden;
  border-radius: 30px;
  background: #ddd4c4;
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-summary {
  position: sticky;
  top: 120px;
}

.product-summary h1 {
  margin-bottom: 18px;
  color: var(--text-dark);
}

.product-summary p {
  color: var(--muted-dark);
  font-size: 17px;
}

.product-bullets {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.product-bullets li {
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255,255,255,0.56);
}

@media (max-width: 1024px) {
  .content-grid,
  .template-cta-card,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-summary {
    position: static;
  }

  .option-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: auto;
    padding: 112px 0 68px;
  }

  .content-section {
    padding: 76px 0;
  }

  .option-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .template-cta-card {
    padding: 30px;
  }
}


/* =========================
   HD Aluminum Armored Door Page
========================= */

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

.page-hero-actions {
  margin-top: 34px;
}

.feature-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-stat-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(255,255,255,0.28));
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

.feature-stat-card span {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1;
}

.feature-stat-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-stat-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.diagram-grid {
  grid-template-columns: 0.72fr 1.28fr;
}

.technical-diagram {
  background: #e5e1d9;
}

.technical-diagram img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 18px;
  background: #eeeae3;
}

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

.performance-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    #121414;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.performance-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 106, 0.45);
}

.performance-card h3 {
  color: #fff;
  font-size: 22px;
}

.performance-card p {
  margin-bottom: 0;
  color: rgba(247, 244, 237, 0.64);
}

.premium-spec-table .spec-row strong {
  min-width: 180px;
}

@media (max-width: 1024px) {
  .feature-stat-grid,
  .performance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .feature-stat-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .feature-stat-card {
    min-height: auto;
  }

  .technical-diagram img {
    aspect-ratio: 4 / 3;
    padding: 10px;
  }
}


/* Product overview detail images should remain portrait.
   This prevents 1200 x 1600 product detail photos from being forced into the global 4:3 image-panel crop. */
.product-detail-photo {
  max-width: 520px;
  justify-self: end;
}

.product-detail-photo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .product-detail-photo {
    justify-self: start;
    width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .product-detail-photo {
    width: 100%;
    max-width: none;
  }
}

/* Product page technical label refinement */
.feature-stat-card span {
  overflow-wrap: anywhere;
}

@media (min-width: 1025px) {
  .feature-stat-card span {
    font-size: clamp(34px, 3vw, 46px);
  }
}


/* =========================
   Products Landing Page
========================= */
.product-landing-grid { display: grid; gap: 22px; }
.product-series-panel { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 34px; align-items: stretch; padding: 18px; border: 1px solid var(--line-dark); border-radius: 32px; background: rgba(255,255,255,0.58); transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; }
.product-series-panel:hover { transform: translateY(-5px); border-color: rgba(200,169,106,0.42); box-shadow: 0 22px 60px rgba(0,0,0,0.09); }
.product-series-image { overflow: hidden; border-radius: 22px; background: #ddd4c4; }
.product-series-image img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.product-series-panel:hover .product-series-image img { transform: scale(1.035); }
.product-series-content { padding: 18px 18px 18px 0; }
.product-series-content h3 { margin: 8px 0 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.product-series-content p { max-width: 620px; color: var(--muted-dark); }
.product-series-content ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.product-series-content li { padding: 12px 14px; border: 1px solid rgba(0,0,0,0.09); border-radius: 14px; color: var(--muted-dark); background: rgba(255,255,255,0.52); font-size: 14px; }
@media (max-width: 900px) { .product-series-panel { grid-template-columns: 1fr; } .product-series-content { padding: 6px 8px 12px; } .product-series-image img { min-height: 280px; } }
@media (max-width: 620px) { .product-series-content ul { grid-template-columns: 1fr; } }


/* =========================
   Door Type Pages
========================= */

.door-gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.door-gallery-grid .gallery-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.door-gallery-grid .gallery-card {
  background: rgba(255, 255, 255, 0.62);
}

.type-card .text-link {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .door-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   Refined Single Door Page
========================= */

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

.style-direction-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.style-direction-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 106, 0.42);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

.style-direction-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #ddd4c4;
}

.style-direction-card div {
  padding: 24px;
}

.style-direction-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.style-direction-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.featured-door-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.featured-door-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.featured-door-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 106, 0.42);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

.featured-door-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  background: #ddd4c4;
}

.featured-door-card-content {
  padding: 20px;
}

.featured-door-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.featured-door-card p {
  margin-bottom: 12px;
  color: var(--muted-dark);
  font-size: 14px;
}

.featured-door-card span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(200, 169, 106, 0.14);
  color: #6e5532;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .style-direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-door-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .style-direction-grid,
  .featured-door-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Single Door Technical Configuration Update
========================= */

.options-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.option-matrix-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    #121414;
}

.option-matrix-card h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 22px;
}

.option-matrix-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: rgba(247, 244, 237, 0.66);
}

.option-matrix-card li::marker {
  color: var(--gold);
}

@media (max-width: 1180px) {
  .options-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .options-matrix-grid {
    grid-template-columns: 1fr;
  }

  .option-matrix-card {
    min-height: auto;
  }
}


/* =========================
   Simplified Door Type Layout
========================= */

.compact-option-grid {
  grid-template-columns: repeat(4, 1fr);
}

.compact-option-grid .performance-card {
  min-height: 250px;
}

@media (max-width: 1180px) {
  .compact-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .compact-option-grid {
    grid-template-columns: 1fr;
  }

  .compact-option-grid .performance-card {
    min-height: auto;
  }
}


/* =========================
   Unequal Double Door Page
========================= */

.four-card-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1180px) {
  .four-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .four-card-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   Door with Windows Page
========================= */

.configure-step-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.configure-step {
  padding: 22px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.configure-step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.configure-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.configure-step p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 14px;
}

@media (max-width: 1280px) {
  .configure-step-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .configure-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .configure-step-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Door as a View Page
========================= */

.three-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

/* =========================
   Pivot Door Page
========================= */

.pivot-note {
  font-size: 13px;
  color: var(--muted-dark);
}


/* Door Types landing refresh */
.door-types-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.door-types-overview-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255,255,255,0.62);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.door-types-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.08);
}

.door-types-overview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #d9d0c0;
}

.door-types-overview-body {
  padding: 20px 22px 22px;
}

.door-types-overview-body h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.door-types-overview-body p {
  margin-bottom: 14px;
  color: var(--muted-dark);
}

.door-types-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.door-types-summary-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.52);
}

.door-types-summary-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.door-types-summary-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.door-types-mini-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .door-types-overview-grid,
  .door-types-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .door-types-overview-grid,
  .door-types-summary-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   Info Pages
========================= */

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

.info-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.58);
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

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

.info-timeline-item {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.58);
}

.info-timeline-item span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.info-timeline-item h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.info-timeline-item p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.footer-links {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1180px) {
  .info-card-grid,
  .info-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .info-card-grid,
  .info-timeline {
    grid-template-columns: 1fr;
  }
}
