:root {
  --bg: #fbf9f9;
  --surface: #ffffff;
  --surface-soft: #f5f3f3;
  --surface-strong: #e9e8e7;
  --surface-mist: #f0efef;
  --ink: #1b1c1c;
  --ink-soft: #58636d;
  --primary: #004a73;
  --primary-strong: #136294;
  --primary-dark: #022d46;
  --primary-soft: #dbeefb;
  --line: rgba(12, 65, 97, 0.12);
  --glass: rgba(255, 255, 255, 0.68);
  --shadow: 0 20px 40px rgba(0, 74, 115, 0.08);
  --shadow-soft: 0 10px 28px rgba(0, 74, 115, 0.06);
  --shadow-deep: 0 24px 48px rgba(0, 74, 115, 0.14);
  --intro-wipe-duration: 1.38s;
  --intro-wipe-delay: 0.16s;
  --anchor-offset: 126px;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fcfbfb 0%, #fbf9f9 58%, #f3f1f1 100%);
}

body.intro-active {
  overflow: hidden;
}

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

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

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 18%, rgba(19, 98, 148, 0.06), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(0, 74, 115, 0.04), transparent 34%);
}

.page-wipe-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.page-wipe-intro.is-done {
  opacity: 0;
  visibility: hidden;
}

.page-wipe-fog {
  position: absolute;
  inset: 0;
}

.page-wipe-fog {
  left: auto;
  right: 0;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.24), transparent 18%),
    radial-gradient(circle at 34% 68%, rgba(255, 255, 255, 0.2), transparent 20%),
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.22), transparent 22%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(213, 224, 232, 0.68), rgba(187, 203, 215, 0.62) 44%, rgba(214, 225, 233, 0.66));
  backdrop-filter: blur(24px) saturate(0.78);
  opacity: 0.88;
  animation: fogSweep var(--intro-wipe-duration) cubic-bezier(0.4, 0.02, 0.96, 0.78) var(--intro-wipe-delay) forwards;
}

.page-wipe-fog::before,
.page-wipe-fog::after,
.page-wipe-clear::before,
.page-wipe-clear::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-wipe-fog::before {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.48) 0 1px, transparent 2px) 0 0 / 84px 84px,
    radial-gradient(circle at 64% 36%, rgba(255, 255, 255, 0.38) 0 1.2px, transparent 2.4px) 0 0 / 118px 118px,
    radial-gradient(circle at 78% 82%, rgba(255, 255, 255, 0.3) 0 0.9px, transparent 2px) 0 0 / 72px 72px,
    radial-gradient(circle at 28% 44%, rgba(255, 255, 255, 0.22) 0 2px, transparent 4px) 0 0 / 126px 126px;
  opacity: 0.88;
  mix-blend-mode: screen;
  filter: blur(0.4px);
}

.page-wipe-fog::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 18%) 12% 0 / 2px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 16%) 28% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 22%) 43% 0 / 2px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 20%) 62% 0 / 2px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 14%) 79% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%) 92% 0 / 2px 100% no-repeat;
  opacity: 0.58;
  filter: blur(0.75px);
}

.page-wipe-clear {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  overflow: hidden;
  pointer-events: none;
  animation: clearTrail var(--intro-wipe-duration) cubic-bezier(0.4, 0.02, 0.96, 0.78) var(--intro-wipe-delay) forwards;
}

.page-wipe-clear::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.16) 58%, rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, transparent 72%, rgba(255, 255, 255, 0.05));
  opacity: 0.52;
}

.page-wipe-clear::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 24%) 18% 0 / 2px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 18%) 41% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 26%) 64% 0 / 2px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16%) 83% 0 / 1px 100% no-repeat;
  opacity: 0.46;
  filter: blur(0.4px);
}

.page-wiper {
  position: absolute;
  top: -5vh;
  bottom: -5vh;
  left: -20vw;
  width: 22vw;
  min-width: 200px;
  max-width: 320px;
  animation: wiperTravel var(--intro-wipe-duration) cubic-bezier(0.4, 0.02, 0.96, 0.78) var(--intro-wipe-delay) forwards;
}

.page-wiper-blade {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: calc(100% - 42px);
  border-radius: 999px;
  background:
    linear-gradient(90deg, #0b0f14 0%, #151b21 18%, #06090d 82%, #020407 100%);
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  border-right: 2px solid rgba(255, 255, 255, 0.06);
  transform: translate(-50%, -50%);
  box-shadow:
    0 28px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.page-wiper-edge {
  position: absolute;
  inset: 10px auto 10px 14px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(207, 217, 226, 0.32) 28%, rgba(42, 48, 54, 0.24));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.14);
}

.page-wiper-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 138px;
  height: 34px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #181d23, #090d12);
  transform: translate(-20%, -50%);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-wiper-grip {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 74px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c333b, #0f1419);
  transform: translate(-8px, -50%);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes fogSweep {
  0% {
    width: 100%;
    opacity: 0.88;
  }
  20% {
    width: 94%;
    opacity: 0.86;
  }
  56% {
    width: 60%;
    opacity: 0.76;
  }
  100% {
    width: 0%;
    opacity: 0;
  }
}

@keyframes clearTrail {
  0% {
    width: 0%;
  }
  20% {
    width: 6%;
  }
  56% {
    width: 40%;
  }
  100% {
    width: 100%;
  }
}

@keyframes wiperTravel {
  0% {
    left: -20vw;
  }
  20% {
    left: -13vw;
  }
  56% {
    left: 32vw;
  }
  100% {
    left: 108vw;
  }
}

.content {
  width: min(1140px, calc(100vw - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100vw - 32px));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 22px rgba(0, 53, 84, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition:
    transform 180ms ease,
    top 180ms ease,
    padding 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.site-header.scrolled {
  top: 10px;
  padding: 8px 12px;
  box-shadow: 0 14px 28px rgba(0, 53, 84, 0.12);
}

.site-header.in-hero {
  background: rgba(255, 255, 255, 0.6);
}

.brand-link {
  text-decoration: none;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 112px;
  height: 56px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-nav a,
.legal-open {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.legal-open:hover,
.legal-open:focus-visible {
  color: var(--primary);
  background: rgba(19, 98, 148, 0.08);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.header-actions {
  display: flex;
  align-items: center;
}

.cart-open-btn,
.btn,
.add-item-btn,
.contact-form button,
.order-form button,
.close-cart-btn,
.close-legal-btn,
.close-submit-btn,
.cookie-btn,
.submit-go-prices {
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.cart-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 28px rgba(0, 74, 115, 0.18);
}

.cart-open-btn:hover,
.btn:hover,
.add-item-btn:hover,
.contact-form button:hover,
.order-form button:hover,
.close-cart-btn:hover,
.close-legal-btn:hover,
.close-submit-btn:hover,
.submit-go-prices:hover {
  transform: translateY(-2px);
}

.cart-icon {
  width: 1rem;
  height: 1rem;
}

.cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  background: #e7f3fb;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 104px 0 86px;
  overflow: hidden;
}

.hero-fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.9);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.hero-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58) 0 1px, transparent 1px 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px 52%),
    linear-gradient(180deg, transparent 0 74%, rgba(255, 255, 255, 0.16) 74% 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: center;
  gap: 20px;
  min-height: calc(100vh - 190px);
}

.hero-copy {
  max-width: 520px;
  padding-top: 32px;
}

.hero-title-box {
  padding: 28px 30px 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 42px rgba(0, 74, 115, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.eyebrow,
.panel-kicker,
.subscription-label,
.service-icon {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow,
.panel-kicker,
.subscription-label {
  color: var(--primary);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(0, 74, 115, 0.08);
  color: var(--primary);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title-box .eyebrow {
  padding-left: 14px;
}

.hero h1,
.section-heading h2,
.calculator-copy h3,
.summary-panel h3,
.contact-copy h2,
.hero-panel h2,
.order-form h3,
.cart-drawer-header h3,
.submit-modal h3,
.legal-header h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 0.92;
  max-width: 8ch;
}

.hero-lead,
.section-lead,
.card p,
.contact-copy p,
.hero-panel p,
.calculator-copy p,
.summary-panel p,
.story-card p,
.subscription-card p,
.price-note,
.order-note,
.submit-modal p,
.legal-content p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-lead {
  margin: 14px 0 0;
  font-size: 0.98rem;
  max-width: 41ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.btn-primary,
.add-item-btn,
.contact-form button,
.order-form button,
.close-cart-btn,
.close-legal-btn,
.close-submit-btn,
.submit-go-prices {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 28px rgba(0, 74, 115, 0.16);
}

.btn-secondary,
.cookie-btn-secondary,
.cookie-btn-ghost {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 74, 115, 0.12);
  backdrop-filter: blur(14px);
}

.startpakke-trigger {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.hero-note {
  margin: 18px 0 0;
  max-width: 42ch;
  color: #75838e;
  font-size: 0.74rem;
  line-height: 1.6;
}

.hero-panel,
.card,
.calculator-panel,
.summary-panel,
.story-card,
.contact-box,
.cart-drawer,
.submit-modal,
.legal-modal,
.cookie-banner-inner {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel,
.summary-panel,
.calculator-panel,
.story-card,
.contact-box,
.card,
.submit-modal,
.legal-modal,
.cookie-banner-inner {
  background: var(--surface);
}

.hero-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 42px rgba(0, 74, 115, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.hero-popup {
  position: relative;
  justify-self: start;
  width: 100%;
  max-width: 292px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease,
    visibility 0s linear 0s,
    box-shadow 240ms ease;
  animation: startpakkeReveal 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-popup::before {
  content: "";
  position: absolute;
  inset: auto -12% -38% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 98, 148, 0.11), transparent 70%);
  transition: transform 500ms ease;
}

.hero-popup:hover::before {
  transform: scale(1.12);
}

.hero-popup > * {
  position: relative;
  z-index: 1;
}

.hero-popup.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  filter: blur(4px);
  pointer-events: none;
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease,
    visibility 0s linear 360ms;
  animation: startpakkeFadeOut 360ms ease forwards;
}

.hero-popup.is-revealing {
  animation: startpakkeReveal 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-popup-close {
  margin-top: 16px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 98, 148, 0.12);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.hero-popup-close:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 26px rgba(0, 74, 115, 0.1);
}

.hero-popup-note {
  margin: 14px 0 0;
  color: #75838e;
  font-size: 0.74rem;
  line-height: 1.6;
}

@keyframes startpakkeReveal {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes startpakkeFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(4px);
  }
}

.clean-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.clean-list li + li {
  margin-top: 8px;
}

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

.section-heading-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  line-height: 1;
}

.services,
.calculator-section,
.subscription-section,
.story-section,
.about-section,
.contact {
  padding: 64px 0 0;
}

.service-grid,
.subscription-grid,
.about-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: auto -12% -48% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 98, 148, 0.08), transparent 70%);
  transition: transform 500ms ease, opacity 500ms ease;
  opacity: 0.9;
}

.card:hover::before {
  transform: scale(1.2);
}

.service-card-highlight,
.subscription-card-highlight {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

.service-card-highlight h3,
.service-card-highlight p,
.service-card-highlight li,
.subscription-card-highlight h3,
.subscription-card-highlight p,
.subscription-card-highlight strong,
.subscription-card-highlight .subscription-label {
  color: #fff;
}

.service-card h3,
.subscription-card h3,
.about-card h3,
.story-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary-dark);
}

.service-card {
  min-height: 248px;
}

.service-icon {
  color: rgba(0, 74, 115, 0.4);
}

.service-card-highlight .service-icon {
  color: rgba(255, 255, 255, 0.68);
}

.pricing-shell {
  display: block;
}

.pricing-board {
  padding: 18px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-top,
.pricing-bottom {
  display: grid;
  gap: 18px;
}

.pricing-top {
  grid-template-columns: minmax(0, 1.5fr) 250px;
  align-items: stretch;
}

.pricing-bottom {
  grid-template-columns: minmax(0, 1.45fr) 250px;
  margin-top: 18px;
}

.calculator-panel,
.summary-panel,
.price-list-panel,
.subscription-promo,
.story-card,
.contact-box {
  padding: 24px;
}

.calculator-copy {
  max-width: 480px;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 16px;
  margin-top: 18px;
}

.calculator-form,
.order-form,
.contact-form {
  display: grid;
  gap: 10px;
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.goto-cart-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 74, 115, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.goto-cart-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
}

.calculator-form label,
.order-form label,
.contact-form label {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.calculator-form select,
.calculator-form input[type="number"],
.order-form input,
.order-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 74, 115, 0.16);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.calculator-form select:focus,
.calculator-form input[type="number"]:focus,
.order-form input:focus,
.order-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(19, 98, 148, 0.7);
  box-shadow: 0 0 0 4px rgba(19, 98, 148, 0.08);
}

.first-floor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 4px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.calculator-result {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbfd, #eef2f4);
}

.calculator-result img {
  width: 100%;
  height: 176px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.result-text p {
  margin: 0;
}

.result-text p + p {
  margin-top: 8px;
}

.window-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  color: var(--primary-dark);
}

.preview-note {
  color: var(--primary);
  font-weight: 700;
}

.price-note {
  margin: 14px 0 0;
  font-size: 0.84rem;
}

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

.price-card {
  padding: 20px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 249, 0.92));
  border: 1px solid rgba(0, 74, 115, 0.045);
  box-shadow:
    0 18px 34px rgba(0, 74, 115, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.price-card:hover,
.price-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(19, 98, 148, 0.18);
  box-shadow:
    0 22px 36px rgba(0, 74, 115, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  outline: none;
}

.price-card.is-active {
  border-color: rgba(19, 98, 148, 0.24);
  background: linear-gradient(180deg, rgba(245, 250, 254, 0.98), rgba(238, 245, 250, 0.94));
  box-shadow:
    0 24px 38px rgba(0, 74, 115, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.price-card-type {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.price-card-value {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.subscription-highlight {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 74, 115, 0.08), rgba(19, 98, 148, 0.14));
  color: var(--primary-dark);
  font-weight: 700;
}

.summary-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: var(--shadow-deep);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-panel .panel-kicker,
.summary-panel h3,
.summary-panel p {
  color: #fff;
}

.summary-panel .panel-kicker {
  opacity: 0.78;
}

.summary-value {
  margin: 4px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.summary-meta {
  font-size: 0.82rem;
  opacity: 0.78;
}

.summary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.price-list-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
  border: 1px solid rgba(0, 74, 115, 0.05);
  box-shadow:
    0 24px 42px rgba(0, 74, 115, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.price-list-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.price-list-note {
  margin: 0;
  color: #80909a;
  font-size: 0.75rem;
}

.subscription-promo {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(247, 251, 254, 0.98), rgba(240, 246, 250, 0.94));
  border: 1px solid rgba(0, 74, 115, 0.045);
  box-shadow:
    0 24px 42px rgba(0, 74, 115, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.subscription-promo h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary-dark);
  font-size: 1.45rem;
  line-height: 1.02;
}

.summary-cta-light {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.subscription-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.subscription-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.subscription-card strong {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--primary-dark);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.story-card-map {
  display: grid;
  gap: 18px;
  align-content: start;
  background: linear-gradient(180deg, #eceaea, #d8d8d8);
}

.story-card-map img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.story-card-map p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b98a1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 1.22fr;
  gap: 18px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #f3f6f8, #ffffff);
  padding: 18px;
}

.about-carousel-track {
  position: relative;
  min-height: 460px;
}

.about-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
  pointer-events: none;
}

.about-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 320ms ease, filter 320ms ease;
}

.about-slide:hover img {
  transform: scale(1.04);
  filter: saturate(1.03);
}

.about-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.about-carousel-btn,
.about-dot {
  border: 0;
  cursor: pointer;
}

.about-carousel-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.about-carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 56px;
  min-width: 56px;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.about-carousel-arrow:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 26px rgba(0, 74, 115, 0.1);
}

.about-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 74, 115, 0.18);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.about-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.88fr);
  gap: 24px;
  background: linear-gradient(180deg, #f1efef, #ffffff);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.contact-form {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 74, 115, 0.08);
}

.contact-hours {
  margin: 0;
}

.phone-field {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
}

.hp-field,
.sr-only {
  position: absolute;
  left: -9999px;
}

.site-footer {
  margin-top: 72px;
  padding-top: 24px;
  background: linear-gradient(180deg, #f1efef, #e5e4e4);
}

.footer-inner {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary-dark);
}

.footer-col p,
.footer-col a,
.legal-open {
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.footer-col a {
  text-decoration: none;
}

.legal-open {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(0, 74, 115, 0.08);
}

.footer-bottom {
  width: min(1180px, calc(100vw - 32px));
  margin: 18px auto 0;
  padding: 16px 0 28px;
  border-top: 1px solid rgba(0, 74, 115, 0.08);
  color: var(--ink-soft);
}

.cookie-banner,
.legal-overlay,
.submit-overlay,
.cart-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 31, 47, 0.26);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 50;
}

.cookie-banner.open,
.legal-overlay.open,
.submit-overlay.open,
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cookie-banner {
  align-items: flex-end;
}

.cookie-banner-inner {
  width: min(900px, 100%);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
}

.cookie-actions,
.submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 12px 16px;
  border-radius: 16px;
}

.cookie-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.legal-overlay,
.submit-overlay {
  align-items: center;
}

.legal-modal,
.submit-modal {
  width: min(620px, 100%);
  padding: 24px;
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.legal-overlay.open .legal-modal,
.submit-overlay.open .submit-modal {
  transform: translateY(0);
}

.legal-header,
.submit-header,
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.close-legal-btn,
.close-submit-btn,
.close-cart-btn {
  padding: 10px 14px;
  border-radius: 16px;
}

.cart-overlay {
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
}

.cart-drawer {
  width: min(480px, 100vw);
  height: 100vh;
  padding: 24px;
  overflow: auto;
  border-radius: 32px 0 0 32px;
  background:
    linear-gradient(180deg, rgba(241, 246, 249, 0.98), rgba(255, 255, 255, 0.98)),
    rgba(255, 255, 255, 0.98);
  color: var(--ink);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header h3 {
  color: var(--primary-dark);
}

.order-items {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbfd, #edf3f6);
  border: 1px solid rgba(0, 74, 115, 0.08);
}

.item-main {
  color: var(--primary-dark);
  font-weight: 700;
}

.item-sub {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.item-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-btn,
.remove-item {
  border: 0;
  cursor: pointer;
}

.qty-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: var(--shadow-soft);
}

.remove-item {
  align-self: start;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(0, 74, 115, 0.08);
  box-shadow: var(--shadow-soft);
}

.order-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 74, 115, 0.1);
}

.order-total p,
.order-empty,
.order-note {
  color: var(--ink-soft);
}

.order-form {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 74, 115, 0.08);
}

.order-form-total {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

.order-status {
  margin: 0;
  color: var(--primary);
}

textarea {
  resize: vertical;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.card,
.summary-panel,
.price-list-panel,
.subscription-promo,
.calculator-panel,
.story-card,
.contact-form,
.hero-panel {
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease;
}

.card:hover,
.summary-panel:hover,
.price-list-panel:hover,
.subscription-promo:hover,
.calculator-panel:hover,
.story-card:hover,
.contact-form:hover,
.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0, 74, 115, 0.12);
}

.service-card-highlight:hover,
.subscription-card-highlight:hover,
.summary-panel:hover {
  box-shadow: var(--shadow-deep);
}

@media (max-width: 1120px) {
  :root {
    --anchor-offset: 112px;
  }

  .service-grid,
  .subscription-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-carousel-track {
    min-height: 380px;
  }

  .pricing-top,
  .pricing-bottom,
  .story-section,
  .contact-box,
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-popup {
    max-width: 360px;
  }
}

@media (max-width: 780px) {
  .content,
  .site-header,
  .footer-inner,
  .footer-bottom {
    width: calc(100vw - 24px);
  }

  .site-header {
    top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .logo {
    width: 104px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .hero {
    padding-top: 138px;
  }

  .hero-inner {
    width: calc(100vw - 24px);
  }

  .page-wiper {
    width: 28vw;
    min-width: 110px;
    max-width: 160px;
  }

  .page-wiper-blade {
    width: 58px;
    height: calc(100% - 30px);
  }

  .page-wiper-handle {
    width: 96px;
    height: 28px;
  }

  .page-wiper-grip {
    width: 52px;
    height: 13px;
  }

  .hero-media {
    right: 0;
    left: 0;
  }

  .hero-media img {
    width: 100%;
  }

  .hero-title-box {
    padding: 22px 20px 20px;
    border-radius: 20px;
  }

  .hero h1 {
    max-width: 8ch;
  }

  .service-grid,
  .subscription-grid,
  .about-grid,
  .window-price-grid,
  .calculator-layout,
  .pricing-top,
  .pricing-bottom,
  .footer-inner,
  .phone-field {
    grid-template-columns: 1fr;
  }

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

  .calculator-panel,
  .summary-panel,
  .price-list-panel,
  .subscription-promo,
  .story-card,
  .contact-box,
  .card,
  .cart-drawer,
  .submit-modal,
  .legal-modal,
  .cookie-banner-inner {
    border-radius: 20px;
  }

  .cart-drawer {
    border-radius: 22px 22px 0 0;
    width: 100%;
    height: min(88vh, 100%);
    margin-top: auto;
  }

  .cookie-banner-inner {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
