/* ============================================
   Container
   ============================================ */
.container {
  width: min(100% - 48px, var(--container-max));
  margin-inline: auto;
}

.ta-center { text-align: center; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,241,232,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100% - 48px, var(--container-max));
  margin-inline: auto;
  min-height: 68px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-premium);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--green-premium);
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.site-phone {
  color: var(--green-premium);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.language-switcher a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s;
}

.language-switcher a:hover {
  color: var(--green-premium);
}

.language-switcher .current-lang a {
  color: var(--green-premium);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-premium);
}

/* ============================================
   Buttons
   ============================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button--gold {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
}

.button--gold:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

.button--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.button--outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.button--primary {
  background: var(--green-premium);
  color: #fff;
  border-color: var(--green-premium);
}

.button--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

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

.button--outline:hover {
  background: var(--green-premium);
  color: #fff;
}

.button--small {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.button--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.button--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 96px 0;
  background: linear-gradient(135deg, #0E2A20 0%, #111A16 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__copy {
  padding-top: 24px;
}

.hero__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--hero-text-muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 32px;
}

.hero__trust-pill {
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  line-height: 1;
}

.hero__trust-pill + .hero__trust-pill::before {
  content: '\00B7';
  margin-right: 20px;
  color: rgba(255,255,255,0.25);
}

.hero__calculator {
  position: relative;
}

.calculator-card {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 32px;
}

.calculator-card__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.calculator-card__hint {
  margin: 0 0 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.calculator-form {
  display: grid;
  gap: 14px;
}

.calculator-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calculator-form input,
.calculator-form select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.calculator-form input:focus,
.calculator-form select:focus {
  border-color: var(--accent-gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 2px rgba(213,154,46,0.15);
}

.calculator-form select option {
  background: #1a2a22;
  color: #fff;
}

.calculator-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calculator-form__submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.calculator-result {
  margin-top: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}

.calculator-result h4 {
  margin: 0 0 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}

.calculator-result dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0 0 18px;
}

.calculator-result dt {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.calculator-result dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: right;
  font-family: var(--font-mono);
}

/* ============================================
   Section defaults
   ============================================ */
.section {
  padding: var(--space-section) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--hero-bg);
  color: #fff;
}

.section__header {
  max-width: 640px;
  margin-bottom: 44px;
}

.section__header h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 800;
}

.section__header p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.section__action {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Products
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-premium);
  background: var(--green-soft);
  border-radius: 100px;
  line-height: 1.4;
  z-index: 2;
}

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.product-card__data {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-premium);
  margin: 0 0 14px;
}

.product-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ============================================
   Comparison (EPDM vs HDPE)
   ============================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.comparison-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  color: var(--green-premium);
}

.comparison-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.comparison-card__list li {
  padding: 7px 0 7px 26px;
  font-size: 15px;
  line-height: 1.55;
  position: relative;
}

.comparison-card__pro::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green-premium);
  font-weight: 700;
}

.comparison-card__con::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.comparison-cta {
  text-align: center;
  margin-top: 40px;
}

.comparison-cta p {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--text-muted);
}

/* ============================================
   Object Types
   ============================================ */
.object-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.object-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

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

.object-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.object-card__material {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-premium);
  margin: 0 0 8px;
}

.object-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
  flex: 1;
}

.object-card .button {
  align-self: flex-start;
}

/* ============================================
   How It Works (Steps)
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: var(--green-premium);
  border-radius: 50%;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.gallery-grid figure:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
}

.gallery-grid figcaption {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   Quality Check List
   ============================================ */
.check-list {
  display: grid;
  gap: 12px;
}

.check-list__item {
  margin: 0;
  padding: 16px 20px 16px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.check-list__item::before {
  content: '\2713';
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--green-premium);
  font-weight: 900;
  font-size: 16px;
}

/* ============================================
   Delivery + Mounting
   ============================================ */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.delivery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.delivery-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.delivery-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.delivery-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.delivery-card li {
  padding: 5px 0 5px 20px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
}

.delivery-card li::before {
  content: '\2022';
  position: absolute;
  left: 4px;
  color: var(--green-premium);
  font-weight: 700;
}

/* ============================================
   Guide
   ============================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.guide-card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent-gold);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 0 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   Final CTA
   ============================================ */
.cta-section {
  padding: 0 0 var(--space-section);
  background: var(--bg-main);
}

.cta-card {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0E2A20, #111A16);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}

.cta-card p {
  font-size: 17px;
  color: var(--hero-text-muted);
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  width: min(100% - 48px, var(--container-max));
  margin-inline: auto;
  padding: 48px 0;
}

.site-footer__company h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-premium);
}

.site-footer__company p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer__group h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--green-premium);
}

.site-footer__group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer__group a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s;
}

.site-footer__group a:hover {
  color: var(--green-premium);
}

.site-footer__contacts p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.site-footer__contacts a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__contacts a:hover {
  color: var(--green-premium);
}

.site-footer__lang {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}

.site-footer__lang a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__lang a:hover {
  color: var(--green-premium);
}

.site-footer__lang .is-active {
  color: var(--green-premium);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================
   Sticky Mobile CTA
   ============================================ */
.sticky-mobile-cta {
  display: none;
}

@media (max-width: 767px) {
  .sticky-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--hero-bg);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 12px;
    gap: 8px;
  }
  .sticky-mobile-cta .button {
    flex: 1;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    padding: 12px;
  }
  body {
    padding-bottom: 66px;
  }
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1023px) {
  :root {
    --space-section: 64px;
  }
  .hero {
    padding: 64px 0 80px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__copy {
    padding-top: 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .object-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 767px) {
  :root {
    --space-section: 56px;
  }
  .site-header__inner {
    gap: 12px;
    min-height: 60px;
  }
  .site-nav {
    display: none;
  }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(245,241,232,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }
  .site-nav.is-open .site-nav__list {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .site-header__toggle {
    display: block;
  }
  .site-header__meta .site-phone {
    font-size: 13px;
  }
  .hero {
    padding: 40px 0 56px;
  }
  .hero__trust {
    gap: 4px 16px;
  }
  .hero__trust-pill {
    font-size: 13px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .object-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .delivery-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 40px 24px;
  }
  .cta-card__actions {
    flex-direction: column;
  }
  .cta-card__actions .button {
    width: 100%;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .calculator-form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Legacy — keep for non-frontend pages
   ============================================ */
.content-page {
  max-width: 920px;
}

.content-page__header {
  margin-bottom: 28px;
}

.content-page__body {
  color: var(--text-muted);
  font-size: 18px;
}


/* ============================================
   Hero __media (page-hdpe.php)
   ============================================ */
.hero__media {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
}

/* ============================================
   Button --secondary
   ============================================ */
.button--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.button--secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}

/* ============================================
   Product detail (single-product.php)
   ============================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

.product-detail__media {
  position: sticky;
  top: 116px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.product-detail__media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
}

.product-detail__content {
  display: grid;
  gap: 16px;
}

.product-detail__content h1 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.product-detail__price {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--green-premium);
  font-family: var(--font-mono);
}

.product-detail__copy {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.product-detail__copy p {
  margin: 0 0 12px;
}

/* ============================================
   Spec list
   ============================================ */
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spec-list dt,
.spec-list dd {
  padding: 10px 14px;
  font-size: 14px;
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.spec-list dt {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-alt);
}

.spec-list dd {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.spec-list dt:nth-last-child(2),
.spec-list dd:last-child {
  border-bottom: none;
}

.product-detail__content .button {
  justify-self: start;
  margin-top: 8px;
}

/* ============================================
   Standalone calculator (template-calculator.php)
   ============================================ */
.calculator-page {
  padding-top: 48px;
  padding-bottom: 80px;
}

.calculator {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.calculator__form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.calculator__form label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.calculator__form input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.calculator__form input:focus {
  border-color: var(--green-premium);
  box-shadow: 0 0 0 2px rgba(21,76,53,0.12);
}

.calculator__form .button {
  justify-self: start;
  margin-top: 4px;
}

.calculator__result {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.calculator__result h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.calculator__result p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   Content page (page.php / legacy)
   ============================================ */
.page-shell {
  min-height: 60vh;
}

.content-page {
  max-width: 860px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.content-page article > * + * {
  margin-top: 24px;
}

.content-page__header h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.content-page__image {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.content-page__image img {
  width: 100%;
  display: block;
}

.content-page__body {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.content-page__body p {
  margin: 0 0 16px;
}

.content-page__body img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

/* ============================================
   Responsive additions
   ============================================ */
@media (max-width: 1023px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail__media {
    position: static;
  }
  .calculator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .product-detail {
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .content-page {
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .calculator-page {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .calculator__form {
    padding: 24px;
  }
  .calculator__result {
    padding: 24px;
  }
  .spec-list {
    grid-template-columns: 1fr;
  }
  .spec-list dt {
    border-bottom: none;
    padding-bottom: 0;
  }
  .spec-list dd {
    padding-top: 4px;
  }
}


/* ============================================
   Content gallery (legacy pages)
   ============================================ */
.content-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.content-gallery figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.content-gallery figure:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.content-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.content-gallery figure:hover img {
  transform: scale(1.03);
}

.content-gallery figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   Content tables (legacy pages)
   ============================================ */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.55;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content-table th,
.content-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.content-table th {
  background: var(--green-premium);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.content-table tr:last-child td {
  border-bottom: none;
}

.content-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.content-table tr:hover td {
  background: var(--green-soft);
}

/* ============================================
   Content page body — rich text formatting
   ============================================ */
.content-page__body h2 {
  margin: 40px 0 14px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}

.content-page__body h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-premium);
}

.content-page__body h4 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.content-page__body p {
  margin: 0 0 16px;
}

.content-page__body ul,
.content-page__body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.content-page__body li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.content-page__body li::marker {
  color: var(--green-premium);
}

.content-page__body a {
  color: var(--green-premium);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.content-page__body a:hover {
  color: var(--accent-gold);
}

.content-page__body strong {
  color: var(--text-primary);
}

.content-page__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  display: block;
}

.content-page__body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent-gold);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}

.content-page__body hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* ============================================
   Content page — responsive
   ============================================ */
@media (max-width: 1023px) {
  .content-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-table {
    font-size: 14px;
  }
  .content-table th,
  .content-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 767px) {
  .content-gallery {
    grid-template-columns: 1fr;
  }
  .content-page__body h2 {
    font-size: 21px;
    margin-top: 32px;
  }
  .content-page__body h3 {
    font-size: 18px;
  }
  .content-table {
    font-size: 13px;
  }
  .content-table th,
  .content-table td {
    padding: 8px 10px;
  }
  .content-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* ============================================
   Contact Form
   ============================================ */
.contact-form {
  max-width: 560px;
  margin: 40px 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.contact-form--cta {
  max-width: 480px;
  margin: 32px auto;
  padding: 28px 32px;
  background: linear-gradient(135deg, #0E2A20, #111A16);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}

.contact-form__heading {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.contact-form--cta .contact-form__heading {
  color: #fff;
}

.contact-form__subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form--cta .contact-form__subtitle {
  color: var(--hero-text-muted);
}

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

.contact-form__field {
  display: grid;
  gap: 5px;
}

.contact-form__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form--cta .contact-form__label {
  color: rgba(255,255,255,0.5);
}

.contact-form__input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__input:focus {
  border-color: var(--green-premium);
  box-shadow: 0 0 0 2px rgba(21,76,53,0.12);
}

.contact-form--cta .contact-form__input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

.contact-form--cta .contact-form__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.contact-form--cta .contact-form__input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(213,154,46,0.15);
  background: rgba(255,255,255,0.1);
}

select.contact-form__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2368736B'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2368736B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.contact-form--cta select.contact-form__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23A8B3AB'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8B3AB' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

.contact-form__textarea {
  resize: vertical;
  min-height: 88px;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.contact-form--cta .contact-form__submit {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.contact-form--cta .contact-form__submit:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

.contact-form__status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.contact-form__status--success {
  background: var(--green-soft);
  color: var(--green-premium);
  border: 1px solid var(--green-premium);
}

.contact-form__status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (min-width: 481px) {
  .contact-form__form {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form__field:not(.contact-form__field--half),
  .contact-form__submit,
  .contact-form__status {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 24px 20px;
  }
  .contact-form--cta {
    padding: 24px 20px;
  }
  .contact-form__heading {
    font-size: 19px;
  }
}
