/* This branch uses NEXO's existing tokens and an editorial photo-led composition. */
.reforma-page {
  --reforma-display: clamp(2.2rem, min(5.5vw, 7.7svh), 5rem);
  --reforma-heading: clamp(2.4rem, 4.6vw, 4.8rem);
  --reforma-subhead: clamp(1.75rem, 2.5vw, 2.6rem);
  --reforma-caption: .875rem;
  --reforma-body: 1rem;
  --reforma-lead: clamp(1.1rem, 1.5vw, 1.35rem);
  --reforma-gap: clamp(20px, 4vw, 56px);
  --reforma-space: clamp(64px, 7vw, 108px);
  --reforma-rule: #ada79b;
  background: var(--ivory);
  color: var(--coal);
  font-size: var(--reforma-body);
  overflow-x: visible;
}
.reforma-page [hidden] { display: none !important; }
.reforma-wrap { width: min(calc(100% - var(--gutter) * 2), 1400px); margin-inline: auto; }
.reforma-page h1, .reforma-page h2, .reforma-page h3 { text-wrap: balance; }
.reforma-page h2 { font-size: var(--reforma-heading); margin: 0; }
.reforma-page h3 { font-size: var(--reforma-subhead); line-height: 1.05; }
.reforma-page p { line-height: 1.55; }
.reforma-header { min-height: 78px; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--coal); color: var(--ivory); position: relative; z-index: 30; }
.reforma-brand { width: 154px; flex: none; }
.reforma-brand img { width: 100%; height: auto; }
.reforma-header nav { display: flex; align-items: center; gap: 32px; }
.reforma-header nav a { padding-block: 10px; font-size: var(--reforma-body); }
.reforma-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 8px; }
.reforma-header a:hover, .reforma-footer a:hover, .reforma-email:hover { opacity: .75; }
.reforma-menu { display: none; }
.reforma-cta { min-height: 52px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--coal); color: var(--ivory); font-size: var(--reforma-body); font-weight: 700; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.reforma-cta:hover { background: var(--brown); transform: translateY(-2px); }
.reforma-cta:active { transform: translateY(0); }
.reforma-hero { padding-block: 18px 28px; min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; }
.hero-heading { text-align: center; }
.hero-heading h1 { margin: 0 auto 12px; font-size: var(--reforma-display); line-height: 1.02; }
.hero-heading > p { margin: 0 auto 16px; max-width: 68ch; }
.comparison-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comparison-pair figure { min-width: 0; margin: 0; }
.comparison-pair figcaption { font-family: var(--mono); font-size: var(--reforma-caption); margin-bottom: 10px; }
.comparison-pair img { width: 100%; height: auto; }
.hero-pair { margin-top: 18px; }
.hero-pair img { height: clamp(200px, 35svh, 350px); object-fit: cover; object-position: center 50%; }
.hero-pair figcaption { font-size: var(--reforma-caption); }
.hero-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 8px; }
.hero-caption p { margin: 0; font-size: var(--reforma-body); }
.hero-caption > span { max-width: 40ch; font-size: var(--reforma-caption); color: var(--brown); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: var(--reforma-gap); margin-bottom: 36px; }
.section-heading > p { margin: 0; max-width: 42ch; font-size: var(--reforma-lead); }
.reforma-examples { padding-block: var(--reforma-space); }
.room-selector { display: flex; gap: 8px; margin-bottom: 24px; }
.room-selector button { border: 0; color: var(--coal); background: transparent; padding: 12px 22px; min-height: 48px; font-size: var(--reforma-body); transition: color .2s var(--ease), background .2s var(--ease); }
.room-selector button[aria-pressed="true"] { background: var(--coal); color: var(--ivory); }
.room-selector button:hover { background: var(--brown); color: var(--ivory); }
.room-selector button:active { transform: translateY(1px); }
.room-panels { max-width: 1080px; margin-inline: auto; }
.room-panels .comparison-pair img { max-height: 600px; object-fit: contain; object-position: center; }
.room-panels article > p { margin: 16px 0 0; }
.simulation-note { font-size: var(--reforma-body); color: var(--brown); max-width: 78ch; margin: 12px auto 0; }
.reforma-films { padding-block: var(--reforma-space); background: var(--coal); color: var(--ivory); }
.video-case + .video-case { margin-top: 48px; }
.video-case-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.video-case-heading h3 { margin: 0; }
.video-case-heading > span { font-size: var(--reforma-caption); color: var(--stone); }
.video-case-layout { display: grid; grid-template-columns: .24fr .76fr; gap: 24px; align-items: start; }
.video-reference { margin: 0; }
.video-reference img { width: 100%; height: auto; }
.video-reference figcaption { font-size: var(--reforma-caption); margin-top: 12px; color: var(--stone); }
.video-case-layout > div > p { margin: 14px 0 0; color: var(--stone); font-size: var(--reforma-body); }
.reforma-player { position: relative; aspect-ratio: 16 / 9; background: var(--brown); }
.reforma-player img, .reforma-player video { width: 100%; height: 100%; object-fit: contain; }
.video-play { position: absolute; inset-inline-start: 20px; inset-block-end: 20px; border: 0; background: var(--ivory); color: var(--coal); min-height: 52px; padding: 14px 20px; display: flex; justify-content: space-between; gap: 30px; transition: transform .2s var(--ease); }
.video-play:hover { transform: translateY(-2px); }
.video-play:active { transform: translateY(0); }
.video-play:disabled { cursor: wait; }
.reforma-services { padding-block: var(--reforma-space); }
.pricing-note { margin: 0 0 36px; color: var(--brown); }
.reforma-service { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--reforma-gap); padding-block: 42px; border-top: 1px solid var(--reforma-rule); }
.service-title { display: grid; align-content: start; justify-items: start; }
.service-number { font-family: var(--mono); font-size: var(--reforma-caption); margin-bottom: 18px; }
.service-title h3 { margin-bottom: 24px; }
.service-price { font-size: var(--reforma-lead); font-weight: 700; margin: 0 0 24px; }
.service-price > span { display: block; font-size: var(--reforma-body); font-weight: 400; color: var(--brown); margin-top: 3px; }
.service-intro { margin: 0 0 20px; max-width: 48ch; font-size: var(--reforma-lead); }
.service-detail ul { padding-left: 20px; margin: 0 0 24px; }
.service-detail li + li { margin-top: 10px; }
.service-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: var(--reforma-body); margin: 20px 0; }
.service-facts dt { color: var(--brown); }
.service-facts dd { margin: 0; }
.scope-note, .services-footnote { color: var(--brown); margin: 24px 0 0; font-size: var(--reforma-body); }
.services-footnote { max-width: 80ch; }
.installation-option { margin-top: 24px; }
.installation-option summary { padding: 16px 0; font-size: var(--reforma-body); font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--reforma-rule); }
.installation-option > div { padding-top: 20px; }
.installation-option .reforma-cta { margin-bottom: 16px; }
.reforma-process { padding-block: 20px var(--reforma-space); }
.reforma-process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: process; padding: 0; margin: 42px 0 0; list-style: none; }
.reforma-process li { counter-increment: process; }
.reforma-process li::before { content: "0" counter(process); display: block; font-family: var(--mono); font-size: var(--reforma-caption); color: var(--brown); margin-bottom: 20px; }
.reforma-process h3 { font-size: var(--reforma-lead); letter-spacing: -.03em; line-height: 1.25; margin-bottom: 14px; }
.reforma-process p { margin: 0; max-width: 30ch; }
.reforma-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--reforma-gap); padding-block: 20px var(--reforma-space); }
.faq-list details { border-top: 1px solid var(--reforma-rule); }
.faq-list summary { font-size: var(--reforma-body); font-weight: 700; list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; }
.faq-list summary::-webkit-details-marker, .installation-option summary::-webkit-details-marker { display: none; }
.faq-list summary:hover, .installation-option summary:hover { color: var(--brown); }
.faq-list summary:active { opacity: .75; }
.faq-list summary > span, .installation-option summary > span { flex: none; }
.faq-list details[open] summary > span, .installation-option[open] summary > span { transform: rotate(45deg); }
.faq-list p { margin: 0 0 24px; max-width: 62ch; }
.reforma-closing { padding-block: var(--reforma-space); background: var(--coal); color: var(--ivory); }
.reforma-closing > div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--reforma-gap); align-items: center; }
.reforma-closing p { font-size: var(--reforma-lead); max-width: 36ch; }
.reforma-closing .reforma-cta { color: var(--coal); background: var(--ivory); }
.reforma-closing .reforma-cta:hover { background: var(--stone); }
.reforma-email { display: block; width: fit-content; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; }
.reforma-footer { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: 32px; }
.reforma-footer p { font-size: var(--reforma-body); margin: 0; }
.reforma-footer nav { display: flex; gap: 24px; align-items: center; }
.reforma-footer button { background: transparent; border: 0; color: inherit; padding: 12px 0; font-size: var(--reforma-body); }
.reforma-mobile-contact { display: none; }
.reforma-page .cookie-consent { background: var(--coal); color: var(--ivory); z-index: 100; }
.reforma-page .cookie-consent a { text-decoration: underline; }
@media (max-width: 900px) {
  .reforma-header { min-height: 72px; }
  .reforma-brand { width: 136px; }
  .reforma-menu { display: inline-flex; align-items: center; gap: 24px; padding: 12px 0 12px 16px; min-height: 48px; background: transparent; color: var(--ivory); border: 0; }
  .reforma-header nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 16px var(--gutter); background: var(--coal); }
  .reforma-header.is-menu-open nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .reforma-header nav a { min-height: 48px; }
  .section-heading, .reforma-faq { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { max-width: 56ch; }
  .reforma-process ol { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reforma-service { grid-template-columns: .9fr 1.1fr; }
  .hero-caption { align-items: start; }
}
@media (max-width: 600px) {
  .reforma-page { --gutter: 20px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .reforma-hero { padding-block: 30px; min-height: calc(100svh - 72px - 76px); }
  .hero-heading h1 { line-height: 1.04; }
  .hero-heading > p { max-width: 34ch; margin-block: 18px; }
  .hero-heading .reforma-cta { display: none; }
  .hero-pair { margin-top: 8px; gap: 10px; }
  .hero-pair img { height: auto; object-fit: contain; }
  .hero-caption { flex-direction: column; gap: 8px; margin-top: 14px; }
  .hero-caption p { display: none; }
  .comparison-pair { gap: 10px; }
  .comparison-pair figcaption { font-size: var(--reforma-caption); }
  .room-selector { gap: 0; justify-content: space-between; }
  .room-selector button { padding-inline: 14px; }
  .room-panels .comparison-pair img { max-height: none; }
  .simulation-note { margin-top: 14px; }
  .video-case-heading { align-items: start; flex-direction: column; gap: 10px; }
  .video-case-layout { display: flex; flex-direction: column-reverse; gap: 18px; }
  .video-reference { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 16px; }
  .video-reference img { width: 92px; }
  .video-reference figcaption { margin: 0; font-size: var(--reforma-body); }
  .video-play { inset-inline-start: 12px; inset-block-end: 12px; padding-inline: 14px; gap: 20px; }
  .reforma-service { grid-template-columns: 1fr; gap: 28px; }
  .service-title h3 br { display: none; }
  .service-title .reforma-cta { width: 100%; }
  .service-number { margin-bottom: 12px; }
  .service-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reforma-process ol { grid-template-columns: 1fr; gap: 30px; }
  .reforma-process li { display: grid; grid-template-columns: 32px 1fr; gap: 0 12px; }
  .reforma-process li::before { grid-row: span 2; margin: 2px 0 0; }
  .reforma-process p { grid-column: 2; max-width: none; }
  .reforma-closing > div { grid-template-columns: 1fr; gap: 28px; }
  .reforma-closing .reforma-cta { width: 100%; }
  .reforma-footer { justify-content: start; gap: 22px 14px; }
  .reforma-footer p { max-width: 24ch; }
  .reforma-footer nav { width: 100%; gap: 20px; }
  .reforma-mobile-contact { display: block; position: fixed; inset-inline: 0; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--ivory); z-index: 40; }
  .reforma-mobile-contact .reforma-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .reforma-page { scroll-behavior: auto; }
  .reforma-page *, .reforma-page *::before, .reforma-page *::after { transition: none !important; }
}
