@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f4ee;
  --bg-alt: #efe9dd;
  --ink: #201d18;
  --ink-soft: #6b6459;
  --line: #ddd5c4;
  --accent: #0f539e;
  --accent-soft: #7ba0ca;
  --accent-line: rgba(15, 83, 158, 0.28);
  --accent-line-soft: rgba(15, 83, 158, 0.16);
  --accent-glow: rgba(15, 83, 158, 0.14);
  --cream-card: #fbf9f5;
  --level-accent: #8a5a1e;
  --danger: #b02a2a;
  --danger-rgb: 176, 42, 42;
  --success: #2f7d4f;
  --success-rgb: 47, 125, 79;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1400px;
  --header-h: 88px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@view-transition {
  navigation: auto;
}

@keyframes vt-page-out {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes vt-page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
::view-transition-old(root) {
  animation: 0.22s var(--ease) both vt-page-out;
}
::view-transition-new(root) {
  animation: 0.32s var(--ease) both vt-page-in;
}

#siteHeader {
  view-transition-name: site-header;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes page-leave {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}
html.no-vt body {
  animation: page-enter 0.32s var(--ease) both;
}
html.no-vt.is-leaving body {
  animation: page-leave 0.2s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  html.no-vt body {
    animation: none;
  }
}
main [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
  text-wrap: pretty;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
  font-weight: 500;
}

.ph-image {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 83, 158, 0.14), rgba(32, 29, 24, 0.06)),
    repeating-linear-gradient(45deg, rgba(32, 29, 24, 0.035) 0 2px, transparent 2px 22px);
  border: 1px solid var(--accent-line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
}
.ph-image::after {
  content: attr(data-caption);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.55;
  font-style: italic;
}
.ph-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ph-image.tint-coral {
  background:
    linear-gradient(135deg, rgba(222, 104, 110, 0.4), rgba(32, 29, 24, 0.06)),
    repeating-linear-gradient(45deg, rgba(32, 29, 24, 0.035) 0 2px, transparent 2px 22px);
}
.ph-image.tint-navy {
  background:
    linear-gradient(135deg, rgba(8, 29, 69, 0.55), rgba(32, 29, 24, 0.06)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 22px);
}
.ph-image.tint-sky {
  background:
    linear-gradient(135deg, rgba(149, 203, 214, 0.5), rgba(32, 29, 24, 0.06)),
    repeating-linear-gradient(45deg, rgba(32, 29, 24, 0.035) 0 2px, transparent 2px 22px);
}
.ph-image.tint-gold {
  background:
    linear-gradient(135deg, rgba(232, 183, 7, 0.35), rgba(32, 29, 24, 0.06)),
    repeating-linear-gradient(45deg, rgba(32, 29, 24, 0.035) 0 2px, transparent 2px 22px);
}
.ph-image.tint-teal {
  background:
    linear-gradient(135deg, rgba(43, 148, 137, 0.4), rgba(32, 29, 24, 0.06)),
    repeating-linear-gradient(45deg, rgba(32, 29, 24, 0.035) 0 2px, transparent 2px 22px);
}
.ph-image.tint-wine {
  background:
    linear-gradient(135deg, rgba(87, 13, 44, 0.5), rgba(8, 7, 6, 0.3)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 22px);
}
.ph-image.tint-navy::after,
.ph-image.tint-wine::after {
  color: rgba(247, 244, 238, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.9em;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-outline {
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-text {
  border: none;
  padding: 0.95em 0;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.btn-text:hover {
  color: var(--accent);
}
.btn-accent {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px -4px rgba(15, 83, 158, 0.5);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}
.btn-accent:hover {
  background: #0d4483;
  color: #fff;
  box-shadow: 0 10px 24px -4px rgba(15, 83, 158, 0.6);
  transform: translateY(-2px);
}
.btn-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: btn-accent-shine 5s ease-in-out infinite;
}
@keyframes btn-accent-shine {
  0% {
    left: -75%;
  }
  30% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-accent::before {
    animation: none;
  }
}

.marquee-top {
  background: #f4c430;
  color: #0a3a72;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  padding: 0.6em 0;
}
.marquee-track {
  display: inline-flex;
  animation: scroll-left var(--marquee-duration, 28s) linear infinite;
}
.marquee-half {
  display: inline-flex;
  flex-shrink: 0;
}
.marquee-set {
  display: inline-flex;
  flex-shrink: 0;
  gap: 1.4em;
  padding-right: 1.4em;
}
.marquee-track span {
  flex-shrink: 0;
}
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.9), rgba(244, 240, 232, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(32, 29, 24, 0.05);
}
.header-inner {
  width: 100%;
  height: var(--header-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.logo-img {
  height: 42px;
  width: auto;
  align-self: flex-start;
}
.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5em;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.main-nav a,
.nav-dropdown-trigger {
  position: relative;
  padding: 4px 0;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
}
.main-nav a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s ease;
}
.main-nav a:hover::after,
.nav-dropdown-trigger:hover::after {
  right: 0;
}
.main-nav a.active,
.nav-dropdown-trigger.active {
  color: var(--accent);
}
.main-nav a.active::after,
.nav-dropdown-trigger.active::after {
  right: 0;
}

.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -1.2em;
  min-width: 210px;
  background: var(--cream-card);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(15, 83, 158, 0.08),
    0 24px 48px rgba(32, 29, 24, 0.16);
  padding: 0.6em;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 200;
  text-transform: none;
  letter-spacing: 0.02em;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  padding: 0.6em 0.9em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-dropdown a::after {
  display: none;
}
.nav-dropdown a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4em;
}
.header-phone {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.header-actions .btn {
  padding: 0.7em 1.5em;
}

.header-cta-wrap {
  position: relative;
}
.header-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  background: var(--cream-card);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(15, 83, 158, 0.08),
    0 24px 48px rgba(32, 29, 24, 0.16);
  padding: 1.6em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 200;
}
.header-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: var(--cream-card);
  border-left: 1px solid rgba(15, 83, 158, 0.3);
  border-top: 1px solid rgba(15, 83, 158, 0.3);
  transform: rotate(45deg);
}
.header-popover h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2em;
}
.header-popover > p {
  font-size: 0.84rem;
  margin-bottom: 1.2em;
}
.popover-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.popover-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.popover-form label span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.popover-form input {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.75em 0.85em;
  border: 1px solid rgba(15, 83, 158, 0.25);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.popover-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 83, 158, 0.12);
}
.popover-form .btn {
  width: 100%;
  justify-content: center;
  border: none;
  margin-top: 0.2em;
  white-space: normal;
  text-align: center;
}
.popover-full-link {
  display: block;
  text-align: center;
  margin-top: 1.2em;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.popover-full-link:hover {
  color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  height: 1px;
  background: var(--ink);
  width: 100%;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  padding: 2em 32px 3em;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.28s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.nav-open {
  overflow: hidden;
}
.mobile-nav a {
  padding: 1em 0;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a.active {
  color: var(--accent);
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9vh 32px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.4em;
}

.section-divider {
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.section-divider span {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin: 0 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  letter-spacing: -0.005em;
}

.back-link {
  display: inline-block;
  margin-bottom: 2em;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.back-link:hover {
  color: var(--accent);
}
.page-intro h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 0.4em;
}
.page-intro-tight {
  padding-top: 4vh;
  padding-bottom: 1vh;
}

.intro-download {
  display: inline-flex;
  margin-top: 1.4em;
}

.page-intro-tight-head.section-head {
  max-width: 760px;
}
.page-intro-tight-head .eyebrow {
  margin-bottom: 0.5em;
}
.page-intro-tight-head h1 {
  margin-bottom: 0.3em;
}

.section-lede {
  font-size: 1.02rem;
}

.colors-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3em;
  align-items: start;
}
.colors-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.color-tab {
  text-align: left;
  padding: 0.9em 0 0.9em 1.2em;
  border: none;
  border-left: 2px solid var(--line);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.color-tab:hover {
  color: var(--ink);
  border-left-color: var(--accent-soft);
}
.color-tab.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.7em 0.6em;
}
.color-chip {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.color-chip.hide {
  display: none;
}
.color-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-line-soft);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.color-chip:hover .color-swatch {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px var(--accent-glow);
}

.color-grid.curled {
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 1.1em 1em;
}
.color-grid.curled .color-swatch {
  position: relative;
  aspect-ratio: 3 / 2;
}
.color-grid.curled .color-swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 65%,
    rgba(0, 0, 0, 0.18) 100%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.color-grid.curled .color-chip.has-photo .color-swatch::before,
.color-grid.curled .color-chip.has-photo .color-swatch::after {
  content: none;
}
.color-grid.curled .color-swatch::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 60%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(205, 205, 205, 0.6));
  clip-path: polygon(100% 0%, 100% 100%, 25% 100%);
  filter: drop-shadow(-3px -2px 4px rgba(0, 0, 0, 0.22));
  border-bottom-right-radius: var(--radius-sm);
  pointer-events: none;
}
.color-code {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.stats {
  background: var(--ink);
  color: var(--bg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto 5vh;
  border-radius: var(--radius);
}
.stat {
  padding: 3.6em 1.5em;
  text-align: center;
  border-left: 1px solid rgba(247, 244, 238, 0.14);
}
.stat:first-child {
  border-left: none;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 0.25em;
}
.stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.65);
}

.stats-glow {
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(45deg, rgba(247, 244, 238, 0.025) 0 2px, transparent 2px 22px),
    radial-gradient(ellipse at 50% -10%, rgba(15, 83, 158, 0.35), transparent 60%);
}
.stats-glow .stat {
  position: relative;
  transition:
    transform 0.5s var(--ease),
    background 0.5s var(--ease);
}
.stats-glow .stat:hover {
  transform: translateY(-4px);
  background: rgba(247, 244, 238, 0.03);
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  margin: 0 auto 1em;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--accent), #083a70);
  box-shadow: 0 8px 20px rgba(15, 83, 158, 0.45);
  color: #fff;
}
.stat-icon svg {
  width: 1.15em;
  height: 1.15em;
}
.stats-glow .stat-num {
  position: relative;
  margin-bottom: 0.55em;
}
.stats-glow .stat-num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.35em;
  translate: -50% 0;
  width: 2.2em;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px 1px var(--accent-glow);
}

.cta-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9vh 32px 11vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5em;
}
main#top .cta-section {
  padding-top: 5vh;
  padding-bottom: 8vh;
}
.cta-compact {
  padding-top: 5vh;
  padding-bottom: 6vh;
}
.cta-content h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.2em;
  padding: 0.55em 1.1em 0.55em 0.9em;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cta-badge-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  animation: cta-pulse 1.8s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.8);
  }
}
.contact-details {
  margin-top: 2.2em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9em;
}
.contact-row-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--accent), #083a70);
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 83, 158, 0.32);
}
.contact-row-icon svg {
  width: 15px;
  height: 15px;
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3em;
}
.contact-details a,
.contact-details span:not(.contact-label) {
  font-size: 1.05rem;
}
.contact-details a:hover {
  color: var(--accent);
}

.section-head-tight {
  margin-bottom: 1.6em;
}

.contact-form {
  position: relative;
  z-index: 0;
  background: linear-gradient(160deg, var(--cream-card), var(--bg-alt));
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px var(--accent-glow),
    0 24px 48px rgba(32, 29, 24, 0.07),
    0 2px 8px rgba(32, 29, 24, 0.04);
  padding: 2.4em;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.contact-form::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.contact-form label span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8em 0.9em;
  border: 1px solid var(--accent-line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.4em;
  border: none;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.form-note {
  font-size: 0.82rem;
  color: var(--accent);
  min-height: 1.2em;
  margin: 0;
}

.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 9, 7, 0.72), rgba(8, 7, 6, 0.9)),
    url("../images/footer-machine.webp") center 45% / cover no-repeat;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
}

.footer-ruler {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-soft),
    var(--accent),
    var(--accent-soft),
    transparent
  );
  position: relative;
  z-index: 1;
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5em 32px 3em;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2em;
}
.footer-brand .logo-img {
  height: 52px;
  background: var(--bg);
  padding: 0.5em 0.9em;
  border-radius: var(--radius-sm);
}
.footer-brand p {
  margin-top: 0.8em;
  max-width: 280px;
  font-size: 0.9rem;
  color: rgba(247, 244, 238, 0.75);
}
.footer-col-title {
  position: relative;
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.3em;
  padding-bottom: 0.7em;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-soft);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.85);
}
.footer-nav a:hover {
  color: var(--accent-soft);
}
.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  margin-top: 1.8em;
  padding-top: 1.6em;
  border-top: 1px solid rgba(247, 244, 238, 0.14);
}
.footer-contact-address {
  margin-top: 0.3em;
}
.footer-contact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.45);
  margin-bottom: 0.5em;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-size: 0.86rem;
  color: rgba(247, 244, 238, 0.85);
  transition: color 0.2s ease;
}
.footer-contact-row:hover {
  color: var(--accent-soft);
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 83, 158, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
}
.footer-contact-icon svg {
  width: 14px;
  height: 14px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 0.8em;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--bg);
  background: rgba(247, 244, 238, 0.08);
  border: 1px solid rgba(247, 244, 238, 0.22);
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.social-icon svg {
  width: 17px;
  height: 17px;
}
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.6em 32px 2.4em;
  border-top: 1px solid rgba(247, 244, 238, 0.14);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.6);
  letter-spacing: 0.03em;
}
.footer-bottom a:hover {
  color: rgba(247, 244, 238, 0.9);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s,
    background 0.25s ease;
  z-index: 150;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .main-nav,
  .header-phone {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-actions {
    gap: 0.7em;
  }
  .header-actions .btn {
    padding: 0.7em 1em;
  }
}

@media (max-width: 980px) {
  .cta-section {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .colors-layout {
    grid-template-columns: 1fr;
    gap: 1.6em;
  }
  .colors-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6em;
  }
  .color-tab {
    border-left: none;
    border-bottom: 2px solid var(--line);
    padding: 0.5em 0.2em;
  }
  .color-tab.active {
    border-bottom-color: var(--accent);
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 72px;
  }
  .header-inner {
    padding: 0 20px;
  }
  .mobile-nav {
    padding: 1em 20px 1.6em;
  }
  .logo-sub {
    display: none;
  }
  .header-cta-wrap,
  .header-calc-cta {
    display: none;
  }
  .section {
    padding: 7vh 20px;
  }
  .color-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-section {
    padding: 7vh 20px 8vh;
  }
  .footer-top {
    grid-template-columns: 1fr;
    padding: 3.5em 20px 2em;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5em;
    padding: 1.2em 20px 2em;
  }
  .intro-download {
    white-space: normal;
    text-align: center;
  }
  .contact-form .cf-turnstile {
    margin-left: -2.4em;
    margin-right: -2.4em;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-left: none;
    border-top: 1px solid rgba(247, 244, 238, 0.14);
    padding: 2em 1.5em;
  }
  .stat:first-child {
    border-top: none;
  }
  .color-grid {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }
  .header-inner {
    gap: 12px;
  }
}
