/* service-bundle.css — critical service pages */

/**
 * Puuseppmeister — Premium Homepage Foundation
 * Off-Elementor design system: tokens, editorial typography, spacing rhythm,
 * grid, buttons, motion. Scope: pages with <body class="pm-premium">.
 *
 * Design language: warm Scandinavian minimalism, editorial scale, photography-
 * led. Accent used sparingly as a precious detail — never as a default fill.
 */

/* ------------------------------------------------------------------ */
/* Fonts — loaded via <link> in HTML for Lighthouse (no @import).   */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Tokens                                                             */
/* ------------------------------------------------------------------ */
:root {
  /* Colour — warm, natural, restrained */
  --pm2-ink: #1a1917;          /* near-black, warm */
  --pm2-ink-soft: #33302b;
  --pm2-muted: #6b6559;        /* secondary text */
  --pm2-line: rgba(26, 25, 23, 0.12);
  --pm2-line-soft: rgba(26, 25, 23, 0.07);
  --pm2-paper: #f4f1ea;        /* warm off-white page */
  --pm2-surface: #fbfaf6;      /* card / raised */
  --pm2-surface-2: #ece7dd;    /* soft warm block */
  --pm2-white: #ffffff;
  --pm2-accent: #b8823a;       /* warm gold — brand orange */
  --pm2-accent-deep: #a06f2f;

  --pm2-on-dark: rgba(255, 255, 255, 0.94);
  --pm2-on-dark-soft: rgba(255, 255, 255, 0.7);

  /* Typography */
  --pm2-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --pm2-font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Reduce layout shift while webfonts load */
  font-synthesis: none;


  /* Fluid type scale (min → max) */
  --pm2-fs-eyebrow: 0.78rem;
  --pm2-fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --pm2-fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  --pm2-fs-h5: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --pm2-fs-h4: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --pm2-fs-h3: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --pm2-fs-h2: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --pm2-fs-display: clamp(2.9rem, 1.9rem + 4.9vw, 6rem);

  /* Spacing rhythm */
  --pm2-space-1: 0.5rem;
  --pm2-space-2: 0.75rem;
  --pm2-space-3: 1rem;
  --pm2-space-4: 1.5rem;
  --pm2-space-5: 2rem;
  --pm2-space-6: 3rem;
  --pm2-space-7: 4rem;
  --pm2-space-8: 6rem;
  --pm2-section-y: clamp(4.5rem, 3rem + 6vw, 9rem);

  /* Layout */
  --pm2-container: 1360px;
  --pm2-container-narrow: 820px;
  --pm2-gutter: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);

  /* Radius — minimal, editorial */
  --pm2-radius: 3px;
  --pm2-radius-lg: 6px;

  /* Elevation */
  --pm2-shadow: 0 20px 60px -30px rgba(26, 25, 23, 0.35);

  /* Motion */
  --pm2-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pm2-ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
  --pm2-dur: 0.7s;
  --pm2-dur-fast: 0.35s;
}

/* ------------------------------------------------------------------ */
/* Base                                                               */
/* ------------------------------------------------------------------ */
body.pm-premium {
  margin: 0;
  background: var(--pm2-paper);
  color: var(--pm2-ink);
  font-family: var(--pm2-font-sans);
  font-size: var(--pm2-fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.pm-premium *,
body.pm-premium *::before,
body.pm-premium *::after {
  box-sizing: border-box;
}

.pm-premium h1,
.pm-premium h2,
.pm-premium h3,
.pm-premium h4 {
  font-family: var(--pm2-font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--pm2-ink);
}

.pm-premium p {
  margin: 0;
}

/* Ära tühistada site-bundle päise/jaluse linke */
.pm-premium .site-header a,
.pm-premium .site-footer a {
  color: unset;
  text-decoration: unset;
}

.pm-premium main a,
.pm-premium .pm-tr-section a,
.pm-premium .pm-tr-wrap a,
.pm-premium .pm-tr-elementor a {
  color: inherit;
  text-decoration: none;
}

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

/* ------------------------------------------------------------------ */
/* Layout primitives                                                  */
/* ------------------------------------------------------------------ */
.pm2-container {
  width: 100%;
  max-width: var(--pm2-container);
  margin-inline: auto;
  padding-inline: var(--pm2-gutter);
}

.pm2-container--narrow {
  max-width: var(--pm2-container-narrow);
}

.pm2-section {
  padding-block: var(--pm2-section-y);
}

/* ------------------------------------------------------------------ */
/* Typographic helpers                                                */
/* ------------------------------------------------------------------ */
.pm2-eyebrow {
  font-family: var(--pm2-font-sans);
  font-size: var(--pm2-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pm2-accent);
  margin: 0;
}

.pm2-display {
  font-size: var(--pm2-fs-display);
}

.pm2-h2 { font-size: var(--pm2-fs-h2); }
.pm2-h3 { font-size: var(--pm2-fs-h3); }

.pm2-lead {
  font-size: var(--pm2-fs-lead);
  line-height: 1.5;
  color: var(--pm2-ink-soft);
  font-family: var(--pm2-font-sans);
  font-weight: 400;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */
.pm2-btn {
  --btn-bg: var(--pm2-ink);
  --btn-fg: var(--pm2-white);
  --btn-bd: var(--pm2-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.1em 1.9em;
  font-family: var(--pm2-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--pm2-radius);
  cursor: pointer;
  transition: transform var(--pm2-dur-fast) var(--pm2-ease),
    background-color var(--pm2-dur-fast) var(--pm2-ease),
    color var(--pm2-dur-fast) var(--pm2-ease),
    border-color var(--pm2-dur-fast) var(--pm2-ease);
}

.pm2-btn:hover {
  transform: translateY(-2px);
}

.pm2-btn__arrow {
  transition: transform var(--pm2-dur-fast) var(--pm2-ease);
}

.pm2-btn:hover .pm2-btn__arrow {
  transform: translateX(4px);
}

.pm2-btn--accent {
  --btn-bg: var(--pm2-accent);
  --btn-fg: #fff;
  --btn-bd: var(--pm2-accent);
}

.pm2-btn--accent:hover {
  --btn-bg: var(--pm2-accent-deep);
  --btn-bd: var(--pm2-accent-deep);
}

.pm2-btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.5);
}

.pm2-btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-bd: #fff;
}

/* Underline text link with animated rule */
.pm2-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pm2-ink);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--pm2-dur) var(--pm2-ease);
}

.pm2-textlink:hover {
  background-size: 0% 1px;
}

/* ------------------------------------------------------------------ */
/* Motion — reveal on scroll                                          */
/* ------------------------------------------------------------------ */
.pm2-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--pm2-ease), transform 0.9s var(--pm2-ease);
  transition-delay: var(--pm2-reveal-delay, 0s);
}

.pm2-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .pm-premium *,
  .pm-premium *::before,
  .pm-premium *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .pm2-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Footer — premium refinement (spacing, type, alignment)             */
/* ------------------------------------------------------------------ */
.pm-premium .site-footer,
body.home .site-footer,
footer.site-footer {
  background: #1a1917 !important;
  background-color: #1a1917 !important;
  color: rgba(255, 255, 255, 0.92);
}
.pm-premium .site-footer__inner {
  max-width: var(--pm2-container);
  padding: clamp(4rem, 3rem + 3vw, 6.5rem) var(--pm2-gutter) 2.5rem;
  gap: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
}
.pm-premium .site-footer__row {
  gap: 40px 72px;
}
.pm-premium .site-footer__block h2,
.pm-premium .site-footer__block h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.15rem;
}
.pm-premium .site-footer__block li { margin-bottom: 0.7rem; }
.pm-premium .site-footer__block a,
.pm-premium .site-footer__block span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s var(--pm2-ease);
}
.pm-premium .site-footer__block a:hover { color: var(--pm2-accent); }
.pm-premium .site-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pm-premium .site-footer__bottom p {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}


/* Mobile drawer: force readable light text on dark panel
   (prevents pm-premium / inherit overrides from dark-on-dark) */
.site-header__mobile {
  background: #1a1917 !important;
  color: #fff !important;
  z-index: 1100;
}
.site-header__mobile-nav a,
.site-header__mobile-nav a:link,
.site-header__mobile-nav a:visited {
  color: rgba(255, 255, 255, 0.95) !important;
}
.site-header__mobile-nav a:hover,
.site-header__mobile-nav a:focus,
.site-header__mobile-nav a:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.site-header__mobile-nav a.is-active {
  color: #fff !important;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #b8823a;
}
.site-header__mobile-nav .site-header__nav-group {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 32px 0.35rem;
  margin: 0;
  list-style: none;
}
.site-header__mobile-close,
.site-header__toggle.icon-close,
.site-header__mobile-head {
  color: #fff !important;
}
body.site-header-menu-open {
  overflow: hidden;
}

.site-header__contact-icons {
  display: none !important;
}

.site-header__icon-only svg,
.site-header__phone svg,
.site-header__contact-icons svg,
.site-header__mobile-contact svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.25rem;
  max-height: 1.25rem;
  flex: none;
  fill: currentColor;
}

/* Sticky mobile CTA — in foundation so pages without terrace.css
   (blogi, kontakt, etc.) do not render an unsized full-viewport SVG */
.pm-tr-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--pm2-line);
  transform: translateY(120%);
  transition: transform 0.4s var(--pm2-ease);
}
.pm-tr-sticky.is-visible { transform: none; }
.pm-tr-sticky__call,
.pm-tr-sticky__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--pm2-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--pm2-radius);
  padding: 0.85rem 1rem;
  text-decoration: none;
}
.pm-tr-sticky__call {
  flex: 0 0 auto;
  color: var(--pm2-ink);
  border: 1px solid var(--pm2-line);
  background: #fff;
}
.pm-tr-sticky__call svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  fill: currentColor;
}
.pm-tr-sticky__quote {
  flex: 1 1 auto;
  color: #fff;
  background: var(--pm2-accent);
  border: 1px solid var(--pm2-accent);
}
.pm-tr-sticky__quote:active { background: var(--pm2-accent-deep); }
@media (max-width: 760px) {
  .pm-tr-sticky { display: flex; }
}


/* Koondatud saidi stiilid – genereeritud build-site-bundle.js skriptiga. */

/* ===== ALGUS: assets/css/site-header-footer.css ===== */
/**
 * Iseseisev header ja footer – ei sõltu Elementori ega vanadest post-65/post-72 CSS-ist.
 * Kasutamine: galerii leht ja teised lehed, kes ei taha Elementori headerit/footeri.
 */
:root {
  --site-accent: #B8823A;
  --site-accent-hover: #A06F2F;
  --site-accent-active: #8F6128;
  --site-header-bg: #fdfcfa;
  --site-header-shadow: 0 0 10px rgba(63, 63, 63, 0.12);
  --site-nav-color: #272b2c;
  --site-nav-hover: #B8823A;
  --site-footer-bg: #1a1917;
  --site-footer-text: #e9e9e9;
  --site-footer-heading: #B8823A;
  --site-footer-border: rgba(255, 255, 255, 0.15);
  --site-header-h: 80px;
  --site-header-h-hero: 80px;
  --site-header-h-scrolled: 80px;
  --site-header-pad-x: 32px;
  --site-header-group-gap: 24px;
  --site-header-action-gap: 16px;
  --site-nav-gap: 32px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--site-header-bg);
  box-shadow: var(--site-header-shadow);
  font-family: var(--pm-font, "DM Sans", sans-serif);
  isolation: isolate;
  overflow-x: clip;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-open {
  overflow: visible;
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--site-header-group-gap);
  max-width: 1400px;
  margin: 0 auto;
  min-height: var(--site-header-h);
  padding-inline: var(--site-header-pad-x);
  box-sizing: border-box;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

@media (min-width: 1025px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 24px;
    row-gap: 0;
  }

  .site-header__logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header__nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  .site-header__actions,
  .site-header__inner > .site-header__lang {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .site-header__toggle {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .site-header__inner {
    min-height: 72px;
    padding-inline: 20px;
    gap: 12px;
  }

  .site-header__nav,
  .site-header__actions,
  .site-header__lang {
    display: none !important;
  }

  .site-header__logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .site-header .site-header__toggle {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    margin-left: auto;
    padding: 0;
    border-radius: 10px;
    overflow: visible;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    overflow-x: visible;
  }

  .site-header__inner {
    min-height: 72px;
    padding-inline: 20px;
  }

  .site-header__logo img {
    height: 24px;
    max-width: min(162px, 100%);
  }
}

.site-header__logo {
  flex-shrink: 0;
  margin: 0;
  display: flex;
  align-items: center;
  min-width: 0;
}
.site-header__logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}
.site-header__logo img {
  display: block;
  height: 34px;
  width: auto;
  min-width: 0;
  max-width: 200px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .site-header__logo img { height: 24px; max-width: 130px; }
}

/* Desktop nav – peidetud tablet/mobiilil */
.site-header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
@media (min-width: 1025px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--site-nav-gap);
  white-space: nowrap;
}
.site-header__nav-list li {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.site-header__nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: var(--site-nav-color) !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-header__nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 100%;
  max-width: 32px;
  height: 2px;
  background: var(--site-accent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.site-header__nav-list a:hover,
.site-header__nav-list a:focus {
  color: var(--site-nav-hover) !important;
}
.site-header__nav-list a:hover::after,
.site-header__nav-list a:focus::after {
  transform: translateX(-50%) scaleX(1);
}
.site-header__nav-list .current a {
  color: #1a1d1e !important;
  font-weight: 500;
}
.site-header__nav-list .current a::after,
.site-header__nav-list a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}
.site-header__nav-list a.is-active {
  color: #1a1d1e !important;
  font-weight: 500;
}

/* Teenused dropdown */
.site-header__nav-list .has-sub {
  position: relative;
}
.site-header__nav-list .has-sub > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 10;
}
.site-header__nav-list .has-sub:hover > ul,
.site-header__nav-list .has-sub:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header__nav-list .has-sub > ul li { margin: 0; }
.site-header__nav-list .has-sub > ul a {
  padding: 6px 16px;
  color: var(--site-nav-color);
  font-size: 14px;
}
.site-header__nav-list .has-sub > ul a:hover {
  color: var(--site-nav-hover);
  background: rgba(0,0,0,0.03);
}

/* Telefoni ikoon – headeris nii desktop kui mobiil; ümbrik peidetud mobiilis */
.site-header__phone {
  flex-shrink: 0;
  margin-left: 10px;
}
@media (max-width: 1024px) {
  /* Mobile header: hide contact icons (phone + envelope) */
  .site-header__contact-icons { display: none !important; }
}
.site-header__phone a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--site-nav-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.site-header__phone + .site-header__phone {
  margin-left: 10px;
}
.site-header__phone a:hover {
  color: var(--site-nav-hover);
}
.site-header__phone svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Email variant – icon can link to contact, text to mailto */
.site-header__email {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__email .site-header__icon-link {
  gap: 0;
}
.site-header__email .site-header__icon-link svg {
  margin: 0;
}

/* Language switcher – segmented pill */
.site-header__lang {
  flex-shrink: 0;
  margin: 0;
}

.site-header__lang-track {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: auto;
  min-width: 72px;
  height: 36px;
  padding: 3px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(39, 43, 44, 0.12);
  box-sizing: border-box;
  isolation: isolate;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.site-header__lang-track:hover {
  border-color: rgba(39, 43, 44, 0.2);
}

.site-header__lang-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--site-accent);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.site-header__lang-track:has(.site-header__lang-opt:nth-child(2).site-header__lang-active)::before {
  transform: translateX(100%);
}

.site-header__lang-opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--site-nav-color);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.site-header__lang-opt.site-header__lang-active {
  color: #272b2c !important;
}

.site-header__lang-opt:not(.site-header__lang-active):hover {
  color: var(--site-nav-hover);
}

/* Desktop – tighten spacing before anything can wrap */
@media (min-width: 1025px) and (max-width: 1320px) {
  :root {
    --site-nav-gap: 24px;
  }

  .site-header__nav-list a {
    font-size: 16px;
  }

  .site-header__logo img {
    height: 30px;
    max-width: 168px;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .site-header__call-btn {
    padding-inline: 18px;
    font-size: 13px;
  }

  .site-header__quote-btn {
    padding-inline: 20px;
    font-size: 13px;
  }

  .site-header__actions,
  .site-header__inner > .site-header__lang {
    gap: 12px;
  }
}

/* Legacy plain-text lang (fallback) */
.site-header__lang a:not(.site-header__lang-opt) {
  color: var(--site-nav-color);
  text-decoration: none;
}
.site-header__lang .site-header__lang-active:not(.site-header__lang-opt) {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--site-nav-hover);
}
.site-header__lang-sep {
  display: none;
}

/* Header contact icons wrapper (phone + mail) */
.site-header__contact-icons {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  white-space: nowrap;
}
/* When wrapped, margins must not add extra spacing */
.site-header__contact-icons .site-header__phone {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
}
.site-header__contact-icons .site-header__phone + .site-header__phone {
  margin-left: 0;
}
/* Keep language switcher and contact icons tight */
.site-header__lang + .site-header__contact-icons {
  margin-left: 0;
}
@media (max-width: 1024px) {
  .site-header__lang { display: none; }
}
.site-header__lang-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  margin-top: 0;
  margin-bottom: 8px;
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  order: -1;
}
.site-header__lang-mobile a {
  display: inline-flex;
  padding: 0;
  text-decoration: none;
  color: rgba(255,255,255,0.95);
}
.site-header__lang-mobile a[aria-current="page"],
.site-header__lang-mobile a[aria-current="true"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-header__lang-mobile span[aria-hidden="true"] {
  opacity: 0.8;
}

/* Mobiilimenüü toggle – ilma kastita ja ruudu servadeta, ainult ikoon */
.site-header .site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 0 0 auto;
  background: #ffffff;
  border: none;
  border-radius: 0;
  color: var(--site-nav-color);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
}
.site-header .site-header__toggle:hover {
  color: var(--site-nav-color);
  background: #ffffff;
}
@media (max-width: 1024px) {
  .site-header .site-header__toggle { display: flex; }
}
.site-header .site-header__toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}
.site-header .site-header__toggle .icon-close {
  display: none;
}
.site-header.is-open .site-header__toggle .icon-open {
  display: none;
}
.site-header.is-open .site-header__toggle .icon-close {
  display: block;
}

/* Mobiilimenüü (dropdown) */
.site-header__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--site-footer-bg);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
@media (max-width: 1024px) {
  .site-header__mobile {
    display: block;
    transition: opacity 0.2s ease, visibility 0.2s ease, max-height 0.25s ease;
  }
  .site-header__mobile:not(.is-open) {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .site-header__mobile.is-open {
    visibility: visible;
    opacity: 1;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    pointer-events: auto;
    position: fixed;
    top: var(--pm-header-height, 56px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
  }
}
body.site-header-menu-open {
  overflow: hidden;
}
.site-header__mobile-nav {
  list-style: none;
  margin: 0;
  padding: 12px 0 24px;
  display: flex;
  flex-direction: column;
}
.site-header__mobile-nav li { margin: 0; }
.site-header__mobile-nav a {
  display: block;
  padding: 12px 32px;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: 16px;
}
.site-header__mobile-nav a:hover,
.site-header__mobile-nav a:focus {
  color: var(--site-accent);
  background: rgba(255,255,255,0.05);
}
.site-header__mobile-nav .current a {
  color: #fff;
  font-weight: 600;
}
.site-header__mobile-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(255,255,255,0.2);
}
.site-header__mobile-nav .sub-menu a {
  padding: 8px 24px 8px 16px;
  font-size: 15px;
}

/* Mobile menu: keep language switcher on one line and
   align phone/mail icons to the bottom with consistent padding */
.site-header__mobile-contact {
  padding: 12px 32px;
}
.site-header__mobile-contact a.site-header__icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  line-height: 0;
}
.site-header__mobile-contact svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* Push both contact icons to the bottom as a group */
.site-header__mobile-nav li.site-header__mobile-contact:not(.site-header__mobile-email) {
  margin-top: auto;
}

/* Homepage hero: subtle entrance + hover motion */
@media (prefers-reduced-motion: no-preference) {
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-95f94c8,
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-8705a04,
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-e64fb66,
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-aa858d4 {
    opacity: 0;
    transform: translateY(10px);
    animation: hero-fade-up 0.55s ease-out forwards;
    will-change: transform, opacity;
  }

  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-95f94c8 { animation-delay: 0.08s; }
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-8705a04 { animation-delay: 0.16s; }
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-e64fb66 { animation-delay: 0.24s; }
  .elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-aa858d4 { animation-delay: 0.32s; }
}

.elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-e64fb66 .elementor-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-e64fb66 .elementor-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-aa858d4 .elementor-social-icon {
  transition: transform 0.18s ease;
}
.elementor-12 .elementor-element.elementor-element-e40179e .elementor-element-aa858d4 .elementor-social-icon:hover {
  transform: scale(1.05);
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--site-footer-bg);
  color: var(--site-footer-text);
  font-family: var(--pm-font, "DM Sans", sans-serif);
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 767px) {
  .site-footer__inner {
    padding: 64px 20px 40px;
    gap: 48px;
    text-align: center;
  }

  .site-footer__row {
    grid-template-columns: 1fr;
    gap: 44px;
    justify-items: center;
  }

  .site-footer__brand {
    justify-items: center;
    text-align: center;
    gap: 24px;
  }

  .site-footer__social {
    justify-content: center;
    gap: 12px;
  }

  .site-footer__social a {
    min-width: 48px;
    min-height: 48px;
    padding: 8px;
  }

  .site-footer__block {
    width: 100%;
    text-align: center;
  }

  .site-footer__block ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .site-footer__block a,
  .site-footer__block span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 6px 0;
  }

  .site-footer__bottom {
    text-align: center;
    padding-top: 8px;
  }
}

.site-footer__row {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(200px, 1fr) minmax(200px, 1fr);
  gap: 32px 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .site-footer__row {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
}
@media (max-width: 767px) {
  .site-footer__row {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }
}

.site-footer__brand {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "logo logo"
    "social trust";
  gap: 18px 20px;
  align-items: center;
  max-width: 300px;
}
@media (max-width: 900px) {
  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 767px) {
  .site-footer__brand {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "social"
      "trust";
    justify-items: center;
    gap: 20px;
  }
}
.site-footer__logo {
  grid-area: logo;
}
.site-footer__logo a {
  display: inline-block;
}
.site-footer__logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 200px;
}
@media (max-width: 767px) {
  .site-footer__logo img { height: 52px; }
}

.site-footer__social {
  grid-area: social;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
}
.site-footer__social a,
.site-footer__social a:link,
.site-footer__social a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--site-accent);
  color: #fff !important;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  opacity: 1 !important;
  visibility: visible !important;
}
.site-footer__social a:hover {
  background: var(--site-accent-hover);
  color: #fff !important;
}
.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: #fff !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* EVUL trust badge — circular clip (image file has white square corners) */
.site-footer__trust {
  grid-area: trust;
  margin: 0;
}

.site-footer__trust a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__trust a:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.site-footer__trust img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .site-footer__trust a {
    width: 68px;
    height: 68px;
  }
}

.site-footer__block h2, .site-footer__block h4 {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__block li {
  margin: 0 0 10px;
}
.site-footer__block a,
.site-footer__block span {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
}
.site-footer__block a:hover {
  color: var(--site-accent);
}
.site-footer__block .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  fill: rgba(255,255,255,0.7);
}

/* Guard: prevent oversized SVGs in footer links */
.site-footer__block a > svg:not(.icon) {
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px;
  vertical-align: -2px;
  fill: rgba(255,255,255,0.7);
}

.site-footer__bottom {
  padding-top: 28px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
/* ===== LÕPP: assets/css/site-header-footer.css ===== */


/* DM Sans 400 latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../../fonts/dm-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* DM Sans 400 latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../../fonts/dm-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* DM Sans 500 latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../../fonts/dm-sans-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* DM Sans 500 latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../../fonts/dm-sans-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Fraunces 400 latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../../fonts/fraunces-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* Fraunces 400 latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../../fonts/fraunces-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Fraunces 500 latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../../fonts/fraunces-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* Fraunces 500 latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../../fonts/fraunces-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* ===== Avaleht ja teenuselehed – läbipaistev päis hero kohal ===== */
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled {
  background: rgba(24, 24, 24, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__inner {
  min-height: var(--site-header-h-hero, 88px);
  transition: min-height 0.25s ease, padding 0.25s ease;
}

@media (max-width: 768px) {
  :is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  :is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__inner,
  :is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__inner {
    min-height: 72px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  :is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__toggle {
    border-radius: 10px;
    overflow: visible;
  }
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__inner {
  min-height: var(--site-header-h-scrolled, 78px);
}

body.home .site-header:not(.is-scrolled) .site-header__cart-link,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list > li > a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list > li.current > a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list > li > a.is-active,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang .site-header__lang-active,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__cart-link {
  color: #fff !important;
}

body.home .site-header:not(.is-scrolled) .site-header__nav-list > li > a:focus,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list > li > a:hover,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list > li > a:focus {
  color: var(--site-accent, #B8823A) !important;
}

body.home .site-header.is-scrolled .site-header__cart-link,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li > a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li > a.is-active,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__cart-link {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.home .site-header.is-scrolled .site-header__nav-list > li > a.is-active,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li.current > a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li > a.is-active {
  color: #fff !important;
  font-weight: 500;
}

body.home .site-header.is-scrolled .site-header__nav-list > li > a:focus,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li > a:hover,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li > a:focus {
  color: var(--site-accent, #B8823A) !important;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang a:hover {
  color: rgba(255, 255, 255, 0.88) !important;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list > li > a::after {
  background: var(--site-accent, #B8823A);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__nav-list > li > a::after {
  background: var(--site-accent, #B8823A);
}

/* Rippmenüü – alati tumedad lingid valgel taustal */
.site-header__nav-list .has-sub > ul {
  z-index: 1002;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: var(--pm-radius-sm);
}

.site-header__nav-list .has-sub > ul a,
body.home .site-header:not(.is-scrolled) .site-header__nav-list .has-sub > ul a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header .site-header__nav-list .has-sub > ul a,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list .has-sub > ul a {
  color: var(--site-nav-color, #272b2c) !important;
}

.site-header__nav-list .has-sub > ul a:hover,
body.home .site-header:not(.is-scrolled) .site-header__nav-list .has-sub > ul a:hover,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header .site-header__nav-list .has-sub > ul a:hover,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__nav-list .has-sub > ul a:hover {
  color: var(--site-nav-hover, #c5853a) !important;
  background: rgba(0, 0, 0, 0.03);
}

body.home .site-header__nav-list .has-sub,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__inner,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__nav,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__nav-list,
:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__nav-list .has-sub {
  overflow: visible;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang-track {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang-track:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang-opt:not(.site-header__lang-active) {
  color: rgba(255, 255, 255, 0.92) !important;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang-opt.site-header__lang-active {
  color: #272b2c !important;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__lang-track {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__lang-track:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__lang-opt:not(.site-header__lang-active) {
  color: rgba(255, 255, 255, 0.88) !important;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header.is-scrolled .site-header__lang-opt.site-header__lang-active {
  color: #272b2c !important;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__lang-sep {
  display: none;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__toggle {
  color: var(--site-nav-color, #1a1a1a);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header:not(.is-scrolled) .site-header__toggle:hover {
  color: var(--site-nav-color, #1a1a1a);
  background: #fff;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__logo img {
  content: url("../../img/common/Group-39906EP_logo.svg");
  filter: none;
}

:is(body.home, body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__inner {
  max-width: 1400px;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: var(--site-header-action-gap, 16px);
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .site-header__actions {
    display: flex;
  }

  .site-header__contact-icons {
    display: none;
  }

  .site-header__inner > .site-header__lang {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.site-header__call-btn,
.site-header__quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}
/* Service logo size (avoid 800×800 intrinsic CLS) */
:is(body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__logo img {
  height: 34px;
  width: auto;
  max-width: 200px;
}
:is(body.pm-service-page, body.pm-svc, body.pm-blog-page, body.pm-contact) .site-header__quote-btn {
  background: #b8823a;
  border-color: #b8823a;
  color: #fff !important;
}


/**
 * Shared premium components for content pages (blog, contact, etc.)
 * Requires foundation.css. Scope: .pm-premium
 */

.pm-premium main { overflow-x: clip; }
.pm-premium [id] { scroll-margin-top: 96px; }

.pm-tr-section { padding-block: var(--pm2-section-y); }
.pm-tr-section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.pm-tr-section--paper { background: var(--pm2-paper); }
.pm-tr-section--surface { background: var(--pm2-surface); }
.pm-tr-section--ink { background: var(--pm2-ink); color: var(--pm2-on-dark); }

.pm-tr-wrap {
  width: 100%; max-width: var(--pm2-container);
  margin-inline: auto; padding-inline: var(--pm2-gutter);
}

.pm-tr-eyebrow {
  font-family: var(--pm2-font-sans);
  font-size: var(--pm2-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pm2-accent);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.pm-tr-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--pm2-accent); opacity: 0.7;
}

.pm-tr-btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 1.05em 1.9em;
  font-family: var(--pm2-font-sans); font-size: 0.95rem; font-weight: 600;
  color: #fff; background: var(--pm2-accent); border: 1px solid var(--pm2-accent);
  border-radius: var(--pm2-radius); cursor: pointer;
  transition: transform var(--pm2-dur-fast) var(--pm2-ease), background var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-btn:hover { transform: translateY(-2px); background: var(--pm2-accent-deep); border-color: var(--pm2-accent-deep); }
.pm-tr-btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.pm-tr-btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.pm-tr-btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Compact hero (blog index, contact) */
.pm-tr-hero {
  position: relative; isolation: isolate; color: #fff;
  display: flex; align-items: flex-end;
}
.pm-tr-hero--compact { min-height: clamp(340px, 42vh, 520px); }
.pm-tr-hero__media { position: absolute; inset: 0; z-index: -2; }
.pm-tr-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.pm-tr-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,25,23,0.35) 0%, rgba(26,25,23,0.72) 100%);
}
.pm-tr-hero__inner {
  width: 100%; max-width: var(--pm2-container);
  margin-inline: auto; padding: clamp(5rem, 4rem + 4vw, 7rem) var(--pm2-gutter) clamp(2.5rem, 2rem + 2vw, 4rem);
}
.pm-premium .pm-tr-hero__title {
  font-family: var(--pm2-font-display);
  font-size: clamp(2.4rem, 1.8rem + 3.5vw, 4.2rem);
  font-weight: 400; line-height: 1.06; letter-spacing: -0.02em;
  color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  max-width: 18ch;
}
.pm-tr-hero__lead {
  margin-top: 1.25rem; max-width: 52ch;
  font-size: var(--pm2-fs-lead); line-height: 1.5;
  color: var(--pm2-on-dark-soft);
}
.pm-tr-hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem;
}

/* Stats / trust band */
.pm-tr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.pm-tr-stat { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 1.4rem; }
.pm-tr-stat__label {
  font-family: var(--pm2-font-display);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.2; color: #fff;
}
.pm-tr-stat__sub { margin-top: 0.5rem; font-size: 0.92rem; color: var(--pm2-on-dark-soft); }

/* Scroll reveal */
.pm-tr-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--pm2-dur) var(--pm2-ease), transform var(--pm2-dur) var(--pm2-ease);
}
.pm-tr-reveal.is-visible,
.pm-tr-reveal.is-in { opacity: 1; transform: none; }
/* Hero always visible — no flash of blank content */
.pm-tr-hero.pm-tr-reveal { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .pm-tr-stats { grid-template-columns: 1fr; }
  .pm-tr-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.16); padding-left: 0; padding-top: 1.2rem; }
  .pm-tr-stat:first-child { border-top: none; padding-top: 0; }
}


/**
 * Puuseppmeister — Terrace service page (bespoke)
 * Identity: OUTDOOR LIVING — warm timber, low horizon light, generous air.
 * Built on the shared premium design system (foundation.css tokens).
 * Scope: body.pm-premium.pm-terrace
 *
 * Layout language stays consistent with the system (type scale, buttons,
 * radius, motion) but the section rhythm & storytelling are unique to terraces.
 */

/* ------------------------------------------------------------------ */
/* Page scaffolding                                                   */
/* ------------------------------------------------------------------ */
.pm-premium main {
  overflow-x: clip;
}
.pm-premium [id] { scroll-margin-top: 96px; }

.pm-tr-section {
  padding-block: var(--pm2-section-y);
}
.pm-tr-section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.pm-tr-section--paper { background: var(--pm2-paper); }
.pm-tr-section--surface { background: var(--pm2-surface); }
.pm-tr-section--block { background: var(--pm2-surface-2); }
.pm-tr-section--ink { background: var(--pm2-ink); color: var(--pm2-on-dark); }

.pm-tr-wrap {
  width: 100%;
  max-width: var(--pm2-container);
  margin-inline: auto;
  padding-inline: var(--pm2-gutter);
}
.pm-tr-wrap--narrow { max-width: var(--pm2-container-narrow); }

/* Section heads */
.pm-tr-head {
  max-width: 56ch;
  margin-bottom: clamp(2.75rem, 2rem + 2.2vw, 4.25rem);
}
body.pm-service-page .pm-tr-section--paper .pm-tr-title,
body.pm-service-page .pm-tr-section--surface .pm-tr-title {
  margin-top: 0.15em;
}
.pm-tr-head--center {
  margin-inline: auto;
  text-align: center;
}
.pm-tr-eyebrow {
  font-family: var(--pm2-font-sans);
  font-size: var(--pm2-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pm2-accent);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.pm-tr-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pm2-accent);
  opacity: 0.7;
}
.pm-tr-head--center .pm-tr-eyebrow { justify-content: center; }
.pm-tr-title {
  font-family: var(--pm2-font-display);
  font-weight: 400;
  font-size: var(--pm2-fs-h2);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--pm2-ink);
  text-wrap: balance;
}
.pm-tr-section--ink .pm-tr-title { color: #fff; }
.pm-tr-lead {
  margin-top: var(--pm2-space-4);
  font-size: var(--pm2-fs-lead);
  line-height: 1.5;
  color: var(--pm2-muted);
  max-width: 60ch;
}
.pm-tr-section--ink .pm-tr-lead { color: var(--pm2-on-dark-soft); }
.pm-tr-p { margin-top: 1.1rem; color: var(--pm2-ink-soft); max-width: 64ch; }
.pm-tr-p--muted { color: var(--pm2-muted); }

/* ------------------------------------------------------------------ */
/* Buttons (map to system)                                            */
/* ------------------------------------------------------------------ */
.pm-tr-btn {
  --b-bg: var(--pm2-ink);
  --b-fg: #fff;
  --b-bd: var(--pm2-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.05em 1.9em;
  font-family: var(--pm2-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--b-fg);
  background: var(--b-bg);
  border: 1px solid var(--b-bd);
  border-radius: var(--pm2-radius);
  cursor: pointer;
  transition: transform var(--pm2-dur-fast) var(--pm2-ease),
    background-color var(--pm2-dur-fast) var(--pm2-ease),
    color var(--pm2-dur-fast) var(--pm2-ease),
    border-color var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-btn:hover { transform: translateY(-2px); }
.pm-tr-btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.pm-tr-btn--accent { --b-bg: var(--pm2-accent); --b-bd: var(--pm2-accent); --b-fg: #fff; }
.pm-tr-btn--accent:hover { --b-bg: var(--pm2-accent-deep); --b-bd: var(--pm2-accent-deep); }
.pm-tr-btn--ghost { --b-bg: transparent; --b-fg: var(--pm2-ink); --b-bd: var(--pm2-line); }
.pm-tr-btn--ghost:hover { --b-bd: var(--pm2-ink); }
.pm-tr-btn--ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,0.45); }
.pm-tr-btn--ghost-light:hover { --b-bg: rgba(255,255,255,0.1); --b-bd: #fff; }

.pm-tr-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--pm2-accent-deep);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--pm2-dur) var(--pm2-ease);
}
.pm-tr-textlink:hover { background-size: 0% 1px; }
.pm-tr-textlink::after { content: "→"; transition: transform var(--pm2-dur-fast) var(--pm2-ease); }
.pm-tr-textlink:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* HERO — full-bleed outdoor living                                   */
/* ------------------------------------------------------------------ */
.pm-tr-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.pm-tr-hero__media { position: absolute; inset: 0; z-index: -2; }
.pm-tr-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.pm-tr-hero--detail .pm-tr-hero__media img { object-position: center center; }
.pm-tr-hero--detail .pm-tr-hero__scrim {
  background:
    linear-gradient(105deg, rgba(12,11,9,0.82) 0%, rgba(12,11,9,0.55) 42%, rgba(12,11,9,0.28) 100%),
    linear-gradient(to top, rgba(12,11,9,0.45), transparent 45%);
}
.pm-tr-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,14,11,0.30) 0%, rgba(16,14,11,0.05) 32%, rgba(16,14,11,0.55) 78%, rgba(16,14,11,0.82) 100%),
    linear-gradient(90deg, rgba(16,14,11,0.55) 0%, rgba(16,14,11,0.0) 60%);
}
.pm-tr-hero__inner {
  width: 100%;
  max-width: var(--pm2-container);
  margin-inline: auto;
  padding-inline: var(--pm2-gutter);
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem);
}
.pm-tr-hero__eyebrow {
  font-size: var(--pm2-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.2rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.pm-tr-hero__eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--pm2-accent); }
.pm-premium .pm-tr-hero__title {
  font-family: var(--pm2-font-display);
  font-weight: 400;
  font-size: var(--pm2-fs-display);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 16ch;
  color: #fff;
  text-shadow: 0 2px 44px rgba(10,9,7,0.35);
}
.pm-tr-hero__title em { font-style: italic; color: #fff; }
.pm-tr-hero__lead {
  margin-top: var(--pm2-space-4);
  max-width: 46ch;
  font-size: var(--pm2-fs-lead);
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 24px rgba(10,9,7,0.3);
}
.pm-tr-hero__actions {
  margin-top: var(--pm2-space-5);
  display: flex; flex-wrap: wrap; gap: 0.85rem;
}
.pm-tr-hero__badges {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 720px;
}
.pm-tr-hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.92);
}
.pm-tr-hero__badge svg { width: 1.15rem; height: 1.15rem; fill: var(--pm2-accent); flex: none; }
.pm-tr-hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,0.7); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.pm-tr-hero__scroll span { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: pmTrScroll 2.4s var(--pm2-ease) infinite; }
@keyframes pmTrScroll { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------------ */
/* SPLIT — text + image                                               */
/* ------------------------------------------------------------------ */
.pm-tr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.pm-tr-split--reverse .pm-tr-split__media { order: -1; }
.pm-tr-split__body { min-width: 0; }
.pm-tr-split__media { position: relative; }
.pm-tr-split__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--pm2-radius-lg);
  aspect-ratio: 4 / 3;
}
.pm-tr-split__media--tall img { aspect-ratio: 3 / 4; }
.pm-tr-split__tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: rgba(26,25,23,0.82); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.06em;
  padding: 0.5rem 0.9rem; border-radius: var(--pm2-radius);
  backdrop-filter: blur(4px);
}

/* Feature list inside split */
.pm-tr-featlist { margin-top: 1.75rem; display: grid; gap: 1.1rem; }
.pm-tr-featlist li { display: flex; gap: 0.9rem; list-style: none; }
.pm-tr-featlist svg { width: 1.4rem; height: 1.4rem; flex: none; margin-top: 2px; fill: var(--pm2-accent); }
.pm-tr-featlist strong { display: block; font-weight: 600; color: var(--pm2-ink); margin-bottom: 0.1rem; }
.pm-tr-featlist span { color: var(--pm2-muted); font-size: 0.98rem; }

/* ------------------------------------------------------------------ */
/* STATS band (dark)                                                  */
/* ------------------------------------------------------------------ */
.pm-tr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.pm-tr-stat { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 1.4rem; }
.pm-tr-stat__num {
  font-family: var(--pm2-font-display);
  font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.6rem);
  line-height: 1; color: #fff; letter-spacing: -0.02em;
}
.pm-tr-stat__num span { color: var(--pm2-accent); }
.pm-tr-stat__label { margin-top: 0.7rem; font-size: 0.92rem; color: var(--pm2-on-dark-soft); line-height: 1.4; }

/* ------------------------------------------------------------------ */
/* CARDS (3 differentiators)                                          */
/* ------------------------------------------------------------------ */
.pm-tr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem); }
.pm-tr-card {
  background: var(--pm2-white);
  border: 1px solid var(--pm2-line-soft);
  border-radius: var(--pm2-radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  display: flex; flex-direction: column;
  transition: transform var(--pm2-dur-fast) var(--pm2-ease), box-shadow var(--pm2-dur-fast) var(--pm2-ease), border-color var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-card:hover { transform: translateY(-4px); box-shadow: var(--pm2-shadow); border-color: var(--pm2-line); }
.pm-tr-card__icon {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--pm2-accent);
  color: var(--pm2-accent); margin-bottom: 1.4rem;
}
.pm-tr-card__icon svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.pm-tr-card__title { font-size: var(--pm2-fs-h4); margin-bottom: 0.7rem; }
.pm-tr-card__text { color: var(--pm2-muted); font-size: 0.98rem; }
.pm-tr-card__img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: var(--pm2-radius); margin-bottom: 1.3rem;
}
.pm-tr-card__img + .pm-tr-card__title { margin-top: 0; }

/* ------------------------------------------------------------------ */
/* COMPARISON TABLE (materials)                                       */
/* ------------------------------------------------------------------ */
.pm-tr-table-wrap { overflow-x: auto; border-radius: var(--pm2-radius-lg); border: 1px solid var(--pm2-line); }
.pm-tr-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--pm2-white); }
.pm-tr-table th, .pm-tr-table td { text-align: left; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--pm2-line-soft); vertical-align: top; }
.pm-tr-table thead th {
  font-family: var(--pm2-font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pm2-muted);
  background: var(--pm2-surface-2);
}
.pm-tr-table tbody th { font-family: var(--pm2-font-display); font-weight: 500; font-size: 1.1rem; color: var(--pm2-ink); width: 22%; }
.pm-tr-table td { color: var(--pm2-ink-soft); font-size: 0.96rem; }
.pm-tr-table tr:last-child th, .pm-tr-table tr:last-child td { border-bottom: none; }
.pm-tr-table tbody tr:hover td, .pm-tr-table tbody tr:hover th { background: var(--pm2-surface); }
.pm-tr-pill { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.2rem 0.6rem; border-radius: 999px; }
.pm-tr-pill--best { background: rgba(184,130,58,0.14); color: var(--pm2-accent-deep); }
.pm-tr-pill--mid { background: rgba(26,25,23,0.08); color: var(--pm2-ink-soft); }

/* ------------------------------------------------------------------ */
/* QUOTE BANNER (full-bleed)                                          */
/* ------------------------------------------------------------------ */
.pm-tr-banner {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(420px, 52vh, 620px);
  display: flex; align-items: center;
}
.pm-tr-banner__media { position: absolute; inset: 0; z-index: -2; }
.pm-tr-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.pm-tr-banner__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,11,9,0.78) 0%, rgba(12,11,9,0.45) 55%, rgba(12,11,9,0.25) 100%); }
.pm-tr-banner__inner { max-width: var(--pm2-container); margin-inline: auto; padding-inline: var(--pm2-gutter); width: 100%; }
.pm-tr-quote { max-width: 24ch; font-family: var(--pm2-font-display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.015em; }
.pm-tr-quote__mark { color: var(--pm2-accent); }
.pm-tr-quote__cite { margin-top: 1.5rem; font-family: var(--pm2-font-sans); font-size: 0.9rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); }

/* ------------------------------------------------------------------ */
/* TIMELINE (process)                                                 */
/* ------------------------------------------------------------------ */
.pm-tr-timeline { display: grid; gap: 0; position: relative; }
.pm-tr-tl { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; position: relative; padding-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.pm-tr-tl:last-child { padding-bottom: 0; }
.pm-tr-tl__rail { display: flex; flex-direction: column; align-items: center; }
.pm-tr-tl__num {
  width: 3.25rem; height: 3.25rem; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--pm2-font-display); font-size: 1.35rem;
  background: var(--pm2-ink); color: #fff;
  border: 1px solid var(--pm2-ink);
  transition: background var(--pm2-dur-fast) var(--pm2-ease), color var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-tl:hover .pm-tr-tl__num { background: var(--pm2-accent); border-color: var(--pm2-accent); }
.pm-tr-tl__line { width: 1px; flex: 1 1 auto; background: var(--pm2-line); margin-top: 0.5rem; }
.pm-tr-tl:last-child .pm-tr-tl__line { display: none; }
.pm-tr-tl__body { padding-top: 0.35rem; }
.pm-tr-tl__title { font-size: var(--pm2-fs-h4); margin-bottom: 0.5rem; }
.pm-tr-tl__text { color: var(--pm2-muted); max-width: 62ch; }

/* ------------------------------------------------------------------ */
/* STANDARDS (technical accordion)                                    */
/* ------------------------------------------------------------------ */
.pm-tr-standards { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.pm-tr-acc { border-top: 1px solid var(--pm2-line); }
.pm-tr-acc details { border-bottom: 1px solid var(--pm2-line); }
.pm-tr-acc summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--pm2-font-display); font-size: var(--pm2-fs-h5); color: var(--pm2-ink);
}
.pm-tr-acc summary::-webkit-details-marker { display: none; }
.pm-tr-acc summary::after {
  content: ""; width: 16px; height: 16px; flex: none; position: relative;
  background:
    linear-gradient(var(--pm2-accent), var(--pm2-accent)) center/16px 1.5px no-repeat,
    linear-gradient(var(--pm2-accent), var(--pm2-accent)) center/1.5px 16px no-repeat;
  transition: transform var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-acc details[open] summary::after {
  background: linear-gradient(var(--pm2-accent), var(--pm2-accent)) center/16px 1.5px no-repeat;
}
.pm-tr-acc__body { padding: 0 0 1.5rem; color: var(--pm2-ink-soft); max-width: 60ch; animation: pmTrFade 0.4s var(--pm2-ease); }
.pm-tr-acc__body p { margin-top: 0; }
@keyframes pmTrFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.pm-tr-checklist { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.pm-tr-checklist li { display: flex; gap: 0.75rem; list-style: none; color: var(--pm2-ink-soft); }
.pm-tr-checklist svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 2px; fill: var(--pm2-accent); }

.pm-tr-callout {
  background: var(--pm2-surface-2); border-radius: var(--pm2-radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); margin-top: 1.75rem;
  border-left: 3px solid var(--pm2-accent);
}
.pm-tr-callout h3,
.pm-tr-callout h4 { font-size: var(--pm2-fs-h5); margin-bottom: 0.5rem; }
.pm-tr-callout p { color: var(--pm2-ink-soft); }

/* ------------------------------------------------------------------ */
/* CALCULATOR (configurator)                                          */
/* ------------------------------------------------------------------ */
.pm-tr-calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.pm-tr-calc__aside { min-width: 0; }
.pm-tr-calc__panel {
  background: var(--pm2-white); border: 1px solid var(--pm2-line);
  border-radius: var(--pm2-radius-lg); padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
  box-shadow: var(--pm2-shadow);
  position: sticky; top: 96px;
}
.pm-tr-calc__panel h3 { font-size: var(--pm2-fs-h4); margin-bottom: 1.25rem; }
.pm-tr-field { margin-bottom: 1.1rem; }
.pm-tr-field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pm2-muted); margin-bottom: 0.45rem; }
.pm-tr-calc__panel input[type="number"],
.pm-tr-calc__panel input[type="email"],
.pm-tr-calc__panel select,
.pm-tr-calc__panel textarea {
  width: 100%; padding: 0.85rem 1rem; font-family: var(--pm2-font-sans); font-size: 1rem;
  color: var(--pm2-ink); background: var(--pm2-surface);
  border: 1px solid var(--pm2-line); border-radius: var(--pm2-radius);
  transition: border-color var(--pm2-dur-fast) var(--pm2-ease), box-shadow var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-calc__panel input:focus,
.pm-tr-calc__panel select:focus,
.pm-tr-calc__panel textarea:focus {
  outline: none; border-color: var(--pm2-accent); box-shadow: 0 0 0 3px rgba(184,130,58,0.15);
}
.pm-tr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pm-tr-check { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--pm2-line-soft); }
.pm-tr-check label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 0.98rem; font-weight: 600; color: var(--pm2-ink); }
.pm-tr-check input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--pm2-accent); flex: none; }
.pm-tr-calc__panel button { width: 100%; margin-top: 0.75rem; justify-content: center; }

#kalkulaator #result:not(:empty) {
  margin-top: 1.4rem; padding: 1.5rem; border-radius: var(--pm2-radius-lg);
  background: var(--pm2-ink); color: #fff; text-align: center;
  animation: pmTrPop 0.5s var(--pm2-ease);
}
@keyframes pmTrPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.pm-sp-result__label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.pm-sp-result__price { font-family: var(--pm2-font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1.05; margin: 0.35rem 0; color: #fff; }
.pm-sp-result__price span { color: var(--pm2-accent); }
.pm-sp-result__meta { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.pm-tr-file-wrap { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border: 1px dashed var(--pm2-line); border-radius: var(--pm2-radius); background: var(--pm2-surface); cursor: pointer; }
.pm-tr-file-wrap input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pm-tr-file-wrap.file-error { border-color: #c0392b; }
.pm-tr-note { font-size: 0.85rem; color: var(--pm2-muted); margin-top: 1rem; text-align: center; }

/* ------------------------------------------------------------------ */
/* GALLERY (masonry + lightbox)                                       */
/* ------------------------------------------------------------------ */
.pm-tr-gallery { columns: 3; column-gap: 1rem; }
.pm-tr-gallery__item {
  display: block; break-inside: avoid; margin-bottom: 1rem;
  position: relative; overflow: hidden; border-radius: var(--pm2-radius-lg);
  cursor: zoom-in;
}
.pm-tr-gallery__item img { width: 100%; height: auto; display: block; transition: transform 0.8s var(--pm2-ease); }
.pm-tr-gallery__item:hover img { transform: scale(1.05); }
.pm-tr-gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem 0.85rem;
  color: #fff; font-size: 0.88rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(12,11,9,0.75));
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--pm2-dur-fast) var(--pm2-ease), transform var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-gallery__item:hover .pm-tr-gallery__cap { opacity: 1; transform: none; }

/* Lightbox */
.pm-tr-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(12,11,9,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--pm2-ease), visibility 0.3s;
}
.pm-tr-lightbox.is-open { opacity: 1; visibility: visible; }
.pm-tr-lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--pm2-radius); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.pm-tr-lightbox__close, .pm-tr-lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem; transition: background var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-lightbox__close:hover, .pm-tr-lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.pm-tr-lightbox__close { top: 1.25rem; right: 1.25rem; }
.pm-tr-lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.pm-tr-lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.pm-tr-lightbox__cap { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* ESTO / financing                                                   */
/* ------------------------------------------------------------------ */
.pm-tr-esto {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: var(--pm2-white);
  border: 1px solid var(--pm2-line);
  border-radius: var(--pm2-radius-lg);
}
/* When nested wrongly inside a narrow split column, still collapse to one column */
.pm-tr-split__body > .pm-tr-esto,
.pm-tr-esto:not(:has(.pm-tr-esto__media)) {
  grid-template-columns: 1fr;
}
.pm-tr-esto__media {
  position: relative;
  min-height: 220px;
  background: var(--pm2-ink);
}
.pm-tr-esto__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}
.pm-tr-esto__body {
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pm-tr-esto__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm2-accent-deep);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 1rem;
}
.pm-tr-esto__badge::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pm2-accent);
  flex: none;
}
.pm-tr-esto__body h3 {
  font-size: var(--pm2-fs-h3);
  margin: 0 0 0.6rem;
}
.pm-tr-esto__body .pm-tr-btn--ghost {
  --b-bg: transparent;
  --b-fg: var(--pm2-ink);
  --b-bd: var(--pm2-line);
  color: var(--pm2-ink);
  background: transparent;
  border-color: var(--pm2-line);
}
.pm-tr-esto__body .pm-tr-btn--ghost:hover {
  --b-bd: var(--pm2-ink);
  border-color: var(--pm2-ink);
}
.pm-tr-esto__body .pm-tr-btn--accent {
  align-self: flex-start;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                */
/* ------------------------------------------------------------------ */
.pm-tr-faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--pm2-line); }
.pm-tr-faq details { border-bottom: 1px solid var(--pm2-line); }
.pm-tr-faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--pm2-font-display); font-size: var(--pm2-fs-h5); color: var(--pm2-ink);
}
.pm-tr-faq summary::-webkit-details-marker { display: none; }
.pm-tr-faq summary::after {
  content: ""; width: 18px; height: 18px; flex: none;
  background:
    linear-gradient(var(--pm2-accent), var(--pm2-accent)) center/18px 2px no-repeat,
    linear-gradient(var(--pm2-accent), var(--pm2-accent)) center/2px 18px no-repeat;
  transition: transform var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-faq details[open] summary::after { background: linear-gradient(var(--pm2-accent), var(--pm2-accent)) center/18px 2px no-repeat; }
.pm-tr-faq__body { padding: 0 0 1.6rem; color: var(--pm2-ink-soft); max-width: 72ch; animation: pmTrFade 0.4s var(--pm2-ease); }

/* ------------------------------------------------------------------ */
/* RELATED links                                                      */
/* ------------------------------------------------------------------ */
.pm-tr-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pm-tr-related__card {
  display: block; padding: 1.75rem; background: var(--pm2-white);
  border: 1px solid var(--pm2-line-soft); border-radius: var(--pm2-radius-lg);
  transition: transform var(--pm2-dur-fast) var(--pm2-ease), box-shadow var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-related__card:hover { transform: translateY(-3px); box-shadow: var(--pm2-shadow); }
.pm-tr-related__title { font-size: var(--pm2-fs-h5); margin-bottom: 0.4rem; display: flex; align-items: center; justify-content: space-between; }
.pm-tr-related__title::after { content: "→"; color: var(--pm2-accent); transition: transform var(--pm2-dur-fast) var(--pm2-ease); }
.pm-tr-related__card:hover .pm-tr-related__title::after { transform: translateX(4px); }
.pm-tr-related__text { color: var(--pm2-muted); font-size: 0.95rem; }

/* ------------------------------------------------------------------ */
/* FINAL CTA (full-bleed)                                             */
/* ------------------------------------------------------------------ */
.pm-tr-final {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(460px, 60vh, 680px);
  display: flex; align-items: center; text-align: center;
}
.pm-tr-final__media { position: absolute; inset: 0; z-index: -2; }
.pm-tr-final__media img { width: 100%; height: 100%; object-fit: cover; }
.pm-tr-final__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,11,9,0.55), rgba(12,11,9,0.72)); }
.pm-tr-final__inner { max-width: 720px; margin-inline: auto; padding-inline: var(--pm2-gutter); }
.pm-premium .pm-tr-final__title { font-family: var(--pm2-font-display); font-weight: 400; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.pm-tr-final__lead { margin-top: 1.25rem; font-size: var(--pm2-fs-lead); color: rgba(255,255,255,0.85); }
.pm-tr-final__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.pm-tr-final__contact { margin-top: 1.75rem; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.pm-tr-final__contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; }

/* ------------------------------------------------------------------ */
/* SIGNATURE — interactive material explorer                          */
/* ------------------------------------------------------------------ */
.pm-tr-matx {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.pm-tr-matx__chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.pm-tr-matx__chip {
  font-family: var(--pm2-font-sans); font-size: 0.9rem; font-weight: 600;
  color: var(--pm2-ink-soft); background: var(--pm2-white);
  border: 1px solid var(--pm2-line); border-radius: 999px;
  padding: 0.6rem 1.15rem; cursor: pointer;
  transition: color var(--pm2-dur-fast) var(--pm2-ease), background-color var(--pm2-dur-fast) var(--pm2-ease), border-color var(--pm2-dur-fast) var(--pm2-ease), transform var(--pm2-dur-fast) var(--pm2-ease);
}
.pm-tr-matx__chip:hover { border-color: var(--pm2-accent); color: var(--pm2-ink); transform: translateY(-1px); }
.pm-tr-matx__chip.is-active { background: var(--pm2-ink); border-color: var(--pm2-ink); color: #fff; }
.pm-tr-matx__panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center;
  background: var(--pm2-white); border: 1px solid var(--pm2-line);
  border-radius: var(--pm2-radius-lg); padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.75rem);
}
.pm-tr-matx__tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pm2-accent-deep);
  background: rgba(184,130,58,0.12); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.pm-tr-matx__name { font-family: var(--pm2-font-display); font-weight: 400; font-size: var(--pm2-fs-h3); color: var(--pm2-ink); line-height: 1.08; }
.pm-tr-matx__desc { margin-top: 0.8rem; color: var(--pm2-ink-soft); }
.pm-tr-matx__best { margin-top: 1rem; font-size: 0.95rem; color: var(--pm2-muted); }
.pm-tr-matx__best span { font-weight: 600; color: var(--pm2-ink); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.76rem; }
.pm-tr-matx__best em { font-style: normal; }
.pm-tr-matx__bars { display: grid; gap: 1.35rem; }
.pm-tr-matx__bar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.55rem; }
.pm-tr-matx__bar-head span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pm2-muted); }
.pm-tr-matx__bar-head strong { font-family: var(--pm2-font-sans); font-weight: 600; font-size: 0.92rem; color: var(--pm2-ink); }
.pm-tr-matx__track { height: 8px; border-radius: 999px; background: var(--pm2-surface-2); overflow: hidden; }
.pm-tr-matx__fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--pm2-accent), var(--pm2-accent-deep));
  transition: width 0.75s var(--pm2-ease);
}
.pm-tr-matx__fill--price { background: linear-gradient(90deg, var(--pm2-ink-soft), var(--pm2-ink)); }

/* ------------------------------------------------------------------ */
/* Button shine (accent CTAs)                                         */
/* ------------------------------------------------------------------ */
.pm-tr-btn--accent { position: relative; overflow: hidden; isolation: isolate; }
.pm-tr-btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--pm2-ease);
}
.pm-tr-btn--accent:hover::after { transform: translateX(120%); }

/* Card icon reacts to card hover */
.pm-tr-card__icon { transition: background-color var(--pm2-dur-fast) var(--pm2-ease), color var(--pm2-dur-fast) var(--pm2-ease), transform var(--pm2-dur) var(--pm2-ease); }
.pm-tr-card:hover .pm-tr-card__icon { background: var(--pm2-accent); color: #fff; transform: rotate(-4deg) scale(1.04); }

/* Subtle image zoom on split / banner / esto media */
.pm-tr-split__media, .pm-tr-esto__media { overflow: hidden; }
.pm-tr-split__media { border-radius: var(--pm2-radius-lg); }
.pm-tr-split__media img, .pm-tr-esto__media img, .pm-tr-banner__media img, .pm-tr-final__media img { transition: transform 1.2s var(--pm2-ease); }
.pm-tr-split__media:hover img, .pm-tr-esto:hover .pm-tr-esto__media img { transform: scale(1.04); }

/* Focus-visible (a11y) */
.pm-premium a:focus-visible,
.pm-premium button:focus-visible,
.pm-premium summary:focus-visible,
.pm-premium input:focus-visible,
.pm-premium select:focus-visible {
  outline: 2px solid var(--pm2-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Count-up hint: numbers animate via JS toggling width/opacity is not needed */

/* ------------------------------------------------------------------ */
/* Final CTA trust row                                                */
/* ------------------------------------------------------------------ */
.pm-tr-final__trust {
  margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.75rem 2rem; list-style: none;
}
.pm-tr-final__trust li { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.pm-tr-final__trust svg { width: 1.1rem; height: 1.1rem; fill: var(--pm2-accent); flex: none; }

/* ------------------------------------------------------------------ */
/* Sticky mobile CTA bar                                              */
/* ------------------------------------------------------------------ */
.pm-tr-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: none; gap: 0.6rem; padding: 0.7rem 0.85rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--pm2-line);
  transform: translateY(120%);
  transition: transform 0.4s var(--pm2-ease);
}
.pm-tr-sticky.is-visible { transform: none; }
.pm-tr-sticky__call, .pm-tr-sticky__quote {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--pm2-font-sans); font-weight: 600; font-size: 0.95rem;
  border-radius: var(--pm2-radius); padding: 0.85rem 1rem;
}
.pm-tr-sticky__call { flex: 0 0 auto; color: var(--pm2-ink); border: 1px solid var(--pm2-line); background: #fff; }
.pm-tr-sticky__call svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.pm-tr-sticky__quote { flex: 1 1 auto; color: #fff; background: var(--pm2-accent); border: 1px solid var(--pm2-accent); }
.pm-tr-sticky__quote:active { background: var(--pm2-accent-deep); }

/* ------------------------------------------------------------------ */
/* Reveal                                                             */
/* ------------------------------------------------------------------ */
.pm-tr-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--pm2-ease), transform 0.9s var(--pm2-ease); transition-delay: var(--d, 0s); }
.pm-tr-reveal.is-in { opacity: 1; transform: none; }
.pm-tr-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pm-tr-reveal { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .pm-tr-stats { grid-template-columns: repeat(2, 1fr); }
  .pm-tr-cards { grid-template-columns: 1fr; }
  .pm-tr-gallery { columns: 2; }
  .pm-tr-standards { grid-template-columns: 1fr; }
  .pm-tr-calc { grid-template-columns: 1fr; }
  .pm-tr-calc__panel { position: static; }
  .pm-tr-matx__panel { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .pm-tr-split { grid-template-columns: 1fr; }
  .pm-tr-split--reverse .pm-tr-split__media { order: 0; }
  .pm-tr-split__media img, .pm-tr-split__media--tall img { aspect-ratio: 16 / 10; }
  .pm-tr-gallery { columns: 1; }
  .pm-tr-esto { grid-template-columns: 1fr; }
  .pm-tr-esto__media { order: -1; }
  .pm-tr-related { grid-template-columns: 1fr; }
  .pm-tr-grid2 { grid-template-columns: 1fr; }

  /* Mobile hero: readable & spacious — height may grow past the fold */
  .pm-tr-hero {
    min-height: 0;
    align-items: flex-end;
  }
  .pm-tr-hero__inner {
    padding-block: calc(5.25rem + env(safe-area-inset-top, 0px)) clamp(2.75rem, 7vw, 3.75rem);
  }
  .pm-tr-hero__eyebrow {
    margin: 0 0 1rem;
    letter-spacing: 0.2em;
  }
  .pm-premium .pm-tr-hero__title {
    max-width: none;
    line-height: 1.05;
  }
  .pm-tr-hero__lead {
    margin-top: 1.25rem;
    max-width: 34ch;
    line-height: 1.55;
  }
  .pm-tr-hero__actions {
    margin-top: 1.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .pm-tr-hero__actions .pm-tr-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .pm-tr-hero__badges {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    gap: 0.7rem 1.35rem;
    max-width: none;
  }
  .pm-tr-hero__badge {
    font-size: 0.88rem;
    gap: 0.5rem;
  }
  /* Compact trust row: keep first two (warranty / experience) */
  .pm-tr-hero__badge:nth-child(n + 3) {
    display: none;
  }
  .pm-tr-hero__scroll {
    display: none;
  }

  .pm-tr-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.16); padding-left: 0; padding-top: 1rem; }
  .pm-tr-sticky { display: flex; }
  .pm-premium .pm-tr-final { padding-bottom: 5.5rem; }
}

/* 360–430 px: extra calm scan path */
@media (max-width: 430px) {
  .pm-tr-hero__inner {
    padding-block: calc(5.5rem + env(safe-area-inset-top, 0px)) 3.25rem;
    padding-inline: 1.25rem;
  }
  .pm-tr-hero__lead {
    max-width: 30ch;
  }
  .pm-tr-hero__badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

