:root {
  --ink: #101722;
  --paper: #f4f1e9;
  --cream: #ebe6dc;
  --white: #ffffff;
  --line: #d6d0c5;
  --navy: #163e68;
  --navy-deep: #0d2741;
  --gold: #a88955;
  --slate: #5f6875;
  --light-slate: #cbd5e1;
  --container: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 4rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(214, 208, 197, 0.85);
  background: rgba(244, 241, 233, 0.95);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-link {
  gap: 0.9rem;
  flex-shrink: 0;
  align-self: center;
}

.brand-logo-frame {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #050505;
}

.brand-logo-image {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  transform: translateX(3px);
}

.footer-logo-frame,
.footer-logo-image {
  width: 72px;
  height: 72px;
}

.footer-logo-image {
  transform: translateX(5px);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 0.8rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 0.1rem;
  color: #64707e;
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.desktop-nav a {
  color: #374151;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--navy);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0.85rem 1.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.header-cta,
.button-dark {
  background: var(--ink);
  color: var(--white);
}

.header-cta:hover,
.button-dark:hover {
  background: var(--navy);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.arrow-link span {
  display: inline-block;
  margin-left: 0.65rem;
  transition: transform 180ms ease;
}

.arrow-link:hover span {
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span {
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  z-index: 99;
  top: 100%;
  right: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  padding: 2.5rem max(1rem, calc((100% - var(--container)) / 2));
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu > a:not(.mobile-menu-cta) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-menu small {
  color: #94a3b8;
  font-size: 0.65rem;
}

.mobile-menu-cta {
  width: 100%;
  margin-top: 2rem;
}

.hero {
  min-height: calc(100vh - 76px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 76px);
  align-items: center;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 4rem;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.eyebrow-line::before {
  width: 40px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2,
.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 6.2vw, 6.6rem);
}

.hero-intro {
  max-width: 610px;
  margin: 2rem 0 0;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero-points {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border-block: 1px solid var(--line);
  padding-block: 1.25rem;
}

.hero-points div {
  border-right: 1px solid var(--line);
  padding-inline: 1rem;
}

.hero-points div:first-child {
  padding-left: 0;
}

.hero-points div:last-child {
  border-right: 0;
}

.hero-points small {
  display: block;
  color: var(--gold);
  font-weight: 700;
}

.hero-points span {
  display: block;
  margin-top: 0.25rem;
  color: #53606d;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  background: var(--ink);
}

.hero-visual > img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
  content: "";
}

.hero-image-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: clamp(8.25rem, 14vw, 10.5rem);
  left: 0;
  padding: 2.3rem;
  color: var(--white);
}

.hero-image-copy p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-image-copy strong {
  display: block;
  max-width: 480px;
  margin-top: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
}

.hero-note {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 2rem;
  width: min(360px, calc(100% - 4rem));
  min-width: 0;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 20, 34, 0.18);
  padding: 1.35rem 1.5rem;
}

.hero-note small,
.hero-note strong {
  display: block;
}

.hero-note small {
  color: #727986;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-note strong {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.section {
  padding-block: 7rem;
}

.section-white {
  background: var(--white);
}

.section-heading {
  max-width: 800px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.7rem, 5vw, 3.8rem);
}

.section-heading > p:last-child {
  max-width: 700px;
  margin: 1.5rem 0 0;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage {
  min-height: 285px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.advantage:hover {
  background: var(--paper);
}

.line-icon {
  display: block;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  transition: transform 200ms ease;
}

.advantage:hover .line-icon {
  transform: translateY(-4px);
}

.advantage h3 {
  margin: 4.3rem 0 0;
  font-size: 1.05rem;
}

.advantage p {
  margin: 0.75rem 0 0;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.7;
}

.mockups-section {
  overflow: hidden;
  background: #e9e4da;
}

.mockups-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
}

.mockups-count {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.mockups-count strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.mockups-count span {
  max-width: 100px;
  color: var(--slate);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.mockup-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3.5rem;
  border-top: 1px solid #c9c2b5;
  border-left: 1px solid #c9c2b5;
}

.mockup-tab {
  position: relative;
  display: flex;
  min-height: 130px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  border: 0;
  border-right: 1px solid #c9c2b5;
  border-bottom: 1px solid #c9c2b5;
  background: transparent;
  padding: 1.25rem;
  color: var(--ink);
  text-align: left;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.mockup-tab::after {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: width 220ms ease;
}

.mockup-tab:hover,
.mockup-tab.active {
  background: var(--ink);
  color: var(--white);
}

.mockup-tab.active::after {
  width: 28px;
}

.mockup-tab small {
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
}

.mockup-tab span {
  font-size: 0.94rem;
  font-weight: 800;
}

.mockup-tab em {
  margin-top: 0.15rem;
  color: #737b85;
  font-size: 0.68rem;
  font-style: normal;
}

.mockup-tab.active em,
.mockup-tab:hover em {
  color: #b7c0cb;
}

.mockup-workspace {
  margin-top: 1.5rem;
  border: 1px solid #c9c2b5;
  background: #d8d2c8;
  box-shadow: 0 28px 80px rgba(16, 23, 34, 0.14);
}

.mockup-toolbar {
  display: grid;
  height: 58px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  border-bottom: 1px solid #c9c2b5;
  background: #f6f3ec;
  padding-inline: 1.2rem;
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid #8d9299;
  border-radius: 50%;
}

.browser-dots span:first-child {
  border-color: #a88955;
  background: #a88955;
}

.mockup-address {
  width: min(100%, 470px);
  margin-inline: auto;
  border: 1px solid #d1cbc0;
  background: var(--white);
  padding: 0.5rem 0.8rem;
  color: #7a818a;
  font-size: 0.65rem;
  text-align: center;
}

.mockup-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.preview-switcher,
.device-switcher {
  display: flex;
  border: 1px solid #c9c2b5;
}

.preview-button,
.device-button {
  border: 0;
  background: transparent;
  padding: 0.5rem 0.7rem;
  color: #69727c;
  font-size: 0.64rem;
  font-weight: 800;
}

.preview-button + .preview-button,
.device-button + .device-button {
  border-left: 1px solid #c9c2b5;
}

.preview-button.active,
.device-button.active {
  background: var(--navy);
  color: var(--white);
}

.mockup-stage {
  display: flex;
  min-height: 680px;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  transition: background 220ms ease;
}

.mockup-screen {
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(16, 23, 34, 0.2);
  transition:
    width 280ms cubic-bezier(0.22, 1, 0.36, 1),
    height 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mockup-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.mockup-stage.mobile {
  align-items: center;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%) 0 0 / 20px 20px,
    linear-gradient(-45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%) 0 0 / 20px 20px,
    #cbc4b8;
}

.mockup-stage.mobile .mockup-screen {
  width: 390px;
  max-width: 100%;
  height: 760px;
  border: 10px solid var(--ink);
  box-shadow: 0 24px 65px rgba(16, 23, 34, 0.3);
}

.mockup-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  margin-top: 2rem;
}

.mockup-meta h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.mockup-meta > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0.8rem 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.7;
}

.mockup-meta-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 1.2rem;
}

.mockup-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.mockup-tags span {
  border: 1px solid #c9c2b5;
  padding: 0.35rem 0.55rem;
  color: #69727c;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-session-note {
  display: flex;
  max-width: 440px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.48);
  padding: 0.8rem 0.9rem;
}

.demo-session-note div {
  display: grid;
  gap: 0.2rem;
}

.demo-session-note strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.demo-session-note span {
  color: var(--slate);
  font-size: 0.65rem;
  line-height: 1.45;
}

.demo-session-note button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 0.2rem 0;
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 800;
}

.pricing-section {
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 2rem;
}

.pricing-card.featured {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(16, 23, 34, 0.1);
  color: var(--white);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  padding: 0.55rem 0.9rem;
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-card .eyebrow {
  margin-bottom: 1.7rem;
}

.featured .eyebrow {
  color: #bfdbfe;
}

.price-block {
  border-bottom: 1px solid rgba(100, 116, 139, 0.25);
  padding-bottom: 1.7rem;
}

.price-block strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.price-block small {
  display: block;
  margin-top: 0.35rem;
  color: #707986;
  line-height: 1.6;
}

.featured .price-block small {
  color: #cbd5e1;
}

.pricing-description {
  min-height: 70px;
  margin: 1.5rem 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.7;
}

.featured .pricing-description {
  color: #d1d8e0;
}

.pricing-features {
  flex: 1;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  margin-top: 0.7rem;
  padding-left: 1.55rem;
  color: #3f4955;
  font-size: 0.84rem;
  line-height: 1.5;
}

.pricing-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--navy);
  content: "✓";
  font-weight: 800;
}

.featured .pricing-features li {
  color: #e2e8f0;
}

.featured .pricing-features li::before {
  color: #bfdbfe;
}

.pricing-card .button {
  width: 100%;
  margin-top: 2rem;
}

.featured .button {
  background: var(--white);
  color: var(--ink);
}

.featured .button:hover {
  background: var(--paper);
}

.conditions-note {
  margin: 2rem 0 0;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1rem;
  color: var(--slate);
  font-size: 0.84rem;
  line-height: 1.7;
  text-align: center;
}

.custom-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-top: 1.25rem;
  border: 1px solid var(--navy);
  background: var(--white);
  padding: 2rem;
}

.custom-offer h3 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.custom-offer p:last-child {
  max-width: 720px;
  margin: 0.7rem 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.7;
}

.custom-offer .button {
  min-width: 220px;
}

.configurator-section {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white);
}

.section-heading-light .eyebrow {
  color: #bfdbfe;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light > p:last-child {
  color: #cbd5e1;
}

.configurator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 2rem;
  margin-top: 3.5rem;
}

.configurator-choices {
  min-width: 0;
}

.config-group {
  margin: 0 0 2.8rem;
  border: 0;
  padding: 0;
}

.config-group legend {
  width: 100%;
  margin-bottom: 1.25rem;
  color: #bfdbfe;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.plan-choice {
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
  color: var(--white);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.plan-choice:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.plan-choice.selected {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.choice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.choice-indicator {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.selected .choice-indicator {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.choice-price {
  display: block;
  margin-top: 2rem;
  color: inherit;
  font-size: 1.5rem;
  font-weight: 800;
}

.choice-subprice {
  display: block;
  margin-top: 0.15rem;
  color: #9ba7b5;
  font-size: 0.68rem;
}

.selected .choice-subprice {
  color: #64748b;
}

.custom-plan-choice {
  border-style: dashed;
}

.custom-plan-choice:not(.selected) {
  background: rgba(191, 219, 254, 0.08);
}

.custom-base-note {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  border-left: 2px solid #bfdbfe;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.1rem;
}

.custom-base-note strong {
  font-size: 0.82rem;
}

.custom-base-note span {
  color: #b8c3cf;
  font-size: 0.75rem;
  line-height: 1.6;
}

.module-choices {
  max-height: 720px;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-color: #bfdbfe rgba(255, 255, 255, 0.08);
}

.module-choice {
  min-height: 132px;
}

.option-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.option-choice {
  display: flex;
  min-width: 0;
  cursor: pointer;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  padding: 1.25rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.option-choice:hover,
.option-choice.selected {
  border-color: #bfdbfe;
}

.option-choice.selected {
  background: rgba(255, 255, 255, 0.1);
}

.option-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.option-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--navy-deep);
  font-size: 0.7rem;
}

.option-choice.selected .option-check {
  border-color: #bfdbfe;
  background: #bfdbfe;
}

.option-copy {
  min-width: 0;
}

.option-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.option-title strong {
  font-size: 0.84rem;
}

.option-title small {
  color: #bfdbfe;
  font-size: 0.67rem;
  font-weight: 800;
}

.option-copy > small {
  display: block;
  margin-top: 0.5rem;
  color: #aeb8c5;
  font-size: 0.78rem;
  line-height: 1.7;
}

.estimate-card {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 20, 34, 0.18);
  padding: 1.7rem;
  color: var(--ink);
}

.estimate-card h3 {
  margin: 0.6rem 0 0;
  font-size: 1.25rem;
}

.estimate-lines {
  margin: 1.5rem 0 0;
  border-block: 1px solid var(--line);
  padding-block: 1.2rem;
}

.estimate-lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
}

.estimate-lines div:first-child {
  margin-top: 0;
}

.estimate-lines dt {
  color: var(--slate);
  font-size: 0.82rem;
}

.estimate-lines dd {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
}

.estimate-total {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.3rem 1rem;
  padding-block: 1.4rem;
}

.estimate-total span {
  color: var(--slate);
  font-size: 0.82rem;
}

.estimate-total strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.estimate-total small {
  grid-column: 1 / -1;
  color: #7c8590;
  font-size: 0.62rem;
  text-align: right;
}

.quote-notice {
  margin: 0 0 1.2rem;
  border-left: 2px solid var(--gold);
  padding-left: 0.8rem;
  color: var(--slate);
  font-size: 0.72rem;
  line-height: 1.6;
}

.estimate-card .button {
  width: 100%;
}

.estimate-disclaimer {
  display: block;
  margin-top: 0.9rem;
  color: #7c8590;
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-image {
  min-height: 600px;
  background: var(--ink);
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about-copy > p:not(.eyebrow) {
  margin: 1.1rem 0 0;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-copy h2 + p {
  margin-top: 1.8rem;
}

.text-link {
  display: inline-flex;
  margin-top: 2rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 5rem;
}

.contact-copy > p:not(.eyebrow) {
  margin: 1.5rem 0 0;
  color: var(--slate);
  line-height: 1.8;
}

.direct-contact {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.direct-contact small,
.direct-contact a {
  display: block;
}

.direct-contact small {
  color: #7b8490;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.direct-contact a:first-of-type {
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.direct-contact a:last-child {
  margin-top: 0.15rem;
  color: var(--slate);
  font-size: 0.85rem;
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 23, 34, 0.08);
  padding: 2.2rem;
}

.composition-banner {
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--navy);
  background: var(--paper);
  padding: 0.85rem 1rem;
  color: #4b5563;
  font-size: 0.82rem;
}

.composition-banner strong {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-grid label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffdf8;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.form-grid textarea {
  min-height: 170px;
  resize: vertical;
}

.captcha-field {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem;
}

.captcha-question {
  display: block;
  margin-top: 0.5rem;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 600;
}

.captcha-field input[type="text"] {
  max-width: 220px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 62, 104, 0.1);
  outline: 0;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-footer p {
  max-width: 430px;
  margin: 0;
  color: #7c8590;
  font-size: 0.68rem;
  line-height: 1.7;
}

.form-feedback {
  margin: 1.3rem 0 0;
  border: 1px solid;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
}

.form-feedback.success {
  border-color: #a7d8bd;
  background: #ecfdf3;
  color: #17623c;
}

.form-feedback.error {
  border-color: #f1b5b5;
  background: #fff1f1;
  color: #8f2525;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 4rem;
  padding-block: 4rem;
}

.brand-light {
  color: var(--white);
}

.brand-mark-light {
  background: var(--white);
  color: var(--ink);
}

.footer-grid > div:first-child > p {
  max-width: 420px;
  margin: 1.5rem 0 0;
  color: #9da7b4;
  font-size: 0.82rem;
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 1.2rem;
  color: #7c8795;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin-top: 0.7rem;
  color: #c6cdd6;
  font-size: 0.82rem;
}

.footer-grid a:hover {
  color: var(--white);
}

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

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  color: #737e8b;
  font-size: 0.65rem;
}

.legal-hero {
  background: var(--navy-deep);
  padding-block: 5rem;
  color: var(--white);
}

.legal-hero .eyebrow {
  color: #bfdbfe;
}

.legal-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5rem);
}

.legal-hero > .container > p:last-child {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.legal-main {
  padding-block: 4rem;
}

.legal-card {
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 23, 34, 0.08);
  padding: 2.5rem;
}

.legal-card section + section {
  margin-top: 2.5rem;
}

.legal-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.legal-card p {
  margin: 0.8rem 0 0;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.9;
}

.legal-back {
  display: block;
  width: fit-content;
  max-width: 900px;
  margin: 2rem auto 0;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: translate(0);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-right.reveal-pending {
  transform: translateX(24px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .hero-visual {
    min-height: 570px;
  }

  .hero-visual > img {
    height: 570px;
  }

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

  .mockup-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: hidden;
  }

  .mockup-workspace {
    margin-inline: calc((100vw - 100%) / -2);
    border-right: 0;
    border-left: 0;
  }

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

  .custom-offer {
    grid-template-columns: 1fr;
  }

  .custom-offer .button {
    width: fit-content;
  }

  .pricing-description {
    min-height: 0;
  }

  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .estimate-card {
    position: static;
  }

  .about-grid,
  .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 760px) {
  .header-inner {
    position: relative;
  }

  .header-inner .brand-logo-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 0;
  }

  .header-inner .menu-toggle {
    margin-left: auto;
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    gap: 3.5rem;
    padding-block: 3.5rem 5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-intro {
    font-size: 0.98rem;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 0;
  }

  .hero-points div {
    padding-inline: 0.6rem;
  }

  .hero-points span {
    font-size: 0.68rem;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 490px;
    height: 490px;
  }

  .hero-image-copy {
    bottom: 8rem;
    padding: 1.5rem;
  }

  .hero-image-copy strong {
    font-size: 1.8rem;
  }

  .hero-note {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    width: auto;
  }

  .section {
    padding-block: 5.5rem;
  }

  .mockups-intro,
  .mockup-meta {
    grid-template-columns: 1fr;
  }

  .mockups-count {
    width: fit-content;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 1rem;
    padding-left: 0;
  }

  .mockup-tabs {
    margin-right: -1rem;
    margin-left: -1rem;
    padding-left: 1rem;
  }

  .mockup-toolbar {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }

  .mockup-address {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mockup-controls {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-self: center;
    transform: translateY(-5px);
  }

  .mockup-toolbar {
    height: 96px;
  }

  .mockup-stage {
    min-height: 590px;
    padding: 0.75rem;
  }

  .mockup-screen {
    height: 590px;
  }

  .mockup-stage.mobile .mockup-screen {
    height: 680px;
  }

  .mockup-meta-actions {
    align-items: flex-start;
  }

  .mockup-tags {
    justify-content: flex-start;
  }

  .demo-session-note {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .advantages-grid,
  .plan-choices,
  .option-choices,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .custom-offer {
    padding: 1.4rem;
  }

  .custom-offer .button {
    width: 100%;
    min-width: 0;
  }

  .advantage {
    min-height: auto;
  }

  .advantage h3 {
    margin-top: 2.5rem;
  }

  .pricing-card,
  .contact-form {
    padding: 1.4rem;
  }

  .estimate-total {
    grid-template-columns: 1fr;
  }

  .estimate-total strong {
    margin-top: 0.5rem;
  }

  .estimate-total small {
    text-align: left;
  }

  .about-image,
  .about-image img {
    min-height: 460px;
    height: 460px;
  }

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

  .form-full {
    grid-column: auto;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-grid {
    gap: 2.5rem;
  }

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

  .legal-card {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
