/**
 * 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 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; }
  .pm-tr-hero { min-height: 88vh; }
  .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; }
}
