:root {
  --bg: #f6f4ef;
  --bg-2: #efede7;
  --paper: #ffffff;
  --paper-soft: #fbfaf7;
  --ink: #151c24;
  --ink-2: #27323b;
  --muted: #66717c;
  --muted-2: #84909b;
  --line: #d9dde2;
  --line-2: #c8ced6;
  --blue: #165ea8;
  --blue-dark: #104a84;
  --gold: #b59256;
  --success: #167c49;
  --danger: #c23a3a;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 14px 32px rgba(17, 24, 33, .06);
  --shadow-card: 0 28px 70px rgba(17, 24, 33, .1);
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  color: var(--ink);
  background: linear-gradient(180deg, #faf9f5 0%, #f6f4ef 36%, #f1eee8 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(21, 28, 36, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 28, 36, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,.25));
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(22, 94, 168, .14); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section-pad { padding: 100px 0; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1200;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(246, 244, 239, .92);
  border-bottom-color: rgba(217, 221, 226, .9);
  box-shadow: 0 10px 26px rgba(17, 24, 33, .05);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 166px; height: auto; }
.brand span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
  color: var(--ink-2);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 760;
}
.main-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover { color: var(--blue); background: rgba(22, 94, 168, .08); }
.main-nav .nav-cta {
  margin-left: 6px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 33, .12);
}
.main-nav .nav-cta:hover { color: #fff; background: #0f1319; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(181, 146, 86, .15);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.06; letter-spacing: -.04em; }
h1 { margin: 18px 0 20px; font-size: clamp(3.2rem, 6.2vw, 5.6rem); max-width: 780px; }
h2 { margin: 14px 0 18px; font-size: clamp(2.25rem, 4.3vw, 4rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -.025em; }
p { color: var(--muted); }
.lead { max-width: 760px; font-size: clamp(1.06rem, 1.55vw, 1.25rem); color: #55606b; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s ease;
}
.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 16px 34px rgba(22, 94, 168, .22); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
  background: rgba(255,255,255,.84);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: 0 10px 24px rgba(17, 24, 33, .06);
}

.hero { padding-top: 72px; min-height: calc(100vh - 82px); display: flex; align-items: center; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, .8fr);
  align-items: center;
  gap: 56px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-facts article {
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
}
.hero-facts article::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--blue);
}
.hero-facts strong { display: block; font-size: .98rem; margin-bottom: 5px; }
.hero-facts span { color: var(--muted); font-size: .92rem; }
.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-gallery-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, .72fr);
  grid-template-rows: minmax(190px, 1fr) minmax(190px, 1fr);
  gap: 14px;
  align-items: stretch;
}
.hero-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217,221,226,.95);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.hero-photo:hover img { transform: scale(1.035); }
.hero-photo-main {
  grid-row: 1 / 3;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.hero-photo-side,
.hero-photo-detail {
  border-radius: 22px;
}
.hero-photo-main::after,
.hero-photo-side::after,
.hero-photo-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.02));
}

.card-kicker {
  display: inline-flex;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}

.proof-strip { padding-bottom: 18px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.proof-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--paper-soft);
  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 760;
  text-align: center;
}

.section-intro {
  margin-bottom: 34px;
}
.split-intro {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, .66fr);
  gap: 44px;
  align-items: end;
}
.split-intro p { margin: 0 0 4px; font-size: 1.03rem; color: #5f6973; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.showcase-card, .system-card, .quote-side-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.showcase-card:hover, .system-card:hover, .quote-side-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(17, 24, 33, .09); }
.showcase-card.large { grid-column: span 6; }
.showcase-card { grid-column: span 3; }
.showcase-card img, .system-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px; }
.card-body p { margin-bottom: 0; }
.card-body ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.card-body ul li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}
.card-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.planning-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, .72fr);
  gap: 42px;
  align-items: start;
}
.planning-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.planning-points article {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.planning-points strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.planning-points p { margin-bottom: 0; font-size: .95rem; }
.planning-panel {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-card);
}
.panel-title {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.panel-table {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.panel-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255,255,255,.74);
  border-bottom: 1px solid var(--line);
}
.panel-table div:last-child { border-bottom: 0; }
.panel-table strong { color: var(--ink); }
.panel-table span { color: var(--muted); }
.panel-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 800;
}

.production-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, .8fr);
  gap: 42px;
  align-items: center;
}
.production-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.production-media img { width: 100%; height: 100%; object-fit: cover; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.trust-grid article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.trust-grid strong { display: block; margin-bottom: 4px; }
.trust-grid span { color: var(--muted); }

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, .92fr);
  gap: 34px;
  align-items: start;
}
.quote-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.quote-points span {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 760;
}
.quote-side-card {
  margin-top: 26px;
}
.quote-side-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.quote-side-card div { padding: 18px 20px 20px; }
.quote-side-card strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.quote-side-card p { margin-bottom: 0; }

.quote-form {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row.two { grid-template-columns: repeat(2, 1fr); }
.quote-form label { display: block; }
.quote-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-weight: 760;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(22, 94, 168, .65);
  box-shadow: 0 0 0 4px rgba(22, 94, 168, .08);
}
.field-note {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: .84rem;
}
.dimensions-block {
  margin: 8px 0 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f3ed 100%);
}
.dimensions-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.dimensions-head strong { font-size: 1rem; color: var(--ink); }
.dimensions-head span { color: var(--muted); font-size: .93rem; }
.consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-top: 4px;
  align-items: start;
}
.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}
.consent span { margin-bottom: 0 !important; font-weight: 500 !important; color: var(--muted) !important; }
.form-submit { margin-top: 18px; width: 100%; }
.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 700;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.has-error > span { color: var(--danger) !important; }
.has-error input,
.has-error select,
.has-error textarea { border-color: rgba(194, 58, 58, .65) !important; box-shadow: 0 0 0 4px rgba(194, 58, 58, .08) !important; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(217,221,226,.9);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .6fr));
  gap: 26px;
  align-items: start;
}
.footer-logo { width: 152px; margin-bottom: 14px; }
.site-footer p { margin-bottom: 0; }
.site-footer strong { display: block; margin-bottom: 10px; }
.site-footer a, .site-footer span { display: block; margin-top: 8px; color: var(--muted); }
.site-footer a:hover { color: var(--blue); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .14s; }
.delay-3 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-photo, .hero-photo img, .showcase-card, .system-card, .quote-side-card, .btn { transition: none !important; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .planning-grid,
  .production-grid,
  .quote-grid,
  .split-intro { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-card.large { grid-column: span 12; }
  .showcase-card { grid-column: span 6; }
}

@media (max-width: 920px) {
  .section-pad { padding: 84px 0; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
  .hero-facts,
  .proof-grid,
  .planning-points,
  .footer-grid { grid-template-columns: 1fr; }
  .proof-grid { gap: 10px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .form-row.two,
  .systems-grid,
  .showcase-card,
  .showcase-card.large { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card, .showcase-card.large { grid-column: auto; }
  .panel-table div { grid-template-columns: 1fr; }
}

@media (max-width: 678px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 66px 0; }
  .nav-wrap { min-height: 70px; gap: 12px; }
  .brand img { width: 142px; }
  .brand span { display: none; }
  .hero { padding-top: 38px; }
  .hero-grid { gap: 30px; }
  h1 {
    font-size: clamp(2.45rem, 13.4vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    margin-bottom: 16px;
  }
  h2 {
    font-size: clamp(2rem, 9.4vw, 2.9rem);
    line-height: 1.08;
  }
  h3 { font-size: 1.18rem; }
  .lead { font-size: 1rem; }
  .hero-gallery-frame {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .hero-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }
  .hero-photo-side,
  .hero-photo-detail {
    aspect-ratio: 1.15 / 1;
    border-radius: 16px;
  }
  .hero-facts { gap: 10px; }
  .hero-facts article { padding: 15px 14px; }
  .proof-grid span {
    justify-content: flex-start;
    min-height: 48px;
    font-size: .86rem;
  }
  .split-intro { gap: 18px; }
  .section-intro { margin-bottom: 26px; }
  .card-body { padding: 17px; }
  .showcase-card img,
  .system-card img,
  .quote-side-card img { aspect-ratio: 4 / 3; }
  .planning-points { gap: 12px; }
  .planning-panel,
  .quote-form { padding: 18px; border-radius: 20px; }
  .dimensions-block { padding: 14px; }
  .form-row { gap: 12px; margin-bottom: 12px; }
  .footer-logo { width: 174px; }
  .footer-grid { gap: 20px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { width: 128px; }
  h1 { font-size: clamp(2.25rem, 13vw, 3rem); }
  .btn { min-height: 50px; padding: 0 18px; }
  .quote-form input,
  .quote-form select,
  .quote-form textarea { padding: 13px 13px; }
}
