/* ===== SELF-HOSTED FONTS (DSGVO) ===== */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/outfit-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/outfit-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/outfit-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --color-primary: #1D3557;
  --color-secondary: #457B9D;
  --color-accent: #A8DADC;
  --color-cta: #E63946;
  --color-cta-hover: #c52d39;
  --color-bg: #F1FAEE;
  --color-white: #FFFFFF;
  --color-text: #1D3557;
  --color-text-light: #5a7a9a;
  --color-border: #e0e7ee;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --max-width: 1140px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --header-height: 64px;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 56px; /* mobile sticky bar */
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 40px;
}

.text-accent {
  color: var(--color-cta);
}

.required {
  color: var(--color-cta);
}

.optional {
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.875rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-block {
  width: 100%;
}

.btn-cta {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}

.btn-cta:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  height: var(--header-height);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.logo-klima {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.logo-snowflake {
  color: var(--color-accent);
  font-size: 0.7em;
  margin-left: 1px;
}

.logo-max {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-cta);
  letter-spacing: 2px;
  margin-left: 4px;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.header-phone-text {
  display: none;
}

/* --- Hamburger toggle --- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile nav menu --- */
.header-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 100;
}

.header-nav.open {
  display: flex;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: background 0.2s;
}

.nav-menu a:hover {
  background: var(--color-bg);
}

.header-cta {
  align-self: stretch;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7f 50%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 60px 0 50px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero .text-accent {
  color: var(--color-accent);
}

.hero-subline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.hero-ctas .btn {
  width: 100%;
}

/* ===== PRICING ===== */
.pricing {
  padding: 60px 0;
  background: var(--color-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
}

.pricing-card--popular {
  border-color: var(--color-cta);
}

.pricing-card--popular:hover {
  border-color: var(--color-cta);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.12);
}

.pricing-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cta);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-badge {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pricing-type {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--color-cta);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 0.5em;
  font-weight: 700;
}

.pricing-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps {
  padding: 60px 0;
  background: var(--color-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.step p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 260px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
  padding: 60px 0;
  background: var(--color-white);
  text-align: center;
}

.about-text {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* ===== FAQ ===== */
.faq {
  padding: 60px 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 48px 18px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ===== CONTACT ===== */
.contact {
  padding: 60px 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-cta);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-status {
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 24px;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: var(--color-cta);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #25D366;
}

.contact-block address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-block address svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Map */
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  min-height: 200px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
  cursor: pointer;
  transition: background 0.2s;
}

.map-placeholder:hover {
  background: #e4ede3;
}

.map-placeholder p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 400;
  text-align: center;
  max-width: 240px;
  line-height: 1.4;
}

.btn-outline-map {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  font-weight: 600;
}

.btn-outline-map:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer .logo-klima {
  color: var(--color-white);
  font-size: 1rem;
}

.site-footer .logo-max {
  font-size: 1rem;
}

.site-footer .logo-snowflake {
  color: var(--color-accent);
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.85rem;
}

.footer-contact h4,
.footer-links h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact address {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

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

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav a {
  font-size: 0.9rem;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  font-size: 0.9rem;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== MOBILE STICKY BAR ===== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  background: var(--color-white);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 56px;
  color: var(--color-white);
  transition: opacity 0.2s;
}

.mobile-sticky-btn:active {
  opacity: 0.85;
}

.mobile-sticky-call {
  background: var(--color-primary);
}

.mobile-sticky-whatsapp {
  background: #25D366;
}

/* ===== RESPONSIVE: TABLET (768px+) ===== */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .mobile-sticky-bar {
    display: none;
  }

  .header-phone-text {
    display: inline;
  }

  /* --- Desktop nav --- */
  .nav-toggle {
    display: none;
  }

  .header-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-menu {
    flex-direction: row;
    gap: 0;
  }

  .nav-menu a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .header-cta {
    align-self: auto;
  }

  /* --- Footer 4-column grid --- */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .hero-ctas {
    flex-direction: row;
    max-width: 460px;
  }

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
  }

  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-bottom: 0;
}

.legal-content {
  padding: 40px 0 60px;
  min-height: 60vh;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 12px;
  max-width: 720px;
}

.legal-content ul {
  margin: 12px 0;
  padding-left: 20px;
  max-width: 720px;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ===== RESPONSIVE: DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero {
    padding: 100px 0 90px;
  }

  .logo-klima,
  .logo-max {
    font-size: 1.4rem;
    letter-spacing: 3px;
  }

  .header-phone {
    font-size: 1rem;
  }

  .pricing {
    padding: 80px 0;
  }

  .pricing-card {
    padding: 40px 32px;
  }

  .pricing-price {
    font-size: 4rem;
  }

  .steps {
    padding: 80px 0;
  }

  .about {
    padding: 80px 0;
  }

  .faq {
    padding: 80px 0;
  }

  .faq-item summary {
    font-size: 1rem;
    padding: 20px 48px 20px 24px;
  }

  .contact {
    padding: 80px 0;
  }

  .steps-grid {
    position: relative;
  }

  .step {
    position: relative;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -12px;
    width: calc(100% - 80px);
    height: 2px;
    background: var(--color-accent);
    transform: translateX(50%);
  }
}

/* ===== PRODUCT PAGE (LIGHT THEME) ===== */

/* --- WhatsApp button --- */
.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

/* --- Product page layout --- */
.pg {
  overflow: hidden;
}

/* --- Hero: text left, image right --- */
.pg-hero {
  background: var(--color-white);
  padding: 60px 0 40px;
}

.pg-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.pg-hero-text {
  text-align: center;
}

.pg-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  color: var(--color-primary);
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.pg-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 28px;
}

.pg-hero-image img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Feature sections: alternating layout --- */
.pg-feature {
  padding: 60px 0;
}

.pg-feature:nth-child(odd) {
  background: var(--color-bg);
}

.pg-feature:nth-child(even) {
  background: var(--color-white);
}

.pg-feature-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.pg-feature-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pg-feature-text {
  max-width: 480px;
}

.pg-feature-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-cta);
  margin-bottom: 12px;
}

.pg-feature-text h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.pg-feature-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.pg-feature-list {
  list-style: none;
}

.pg-feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.pg-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cta);
}

/* --- Reveal animations --- */
.pg-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pg-reveal.revealed {
  opacity: 1;
  transform: none;
}

.pg-from-left {
  transform: translateX(-50px);
}

.pg-from-right {
  transform: translateX(50px);
}

.pg-from-left.revealed,
.pg-from-right.revealed {
  transform: none;
}

/* --- Specs table --- */
.pg-specs {
  padding: 80px 20px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.pg-specs-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 48px;
}

.pg-specs-table-wrap {
  max-width: 680px;
  margin: 0 auto;
  overflow-x: auto;
}

.pg-specs table {
  width: 100%;
  border-collapse: collapse;
}

.pg-specs td {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  vertical-align: top;
}

.pg-specs td:first-child {
  color: var(--color-text-light);
  font-weight: 500;
  width: 40%;
  padding-right: 24px;
}

.pg-specs td:last-child {
  color: var(--color-primary);
  font-weight: 600;
}

/* --- CTA section --- */
.pg-cta {
  text-align: center;
  padding: 80px 20px 100px;
  background: var(--color-bg);
}

.pg-cta h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-primary);
  margin-bottom: 16px;
}

.pg-cta-sub {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.pg-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}

.pg-cta-buttons .btn {
  width: 100%;
}

/* --- Product page tablet (768px+) --- */
@media (min-width: 768px) {
  .pg-hero {
    padding: 80px 0 60px;
  }

  .pg-hero-grid {
    flex-direction: row;
    gap: 40px;
  }

  .pg-hero-text {
    text-align: left;
    flex: 1;
  }

  .pg-hero-image {
    flex: 1;
  }

  .pg-hero-image img {
    max-width: 440px;
  }

  .pg-feature {
    padding: 80px 0;
  }

  .pg-feature-grid {
    flex-direction: row;
    gap: 48px;
  }

  .pg-feature-text {
    flex: 1;
    order: 1;
  }

  .pg-feature-image {
    flex: 1;
    order: 2;
  }

  .pg-feature-image img {
    max-width: 420px;
  }

  /* Flipped: image goes left */
  .pg-feature--flipped .pg-feature-image {
    order: 1;
  }

  .pg-feature--flipped .pg-feature-text {
    order: 2;
  }

  .pg-cta-buttons {
    flex-direction: row;
    max-width: 480px;
  }
}

/* --- Product page desktop (1024px+) --- */
@media (min-width: 1024px) {
  .pg-hero {
    padding: 100px 0 80px;
  }

  .pg-hero-grid {
    gap: 60px;
  }

  .pg-hero-image img {
    max-width: 500px;
  }

  .pg-feature {
    padding: 100px 0;
  }

  .pg-feature-grid {
    gap: 72px;
  }

  .pg-feature-image img {
    max-width: 480px;
  }

  .pg-specs {
    padding: 100px 24px;
  }

  .pg-cta {
    padding: 100px 24px 120px;
  }
}

/* ===== ARTICLE / SEO CONTENT PAGE ===== */

.article {
  background: var(--color-white);
}

.article-content {
  padding-bottom: 0;
}

/* Article header */
.article-header {
  text-align: center;
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.article-header h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.article-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* Article body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-cta);
}

.article-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.article-body p a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body p a:hover {
  color: var(--color-primary);
}

.article-body strong {
  color: var(--color-text);
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  margin-bottom: 20px;
  padding-left: 0;
}

.article-body ul li,
.article-body ol li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cta);
}

.article-body ul {
  list-style: none;
}

.article-body ol {
  list-style: none;
  counter-reset: article-counter;
}

.article-body ol li {
  counter-increment: article-counter;
}

.article-body ol li::before {
  content: counter(article-counter);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-cta);
}

/* Article steps (process list) */
.article-steps {
  list-style: none;
  counter-reset: step-counter;
  margin: 24px 0 32px;
  padding-left: 0;
}

.article-steps li {
  counter-increment: step-counter;
  padding: 20px 20px 20px 60px;
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.article-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-steps li strong {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.article-steps li span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* Article callout box */
.article-callout {
  background: var(--color-bg);
  border-left: 4px solid var(--color-cta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.article-callout h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.article-callout p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.article-callout-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-cta);
  text-decoration: none;
}

.article-callout-link:hover {
  text-decoration: underline;
}

/* Article comparison cards */
.article-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.article-comparison-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.article-comparison-card h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.article-comparison-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: var(--color-bg);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.article-comparison-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.article-comparison-card ul li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-light);
  padding: 4px 0 4px 20px;
  position: relative;
}

.article-comparison-card ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.article-comparison-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-cta);
}

/* Article CTA section */
.article-cta {
  text-align: center;
  padding: 60px 0 80px;
  border-top: 1px solid var(--color-border);
  margin-top: 20px;
}

.article-cta h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.article-cta-sub {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.article-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}

.article-cta-buttons .btn {
  width: 100%;
}

/* Article responsive: tablet+ */
@media (min-width: 768px) {
  .article-header {
    padding: 64px 0 48px;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .article-comparison {
    grid-template-columns: 1fr 1fr;
  }

  .article-cta-buttons {
    flex-direction: row;
    max-width: 460px;
  }
}

/* Article responsive: desktop */
@media (min-width: 1024px) {
  .article-header {
    padding: 80px 0 56px;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }
}
