/* Refait Toit — brand component & layout stylesheet.
 * Ported from HTML/styles.css + HTML/tokens.css. Content-image background-
 * urls (hero, problem, final_cta) live inline on the partials so editors
 * can swap them through the Media Library. */

/* ════════════════════════════════════════════════════════════════
   TOKENS — brand-local primitives + semantic aliases + fluid type
   ════════════════════════════════════════════════════════════════ */
:root {
    /* Brand */
    --color-ink: rgb(42, 42, 40);
    --color-ink-deep: rgb(14, 14, 14);
    --color-ink-soft: rgb(33, 39, 41);
    --color-cyan: rgb(33, 188, 255);
    --color-cyan-deep: rgb(26, 160, 252);
    --color-signal: rgb(255, 157, 0);

    /* Neutrals */
    --color-white: rgb(255, 255, 255);
    --color-bone: rgb(250, 250, 249);
    --color-canvas: rgb(243, 244, 248);
    --color-stone-100: rgb(237, 238, 240);
    --color-stone-200: rgb(225, 226, 226);
    --color-stone-300: rgb(191, 191, 191);
    --color-stone-400: rgb(124, 124, 124);
    --color-stone-500: rgb(100, 104, 104);
    --color-stone-600: rgb(69, 69, 69);
    --color-stone-700: rgb(45, 45, 45);
    --color-stone-800: rgb(26, 26, 26);

    /* Semantic aliases (rt-* components consume these) */
    --surface-page: var(--color-canvas);
    --surface-card: var(--color-white);
    --surface-card-muted: var(--color-bone);
    --surface-dark: var(--color-ink);
    --surface-darker: var(--color-ink-deep);

    --text-strong: var(--color-ink);
    --text-body: rgb(15, 14, 14);
    --text-muted: rgb(96, 92, 82);
    --text-on-dark: var(--color-white);
    --text-on-dark-muted: rgba(255, 255, 255, 0.7);
    --text-on-dark-faint: rgba(250, 250, 249, 0.6);

    --border-hairline: rgba(124, 124, 124, 0.5);
    --border-card: rgb(191, 191, 191);
    --border-on-dark: rgba(255, 255, 255, 0.15);

    --accent: var(--color-cyan);
    --accent-deep: var(--color-cyan-deep);
    --rating: var(--color-signal);

    --gradient-hero: linear-gradient(180deg, rgba(4, 4, 4, 0) 0%, rgb(4, 4, 4) 100%);
    --gradient-card: linear-gradient(180deg, rgba(4, 4, 4, 0) 62%, rgb(4, 4, 4) 100%);

    /* Typography — display, body, weights, sizes, leading, tracking */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    --type-hero: clamp(34px, 5.4vw, 64px);
    --type-display: clamp(30px, 4.4vw, 48px);
    --type-headline: clamp(28px, 3.6vw, 40px);
    --type-title: clamp(24px, 3vw, 32px);
    --type-subtitle: clamp(20px, 2.2vw, 24px);
    --type-lead: clamp(17px, 1.7vw, 20px);
    --type-body: 16px;
    --type-meta: 14px;
    --type-micro: 12px;

    --leading-tight: 1.05;
    --leading-snug: 1.2;
    --leading-normal: 1.3;
    --leading-relaxed: 1.4;
    --leading-button: 1.375;

    --track-display: -0.02em;
    --track-tight: -0.015em;
    --track-snug: -0.02em;
    --track-normal: 0;

    --text-hero-style:  var(--weight-regular) var(--type-hero) / var(--leading-snug) var(--font-display);
    --text-title-style: var(--weight-regular) var(--type-title) / var(--leading-snug) var(--font-display);
    --text-tag-style:   var(--weight-regular) var(--type-meta) / 1.4 var(--font-display);
    --text-body-style:  var(--weight-regular) var(--type-body) / 1.5 var(--font-body);

    /* Spacing scale */
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-7: 32px; --space-8: 36px;
    --space-9: 48px; --space-10: 60px; --space-11: 64px; --space-12: 80px;
    --space-13: 100px; --space-14: 120px;

    --gutter-page: 60px;
    --gutter-section: 120px;
    --gutter-stack: 80px;
    --gutter-row: 24px;

    --container-max: 1320px;
    --container-narrow: 963px;
    --hero-min-height: 900px;

    /* Radii — match brand (also overrides trd-base where rt-* selectors win) */
    --rt-radius-xs: 4px;
    --rt-radius-sm: 8px;
    --rt-radius-md: 16px;
    --rt-radius-lg: 19px;
    --rt-radius-xl: 24px;
    --rt-radius-pill: 999px;

    --border-thin: 0.5px;
    --border-regular: 1px;
    --border-thick: 3px;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.10);
    --shadow-button-hover: 0 10px 24px rgba(33, 188, 255, 0.25);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 240ms;
    --duration-slow: 420ms;

    --color-canvas-hi: #F4F4F8;
    --color-near-black: rgb(4, 4, 4);
    --color-error: rgb(190, 64, 54);

    --c-white-70: rgba(255,255,255,0.7);
    --c-white-90: rgba(255,255,255,0.9);
    --c-white-92: rgba(255,255,255,0.92);
    --c-white-12: rgba(255,255,255,0.12);
    --c-white-28: rgba(255,255,255,0.28);
    --c-white-10: rgba(255,255,255,0.10);
    --c-white-60: rgba(255,255,255,0.6);
    --c-white-16: rgba(255,255,255,0.16);
    --c-white-65: rgba(255,255,255,0.65);
    --c-white-85: rgba(255,255,255,0.85);
    --c-white-62: rgba(255,255,255,0.62);
    --c-white-55: rgba(255,255,255,0.55);
    --c-white-78: rgba(255,255,255,0.78);
    --c-white-35: rgba(255,255,255,0.35);
    --c-black-06: rgba(0,0,0,0.06);
    --c-black-14: rgba(0,0,0,0.14);
    --c-black-25: rgba(0,0,0,0.25);
    --c-black-55: rgba(0,0,0,0.55);
    --c-black-50: rgba(0,0,0,0.5);
    --c-nb-74: rgba(4,4,4,0.74);
    --c-nb-34: rgba(4,4,4,0.34);
    --c-nb-05: rgba(4,4,4,0.05);
    --c-nb-45: rgba(4,4,4,0.45);
    --c-nb-90: rgba(4,4,4,0.9);
    --c-nb-92: rgba(4,4,4,.92);
    --c-nb-00: rgba(4,4,4,0);
    --c-id-55: rgba(14,14,14,0.55);
    --c-id-74: rgba(14,14,14,0.74);
    --c-id-45: rgba(14,14,14,0.45);
    --c-id-82: rgba(14,14,14,0.82);
    --c-id-00: rgba(14,14,14,0);
    --c-it-08: rgba(26,26,26,0.08);
    --c-it-06: rgba(26,26,26,0.06);
    --c-ng-05: rgba(20,20,20,0.05);
    --c-cyan-14: rgba(33,188,255,0.14);
    --c-cyan-20: rgba(33,188,255,0.20);
    --c-bone-60: rgba(250,250,249,0.6);
    --c-canvashi-55: rgba(244,244,248,0.55);
    --c-softwhite-95: rgba(239,239,239,0.95);
    --c-softwhite2-96: rgba(240,240,240,0.96);
    --c-error-15: rgba(190, 64, 54, 0.15);
}

@media (max-width: 1024px) { :root { --gutter-section: 96px; --gutter-stack: 60px; } }
@media (max-width: 768px)  { :root { --gutter-section: 76px; --gutter-stack: 48px; } }
@media (max-width: 520px)  { :root { --gutter-section: 60px; } }

/* ════════════════════════════════════════════════════════════════
   BASE — reset overrides specific to the rt-* surface
   ════════════════════════════════════════════════════════════════ */
/* Use `overflow: clip` (not hidden) so descendants can `position: sticky`.
   `hidden` creates an implicit scroll container that blocks sticky; `clip`
   only clips overflow visually without establishing a formatting context. */
html, body         { overflow-x: clip; }
.rt-page           { background: var(--surface-page); color: var(--text-body); overflow-x: clip; }
.rt-page ::selection { background: var(--color-cyan); color: var(--color-ink); }

/* ════════════════════════════════════════════════════════════════
   PRIMITIVES — container, section, eyebrow, section heading, button
   ════════════════════════════════════════════════════════════════ */
.rt-container { max-width: 1320px; margin: 0 auto; padding: 0 60px; }
.rt-section { padding: var(--gutter-section) 0; }
.rt-section--dark { background: var(--color-ink-deep); color: var(--text-on-dark); }

.rt-eyebrow {
    display: inline-flex; align-items: center; gap: 20px;
    font-family: var(--font-display);
    font-size: var(--type-meta); font-weight: var(--weight-regular);
    letter-spacing: 0.02em; line-height: 1.4;
}
.rt-eyebrow::before {
    content: ""; width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
}
.rt-eyebrow--dark  { color: var(--text-strong); }
.rt-eyebrow--light { color: var(--text-on-dark); }

.rt-sh {
    display: flex; flex-direction: column; gap: 36px;
    max-width: 963px; font-family: var(--font-display);
}
.rt-sh--center { align-items: center; text-align: center; margin: 0 auto; }
.rt-sh--center .rt-sh__inner { align-items: center; }
.rt-sh--center .rt-sh__title,
.rt-sh--center .rt-sh__desc  { text-wrap: balance; margin-left: auto; margin-right: auto; }
.rt-sh__inner  { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.rt-sh__title  {
    font-size: var(--type-hero); font-weight: var(--weight-regular);
    line-height: 1.05; letter-spacing: var(--track-display);
}
.rt-sh__desc {
    font-size: var(--type-lead); font-weight: var(--weight-light);
    line-height: 1.3; max-width: 760px;
}
.rt-sh--dark  .rt-sh__title, .rt-sh--dark  .rt-sh__desc { color: var(--text-strong); }
.rt-sh--light .rt-sh__title, .rt-sh--light .rt-sh__desc { color: var(--text-on-dark); }
@media (max-width: 720px) { .rt-sh__title { line-height: 1.1; } }

.rt-btn {
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--rt-radius-sm);
    font-family: var(--font-display); font-weight: var(--weight-medium);
    letter-spacing: var(--track-snug);
    cursor: pointer; overflow: hidden; user-select: none; text-decoration: none;
    transition: color var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}
.rt-btn--md { padding: 16px 32px; font-size: var(--type-body); line-height: var(--leading-button); }
.rt-btn--sm { padding: 10px 20px; font-size: var(--type-meta); line-height: 1.4; }
.rt-btn--lg { padding: 20px 40px; font-size: var(--type-lead); line-height: 1.2; }
.rt-btn--primary { background: var(--color-ink); color: var(--text-on-dark); }
.rt-btn--primary:hover { color: var(--color-ink); }
.rt-btn--ghost   { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }
.rt-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.rt-btn--inverse { background: transparent; color: var(--text-on-dark); box-shadow: inset 0 0 0 1px var(--c-white-70); }
.rt-btn--inverse:hover { color: var(--color-ink); }
.rt-btn--accent  { background: var(--accent); color: var(--color-ink); }
.rt-btn--accent:hover { background: var(--accent-deep); }
.rt-btn__label { position: relative; z-index: 2; white-space: nowrap; }
.rt-btn__wipe {
    position: absolute; top: -60%; width: 160%; height: 220%;
    background: var(--accent);
    pointer-events: none; z-index: 1;
    transition: transform var(--duration-slow) var(--ease-out);
}
.rt-btn__wipe--left  { left: -80%; }
.rt-btn__wipe--right { right: -80%; }
.rt-btn--primary .rt-btn__wipe--left,
.rt-btn--inverse .rt-btn__wipe--left  { transform: skewX(-12deg) translateX(-110%); }
.rt-btn--primary .rt-btn__wipe--right,
.rt-btn--inverse .rt-btn__wipe--right { transform: skewX(-12deg) translateX(110%); }
.rt-btn--primary:hover .rt-btn__wipe--left,
.rt-btn--inverse:hover .rt-btn__wipe--left  { transform: skewX(-12deg) translateX(-15%); }
.rt-btn--primary:hover .rt-btn__wipe--right,
.rt-btn--inverse:hover .rt-btn__wipe--right { transform: skewX(-12deg) translateX(15%); }
.rt-btn--ghost .rt-btn__wipe, .rt-btn--accent .rt-btn__wipe { display: none; }
.rt-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ════════════════════════════════════════════════════════════════
   ATOMS — stat, service card, step, credential, location, prob,
   testimonial, certification badge
   ════════════════════════════════════════════════════════════════ */
.rt-stat { display: inline-flex; align-items: center; gap: 16px; font-family: var(--font-display); }
.rt-stat__icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rt-stat--light .rt-stat__icon { color: var(--c-white-90); }
.rt-stat--dark  .rt-stat__icon { color: var(--color-ink); }
.rt-stat__text  { display: flex; flex-direction: column; gap: 2px; }
.rt-stat__title { font-size: var(--type-lead); font-weight: var(--weight-medium); line-height: 1.4; letter-spacing: -0.01em; }
.rt-stat__sub   { font-size: var(--type-meta); font-weight: var(--weight-regular); line-height: 1.4; }
.rt-stat--light .rt-stat__title { color: var(--text-on-dark); }
.rt-stat--light .rt-stat__sub   { color: var(--text-on-dark-muted); }
.rt-stat--dark  .rt-stat__title { color: var(--color-ink); }
.rt-stat--dark  .rt-stat__sub   { color: var(--text-muted); }

.rt-svc {
    position: relative; display: block;
    border-radius: var(--rt-radius-xl); overflow: hidden;
    font-family: var(--font-display); color: var(--text-on-dark);
    text-decoration: none;
    background-color: var(--color-stone-700);
    background-size: cover; background-position: center;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}
.rt-svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.rt-svc__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--c-nb-74) 0%, var(--c-nb-34) 30%, var(--c-nb-05) 52%, var(--c-nb-45) 78%, var(--c-nb-90) 100%); }
.rt-svc__inner   { position: relative; z-index: 2; padding: 40px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.rt-svc__head    { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.rt-svc__tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 12px; border-radius: var(--rt-radius-pill);
    background: var(--c-white-12);
    box-shadow: inset 0 0 0 1px var(--c-white-28);
    font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-on-dark); margin-bottom: 4px;
}
.rt-svc__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.rt-svc__title  { font-size: clamp(22px, 2.8vw, 32px); font-weight: var(--weight-medium); line-height: 1.05; letter-spacing: -0.015em; text-shadow: 0 2px 18px var(--c-black-55), 0 1px 3px var(--c-black-55); }
.rt-svc__desc   { font-size: var(--type-body); font-weight: var(--weight-medium); line-height: 1.4; color: var(--c-softwhite2-96); max-width: 480px; text-shadow: 0 1px 10px var(--c-black-50); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rt-services__wide .rt-svc__desc { -webkit-line-clamp: 3; line-clamp: 3; max-width: 560px; }
.rt-svc__foot   { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rt-svc__cta    { font-family: var(--font-display); font-size: 15px; font-weight: var(--weight-medium); letter-spacing: -0.01em; color: var(--c-white-92); transition: color var(--duration-base) var(--ease-out); }
.rt-svc:hover .rt-svc__cta { color: var(--accent); }
.rt-svc__arrow {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--c-white-10);
    backdrop-filter: blur(3px);
    box-shadow: inset 0 0 0 1px var(--c-white-60);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-on-dark);
    transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.rt-svc:hover .rt-svc__arrow { background: var(--accent); color: var(--color-ink); transform: translateX(4px); }
.rt-svc__slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; border-radius: var(--rt-radius-xl); object-fit: cover; }

.rt-step { display: flex; gap: 36px; align-items: flex-start; font-family: var(--font-display); position: relative; }
.rt-step__num {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--surface-card);
    box-shadow: inset 0 0 0 3px var(--accent-deep);
    display: flex; align-items: center; justify-content: center;
    font-weight: var(--weight-bold); font-size: 28px;
    letter-spacing: -0.02em; color: var(--color-ink); flex-shrink: 0;
    transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.rt-step:hover .rt-step__num { box-shadow: inset 0 0 0 3px var(--accent); transform: translateY(-1px); }
.rt-step__body  { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.rt-step__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: var(--weight-regular); line-height: 1.1; letter-spacing: -0.015em; color: var(--text-strong); }
.rt-step__desc  { font-size: var(--type-body); font-weight: var(--weight-light); line-height: 1.45; letter-spacing: -0.01em; color: var(--text-body); max-width: 460px; }

.rt-cred {
    background: var(--surface-card);
    border-radius: var(--rt-radius-md);
    padding: 32px 36px;
    display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
    font-family: var(--font-display); color: var(--color-ink);
    min-height: 180px;
    box-shadow: var(--shadow-card);
}
.rt-cred__title { font-size: clamp(28px, 3.6vw, 36px); font-weight: var(--weight-regular); line-height: 1.05; letter-spacing: -0.02em; }
.rt-cred__sub   { font-size: var(--type-meta); color: var(--text-muted); line-height: 1.4; }

.rt-loc {
    display: flex; flex-direction: column; align-items: center; gap: 32px;
    background: var(--surface-card);
    border-radius: var(--rt-radius-lg);
    box-shadow: inset 0 0 0 0.5px var(--color-stone-400);
    padding: 36px 24px; width: 100%;
    font-family: var(--font-display); cursor: pointer;
    transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.rt-loc:hover { box-shadow: inset 0 0 0 1px var(--color-ink), 0 12px 32px var(--c-black-06); transform: translateY(-2px); }
.rt-loc__icon { width: 48px; height: 48px; border-radius: var(--rt-radius-md); background: var(--c-it-08); display: inline-flex; align-items: center; justify-content: center; color: var(--color-ink); }
.rt-loc__name { font-size: clamp(22px, 2.6vw, 28px); font-weight: var(--weight-regular); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-ink); text-align: center; }

.rt-test {
    position: relative;
    background: var(--surface-card);
    border-radius: var(--rt-radius-md);
    box-shadow: inset 0 0 0 0.5px var(--color-stone-300);
    padding: 32px;
    display: flex; flex-direction: column; gap: 24px;
    font-family: var(--font-display);
    min-height: 420px;
    height: 100%;
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.rt-test:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 0.5px var(--color-stone-300), var(--shadow-lift); }
.rt-test__head { display: flex; justify-content: space-between; align-items: flex-start; flex: 0 0 auto; }
.rt-test__quote-mark { color: var(--accent-deep); }
.rt-stars { display: flex; gap: 4px; color: var(--color-signal); flex: 0 0 auto; }
.rt-test__quote {
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: var(--weight-light);
    line-height: 1.45;
    color: var(--text-body);
    flex: 0 1 auto;
    /* Clamp to 7 lines so very long Google reviews don't blow out the card.
       Full text still lives in the DOM for SEO + screen readers; truncation
       is purely visual. */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Subtle fade-out at the truncation edge */
    mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
}
.rt-test__foot  { display: flex; flex-direction: column; gap: 6px; margin-top: auto; flex: 0 0 auto; }
.rt-test__name  { font-size: clamp(20px, 2vw, 24px); font-weight: var(--weight-regular); line-height: 1.2; color: var(--text-body); }
.rt-test__title { font-size: var(--type-body); font-weight: var(--weight-light); line-height: 1.3; color: var(--text-body); }

.rt-prob { display: flex; gap: 24px; align-items: flex-start; font-family: var(--font-display); transition: transform var(--duration-base) var(--ease-out); }
.rt-prob:hover { transform: translateX(4px); }
.rt-prob__icon { width: 56px; height: 56px; border-radius: var(--rt-radius-md); background: var(--c-it-06); display: inline-flex; align-items: center; justify-content: center; color: var(--color-ink); flex-shrink: 0; transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out); }
.rt-prob:hover .rt-prob__icon { background: var(--c-cyan-14); color: var(--accent-deep); }
.rt-prob__body { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.rt-prob__title { font-size: var(--type-lead); font-weight: var(--weight-medium); line-height: 1.25; letter-spacing: -0.01em; color: var(--text-strong); }
.rt-prob__sub { font-family: var(--font-body); font-size: var(--type-meta); font-weight: var(--weight-regular); line-height: 1.5; color: var(--text-muted); max-width: 460px; }

.rt-badge {
    display: inline-flex; align-items: center; justify-content: center;
    height: 52px; padding: 8px 16px;
    background: var(--color-white);
    border-radius: var(--rt-radius-sm);
    box-shadow: 0 1px 2px var(--c-black-06);
}
.rt-badge--img { width: auto; max-width: 150px; object-fit: contain; }
.rt-badge--text { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 18px; letter-spacing: -0.01em; color: var(--color-ink); }

/* ════════════════════════════════════════════════════════════════
   NAVBAR — fixed, transparent over hero, solid on scroll.
   Single menu rendered once; desktop = inline + hover dropdowns;
   mobile (≤980px) = slide-in drawer + accordion submenus.
   Supports up to depth 3 (top → sub → sub-sub).
   ════════════════════════════════════════════════════════════════ */

.rt-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: background var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out); }
.rt-navbar__inner {
    max-width: 1320px; margin: 0 auto; padding: 24px 60px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    transition: padding var(--duration-base) var(--ease-out);
}
.rt-navbar__logo { display: inline-flex; align-items: center; gap: 14px; }
.rt-navbar__logo img { width: 50px; height: 54px; transition: width var(--duration-base) var(--ease-out), height var(--duration-base) var(--ease-out); }
.rt-navbar__brand { font-family: var(--font-display); font-size: var(--type-body); font-weight: var(--weight-bold); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-on-dark); transition: color var(--duration-base) var(--ease-out); }
.rt-navbar__actions { display: inline-flex; align-items: center; gap: 16px; }
.rt-navbar__panel { display: flex; align-items: center; gap: 0; }

/* ── Top-level menu (desktop default) ───────────────────────────── */
.rt-navbar__menu {
    display: flex; gap: 40px; align-items: center;
    list-style: none; margin: 0; padding: 0;
}
.rt-navbar__item { position: relative; }
.rt-navbar__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display);
    font-size: 18px; font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
    color: var(--text-on-dark);
    padding: 8px 0;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}
.rt-navbar__link:hover, .rt-navbar__link:focus-visible { color: var(--accent); }
.rt-navbar__link--active,
.rt-navbar__item.is-current > .rt-navbar__link { color: var(--accent); }
.rt-navbar__caret { transition: transform var(--duration-fast) var(--ease-out); flex-shrink: 0; }
.rt-navbar__item.is-open > .rt-navbar__link .rt-navbar__caret,
.rt-navbar__item:hover > .rt-navbar__link .rt-navbar__caret,
.rt-navbar__item:focus-within > .rt-navbar__link .rt-navbar__caret { transform: rotate(180deg); }

/* Sub-toggle button — hidden on desktop, used on mobile drawer */
.rt-navbar__sub-toggle {
    display: none;
    width: 36px; height: 36px;
    background: transparent; border: 0;
    font-size: 22px; line-height: 1; color: inherit;
    cursor: pointer; user-select: none;
    transition: transform var(--duration-fast) var(--ease-out);
}
.rt-navbar__sub-toggle[aria-expanded="true"] { transform: rotate(45deg); }

/* ── Submenu — desktop dropdown panel ───────────────────────────── */
.rt-navbar__submenu {
    position: absolute; top: 100%; left: 0;
    min-width: 240px;
    display: none;
    margin: 14px 0 0; padding: 12px;
    background: var(--surface-card);
    border-radius: var(--rt-radius-md);
    box-shadow: var(--shadow-card);
    list-style: none;
    z-index: 60;
}
.rt-navbar__item--has-children:hover > .rt-navbar__submenu,
.rt-navbar__item--has-children:focus-within > .rt-navbar__submenu,
.rt-navbar__item.is-open > .rt-navbar__submenu { display: block; }
.rt-navbar__submenu::before { /* hover bridge so cursor can travel down */
    content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.rt-navbar__submenu .rt-navbar__item { display: block; }
.rt-navbar__submenu .rt-navbar__link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%;
    font-size: 15px; font-weight: var(--weight-medium); letter-spacing: -0.01em;
    color: var(--color-ink);
    padding: 10px 12px; border-radius: var(--rt-radius-sm);
}
.rt-navbar__submenu .rt-navbar__link:hover,
.rt-navbar__submenu .rt-navbar__link:focus-visible {
    background: var(--surface-200); color: var(--accent-deep);
}

/* Depth-2+ submenu — inline within parent dropdown, indented */
.rt-navbar__submenu--deep {
    position: static; display: none;
    margin: 4px 0 6px; padding: 4px 0 0 12px;
    background: transparent; box-shadow: none;
    border-left: 1px solid var(--surface-300);
    min-width: 0;
}
.rt-navbar__submenu .rt-navbar__item--has-children:hover > .rt-navbar__submenu--deep,
.rt-navbar__submenu .rt-navbar__item--has-children:focus-within > .rt-navbar__submenu--deep,
.rt-navbar__submenu .rt-navbar__item.is-open > .rt-navbar__submenu--deep { display: block; }
.rt-navbar__submenu--deep .rt-navbar__link {
    font-size: 14px; font-weight: var(--weight-regular);
    padding: 8px 10px;
}

/* Panel CTA — hidden on desktop, used in mobile drawer */
.rt-navbar__panel-cta { display: none; }

/* ── Solid bar state (on scroll) ────────────────────────────────── */
.rt-navbar--solid { background: var(--surface-page); box-shadow: 0 1px 0 var(--border-card), 0 8px 28px var(--c-black-06); }
.rt-navbar--solid .rt-navbar__inner { padding-top: 14px; padding-bottom: 14px; }
.rt-navbar--solid .rt-navbar__logo img { width: 44px; height: 47px; }
.rt-navbar--solid .rt-navbar__brand,
.rt-navbar--solid .rt-navbar__panel > .rt-navbar__menu > .rt-navbar__item > .rt-navbar__link { color: var(--color-ink); }
.rt-navbar--solid .rt-navbar__panel > .rt-navbar__menu > .rt-navbar__item > .rt-navbar__link:hover,
.rt-navbar--solid .rt-navbar__panel > .rt-navbar__menu > .rt-navbar__item.is-current > .rt-navbar__link,
.rt-navbar--solid .rt-navbar__panel > .rt-navbar__menu > .rt-navbar__item > .rt-navbar__link--active { color: var(--accent-deep); }

/* ── Burger — hidden on desktop ─────────────────────────────────── */
.rt-navbar__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: 0; cursor: pointer; }
.rt-navbar__burger span { width: 24px; height: 2px; background: var(--text-on-dark); border-radius: 2px; transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out); }
.rt-navbar--solid .rt-navbar__burger span { background: var(--color-ink); }
.rt-navbar--open .rt-navbar__burger span { background: var(--color-ink); }
.rt-navbar--open .rt-navbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rt-navbar--open .rt-navbar__burger span:nth-child(2) { opacity: 0; }
.rt-navbar--open .rt-navbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Backdrop ───────────────────────────────────────────────────── */
.rt-navbar__backdrop {
    position: fixed; inset: 0;
    background: rgba(4, 4, 4, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out), visibility var(--duration-base);
    z-index: 65;
}
.rt-navbar--open .rt-navbar__backdrop { opacity: 1; visibility: visible; }

/* ════════════════════════════════════════════════════════════════
   MOBILE — drawer + accordion (≤980px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .rt-navbar__inner { padding: 16px 24px; gap: 16px; }
    .rt-navbar__bar-cta { display: none; }
    .rt-navbar__burger { display: inline-flex; }

    /* Panel becomes slide-in drawer */
    .rt-navbar__panel {
        position: fixed; top: 0; right: 0;
        width: min(380px, 92vw); height: 100dvh;
        padding: 88px 24px 32px;
        background: var(--surface-page);
        flex-direction: column; align-items: stretch; gap: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--duration-slow) var(--ease-out);
        z-index: 70;
        box-shadow: -24px 0 48px rgba(4, 4, 4, 0.18);
    }
    .rt-navbar--open .rt-navbar__panel { transform: translateX(0); }

    /* Vertical menu */
    .rt-navbar__menu {
        flex-direction: column; align-items: stretch; gap: 0;
    }
    .rt-navbar__menu > .rt-navbar__item {
        border-bottom: 1px solid var(--border-card);
    }
    .rt-navbar__item--has-children {
        display: flex; flex-wrap: wrap; align-items: center;
    }
    .rt-navbar__item > .rt-navbar__link {
        flex: 1; min-width: 0;
        color: var(--color-ink);
        font-size: 18px; font-weight: var(--weight-medium);
        padding: 16px 4px;
    }
    /* Hide inline caret on mobile — sub-toggle button takes over */
    .rt-navbar__item > .rt-navbar__link .rt-navbar__caret { display: none; }

    /* Sub-toggle visible on mobile */
    .rt-navbar__sub-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        color: var(--color-ink);
    }

    /* Submenu — collapse by default; expand only when item.is-open */
    .rt-navbar__submenu {
        position: static; flex-basis: 100%;
        display: none;
        background: transparent; box-shadow: none;
        padding: 0 0 12px 12px; margin: 0;
        border-radius: 0;
    }
    /* Disable hover-opens on mobile; rely on .is-open class */
    .rt-navbar__item--has-children:hover > .rt-navbar__submenu,
    .rt-navbar__item--has-children:focus-within > .rt-navbar__submenu { display: none; }
    .rt-navbar__item.is-open > .rt-navbar__submenu { display: block; }
    .rt-navbar__submenu::before { display: none; }

    .rt-navbar__submenu .rt-navbar__item {
        border-bottom: 1px solid var(--surface-300);
    }
    .rt-navbar__submenu .rt-navbar__item:last-child { border-bottom: 0; }
    .rt-navbar__submenu .rt-navbar__link {
        font-size: 15px; font-weight: var(--weight-regular);
        padding: 12px 4px; border-radius: 0;
    }
    .rt-navbar__submenu .rt-navbar__link:hover { background: transparent; color: var(--accent-deep); }

    /* Depth-2+ submenu — further indent */
    .rt-navbar__submenu--deep {
        border-left: 1px solid var(--surface-300);
        padding: 4px 0 4px 12px; margin: 4px 0 8px 8px;
    }
    .rt-navbar__submenu .rt-navbar__item--has-children:hover > .rt-navbar__submenu--deep,
    .rt-navbar__submenu .rt-navbar__item--has-children:focus-within > .rt-navbar__submenu--deep { display: none; }
    .rt-navbar__submenu .rt-navbar__item.is-open > .rt-navbar__submenu--deep { display: block; }

    /* Drawer CTA pinned at bottom */
    .rt-navbar__panel-cta { display: block; margin-top: 28px; }
    .rt-navbar__panel-cta .rt-btn { width: 100%; }
}

@media (max-width: 520px) {
    .rt-navbar__panel { width: 100vw; }
}

/* keep anchored section targets clear of the fixed bar */
#top, #services, #trust { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; }

/* ════════════════════════════════════════════════════════════════
   HERO — full-bleed roof photo, dark overlay, copy + stats
   ════════════════════════════════════════════════════════════════ */
.rt-hero { position: relative; min-height: 920px; background: var(--color-ink-deep); color: var(--text-on-dark); overflow: hidden; }
.rt-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.rt-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-nb-00) 0%, var(--c-nb-92) 92%, var(--color-near-black) 100%); }
.rt-hero__inner { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 27px 60px 80px; min-height: 920px; display: flex; flex-direction: column; }
.rt-hero__body { display: flex; flex-direction: column; gap: 60px; margin-top: auto; max-width: 880px; }
.rt-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.rt-hero__title { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: var(--track-display); }
.rt-hero__desc  { font-family: var(--font-display); font-weight: var(--weight-light); font-size: var(--type-lead); line-height: 1.3; color: var(--c-softwhite-95); max-width: 720px; }
.rt-hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.rt-hero__stats { display: flex; gap: 60px; flex-wrap: wrap; margin-top: 24px; }

/* ════════════════════════════════════════════════════════════════
   TEAM — editorial introduction, editable staff cards, and a quiet CTA band
   ════════════════════════════════════════════════════════════════ */
.rt-team-hero { position: relative; overflow: hidden; padding: 220px 0 84px; background: var(--color-ink-deep); color: var(--text-on-dark); }
.rt-team-hero__grid { position: absolute; inset: 0; opacity: .44; background-image: linear-gradient(var(--c-white-10) 1px, transparent 1px), linear-gradient(90deg, var(--c-white-10) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, black, transparent 78%); }
.rt-team-hero__inner { position: relative; }
.rt-team-hero__title { max-width: 880px; margin: 30px 0 24px; font-family: var(--font-display); font-size: clamp(42px, 6vw, 78px); font-weight: var(--weight-regular); line-height: 1.01; letter-spacing: var(--track-display); }
.rt-team-hero__desc { max-width: 640px; margin: 0; font-family: var(--font-display); font-size: var(--type-lead); font-weight: var(--weight-light); line-height: 1.4; color: var(--text-on-dark-muted); }
.rt-team-hero__rule { display: flex; align-items: center; width: min(100%, 960px); height: 1px; margin: 68px 0 28px; background: var(--border-on-dark); }
.rt-team-hero__rule span { display: block; width: 22%; height: 4px; background: var(--accent); }
.rt-team-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 800px; gap: 26px; }
.rt-team-hero__facts div { display: flex; flex-direction: column; gap: 5px; }
.rt-team-hero__facts strong { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: var(--weight-regular); line-height: 1; }
.rt-team-hero__facts span { font-family: var(--font-display); font-size: var(--type-meta); color: var(--text-on-dark-muted); }
.rt-team__intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; max-width: 1120px; }
.rt-team__title { margin: 28px 0 0; font-family: var(--font-display); font-size: var(--type-display); font-weight: var(--weight-regular); line-height: 1.08; letter-spacing: var(--track-display); }
.rt-team__intro-copy { max-width: 430px; margin: 0 0 2px; font-family: var(--font-display); font-size: var(--type-lead); font-weight: var(--weight-light); line-height: 1.4; }
.rt-team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 76px; }
.rt-person { min-width: 0; }
.rt-person__portrait { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: .82; overflow: hidden; border-radius: var(--rt-radius-lg); background: var(--color-stone-200); }
.rt-person__portrait::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(42, 42, 40, .13); border-radius: 12px; pointer-events: none; z-index: 1; }
.rt-person__portrait .trd-img-wrap, .rt-person__portrait img { width: 100%; height: 100%; }
.rt-person__portrait img { object-fit: cover; padding: 18%; filter: contrast(1.04); transition: transform var(--duration-slow) var(--ease-out); }
.rt-person:hover .rt-person__portrait img { transform: scale(1.04); }
.rt-person__index { position: absolute; right: 18px; bottom: 14px; z-index: 2; font-family: var(--font-display); font-size: var(--type-meta); color: var(--color-ink); }
.rt-person__copy { padding: 22px 6px 0; }
.rt-person__role { margin: 0 0 7px; font-family: var(--font-display); font-size: var(--type-meta); font-weight: var(--weight-medium); color: var(--accent-deep); }
.rt-person__name { margin: 0; font-family: var(--font-display); font-size: var(--type-subtitle); font-weight: var(--weight-regular); line-height: 1.12; letter-spacing: var(--track-tight); }
.rt-person__bio { margin: 14px 0 0; font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.rt-team-note { position: relative; overflow: hidden; padding: var(--gutter-section) 0; background: var(--color-ink); color: var(--text-on-dark); }
.rt-team-note::after { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid var(--c-cyan-20); border-radius: 50%; right: -150px; top: -240px; box-shadow: 0 0 0 72px rgba(33, 188, 255, .05), 0 0 0 144px rgba(33, 188, 255, .03); }
.rt-team-note__inner { position: relative; z-index: 1; max-width: 963px; text-align: center; }
.rt-team-note__inner .rt-eyebrow { justify-content: center; }
.rt-team-note__title { margin: 30px auto 22px; font-family: var(--font-display); font-size: var(--type-display); font-weight: var(--weight-regular); line-height: 1.06; letter-spacing: var(--track-display); }
.rt-team-note__desc { max-width: 610px; margin: 0 auto 32px; font-family: var(--font-display); font-size: var(--type-lead); font-weight: var(--weight-light); line-height: 1.4; color: var(--text-on-dark-muted); }
@media (max-width: 1000px) { .rt-team__grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; } .rt-team__intro { gap: 48px; } }
@media (max-width: 720px) { .rt-team-hero { padding: 160px 0 60px; } .rt-team-hero__facts { gap: 18px; } .rt-team__intro { grid-template-columns: 1fr; gap: 26px; } .rt-team__grid { margin-top: 52px; } }
@media (max-width: 520px) { .rt-team-hero__title { font-size: 40px; } .rt-team-hero__facts { grid-template-columns: 1fr; gap: 14px; } .rt-team-hero__facts div { flex-direction: row; align-items: baseline; gap: 10px; } .rt-team__grid { grid-template-columns: 1fr; } .rt-person__portrait { aspect-ratio: 1.08; } }

/* Team page cards follow the same light-card rhythm as the trust section. */
.rt-team-page__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 963px; margin: var(--gutter-stack) auto 0; }
.rt-team-card { position: relative; min-height: 270px; padding: 38px 42px; border-radius: var(--rt-radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); font-family: var(--font-display); overflow: hidden; transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.rt-team-card::after { content: ""; position: absolute; right: -44px; bottom: -44px; width: 124px; height: 124px; border: 1px solid var(--c-cyan-20); border-radius: 50%; }
.rt-team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.rt-team-card__number { display: block; margin-bottom: 48px; font-size: var(--type-meta); font-weight: var(--weight-medium); letter-spacing: .08em; color: var(--accent-deep); }
.rt-team-card__role { margin: 0 0 8px; font-size: var(--type-meta); color: var(--text-muted); }
.rt-team-card__name { margin: 0; max-width: 380px; font-size: clamp(24px, 2.7vw, 32px); font-weight: var(--weight-regular); line-height: 1.1; letter-spacing: var(--track-tight); color: var(--text-strong); }
.rt-team-card__bio { max-width: 430px; margin: 18px 0 0; font-family: var(--font-body); font-size: var(--type-body); line-height: 1.5; color: var(--text-muted); }
@media (max-width: 720px) { .rt-team-page__grid { grid-template-columns: 1fr; margin-top: 52px; } .rt-team-card { min-height: 0; padding: 32px; } .rt-team-card__number { margin-bottom: 34px; } }

@media (prefers-reduced-motion: no-preference) {
    .rt-hero__title, .rt-hero__desc, .rt-hero__cta-row, .rt-hero__stats {
        opacity: 0; transform: translateY(22px);
        animation: rtHeroIn 0.8s var(--ease-out) forwards;
    }
    .rt-hero__title { animation-delay: 0.15s; }
    .rt-hero__desc  { animation-delay: 0.30s; }
    .rt-hero__cta-row { animation-delay: 0.44s; }
    .rt-hero__stats { animation-delay: 0.58s; }
    @keyframes rtHeroIn { to { opacity: 1; transform: none; } }
}

/* ════════════════════════════════════════════════════════════════
   PROBLEM — agitation: damaged-roof photo + 4 consequences + bridge
   ════════════════════════════════════════════════════════════════ */
.rt-problem { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: center; margin-top: var(--gutter-stack); }
.rt-problem__media { position: relative; }
.rt-problem__media::before { content: ""; position: absolute; right: -22px; bottom: -22px; width: 60%; height: 58%; border-radius: var(--rt-radius-xl); border: 1.5px solid var(--accent); z-index: 0; }
.rt-problem__image { position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: var(--rt-radius-xl); background-color: var(--color-stone-200); box-shadow: var(--shadow-card); overflow: hidden; }
.rt-problem__bg    { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.rt-problem__image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--c-id-55) 0%, var(--c-id-00) 36%); }
.rt-problem__caption { z-index: 2 !important; }
.rt-problem__caption { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--rt-radius-pill); background: var(--c-id-74); border: 1px solid var(--c-white-16); font-family: var(--font-display); font-size: 13px; font-weight: var(--weight-medium); letter-spacing: -0.01em; color: var(--text-on-dark); }
.rt-problem__cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--rating); flex-shrink: 0; }
.rt-problem__panel { display: flex; flex-direction: column; }
.rt-problem__list { display: flex; flex-direction: column; gap: 28px; }
.rt-problem__list > * + * { padding-top: 28px; border-top: 1px solid var(--border-card); }
.rt-problem__bridge { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; padding: 20px 24px; border-radius: var(--rt-radius-md); background: var(--color-ink); color: var(--text-on-dark); font-family: var(--font-display); text-decoration: none; transition: background var(--duration-base) var(--ease-out); }
.rt-problem__bridge-text  { font-size: var(--type-body); font-weight: var(--weight-medium); letter-spacing: -0.01em; }
.rt-problem__bridge-arrow { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: var(--c-white-10); color: var(--text-on-dark); display: inline-flex; align-items: center; justify-content: center; transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out); }
.rt-problem__bridge:hover .rt-problem__bridge-arrow { background: var(--accent); color: var(--color-ink); transform: translateX(3px); }
@media (max-width: 1100px) {
    .rt-problem { grid-template-columns: 1fr; gap: 56px; }
    .rt-problem__image { aspect-ratio: 16/10; }
    .rt-problem__media::before { width: 50%; height: 48%; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICES — 2-2-wide-2 grid of photo cards
   ════════════════════════════════════════════════════════════════ */
.rt-services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.rt-sh + .rt-services__grid { margin-top: var(--gutter-stack); }
.rt-services__wide { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
.rt-services__wide .rt-svc__inner { padding: 48px; }
.rt-services__wide .rt-svc__title { font-size: clamp(26px, 4vw, 40px); }
.rt-services__wide .rt-svc__desc  { font-size: var(--type-lead); font-weight: var(--weight-regular); max-width: 560px; }
.rt-services__cta-row { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rt-services__note { font-family: var(--font-display); font-weight: var(--weight-light); font-size: var(--type-lead); line-height: 1.3; letter-spacing: -0.01em; color: var(--text-body); text-align: center; }
@media (max-width: 720px) { .rt-services__wide .rt-svc__inner { padding: 32px; } }

/* ════════════════════════════════════════════════════════════════
   CREDIBILITY (TRUST) — dark band, staggered 4 cards, badge row
   ════════════════════════════════════════════════════════════════ */
.rt-trust__cards--stagger { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: var(--gutter-stack) auto 0; padding-bottom: 56px; }
.rt-trust__cards--stagger > * { min-height: 220px; }
.rt-trust__cards--stagger > :nth-child(even) { transform: translateY(56px); }
.rt-trust__badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 64px; }
.rt-trust__note   { text-align: center; margin-top: 40px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: var(--type-meta); color: var(--text-on-dark-muted); }
.rt-trust__cta    { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 720px) {
    .rt-trust__cards--stagger { grid-template-columns: 1fr; padding-bottom: 0; }
    .rt-trust__cards--stagger > :nth-child(even) { transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   PLAN — photo + numbered steps, with connector line
   ════════════════════════════════════════════════════════════════ */
.rt-plan { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.rt-plan__photo { aspect-ratio: 4/5; border-radius: var(--rt-radius-xl); background: var(--color-stone-200); position: relative; overflow: hidden; }
.rt-plan__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rt-plan__steps { display: flex; flex-direction: column; gap: 28px; }
.rt-plan__steps .rt-step:not(:last-child)::before {
    content: ""; position: absolute; left: 32px; top: 70px; bottom: -22px;
    width: 2px; transform: translateX(-50%);
    background: linear-gradient(180deg, var(--accent-deep) 0%, var(--border-card) 55%, transparent 100%);
    border-radius: 2px;
}
@media (max-width: 1100px) { .rt-plan { grid-template-columns: 1fr; gap: 48px; } }

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS — horizontal scroll-snap slider, all posts visible
   on swipe (touch) or via prev/next buttons (pointer).
   ════════════════════════════════════════════════════════════════ */
.rt-testimonials {
    position: relative;
    margin-top: var(--gutter-stack);
}
.rt-testimonials__viewport {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Break out of container gutter so cards can bleed to the edge and
       feel like a true scroller. Re-pad with scroll-padding so snap
       targets land where the container starts. */
    margin: 0 calc( -1 * var(--gutter-page) );
    padding: 12px var(--gutter-page);
    scroll-padding-left: var(--gutter-page);
    -webkit-overflow-scrolling: touch;
}
.rt-testimonials__viewport::-webkit-scrollbar { display: none; }
.rt-testimonials__row {
    display: flex;
    gap: 24px;
    align-items: stretch;
    width: max-content; /* don't collapse to viewport width — keep all cards in row */
}
.rt-testimonials__row > .rt-test {
    flex: 0 0 auto;
    width: clamp(280px, 26vw, 380px);
    height: auto;
    scroll-snap-align: start;
}

/* Prev / next buttons */
.rt-testimonials__btn {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px; height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-ink);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background var(--duration-base) var(--ease-out),
                color      var(--duration-base) var(--ease-out),
                opacity    var(--duration-base) var(--ease-out),
                transform  var(--duration-base) var(--ease-out);
}
.rt-testimonials__btn:hover { background: var(--accent); color: var(--color-ink); transform: translateY(-50%) scale(1.06); }
.rt-testimonials__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rt-testimonials__btn:disabled { opacity: 0.25; cursor: not-allowed; transform: translateY(-50%); }
.rt-testimonials__btn--prev { left: -26px; }
.rt-testimonials__btn--next { right: -26px; }

/* Edge fade so cards at viewport edges look "trimmed" not cut off */
.rt-testimonials::before,
.rt-testimonials::after {
    content: ""; position: absolute; top: 0; bottom: 0;
    width: 60px;
    z-index: 3;
    pointer-events: none;
}
.rt-testimonials::before { left: 0;  background: linear-gradient(to right, var(--surface-page), transparent); }
.rt-testimonials::after  { right: 0; background: linear-gradient(to left,  var(--surface-page), transparent); }

@media (max-width: 1100px) {
    .rt-testimonials__viewport { margin: 0 -40px; padding: 12px 40px; scroll-padding-left: 40px; }
    .rt-testimonials__btn { display: none; }
    .rt-testimonials::before, .rt-testimonials::after { display: none; }
}
@media (max-width: 768px) {
    .rt-testimonials__viewport { margin: 0 -24px; padding: 12px 24px; scroll-padding-left: 24px; }
    .rt-testimonials__row > .rt-test { width: min(340px, 86vw); }
}
@media (max-width: 520px) {
    .rt-testimonials__viewport { margin: 0 -18px; padding: 12px 18px; scroll-padding-left: 18px; }
}

/* ════════════════════════════════════════════════════════════════
   AREAS — 3x2 grid of location cards + CTA
   ════════════════════════════════════════════════════════════════ */
.rt-areas__rows { display: grid; gap: 24px; margin-top: 60px; }
.rt-areas__row  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rt-areas__cta  { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 60px; }
.rt-areas__cta p { font-size: var(--type-meta); color: var(--text-body); font-weight: var(--weight-light); }
@media (max-width: 1100px) { .rt-areas__row { grid-template-columns: 1fr 1fr; } }

/* ════════════════════════════════════════════════════════════════
   USP (REASSURE) — copy + Google-reviews + overlapping photos
   ════════════════════════════════════════════════════════════════ */
.rt-reassure { background: var(--surface-page); }
.rt-reassure__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.rt-reassure__title { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(28px, 3vw, 42px); line-height: 1.18; letter-spacing: var(--track-display); color: var(--text-strong); max-width: 620px; text-wrap: pretty; }
.rt-reviews { display: flex; align-items: center; gap: 28px; margin-top: 48px; }
.rt-reviews__head { display: flex; align-items: center; gap: 12px; }
.rt-reviews__rating { display: flex; flex-direction: column; gap: 2px; }
.rt-reviews__stars { color: var(--rating); font-size: 15px; letter-spacing: 1px; }
.rt-reviews__count { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 14px; color: var(--text-strong); }
.rt-reviews__avatars { display: flex; }
.rt-reassure__caption { margin-top: 32px; font-family: var(--font-display); font-size: var(--type-meta); color: var(--text-muted); }
.rt-reassure__media { position: relative; min-height: 520px; }
.rt-reassure__media .rt-reassure__roof { position: absolute; top: 0; right: 0; width: 72%; height: 460px; object-fit: cover; border-radius: var(--rt-radius-xl); box-shadow: var(--shadow-card); }
.rt-reassure__media .rt-reassure__worker { position: absolute; left: 0; bottom: 0; width: 48%; height: 300px; object-fit: cover; border-radius: var(--rt-radius-xl); box-shadow: 0 0 0 8px var(--surface-page), var(--shadow-lift); }
@media (max-width: 1100px) {
    .rt-reassure__grid { grid-template-columns: 1fr; gap: 48px; }
    .rt-reassure__media { min-height: 420px; }
}

/* ════════════════════════════════════════════════════════════════
   FINAL CTA — roof photo + canvas-to-ink gradient, stat pills, CTA
   ════════════════════════════════════════════════════════════════ */
.rt-final { position: relative; overflow: hidden; background: var(--color-ink-deep); color: var(--text-on-dark); text-align: center; padding: 0 60px; }
.rt-final__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rt-final__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, var(--color-canvas-hi) 0%, var(--c-canvashi-55) 11%, var(--c-ng-05) 30%, var(--c-id-45) 44%, var(--c-id-82) 58%, var(--color-ink-deep) 78%, var(--color-ink-deep) 100%); }
.rt-final__inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 96px 0 120px; display: flex; flex-direction: column; align-items: center; }
.rt-final__pills { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.rt-statpill { display: flex; align-items: center; justify-content: center; gap: 16px; background: var(--color-white); border-radius: 16px; padding: 22px 28px; box-shadow: var(--shadow-card); text-align: left; transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.rt-statpill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.rt-statpill__icon { display: inline-flex; align-items: center; justify-content: center; color: var(--color-ink); flex-shrink: 0; }
.rt-statpill__icon svg { width: 28px; height: 28px; }
.rt-statpill__text { display: flex; flex-direction: column; gap: 1px; min-width: 168px; }
.rt-statpill__title { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: 20px; line-height: 1.2; color: var(--color-ink); }
.rt-statpill__sub   { font-family: var(--font-display); font-size: var(--type-meta); color: var(--text-muted); }
.rt-final__title { margin-top: 96px; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: clamp(34px, 5vw, 64px); line-height: 1.06; letter-spacing: var(--track-display); max-width: 960px; text-wrap: balance; }
.rt-final__sub   { margin-top: 24px; font-family: var(--font-display); font-weight: var(--weight-light); font-size: 18px; line-height: 1.4; color: var(--c-white-78); max-width: 720px; }
.rt-final__cta-row { margin-top: 56px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.rt-final__fin     { margin-top: 40px; font-family: var(--font-display); font-style: italic; font-size: var(--type-meta); color: var(--c-white-62); }
@media (max-width: 620px) {
    .rt-final__inner { padding: 64px 0 80px; }
    .rt-final__title { margin-top: 56px; }
    .rt-statpill__text { min-width: 0; }
}

/* ════════════════════════════════════════════════════════════════
   FOOTER — brand col, 3 link cols, oversized wordmark
   ════════════════════════════════════════════════════════════════ */
.rt-foot { position: relative; overflow: hidden; background: var(--color-ink-deep); color: var(--text-on-dark); font-family: var(--font-display); padding: 96px 60px 0; }
.rt-foot__inner { max-width: var(--container-max); margin: 0 auto; position: relative; z-index: 2; }
.rt-foot__top { display: grid; grid-template-columns: minmax(320px, 1.7fr) repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--c-white-10); }
.rt-foot__brand { display: flex; flex-direction: column; gap: 20px; max-width: 380px; }
.rt-foot__logo { display: flex; align-items: center; gap: 14px; }
.rt-foot__logo img { width: 52px; height: 56px; }
.rt-foot__wordmark { font-size: 20px; font-weight: var(--weight-bold); letter-spacing: 0.04em; text-transform: uppercase; }
.rt-foot__desc { color: var(--c-white-62); font-size: var(--type-meta); line-height: 1.6; max-width: 380px; }
.rt-foot__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 300px; }
.rt-foot__badges .rt-badge { height: 46px; }
.rt-foot__social { display: flex; gap: 22px; }
.rt-foot__social a { font-size: var(--type-meta); color: var(--c-white-85); transition: color var(--duration-fast) var(--ease-out); }
.rt-foot__social a:hover { color: var(--accent); }
.rt-foot__col-title { font-size: 12px; font-weight: var(--weight-medium); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.rt-foot__col-title--sub { margin-top: 28px; }
.rt-foot__list { display: flex; flex-direction: column; gap: 12px; }
.rt-foot__link { font-size: var(--type-meta); line-height: 1.4; color: var(--c-white-85); transition: color var(--duration-fast) var(--ease-out); }
.rt-foot__link:hover { color: var(--accent); }
.rt-foot__addr { font-size: var(--type-meta); color: var(--c-white-85); line-height: 1.55; }
.rt-foot__addr em { font-style: italic; color: var(--c-white-55); }
.rt-foot__bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; gap: 32px; }
.rt-foot__copy, .rt-foot__legal { font-size: var(--type-meta); color: var(--c-bone-60); }
.rt-foot__legal { display: flex; gap: 24px; }
.rt-foot__legal a:hover { color: var(--text-on-dark); }
.rt-foot__big { display: block; position: relative; left: 50%; width: 100vw; max-width: none; margin-left: -50vw; margin-top: 28px; height: auto; user-select: none; pointer-events: none; opacity: 0.97; }
@media (max-width: 900px) {
    .rt-foot { padding: 64px 24px 0; }
    .rt-foot__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .rt-foot__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 520px) {
    .rt-foot { padding-left: 18px; padding-right: 18px; }
    .rt-foot__top { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   REVEAL ANIMATION — handled by app.js
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .rt-reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: var(--rt-reveal-delay, 0ms); will-change: opacity, transform; }
    .rt-reveal--in { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — container + section breakpoints
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .rt-container { padding: 0 40px; }
    .rt-hero__inner { padding-left: 40px; padding-right: 40px; }
    .rt-final { padding-left: 40px; padding-right: 40px; }
    .rt-hero__stats { gap: 28px 44px; }
}
@media (max-width: 768px) {
    .rt-container { padding: 0 24px; }
    .rt-hero { min-height: 720px; }
    .rt-hero__inner { min-height: 720px; padding: 96px 24px 56px; }
    .rt-hero__body { gap: 36px; }
    .rt-hero__stats { gap: 20px 32px; }
    .rt-services__grid { grid-template-columns: 1fr; }
    .rt-problem { gap: 48px; }
    .rt-sh { gap: 28px; }
}
@media (max-width: 520px) {
    .rt-container { padding: 0 18px; }
    .rt-hero__inner { padding: 88px 18px 48px; }
    .rt-final { padding-left: 18px; padding-right: 18px; }
    .rt-areas__row { grid-template-columns: 1fr; }
    .rt-svc__inner { padding: 28px; }
    .rt-cred { padding: 26px 28px; min-height: 150px; }
    .rt-hero__cta-row { flex-direction: column; align-items: stretch; }
    .rt-hero__cta-row .rt-btn { width: 100%; }
    .rt-final__cta-row { flex-direction: column; width: 100%; max-width: 340px; }
    .rt-final__cta-row .rt-btn { width: 100%; }
    .rt-problem__bridge { flex-direction: row; padding: 18px 20px; }
    .rt-reviews { flex-wrap: wrap; gap: 18px; }
}

/* ════════════════════════════════════════════════════════════════
   POPUP — multi-step Soumission GRATUITE modal
   ════════════════════════════════════════════════════════════════ */
.rt-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; font-family: var(--font-display); }
.rt-modal.is-open { display: flex; }
.rt-modal__scrim { position: absolute; inset: 0; background: var(--c-id-55); backdrop-filter: blur(4px); }
.rt-modal__card { position: relative; z-index: 1; width: 100%; max-width: 600px; background: var(--surface-card); border-radius: var(--rt-radius-xl); padding: 36px 40px 32px; box-shadow: 0 28px 60px var(--c-black-25); max-height: calc(100vh - 48px); overflow: auto; }
.rt-modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; color: var(--text-strong); display: inline-flex; align-items: center; justify-content: center; transition: background var(--duration-fast) var(--ease-out); background: none; border: 0; cursor: pointer; }
.rt-modal__close:hover { background: var(--color-stone-100); }
.rt-modal__progress { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.rt-modal__step { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: var(--type-meta); }
.rt-modal__step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--color-stone-100); color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: var(--weight-medium); }
.rt-modal__step--active { color: var(--text-strong); }
.rt-modal__step--active .rt-modal__step-num { background: var(--color-ink); color: var(--text-on-dark); }
.rt-modal__step--done .rt-modal__step-num { background: var(--accent); color: var(--color-ink); }
.rt-modal .rt-modal__body { display: none; flex-direction: column; gap: 20px; }
.rt-modal .rt-modal__body.is-active { display: flex; }
.rt-modal__body--center { align-items: center; text-align: center; padding: 24px 0; }
.rt-modal__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-strong); font-weight: var(--weight-medium); }
.rt-modal__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.rt-modal__title { font-size: 32px; font-weight: var(--weight-regular); line-height: 1.1; letter-spacing: -0.02em; color: var(--text-strong); margin: 0; }
.rt-modal__sub { font-size: var(--type-body); font-weight: var(--weight-light); line-height: 1.4; color: var(--text-muted); margin: 0; max-width: 480px; }
.rt-modal__sub strong { color: var(--text-strong); font-weight: var(--weight-medium); }
.rt-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.rt-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.rt-field__label { font-size: var(--type-meta); color: var(--text-strong); font-weight: var(--weight-medium); }
.rt-field__optional { color: var(--text-muted); font-weight: var(--weight-regular); }
.rt-field__input { font-family: var(--font-body); font-size: var(--type-body); padding: 12px 14px; background: var(--surface-card); border: 1px solid var(--color-stone-300); border-radius: var(--rt-radius-sm); color: var(--text-strong); transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); width: 100%; }
.rt-field__input--area { resize: vertical; min-height: 80px; }
.rt-field__input:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 3px var(--c-cyan-20); }
.rt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rt-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rt-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px; background: var(--surface-card); border: 1px solid var(--color-stone-300); border-radius: var(--rt-radius-md); text-align: left; font-family: var(--font-display); cursor: pointer; transition: border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out); }
.rt-choice:hover { border-color: var(--color-ink); }
.rt-choice--on { border-color: var(--color-ink); background: var(--color-canvas); box-shadow: inset 0 0 0 1px var(--color-ink); }
.rt-choice__title { font-size: var(--type-body); font-weight: var(--weight-medium); color: var(--text-strong); }
.rt-choice__sub   { font-size: var(--type-meta); color: var(--text-muted); }
.rt-modal__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.rt-modal__success { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--color-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.rt-field__input--error { box-shadow: inset 0 0 0 1.5px var(--color-error); }
.rt-field__input--error:focus { box-shadow: inset 0 0 0 1.5px var(--color-error), 0 0 0 3px var(--c-error-15); outline: none; }
.rt-field__err { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 13px; line-height: 1.3; color: var(--color-error); }
.rt-field__err--block { margin-top: 12px; }
.rt-modal__loading { display: inline-flex; align-items: center; gap: 9px; }
.rt-spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--c-white-35); border-top-color: var(--text-on-dark); animation: rtSpin 0.7s linear infinite; }
@keyframes rtSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
    .rt-modal__body { animation: rtModalBodyIn 0.34s var(--ease-out); }
    @keyframes rtModalBodyIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) {
    .rt-modal__card { padding: 28px 24px 24px; }
    .rt-field-row, .rt-choice-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   FLUENT FORMS — Refait Toit brand theme
   Matches plugin selector specificity so brand styles win without !important.
   Three contexts handled: modal popup, full-width section, sticky sidebar.
   ════════════════════════════════════════════════════════════════ */

/* Wrapper reset */
.fluentform { font-family: var(--font-body); color: var(--text-strong); }
.fluentform fieldset { margin: 0; padding: 0; border: 0; }
.fluentform legend.ff_screen_reader_title { display: none; }

/* Field group rhythm */
.fluentform .ff-el-group { margin-bottom: 22px; }
.fluentform .ff-el-group:last-of-type { margin-bottom: 0; }
.fluentform .ff_submit_btn_wrapper { margin-top: 28px; margin-bottom: 0; }
.fluentform .ff-name-field-wrapper .ff-t-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.fluentform .ff-name-field-wrapper .ff-el-group { margin-bottom: 0; }

/* Labels — Inter Tight, medium, comfortable scale */
.fluentform .ff-el-input--label { margin-bottom: 8px; }
.fluentform .ff-el-input--label label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: var(--weight-medium);
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-strong);
    display: inline-block;
}
/* Required asterisk in cyan accent */
.fluentform .ff-el-input--label.asterisk-right label::after,
.fluentform .ff-el-input--label.ff-el-is-required label::after {
    content: " *";
    color: var(--accent-deep);
    font-weight: var(--weight-bold);
    margin-left: 2px;
}

/* Inputs, selects, textareas — premium surface, clear focus ring */
.fluentform .ff-el-form-control,
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="number"],
.fluentform input[type="url"],
.fluentform input[type="password"],
.fluentform input[type="date"],
.fluentform textarea,
.fluentform select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-strong);
    background: var(--surface-card);
    border: 1.5px solid var(--color-stone-300);
    border-radius: var(--rt-radius-sm);
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(4, 4, 4, 0.04);
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow   var(--duration-fast) var(--ease-out),
                background   var(--duration-fast) var(--ease-out);
    -webkit-appearance: none;
    appearance: none;
}
.fluentform .ff-el-form-control:hover,
.fluentform input:hover, .fluentform textarea:hover, .fluentform select:hover {
    border-color: var(--color-stone-400);
}
.fluentform .ff-el-form-control:focus,
.fluentform .ff-el-form-control:focus-visible,
.fluentform input:focus, .fluentform textarea:focus, .fluentform select:focus {
    border-color: var(--accent-deep);
    outline: none;
    box-shadow: 0 0 0 3px var(--c-cyan-20), 0 1px 2px rgba(4, 4, 4, 0.04);
    background: var(--color-white);
}
.fluentform .ff-el-form-control::placeholder { color: var(--ink-400); font-weight: var(--weight-light); }

.fluentform textarea.ff-el-form-control { min-height: 140px; resize: vertical; }

/* Select chevron — restore after appearance:none reset */
.fluentform select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e0e0e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 44px;
}

/* Submit button — matches .rt-btn--primary visual language */
.fluentform .ff-btn.ff-btn-submit,
.fluentform .ff-btn-submit.ff_btn_style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 16px 36px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: var(--weight-medium);
    letter-spacing: var(--track-snug);
    line-height: var(--leading-button);
    color: var(--text-on-dark);
    background: var(--color-ink);
    border: 0;
    border-radius: var(--rt-radius-sm);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(4, 4, 4, 0.08), 0 6px 16px rgba(4, 4, 4, 0.10);
    transition: background var(--duration-base) var(--ease-out),
                color      var(--duration-base) var(--ease-out),
                transform  var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}
.fluentform .ff-btn.ff-btn-submit:hover,
.fluentform .ff-btn-submit.ff_btn_style:hover {
    background: var(--accent);
    color: var(--color-ink);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(33, 188, 255, 0.32);
}
.fluentform .ff-btn.ff-btn-submit:active { transform: translateY(0); }
.fluentform .ff-btn.ff-btn-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fluentform .ff-btn.ff-btn-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Error states — plugin emits `error.text-danger` per field */
.fluentform .error.text-danger,
.fluentform .ff-el-form-check-label.ff-el-form-check-label--error,
.fluentform .ff-el-is-error > .ff-el-input--label label { color: var(--color-error); }
.fluentform .ff-el-is-error .ff-el-form-control,
.fluentform .ff-el-form-control[aria-invalid="true"] {
    border-color: var(--color-error);
    background: var(--c-error-15);
}
.fluentform .error.text-danger { font-size: 13px; line-height: 1.35; margin-top: 6px; font-family: var(--font-body); }

/* Success message (Fluent renders after submit) */
.fluentform .ff-message-success,
.ff-message-success {
    background: var(--c-cyan-14);
    border: 1px solid var(--accent-deep);
    border-radius: var(--rt-radius-md);
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.4;
    padding: 20px 24px;
}

/* Checkboxes / radios — minor polish */
.fluentform .ff-el-form-check input[type="checkbox"],
.fluentform .ff-el-form-check input[type="radio"] {
    width: 18px; height: 18px; margin-right: 8px;
    accent-color: var(--accent-deep);
}

/* ── Context: Popup modal ── tighter rhythm, full-width submit ── */
#quote-modal .fluentform .ff-el-group { margin-bottom: 16px; }
#quote-modal .fluentform .ff_submit_btn_wrapper { margin-top: 20px; text-align: stretch; }
#quote-modal .fluentform .ff-btn.ff-btn-submit { width: 100%; min-width: 0; }
#quote-modal .fluentform .ff-el-input--label label { font-size: 13px; }

/* ── Context: Section form (.rt-section > .fluentform) ── more breathing room ── */
.rt-section .fluentform .ff-el-group { margin-bottom: 24px; }
.rt-section .fluentform .ff_submit_btn_wrapper { text-align: center; }

/* ── Context: Sticky sidebar (single-service long_description with_form) ── */
.rt-long__form .fluentform .ff-el-group { margin-bottom: 16px; }
.rt-long__form .fluentform .ff_submit_btn_wrapper { margin-top: 20px; }
.rt-long__form .fluentform .ff-btn.ff-btn-submit { width: 100%; min-width: 0; }
.rt-long__form .fluentform .ff-el-input--label label { font-size: 13px; }

/* ════════════════════════════════════════════════════════════════
   LONG DESCRIPTION — single-CPT body + sticky sidebar form
   Desktop: 2-col grid, body left / form right (sticky).
   Phone (≤980px): single column, FORM FIRST, body second.
   ════════════════════════════════════════════════════════════════ */
.rt-long__grid                   { display: block; }
.rt-long__grid--with-form        { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
.rt-long__body                   { min-width: 0; }
.rt-long__prose                  { margin-top: 40px; max-width: 640px; font-family: var(--font-body); font-size: var(--type-body); line-height: 1.6; color: var(--text-body); }
.rt-long__prose p + p            { margin-top: 1em; }
.rt-long__form                   { position: sticky; top: 120px; padding: 32px; background: var(--surface-card); border-radius: var(--rt-radius-xl); box-shadow: var(--shadow-card); }
.rt-long__form-title             { font-family: var(--font-display); font-size: var(--type-title); font-weight: var(--weight-regular); line-height: 1.15; letter-spacing: -0.02em; color: var(--text-strong); margin: 0 0 8px; }
.rt-long__form-sub               { font-family: var(--font-display); font-weight: var(--weight-light); font-size: var(--type-body); line-height: 1.4; color: var(--text-muted); margin: 0 0 24px; }

@media (max-width: 980px) {
    .rt-long__grid--with-form { grid-template-columns: 1fr; gap: 48px; }
    .rt-long__grid--with-form .rt-long__form { order: 1; position: static; top: auto; }
    .rt-long__grid--with-form .rt-long__body { order: 2; }
}
@media (max-width: 520px) {
    .rt-long__form { padding: 24px; }
    .rt-long__form-title { font-size: var(--type-subtitle); }
}

/* ════════════════════════════════════════════════════════════════
   TRD-ELEMENT inline editor — the plugin wraps every editable image in
   `<span class="trd-img-wrap">` (admin view only). The wrapper defaults
   to `display: block; position: relative; width: 100%; height: 100%` so
   the overlay (`.trd-img-overlay`, absolute inset:0) sits over the img.
   Layout rules originally on the bare <img> must also reach the wrapper
   so admin view doesn't collapse. Uses :has() to target wrappers by the
   inner image's brand class.
   ════════════════════════════════════════════════════════════════ */

/* Hero bg cover layer */
.rt-hero > .trd-img-wrap:has(> .rt-hero__bg) { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rt-hero > .trd-img-wrap > .rt-hero__bg     { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Problem image cover layer */
.rt-problem__image > .trd-img-wrap:has(> .rt-problem__bg) { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rt-problem__image > .trd-img-wrap > .rt-problem__bg    { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Final CTA bg cover layer */
.rt-final > .trd-img-wrap:has(> .rt-final__bg) { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rt-final > .trd-img-wrap > .rt-final__bg     { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Service-card slot (fallback render) */
.rt-svc > .trd-img-wrap:has(> .rt-svc__slot) { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rt-svc > .trd-img-wrap > .rt-svc__slot     { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* Plan photo (fills aspect-ratio container) */
.rt-plan__photo > .trd-img-wrap             { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt-plan__photo > .trd-img-wrap > img       { width: 100%; height: 100%; object-fit: cover; display: block; position: static; }

/* USP / reassure overlapping photos — apply the positioning class rules to
   the wrapper too, then neutralise the inner img */
.rt-reassure__media > .trd-img-wrap:has(> .rt-reassure__roof)   { position: absolute; top: 0; right: 0; width: 72%; height: 460px; border-radius: var(--rt-radius-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.rt-reassure__media > .trd-img-wrap:has(> .rt-reassure__worker) { position: absolute; left: 0; bottom: 0; width: 48%; height: 300px; border-radius: var(--rt-radius-xl); box-shadow: 0 0 0 8px var(--surface-page), var(--shadow-lift); overflow: hidden; }
.rt-reassure__media > .trd-img-wrap > .rt-reassure__roof,
.rt-reassure__media > .trd-img-wrap > .rt-reassure__worker {
    position: static; top: auto; left: auto; right: auto; bottom: auto;
    width: 100%; height: 100%; object-fit: cover; display: block;
    border-radius: 0; box-shadow: none;
}

/* Inline / flex contexts — wrapper must shrink to img size so flex layouts
   (navbar, footer badges, review avatars, testimonial avatar, etc.) stay
   intact. Plugin default is width:100%; height:100% which would inflate. */
.rt-navbar__logo > .trd-img-wrap,
.rt-navbar__actions > .trd-img-wrap,
.rt-foot__logo > .trd-img-wrap,
.rt-trust__badges > .trd-img-wrap,
.rt-foot__badges > .trd-img-wrap,
.rt-reviews__avatars > .trd-img-wrap,
.rt-test__head > .trd-img-wrap {
    display: inline-block; width: auto; height: auto;
}

/* Reviews-avatars overlap — apply via :nth-child so it works on either
   bare imgs (visitor) or wrapper spans (admin) */
.rt-reviews__avatars > :nth-child(n+2) { margin-left: -12px; }

/* Footer oversized wordmark — must escape its container to full viewport */
.rt-foot > .trd-img-wrap:has(> .rt-foot__big) {
    display: block; position: relative;
    left: 50%; width: 100vw; max-width: none; margin-left: -50vw; margin-top: 28px;
    height: auto; line-height: 0;
}
.rt-foot > .trd-img-wrap > .rt-foot__big {
    display: block; position: static;
    width: 100%; margin: 0;
}

/* ── Page: Fabricant de revêtements métalliques ─────────────────────── */

/* Banner — full-bleed photo with title + accent rule */
.rt-fab-banner { position: relative; min-height: 520px; background: var(--color-ink-deep); color: var(--text-on-dark); overflow: hidden; }
.rt-fab-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.rt-fab-banner__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%); }
.rt-fab-banner__inner { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 200px 60px 96px; display: flex; flex-direction: column; gap: 18px; }
.rt-fab-banner__title {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: clamp(32px, 4.6vw, 60px); line-height: 1.05; letter-spacing: var(--track-display);
    text-transform: uppercase; margin: 0; max-width: 1100px;
}
.rt-fab-banner__rule { display: block; width: 100%; max-width: 1100px; height: 2px; background: var(--accent); opacity: 0.85; }

/* Intro — centered title in accent, prose with inline links, partner logo */
.rt-fab-intro__title { color: var(--accent-deep); }
.rt-fab-intro__prose {
    max-width: 1100px; margin: 32px auto 0;
    font-family: var(--font-display); font-weight: var(--weight-light);
    font-size: 17px; line-height: 1.65; color: var(--text-body);
    text-align: left;
}
.rt-fab-intro__prose a { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.rt-fab-intro__prose a:hover { color: var(--accent); }
.rt-fab-intro__logo { display: flex; justify-content: center; margin-top: 56px; }
.rt-fab-intro__logo-img { max-width: 180px; height: auto; }

/* Feature — 2-column copy + media block, reversed on alt */
.rt-fab-feature__grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 80px; align-items: center;
}
.rt-fab-feature__grid--reverse > .rt-fab-feature__media { order: -1; }
.rt-fab-feature__title {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: var(--track-display);
    color: var(--text-strong); margin: 0 0 24px;
}
.rt-fab-feature__body {
    font-family: var(--font-display); font-weight: var(--weight-light);
    font-size: 16.5px; line-height: 1.6; color: var(--text-body); margin: 0;
}
.rt-fab-feature__close {
    font-family: var(--font-display); font-weight: var(--weight-light);
    font-size: 16px; line-height: 1.55; color: var(--text-body); margin: 24px 0 0;
}
.rt-fab-feature__callout {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: 17px; line-height: 1.4; color: var(--text-body); margin: 12px 0 0;
}
.rt-fab-feature__partner { margin-top: 32px; display: flex; }
.rt-fab-feature__partner-img { max-width: 320px; width: 100%; height: auto; display: block; }

/* ── 4-column Financeit features grid ───────────────────────────────── */
.rt-fab-features__title {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: var(--track-display);
    color: var(--text-strong); text-align: center; text-wrap: balance;
    max-width: 1080px; margin: 0 auto 64px;
}
.rt-fab-features__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px;
}
.rt-fab-features__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.rt-fab-features__icon { color: var(--accent-deep); display: inline-flex; }
.rt-fab-features__icon svg { display: block; }
.rt-fab-features__name {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: 19px; line-height: 1.25; color: var(--text-strong); margin: 0;
}
.rt-fab-features__body {
    font-family: var(--font-display); font-weight: var(--weight-light);
    font-size: 15px; line-height: 1.55; color: var(--text-body); margin: 0;
    max-width: 260px;
}
@media (max-width: 980px)  { .rt-fab-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; } }
@media (max-width: 520px)  { .rt-fab-features__grid { grid-template-columns: 1fr; gap: 48px; } }
.rt-fab-feature__close a { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.rt-fab-feature__close a:hover { color: var(--accent); }
.rt-fab-feature__media { width: 100%; }
.rt-fab-feature__img { width: 100%; height: auto; display: block; border-radius: 6px; object-fit: cover; aspect-ratio: 4 / 5; }
.rt-fab-feature--alt .rt-fab-feature__img { aspect-ratio: 4 / 3; }

/* Bulleted list — disc bullets, comfortable spacing */
.rt-fab-list {
    list-style: disc; padding-left: 22px; margin: 24px 0 0;
    font-family: var(--font-display); font-weight: var(--weight-light);
    font-size: 16px; line-height: 1.55; color: var(--text-body);
}
.rt-fab-list li { margin-bottom: 10px; }
.rt-fab-list li::marker { color: var(--text-body); }

/* Final CTA — dark gradient over photo with single accent button */
.rt-fab-cta { position: relative; overflow: hidden; background: var(--color-ink-deep); color: var(--text-on-dark); }
.rt-fab-cta__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rt-fab-cta__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,22,28,0.55) 0%, rgba(15,22,28,0.75) 55%, rgba(15,22,28,0.92) 100%); }
.rt-fab-cta__inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 140px 60px 140px; display: flex; flex-direction: column; }
.rt-fab-cta__title {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: var(--track-display);
    text-transform: uppercase; margin: 0; color: var(--text-on-dark);
}
.rt-fab-cta__body {
    font-family: var(--font-display); font-weight: var(--weight-regular);
    font-size: 18px; line-height: 1.45; color: var(--text-on-dark);
    margin: 28px 0 0; max-width: 880px;
}
.rt-fab-cta__row { margin-top: 40px; }
.rt-fab-cta__btn { width: 100%; max-width: 880px; justify-content: center; text-align: center; }
.rt-fab-cta__btn .rt-btn__label { white-space: normal; }

/* Responsive — stack the feature grid, shrink the banner */
@media (max-width: 1024px) {
    .rt-fab-feature__grid { gap: 56px; }
    .rt-fab-banner__inner { padding: 160px 40px 80px; }
    .rt-fab-cta__inner { padding: 110px 40px; }
}
@media (max-width: 768px) {
    .rt-fab-banner { min-height: 380px; }
    .rt-fab-banner__inner { padding: 140px 24px 64px; }
    .rt-fab-feature__grid,
    .rt-fab-feature__grid--reverse { grid-template-columns: 1fr; gap: 40px; }
    .rt-fab-feature__grid--reverse > .rt-fab-feature__media { order: 0; }
    .rt-fab-feature__img,
    .rt-fab-feature--alt .rt-fab-feature__img { aspect-ratio: 4 / 3; }
    .rt-fab-cta__inner { padding: 96px 24px; }
    .rt-fab-intro__prose { font-size: 16px; }
}
@media (max-width: 520px) {
    .rt-fab-banner__inner { padding: 120px 18px 48px; }
    .rt-fab-cta__inner { padding: 80px 18px; }
}

/* ════════════════════════════════════════════════════════════════
   CONTACT FORM SECTION (.rt-cform) — split panel
   Dark info rail (framing + direct contact + reassurance) beside an
   elevated white card holding the Fluent Form. Single rounded shell so
   the two halves read as one object on the light canvas.
   ════════════════════════════════════════════════════════════════ */
.rt-cform {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
    border-radius: var(--rt-radius-xl);
    overflow: hidden;
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
    font-family: var(--font-display);
}

/* ── Info rail ───────────────────────────────────────────────── */
.rt-cform__aside {
    position: relative;
    background: var(--color-ink-deep);
    color: var(--text-on-dark);
    padding: 56px 52px;
    overflow: hidden;
}
/* Soft cyan bloom in the top-left so the flat ink panel has depth */
.rt-cform__aside::before {
    content: "";
    position: absolute;
    top: -140px; left: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-cyan-20) 0%, rgba(33, 188, 255, 0) 70%);
    pointer-events: none;
}
.rt-cform__aside-inner { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }

.rt-cform__eyebrow { align-self: flex-start; margin-bottom: 24px; }
.rt-cform__eyebrow::before { width: 12px; height: 12px; }

.rt-cform__title {
    font-size: var(--type-headline);
    font-weight: var(--weight-regular);
    line-height: 1.08;
    letter-spacing: var(--track-display);
    color: var(--text-on-dark);
    text-wrap: balance;
    margin: 0;
}
.rt-cform__desc {
    font-size: var(--type-body);
    font-weight: var(--weight-light);
    line-height: 1.55;
    color: var(--text-on-dark-muted);
    margin: 18px 0 0;
    max-width: 46ch;
}

/* Reassurance list */
.rt-cform__points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rt-cform__point   { display: flex; align-items: center; gap: 12px; font-size: var(--type-meta); font-weight: var(--weight-regular); line-height: 1.4; color: var(--c-white-85); }
.rt-cform__check {
    flex-shrink: 0;
    width: 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-cyan-20); color: var(--accent);
}

/* Direct-contact rows */
.rt-cform__direct { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border-on-dark); display: flex; flex-direction: column; gap: 4px; }
.rt-cform__direct-label {
    font-size: var(--type-micro); font-weight: var(--weight-medium);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent); margin: 0 0 16px;
}
.rt-cform__row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 10px 12px; margin-left: -12px;
    border-radius: var(--rt-radius-sm);
    text-decoration: none; color: inherit;
    transition: background var(--duration-base) var(--ease-out);
}
a.rt-cform__row:hover { background: var(--c-white-10); }
a.rt-cform__row:hover .rt-cform__icon { background: var(--accent); color: var(--color-ink); border-color: transparent; }
a.rt-cform__row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rt-cform__row--static { cursor: default; }
.rt-cform__icon {
    flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-white-10); color: var(--text-on-dark);
    border: 1px solid var(--border-on-dark);
    transition: background var(--duration-base) var(--ease-out),
                color      var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}
.rt-cform__row-text   { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rt-cform__row-kicker { font-size: var(--type-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-dark-faint); }
.rt-cform__row-value  { font-size: 15px; font-weight: var(--weight-medium); line-height: 1.4; color: var(--text-on-dark); word-break: break-word; }
.rt-cform__row-value--addr { font-weight: var(--weight-regular); line-height: 1.5; color: var(--c-white-85); }
.rt-cform__row-value--addr em { font-style: normal; color: var(--text-on-dark-faint); font-size: var(--type-meta); }

.rt-cform__license {
    margin: auto 0 0; padding-top: 40px;
    border-top: 1px solid var(--border-on-dark);
    font-size: var(--type-micro); letter-spacing: 0.04em;
    color: var(--text-on-dark-faint);
}

/* ── Form card ───────────────────────────────────────────────── */
.rt-cform__panel { padding: 56px 52px; background: var(--surface-card); display: flex; flex-direction: column; }
.rt-cform__panel-head { margin-bottom: 36px; }
.rt-cform__panel-title {
    font-size: var(--type-subtitle); font-weight: var(--weight-regular);
    line-height: 1.2; letter-spacing: var(--track-tight);
    color: var(--text-strong); margin: 0;
}
.rt-cform__panel-note { font-size: var(--type-meta); font-weight: var(--weight-light); line-height: 1.4; color: var(--text-muted); margin: 8px 0 0; }

.rt-cform__privacy {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 24px 0 0;
    font-size: 13px; font-weight: var(--weight-light); line-height: 1.45;
    color: var(--text-muted);
}
.rt-cform__privacy-icon { flex-shrink: 0; display: inline-flex; margin-top: 1px; color: var(--accent-deep); }

/* ── Fluent Forms inside the card ────────────────────────────── */
/* Prefixed with .rt-section so these beat the `.rt-section .fluentform`
   context rules further up the file. */
.rt-section .rt-cform__form .fluentform .ff-el-group { margin-bottom: 20px; }
.rt-section .rt-cform__form .fluentform .ff-name-field-wrapper .ff-t-container { gap: 20px; }
.rt-section .rt-cform__form .fluentform .ff_submit_btn_wrapper { margin-top: 32px; text-align: left; }
.rt-section .rt-cform__form .fluentform .ff-btn.ff-btn-submit { width: 100%; min-width: 0; }
.rt-section .rt-cform__form .fluentform .ff-el-form-control,
.rt-section .rt-cform__form .fluentform input[type="text"],
.rt-section .rt-cform__form .fluentform input[type="email"],
.rt-section .rt-cform__form .fluentform input[type="tel"],
.rt-section .rt-cform__form .fluentform textarea,
.rt-section .rt-cform__form .fluentform select {
    background: var(--color-bone);
    border-color: var(--color-stone-200);
    border-radius: var(--rt-radius-md);
    padding: 15px 18px;
}
.rt-section .rt-cform__form .fluentform .ff-el-form-control:focus,
.rt-section .rt-cform__form .fluentform input:focus,
.rt-section .rt-cform__form .fluentform textarea:focus,
.rt-section .rt-cform__form .fluentform select:focus { background: var(--color-white); }
.rt-section .rt-cform__form .fluentform textarea.ff-el-form-control { min-height: 132px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rt-cform { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .rt-cform__aside,
    .rt-cform__panel { padding: 44px 36px; }
}
@media (max-width: 900px) {
    .rt-cform { grid-template-columns: 1fr; }
    .rt-cform__aside { padding: 44px 36px 48px; }
    .rt-cform__desc { max-width: none; }
    .rt-cform__direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; }
    .rt-cform__direct-label { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .rt-cform { border-radius: var(--rt-radius-md); }
    .rt-cform__aside { padding: 36px 22px 40px; }
    .rt-cform__panel { padding: 36px 22px 40px; }
    .rt-cform__panel-head { margin-bottom: 28px; }
    .rt-cform__direct { grid-template-columns: 1fr; }
    .rt-cform__row { margin-left: -10px; padding: 10px; }
}
