:root {
  --color-primary: #005461;
  --color-primary-soft: #0C7779;
  --color-accent: #249E94;
  --color-accent-soft: #3BC1A8;
  --color-bg: #f4fbfa;
  --color-surface: #ffffff;
  --color-text: #173136;
  --color-muted: #56737a;
  --color-danger: #b32525;
  --font-heading: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 4px 14px rgba(0, 84, 97, 0.12);
  --shadow-md: 0 12px 34px rgba(0, 84, 97, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-xxl: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid #d4e8e6;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.65rem 0;
  min-height: 3.25rem;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  flex: 0 1 auto;
  max-width: min(72vw, 280px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  color: var(--color-text);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #b8d9d4;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  z-index: 80;
}

.icon-close {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xxl) 0 var(--space-xl);
}

.hero-media,
.hero-content {
  display: grid;
  gap: var(--space-lg);
  align-content: start;
}

.trust-box {
  display: grid;
  gap: var(--space-sm);
  align-items: center;
}

.rating {
  margin: 0;
  font-weight: 700;
  color: var(--color-primary-soft);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-primary-soft);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.price {
  display: flex;
  gap: var(--space-sm);
  align-items: baseline;
  margin: 0;
}

.new-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
}

.old-price {
  text-decoration: line-through;
  color: var(--color-muted);
  font-weight: 600;
}

.price-disclaimer {
  margin: var(--space-sm) 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.45;
  max-width: 36rem;
}

.section {
  padding: var(--space-xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form {
  display: grid;
  gap: var(--space-xs);
}

label {
  font-weight: 600;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  padding: 0.8rem 0.85rem;
  border: 1px solid #b8d9d4;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(36, 158, 148, 0.18);
}

.error {
  min-height: 1.15rem;
  margin: 0 0 var(--space-xs);
  color: var(--color-danger);
  font-size: 0.9rem;
}

.consent {
  font-weight: 500;
}

button,
.button-link {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-align: center;
}

button:hover,
.button-link:hover,
button:focus-visible,
.button-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

.button-link {
  display: inline-block;
}

.faq-item {
  margin-bottom: var(--space-md);
}

.site-footer {
  background: var(--color-primary);
  color: #e7f8f5;
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.site-footer a {
  color: #b8f4e4;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-xs);
}

.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 100;
}

.cookie-content {
  width: min(860px, 100%);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #c2dfda;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.cookie-switches {
  display: grid;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-actions button {
  flex: 1 1 180px;
}

.success-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl);
}

.success-card {
  max-width: 760px;
  text-align: center;
  background: #fff;
  padding: var(--space-xxl) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

body.success-lander-page {
  background: linear-gradient(180deg, #e8f7f4 0%, #f4fbfa 35%, #eef5f4 100%);
  min-height: 100vh;
}

.success-lander {
  width: min(720px, 94%);
  margin: 0 auto;
  padding: var(--space-xl) 0 var(--space-xxl);
}

.success-lander-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent-soft), var(--color-accent));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 84, 97, 0.22);
}

.success-badge-icon svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-lander-header h1 {
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.success-lander-lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.65;
}

.success-lander-block {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #d4e8e6;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.success-lander-block h2 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
  text-align: center;
}

.success-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-md);
  text-align: left;
}

.success-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.success-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.success-order-summary {
  text-align: center;
}

.success-order-summary h2 {
  margin-bottom: var(--space-md);
}

.success-order-product {
  background: linear-gradient(180deg, #f0faf8 0%, #fff 100%);
  border: 1px solid #c8e6e0;
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
}

.success-order-product h3 {
  font-size: 1.25rem;
  margin: 0 0 var(--space-xs);
  color: var(--color-primary);
}

.success-order-tagline {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: 0.95rem;
}

.success-order-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 var(--space-xs);
}

.success-order-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

.success-support {
  text-align: center;
}

.success-support h2 {
  margin-bottom: var(--space-sm);
}

.success-support p {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.success-support-contact {
  font-size: 0.95rem;
  color: var(--color-text);
}

.success-support-contact a {
  font-weight: 700;
}

.success-lander-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.success-lander-actions .button-link {
  min-width: 200px;
}

.success-lander-actions .button-link-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary-soft);
  box-shadow: none;
}

.success-lander-actions .button-link-secondary:hover,
.success-lander-actions .button-link-secondary:focus-visible {
  background: #f0faf8;
  opacity: 1;
}

.success-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.success-trust-item {
  background: var(--color-surface);
  border: 1px solid #d4e8e6;
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.success-trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.success-trust-item h3 {
  font-size: 0.88rem;
  margin: 0 0 var(--space-xs);
  color: var(--color-primary);
}

.success-trust-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .success-trust-grid {
    grid-template-columns: 1fr;
  }

  .success-lander-actions {
    flex-direction: column;
  }

  .success-lander-actions .button-link {
    width: 100%;
  }
}

.legal-main {
  padding: var(--space-xl) 0;
}

.legal-main article {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1200px) {
  .container {
    width: min(1120px, 94%);
  }

  .hero {
    gap: var(--space-lg);
  }
}

@media (max-width: 980px) {
  .hero,
  .two-col,
  .three-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: var(--space-xl);
  }

  .hero-media figure img {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .trust-box {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .card {
    padding: var(--space-md);
  }

  .price {
    flex-wrap: wrap;
  }

  .footer-grid {
    gap: var(--space-md);
    padding: var(--space-lg) 0;
  }

  .success-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .header-inner {
    position: relative;
  }

  .header-nav {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    overflow: visible;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav-list {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .nav-list {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(165deg, #005461 0%, #0C7779 45%, #249E94 100%);
    z-index: 70;
    padding: 5.5rem 1.2rem 2rem;
    margin: 0;
    gap: 0.25rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
  }

  body.menu-open .nav-list li {
    width: 100%;
  }

  body.menu-open .nav-list a {
    display: block;
    width: 100%;
    color: #ffffff;
    font-size: 1.05rem;
    padding: 0.8rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  body.menu-open .nav-list a:hover,
  body.menu-open .nav-list a:focus-visible {
    color: #d7fff5;
  }

  body.menu-open .nav-toggle {
    position: relative;
    z-index: 90;
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.14);
  }

  body.menu-open .nav-toggle .icon-open {
    display: none;
  }

  body.menu-open .nav-toggle .icon-close {
    display: inline;
  }
}

@media (max-width: 640px) {
  .container {
    width: 94%;
  }

  .brand {
    font-size: 1rem;
  }

  .hero {
    gap: var(--space-md);
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  h2 {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .new-price {
    font-size: 1.45rem;
  }

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

  .cookie-content {
    padding: var(--space-md);
  }

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

  .cookie-actions button {
    width: 100%;
    flex: 1 1 auto;
  }

  .hero {
    padding-top: var(--space-lg);
  }

  .cookie-banner {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.2rem;
    --space-xl: 1.8rem;
    --space-xxl: 2.6rem;
  }

  input,
  textarea,
  button,
  .button-link {
    width: 100%;
  }

  .success-main {
    padding: var(--space-md);
  }

  .success-card {
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
  }

  .legal-main article {
    padding: var(--space-md);
  }
}

@media (max-width: 375px) {
  .container {
    width: 95%;
  }

  .brand {
    font-size: 0.95rem;
  }

  .card {
    padding: 0.9rem;
  }

  .cookie-content {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 320px) {
  :root {
    --space-md: 0.8rem;
    --space-lg: 1rem;
  }

  body {
    font-size: 14px;
  }

  .container {
    width: 96%;
  }

  .header-inner {
    padding: var(--space-sm) 0;
    min-height: 2.85rem;
  }

  .hero {
    padding-top: var(--space-md);
    gap: var(--space-sm);
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .new-price {
    font-size: 1.25rem;
  }

  .error {
    font-size: 0.82rem;
  }

  .cookie-banner {
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.35rem;
  }
}
