:root {
  --bg: #030403;
  --panel: #0b0d0d;
  --panel-soft: #121313;
  --line: rgba(236, 184, 84, 0.27);
  --line-cool: rgba(255, 255, 255, 0.1);
  --gold: #e0a738;
  --gold-light: #ffd890;
  --text: #f7f3ea;
  --muted: #c8c2b7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 12%, rgba(183, 126, 39, 0.1), transparent 26rem),
    linear-gradient(180deg, #000 0%, var(--bg) 42%, #050606 100%);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

#hinnad,
#kkk,
#kontakt {
  scroll-margin-top: 112px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 96px;
  padding: 1rem clamp(1rem, 4vw, 3.55rem);
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand small,
.footer-brand p {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.1rem);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  color: #f4efe6;
}

.main-nav a[aria-current="page"],
.main-nav a.is-active {
  color: var(--gold-light);
}

.main-nav a:hover {
  color: var(--gold-light);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-weight: 800;
}

.header-cta {
  color: var(--gold-light);
  white-space: nowrap;
}

.button.primary {
  color: #171006;
  background: linear-gradient(135deg, #ffe1a2 0%, #e6a73b 100%);
  box-shadow: 0 18px 42px rgba(224, 167, 56, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(4, 5, 5, 0.48);
}

.theme-toggle {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.35rem);
  bottom: clamp(0.9rem, 2vw, 1.35rem);
  z-index: 35;
  min-width: 74px;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.theme-toggle:hover {
  background: rgba(224, 167, 56, 0.14);
}

.has-cookie-consent .theme-toggle {
  bottom: 13.8rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(29rem, 0.46fr) minmax(24rem, 0.54fr);
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #010101 0%, rgba(1, 1, 1, 0.97) 35%, rgba(1, 1, 1, 0.2) 60%, rgba(1, 1, 1, 0.12) 100%),
    linear-gradient(180deg, transparent 70%, #050606 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 3.4rem clamp(1.4rem, 5vw, 4rem) 12rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
.section-heading h2,
.site-footer h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(3.6rem, 4.55vw, 5rem);
  line-height: 1.02;
}

h1 span {
  color: var(--gold-light);
}

.lead {
  max-width: 31rem;
  color: #efe9dd;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.25rem;
}

.hero-image {
  min-height: 650px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.96) 70%, #050606 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0)),
    url("assets/hero-windows-clean.png?v=1") center right / cover no-repeat;
}

.trust-row {
  position: absolute;
  left: max(0.35rem, calc((100vw - 1160px) / 2 - 2.25rem));
  bottom: 3.15rem;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(960px, calc(100% - max(0.7rem, calc(100vw - 1160px - 4.5rem))));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.trust-row article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 1.1rem;
  padding: 0.55rem 1.7rem 0.55rem 0;
  border-right: 1px solid var(--line);
}

.trust-row article:last-child {
  border-right: 0;
}

.line-icon {
  grid-row: span 2;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.trust-row h2,
.process h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.trust-row p,
.process p,
.price-notes,
.faq-block p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.section {
  padding: clamp(3.2rem, 6vw, 4.8rem) clamp(1.4rem, 5vw, 4rem);
}

.pricing-section {
  padding-top: 1.4rem;
}

.section-heading {
  margin-bottom: 2.55rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 3.35vw, 3.35rem);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.price-card {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 410px;
  padding: 2rem 1.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel);
  border: 1px solid var(--line-cool);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.price-card.featured {
  transform: translateY(-0.6rem);
}

.price-card.selected {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(224, 167, 56, 0.34),
    0 24px 80px rgba(0, 0, 0, 0.55);
}

.badge {
  position: absolute;
  top: -0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: var(--gold-light);
  color: #2a1a05;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  max-width: 11rem;
  margin-bottom: 1.4rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.window-icon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  width: 78px;
  height: 76px;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.window-icon.large {
  width: 96px;
  height: 86px;
}

.window-icon span {
  position: relative;
  border: 2px solid var(--gold);
}

.window-icon span::before,
.window-icon span::after {
  content: "+";
  position: absolute;
  color: var(--gold-light);
  font-size: 0.9rem;
}

.window-icon span::before {
  top: 0.55rem;
  left: 0.7rem;
}

.window-icon span::after {
  right: 0.5rem;
  bottom: 0.65rem;
}

.price-card p {
  margin-bottom: 0.55rem;
}

.unit-price {
  color: var(--muted);
}

.quantity-control {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: 190px;
  margin: 0 0 1rem;
  color: #f4efe6;
  font-size: 0.82rem;
  font-weight: 700;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(224, 167, 56, 0.58);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.28);
}

.quantity-button,
.quantity-stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.quantity-button {
  cursor: pointer;
  color: var(--gold-light);
}

.quantity-button:hover {
  background: rgba(224, 167, 56, 0.16);
}

.quantity-stepper input {
  border-right: 1px solid rgba(224, 167, 56, 0.32);
  border-left: 1px solid rgba(224, 167, 56, 0.32);
  text-align: center;
  appearance: textfield;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.price-card strong {
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.price-card b {
  color: var(--gold-light);
  font-size: 2rem;
}

.price-card a {
  width: 100%;
  max-width: 190px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  font-weight: 800;
}

.price-card.selected a {
  background: linear-gradient(135deg, #ffe1a2 0%, #e6a73b 100%);
  color: #171006;
}

.price-notes {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-notes li {
  position: relative;
  min-height: 54px;
  padding: 0 0 1rem 4rem;
  border-bottom: 1px solid var(--line);
}

.price-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.55rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-weight: 900;
}

.seo-section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.8rem, 6vw, 5.8rem);
}

.seo-content {
  max-width: 1240px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.seo-content .eyebrow {
  font-size: 1.05rem;
}

.seo-content h2 {
  margin-bottom: 1.55rem;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 3.35vw, 3.35rem);
  font-weight: 600;
  line-height: 1.02;
  white-space: nowrap;
}

.seo-copy {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  text-wrap: normal;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

.area-page {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 96px);
}

.area-card {
  width: min(760px, 100%);
  margin-top: clamp(1rem, 4vw, 2rem);
}

.area-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.area-card p {
  max-width: 620px;
}

.area-card .button {
  margin-top: 0.5rem;
}

.service-area-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.service-area-links a {
  min-width: 220px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(224, 167, 56, 0.46);
  border-radius: 5px;
  color: var(--gold-light);
  font-weight: 800;
  text-align: center;
}

.service-area-links a:hover {
  border-color: var(--gold);
  background: rgba(224, 167, 56, 0.1);
}

.area-info-panel {
  position: relative;
  width: min(760px, 100%);
  margin: 1.55rem auto 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgba(224, 167, 56, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(3, 4, 4, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  text-align: left;
}

.area-info-panel[hidden] {
  display: none;
}

.area-info-panel h3 {
  margin-bottom: 0.85rem;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.05;
}

.area-info-panel p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.area-info-panel .button {
  margin-top: 0.15rem;
}

.area-info-close {
  position: absolute;
  top: 0.8rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(224, 167, 56, 0.38);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.area-info-close:hover {
  border-color: var(--gold);
  background: rgba(224, 167, 56, 0.12);
}

.work-section {
  padding-top: 0;
}

.work-page-hero {
  min-height: calc(100vh - 96px);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.work-page-hero .section-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.work-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(224, 167, 56, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 216, 144, 0.1), rgba(255, 255, 255, 0.03)),
    #090a0a;
}

.work-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 216, 144, 0.28);
  border-radius: 4px;
}

.work-frame.after {
  background:
    linear-gradient(135deg, rgba(224, 167, 56, 0.18), rgba(255, 255, 255, 0.035)),
    #0c0d0d;
}

.work-frame span {
  position: relative;
  z-index: 1;
  color: var(--gold-light);
  font-weight: 800;
}

.process {
  position: relative;
  z-index: 1;
  padding-top: clamp(3.2rem, 6vw, 4.8rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.steps article {
  position: relative;
}

.steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 1.25rem;
  right: 0.4rem;
  color: rgba(224, 167, 56, 0.55);
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  margin-right: 1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
}

.steps strong {
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
}

.process h3 {
  margin-top: 1.2rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(15rem, 0.75fr) minmax(20rem, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 1.5rem;
  padding: 2rem clamp(1.4rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050606;
}

.footer-brand,
.contact-block {
  border-right: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: 0.8rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-weight: 800;
}

.contact-block {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding-right: 2rem;
}

.site-footer h2 {
  margin-bottom: 0.55rem;
  color: var(--gold-light);
  font-size: 1.75rem;
}

.contact-block a:not(.button),
.contact-block p {
  margin: 0;
  color: #efe9dd;
}

.contact-block .button {
  width: fit-content;
  margin-top: 0.7rem;
}

.faq-block {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: var(--panel-soft);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "⌄";
  color: var(--gold-light);
}

details[open] summary::after {
  content: "⌃";
}

details p {
  margin: 0;
  padding: 0 1.2rem 1rem;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

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

  .hero-image {
    position: absolute;
    inset: 0;
    min-height: auto;
    opacity: 0.8;
  }

  .hero-copy {
    min-height: 0;
    padding-bottom: 14rem;
  }

  .pricing-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .contact-block {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.6rem;
  }
}

@media (max-width: 760px) {
  #hinnad,
  #kkk,
  #kontakt {
    scroll-margin-top: 220px;
  }

  .site-header {
    position: relative;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 54px;
    font-size: 1.45rem;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .header-cta {
    width: 100%;
  }

  .main-nav {
    gap: 0.65rem;
    padding-bottom: 0.4rem;
    font-size: 0.84rem;
    scrollbar-width: thin;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(224, 167, 56, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero {
    display: block;
    overflow: hidden;
  }

  .seo-content h2 {
    white-space: normal;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(1, 1, 1, 0.84) 0%, rgba(1, 1, 1, 0.62) 46%, rgba(5, 6, 6, 0.92) 100%),
      linear-gradient(90deg, rgba(1, 1, 1, 0.95) 0%, rgba(1, 1, 1, 0.58) 52%, rgba(1, 1, 1, 0.22) 100%);
  }

  .hero-copy {
    min-height: 0;
    padding: 1.8rem 1.25rem 2rem;
  }

  .hero-actions {
    gap: 0.8rem;
  }

  .hero-image {
    background-position: center top;
    opacity: 0.72;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .feedback-page .checkout-intro h1 {
    white-space: normal;
  }

  .trust-row,
  .price-cards,
  .work-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-row {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: auto;
    gap: 0.8rem;
    max-width: none;
    margin: 0 0.35rem 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(224, 167, 56, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
  }

  .trust-row article {
    padding: 0 0 0.9rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-row article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .pricing-section {
    padding-top: 3rem;
  }

  .price-cards,
  .steps,
  .feedback-list {
    gap: 1rem;
  }

  .price-card.featured {
    transform: none;
  }

  .work-frame {
    min-height: 180px;
  }

  .steps article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .brand {
    align-items: flex-start;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .price-notes li {
    padding-left: 3.4rem;
  }
}

.checkout-header {
  position: relative;
  grid-template-columns: 300px minmax(0, 1fr) auto;
}

.checkout-header .header-cta {
  width: auto;
  min-width: 220px;
  justify-self: end;
}

.checkout-page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.checkout-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.checkout-intro h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 3.35vw, 3.35rem);
}

.feedback-page .checkout-intro {
  max-width: 980px;
}

.feedback-page .checkout-intro h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.45rem);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .feedback-page .checkout-intro h1 {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.checkout-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.checkout-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(224, 167, 56, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.checkout-panel h2,
.payment-box h3 {
  margin-bottom: 1.2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
}

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

.form-grid label,
.full-label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.full-label {
  margin-top: 1rem;
}

.form-grid input,
.form-grid select,
.full-label textarea {
  width: 100%;
  border: 1px solid rgba(224, 167, 56, 0.32);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.form-grid input,
.form-grid select {
  height: 48px;
  padding: 0 0.9rem;
}

.form-grid select {
  appearance: auto;
}

.full-label textarea {
  min-height: 120px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.order-summary {
  position: sticky;
  top: 1rem;
}

.order-summary dl {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.4rem;
}

.order-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  margin: 0;
  color: var(--gold-light);
  font-weight: 800;
  text-align: right;
}

.payment-box {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.payment-choice {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem;
  border: 1px solid rgba(224, 167, 56, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.payment-choice input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.payment-choice span {
  display: grid;
  gap: 0.22rem;
}

.payment-choice strong {
  color: #f7f3ea;
  font-weight: 800;
}

.payment-choice small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

.payment-choice:has(input:checked) {
  border-color: var(--gold);
  background: rgba(224, 167, 56, 0.12);
}

.payment-box p,
.checkout-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.payment-status {
  min-height: 1.4rem;
  margin: 0;
}

.payment-status.is-error {
  color: #ffd0a0;
}

.payment-status.is-success {
  color: var(--gold-light);
}

.feedback-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.rating-control {
  margin: 1.2rem 0 0;
  padding: 0;
  border: 0;
}

.rating-control legend {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating label {
  color: rgba(255, 216, 144, 0.28);
  cursor: pointer;
  font-size: 2.45rem;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--gold-light);
}

.star-rating label:hover {
  transform: translateY(-1px);
}

.feedback-permission {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.feedback-permission input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.feedback-summary {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.feedback-summary p {
  color: var(--muted);
  line-height: 1.7;
}

.feedback-public-section {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feedback-item {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 190px;
  padding: 1.2rem;
  border: 1px solid rgba(224, 167, 56, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--panel);
}

.feedback-stars {
  color: var(--gold-light);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.feedback-item p,
.feedback-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feedback-item strong {
  color: #f7f3ea;
}

.feedback-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.bot-field {
  display: none;
}

.address-autocomplete {
  position: relative;
  display: block;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid rgba(214, 155, 43, 0.45);
  border-radius: 8px;
  background: rgba(12, 12, 11, 0.98);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.address-option {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #f7f3ea;
  font: inherit;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.address-option:last-child {
  border-bottom: 0;
}

.address-option:hover,
.address-option.is-active {
  background: rgba(214, 155, 43, 0.16);
  color: var(--gold-light);
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(360px, calc(100vw - 2rem));
}

.cookie-card {
  display: block;
  padding: 1rem;
  border: 1px solid rgba(214, 155, 43, 0.45);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.cookie-card h2 {
  margin: 0 0 0.35rem;
  color: #f7f3ea;
  font-size: 0.95rem;
}

.cookie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.cookie-card a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
}

.cookie-actions .button {
  min-height: 38px;
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.legal-page {
  padding: 5rem min(6vw, 5rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.legal-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.legal-card h2 {
  margin: 0 0 0.75rem;
  color: #f7f3ea;
  font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.checkout-submit {
  width: 100%;
  max-width: 190px;
}

.invoice-preview-link {
  width: 100%;
  margin-top: 0.8rem;
}

.confirm-invoice-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.confirm-invoice-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.confirm-invoice-form input {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(224, 167, 56, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.confirm-invoice-form input:disabled {
  opacity: 0.74;
}

.confirm-invoice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.confirm-invoice-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(224, 167, 56, 0.28);
  border-radius: 8px;
  background: rgba(224, 167, 56, 0.1);
}

.confirm-invoice-total span {
  color: var(--muted);
  font-weight: 700;
}

.confirm-invoice-total strong {
  color: var(--gold-light);
  font-size: 1.25rem;
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.thanks-panel {
  display: grid;
  justify-items: start;
  max-width: 680px;
}

.thanks-panel h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.thanks-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.invoice-body {
  min-height: 100vh;
  background: #f7f2eb;
  color: #171006;
}

.invoice-body.invoice-scaled {
  overflow-x: hidden;
}

.invoice-sheet {
  position: relative;
  width: min(100%, 794px);
  min-height: 1123px;
  margin: 0 auto;
  overflow: hidden;
  background: #fbf7f1;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.invoice-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invoice-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #1f170d;
  font-family: Arial, Helvetica, sans-serif;
}

.invoice-layer p,
.invoice-layer h2 {
  margin: 0;
}

.invoice-no {
  position: absolute;
  top: 190px;
  left: 610px;
  min-width: 130px;
  color: #8b5f18;
  font-size: 15px;
  font-weight: 700;
}

.invoice-client {
  position: absolute;
  top: 252px;
  left: 76px;
  width: 300px;
}

.invoice-client h2 {
  margin-bottom: 18px;
  color: #8b5f18;
  font-size: 14px;
}

.invoice-client p,
.invoice-company-top p,
.invoice-footer-left p,
.invoice-footer-right p {
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 1.3;
}

.invoice-company-top {
  position: absolute;
  top: 252px;
  left: 580px;
  width: 180px;
}

.invoice-company-top p:first-child {
  margin-bottom: 18px;
  font-weight: 700;
}

.invoice-table-grid {
  position: absolute;
  top: 396px;
  left: 76px;
  display: grid;
  grid-template-columns: 330px 58px 62px 85px 85px;
  row-gap: 24px;
  width: 620px;
}

.invoice-table-grid span {
  color: #8b5f18;
  font-size: 13px;
  font-weight: 700;
}

.invoice-table-grid strong {
  font-size: 16px;
  font-weight: 700;
}

.invoice-total-row {
  position: absolute;
  top: 488px;
  left: 464px;
  display: grid;
  grid-template-columns: 147px 85px;
  gap: 0;
  align-items: baseline;
}

.invoice-total-row span {
  color: #8b5f18;
  font-size: 15px;
  font-weight: 700;
}

.invoice-total-row strong {
  font-size: 17px;
}

.invoice-note {
  position: absolute;
  left: 76px;
  bottom: 215px;
}

.invoice-note p {
  margin-bottom: 9px;
  font-size: 13px;
}

.invoice-footer-left,
.invoice-footer-right {
  position: absolute;
  top: 1000px;
}

.invoice-footer-left {
  left: 76px;
}

.invoice-footer-right {
  left: 580px;
}

.invoice-footer-left p:first-child,
.invoice-footer-right p:first-child {
  color: #8b5f18;
  font-weight: 700;
}

.invoice-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #090908;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    height: 297mm;
    margin: 0;
    background: #fff;
    overflow: hidden;
  }

  .invoice-actions {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .invoice-body {
    min-height: 0 !important;
  }

  .invoice-sheet {
    width: 210mm;
    height: 296mm;
    min-height: 0;
    margin: 0;
    box-shadow: none;
    overflow: hidden;
    break-after: avoid;
    page-break-after: avoid;
    break-inside: avoid;
  }

  .invoice-bg {
    height: 100%;
  }
}

@media (max-width: 860px) {
  .checkout-layout,
  .form-grid,
  .feedback-list {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .invoice-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .cookie-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .has-cookie-consent .theme-toggle {
    bottom: 13.6rem;
  }
}

html[data-theme="light"] {
  --bg: #f7f1e6;
  --panel: #fffaf1;
  --panel-soft: #f1e6d6;
  --line: rgba(162, 109, 25, 0.24);
  --line-cool: rgba(32, 24, 14, 0.12);
  --gold: #b27a16;
  --gold-light: #8c5c0c;
  --text: #171006;
  --muted: #635744;
  --shadow: 0 20px 60px rgba(94, 62, 15, 0.14);
  color-scheme: light;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 8%, rgba(213, 169, 89, 0.22), transparent 25rem),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 48%, #fbf4ea 100%);
  color: var(--text);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 250, 241, 0.9);
  border-bottom-color: rgba(50, 34, 10, 0.1);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .quantity-control,
html[data-theme="light"] .contact-block a:not(.button),
html[data-theme="light"] .contact-block p,
html[data-theme="light"] .lead {
  color: #2d2518;
}

html[data-theme="light"] .hero {
  border-bottom-color: rgba(50, 34, 10, 0.12);
}

html[data-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, #fff8ec 0%, rgba(255, 248, 236, 0.98) 35%, rgba(255, 248, 236, 0.2) 63%, rgba(255, 248, 236, 0.08) 100%),
    linear-gradient(180deg, transparent 72%, #f7f1e6 100%);
}

html[data-theme="light"] .hero-image {
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0) 36%, rgba(247, 241, 230, 0.9) 76%, #f7f1e6 100%),
    linear-gradient(90deg, rgba(255, 248, 236, 0.18), rgba(255, 248, 236, 0.05)),
    url("assets/hero-windows-clean.png?v=1") center right / cover no-repeat;
}

html[data-theme="light"] .trust-row {
  background: linear-gradient(90deg, rgba(255, 250, 241, 0.86), rgba(255, 250, 241, 0.28));
}

html[data-theme="light"] .price-card,
html[data-theme="light"] .checkout-panel,
html[data-theme="light"] .feedback-item,
html[data-theme="light"] .legal-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 241, 0.58)),
    var(--panel);
  border-color: rgba(162, 109, 25, 0.24);
}

html[data-theme="light"] .price-card.selected {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(162, 109, 25, 0.28),
    0 24px 70px rgba(162, 109, 25, 0.18);
}

html[data-theme="light"] .button.secondary,
html[data-theme="light"] .quantity-stepper,
html[data-theme="light"] .form-grid input,
html[data-theme="light"] .form-grid select,
html[data-theme="light"] .full-label textarea {
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

html[data-theme="light"] .payment-choice,
html[data-theme="light"] details,
html[data-theme="light"] .work-frame,
html[data-theme="light"] .area-info-panel {
  background: rgba(255, 250, 241, 0.72);
  border-color: rgba(162, 109, 25, 0.2);
}

html[data-theme="light"] .badge {
  background: linear-gradient(135deg, #ffe1a2 0%, #e6a73b 100%);
  color: #171006;
}

html[data-theme="light"] .area-info-panel {
  box-shadow: 0 22px 70px rgba(162, 109, 25, 0.12);
}

html[data-theme="light"] .area-info-close {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .theme-toggle {
  color: #171006;
  background: linear-gradient(135deg, #ffe1a2 0%, #e6a73b 100%);
  box-shadow: 0 16px 40px rgba(162, 109, 25, 0.22);
}

html[data-theme="light"] .payment-choice strong,
html[data-theme="light"] .feedback-item strong,
html[data-theme="light"] .legal-card h2,
html[data-theme="light"] .seo-content h2,
html[data-theme="light"] .cookie-card h2 {
  color: var(--text);
}

html[data-theme="light"] .site-footer {
  background: #fff8ec;
  border-top-color: rgba(50, 34, 10, 0.1);
}

html[data-theme="light"] .cookie-card {
  background: rgba(255, 250, 241, 0.98);
  box-shadow: 0 24px 70px rgba(72, 47, 12, 0.24);
}

html[data-theme="light"] .address-suggestions {
  background: rgba(255, 250, 241, 0.98);
}

html[data-theme="light"] .address-option {
  color: var(--text);
  border-bottom-color: rgba(32, 24, 14, 0.1);
}

html[data-theme="light"] .main-nav a[aria-current="page"],
html[data-theme="light"] .main-nav a.is-active,
html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] h1 span,
html[data-theme="light"] .site-footer h2,
html[data-theme="light"] .header-cta,
html[data-theme="light"] .price-card b,
html[data-theme="light"] .order-summary dd {
  color: var(--gold-light);
}

@media (max-width: 760px) {
  html[data-theme="light"] .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 248, 236, 0.9) 0%, rgba(255, 248, 236, 0.68) 44%, rgba(247, 241, 230, 0.58) 72%, #f7f1e6 100%),
      linear-gradient(90deg, rgba(255, 248, 236, 0.96) 0%, rgba(255, 248, 236, 0.7) 48%, rgba(255, 248, 236, 0.18) 100%);
  }

  html[data-theme="light"] .hero-image {
    opacity: 0.72;
    background-position: center top;
  }

  html[data-theme="light"] .trust-row {
    background: rgba(255, 250, 241, 0.82);
  }

  html[data-theme="light"] .main-nav a {
    background: rgba(255, 255, 255, 0.5);
  }
}

@media (max-width: 760px) {
  .confirm-invoice-grid,
  .confirm-invoice-total {
    grid-template-columns: 1fr;
  }

  .confirm-invoice-total {
    display: grid;
  }

  .confirm-invoice-form .button {
    width: 100%;
    max-width: none;
  }
}
