/* ==========================================================================
   W Design Hub — the three PREFAB LANDING templates only
   Loaded ONLY on template-prefab / residential / commercial-landing.php.
   It is NOT loaded on the homepage or the product pages — those are Tailwind,
   and keeping this file off them is what stops the two systems colliding.
   Header, footer, fonts and the skip link now live in the Tailwind build.
   BUILD: 2026-07-27  (self-hosted fonts + PageSpeed pass)
   ========================================================================== */

/* ---- Self-hosted variable fonts -----------------------------------------
   Served from this theme (landing/fonts), preloaded in header-landing.php.
   No request to fonts.googleapis.com, so no third-party DNS + TLS handshake
   and no render-blocking external stylesheet.
   ------------------------------------------------------------------------ */


/* ---- Brand tokens -------------------------------------------------------- */
.rtl-page{
  --brown:#5F361B;
  --brown-2:#6B4226;
  --brown-dark:#4A2A14;
  --navy:#0F172A;
  --ink:#1A1711;
  --cream:#F7F5F0;
  --beige:#ECE8DE;
  --beige-2:#E3E1DF;
  --gold:#C6A77D;
  --gold-2:#C9A66B;
  --slate:#52514C;
  --muted:#6B7280;
  --line:#E3E1DF;
  --white:#ffffff;

  /* Homepage palette, sampled from the approved design. */
  --sand:#E2DFD2;         /* call bar, collection and steps bands */
  --shell:#FAF8F5;        /* testimonial band                     */
  --footer-bg:#3A241A;    /* header and footer                    */
  --brown-mid:#7B593C;

  --serif:"Playfair Display", Georgia, "Times New Roman", serif;
  --sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap:1440px;
  --radius:14px;
  --radius-sm:10px;

  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* ---- Page-level reset --------------------------------------------------- */
/* These landing pages load NO theme CSS, so the browser's default 8px body
   margin would otherwise show as a gap around the whole page. Reset it here.
   (landing.css only loads on these templates, so this affects nothing else.) */
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; }     /* never allow sideways scroll on mobile */
body { background: #F7F5F0; }          /* same cream as the page, so no edge shows */
.rtl-page { min-height: 100vh; }       /* fill the viewport, no bg gap under short pages */


/* ---- Scoped reset -------------------------------------------------------- */
.rtl-page *,
.rtl-page *::before,
.rtl-page *::after{ box-sizing:border-box; }
.rtl-page img{ max-width:100%; height:auto; display:block; }
.rtl-page a{ color:inherit; text-decoration:none; }
.rtl-page ul{ margin:0; padding:0; list-style:none; }
.rtl-page p{ margin:0 0 1em; }
.rtl-page h1,.rtl-page h2,.rtl-page h3,.rtl-page h4{
  margin:0; font-family:var(--serif); font-weight:700; color:var(--ink);
}

/* ---- Layout helpers ------------------------------------------------------ */
.rtl-wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.rtl-section{ padding:84px 0; }
.rtl-eyebrow{
  font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--brown); margin:0 0 16px;
}
.rtl-h2{ font-size:clamp(28px,4vw,42px); }
.rtl-lead{ color:var(--slate); font-size:17px;}
.rtl-center{ text-align:center; }
.rtl-center .rtl-lead{ margin-inline:auto; }

/* ---- Buttons ------------------------------------------------------------- */
.rtl-btn{
  display:inline-flex; align-items:center; gap:10px; cursor:pointer;
  font-family:var(--sans); font-weight:600; font-size:14.5px; letter-spacing:.01em;
  padding:15px 26px; border-radius:8px; border:1px solid transparent; transition:.22s ease;
}
.rtl-btn-primary{ background:var(--brown); color:#fff; }
.rtl-btn-primary:hover{ background:var(--brown-dark); transform:translateY(-1px); }
.rtl-btn-ghost{ background:transparent; color:#F5F1EA!important; border-color:#F5F1EA; }
.rtl-btn-ghost:hover{ background:rgba(255,255,255,.12); border-color:#fff; }
.rtl-btn-ghost-dark{ background:transparent; color:var(--ink); border-color:rgba(0,0,0,.25); }
.rtl-btn-ghost-dark:hover{ background:rgba(0,0,0,.05); }

/* ==========================================================================
   HERO (shared base + per-page tweaks)
   ========================================================================== */
.rtl-hero{ position:relative; color:#fff; overflow:hidden; }
.rtl-hero-bg{ position:absolute; inset:0; z-index:0; }
.rtl-hero-bg img{ width:100%; height:100%; object-fit:cover; }
.rtl-hero-bg::after{ content:""; position:absolute; inset:0; }
.rtl-hero-inner{ position:relative; z-index:2; padding-top:112px; padding-bottom:48px; }   /* mobile-first: clears the fixed header (desktop overridden below) */
.rtl-badge{
  display:inline-block; font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.18);
  padding:9px 18px; border-radius:30px; margin-bottom:26px; color:#fff;
}
.rtl-hero h1{ font-size:clamp(40px,6.4vw,76px); line-height:1.03; letter-spacing:-.015em; max-width:13ch; color:#fff!important; }
.rtl-hero .rtl-hero-sub{ max-width:520px; margin:24px 0 34px; font-size:17px; color:rgba(255,255,255,.86); }
.rtl-hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---- First-view fold — mobile-first.
        Phones/tablets: hero is a normal top-aligned block that clears the header (no overlap).
        Desktop (>=821px, where the full nav shows): hero + the strip below it fill one screen. ---- */
.rtl-fold > .rtl-hero{ display:block; }
@media (min-width:821px){
  .rtl-fold{ display:flex; flex-direction:column; min-height:100vh; min-height:100svh; }
  .rtl-fold > .rtl-hero{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; justify-content:center; }
  .rtl-fold > .rtl-statbar,
  .rtl-fold > .rtl-herostrip{ flex:0 0 auto; }
  .rtl-hero-inner{ padding-top:140px; padding-bottom:80px; }
}

/* Prefab hero: dark navy + gold accent line */
.rtl-prefab .rtl-hero-bg::after{ background:linear-gradient(90deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.72) 45%, rgba(15,23,42,.35) 100%); }
.rtl-prefab .rtl-hero .rtl-accent{ color:var(--gold); }

/* Residential hero: warm overlay */
.rtl-residential .rtl-hero-bg::after{ background:linear-gradient(90deg, rgba(40,28,18,.82) 0%, rgba(40,28,18,.45) 55%, rgba(40,28,18,.15) 100%); }
.rtl-residential .rtl-hero h1{ font-weight:600; }

/* Commercial hero: airy overlay */
.rtl-commercial .rtl-hero-bg::after{ background:linear-gradient(90deg, rgba(20,20,20,.74) 0%, rgba(20,20,20,.40) 55%, rgba(20,20,20,.12) 100%); }

/* ---- Hero stat strip / chips -------------------------------------------- */
.rtl-statbar{ background:var(--brown); color:#fff; }
.rtl-statbar-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
.rtl-stat{ padding:34px 24px; text-align:center; border-right:1px solid rgba(255,255,255,.14); }
.rtl-stat:last-child{ border-right:0; }
.rtl-stat b{ font-family:var(--sans); font-size:38px; font-weight:700; display:block; line-height:1; }
.rtl-stat span{ display:block; margin-top:9px; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.78); }

/* hero chips row (residential/commercial: in a brown strip below hero) */
.rtl-herostrip{ background:var(--brown); }
.rtl-herostrip-inner{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:26px 0; }
/* .rtl-herostrip .rtl-hero-actions{ margin-right:auto; } */
.rtl-chip{
  background:#E2DFD2; border:1px solid rgba(0,0,0,.1);
  border-radius:12px; padding:14px 22px; color:var(--brown); min-width:150px;
}
.rtl-chip b{ font-family:var(--sans); font-size:24px; font-weight:700; display:block; line-height:1; }
.rtl-chip span{ font-size:12px; color:#4A5565; display:block; margin-top:6px; }

/* ==========================================================================
   COMPARISON TABLE (prefab + residential)
   ========================================================================== */
.rtl-compare{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff; box-shadow:0 16px 40px -28px rgba(0,0,0,.25); }
.rtl-compare-row{ display:grid; grid-template-columns:1.1fr 1.6fr 1.6fr; }
.rtl-compare-head{ background:var(--brown); color:#fff; }
.rtl-compare-head > div{ padding:16px 22px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.rtl-compare-row:not(.rtl-compare-head){ border-top:1px solid var(--line); }
.rtl-compare-row:not(.rtl-compare-head) > div{ padding:22px; font-size:14.5px; color:var(--slate); font-weight: 500;}
.rtl-compare-row .rtl-metric{ font-weight:700!important; color:var(--ink); }
.rtl-compare-row .rtl-good{ position:relative; padding-left:46px; color:var(--ink); }
.rtl-compare-row .rtl-good::before{ content:"✓"; color:var(--brown); font-weight:700; padding-right:4px;}

/* residential variant = clean lines, no card */
.rtl-residential .rtl-compare{ border:0; border-radius:0; box-shadow:none; background:transparent; }
.rtl-residential .rtl-compare-head{ background:transparent; color:var(--brown); border-bottom:2px solid var(--brown); }
.rtl-residential .rtl-compare-head > div{ color:var(--brown); }
.rtl-residential .rtl-compare-row .rtl-good{ color:var(--ink); }
.rtl-residential .rtl-compare-row .rtl-metric{ color:var(--brown); }

/* ==========================================================================
   CARD GRIDS (services, philosophy, typology, esg, collections, projects)
   ========================================================================== */
.rtl-grid{ display:grid; gap:24px; }
.rtl-grid > *{ min-width:0; }   /* allow cards to shrink — prevents horizontal overflow on phones */
.rtl-grid-2{ grid-template-columns:repeat(2,1fr); }
.rtl-grid-3{ grid-template-columns:repeat(3,1fr); }
.rtl-grid-4{ grid-template-columns:repeat(4,1fr); }

.rtl-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; transition:.25s ease; }
.rtl-card:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -30px rgba(0,0,0,.35); }
.rtl-card .rtl-card-label{ font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brown); margin-bottom:10px; }
.rtl-dot{ display:block; width:10px; height:10px; border-radius:50%; background:var(--gold); margin-bottom:16px; }
.rtl-card h3{ font-size:21px; margin-bottom:12px; }
.rtl-card p{ color:var(--slate); font-size:14.5px; }
.rtl-card-list{ margin:16px 0 0; }
.rtl-card-list li{ position:relative; padding:9px 0 9px 20px; font-size:14px; color:var(--slate); border-top:1px solid var(--line); font-weight:500; }
.rtl-card-list li:first-child{ border-top:0; }
.rtl-card-list li::before{ content:""; position:absolute; left:0; top:16px; width:6px; height:6px; border-radius:50%; background:var(--brown); }
.rtl-card-link{ display:inline-block; margin-top:18px; font-weight:600; font-size:14px; color:var(--brown); }
.rtl-card-link:hover{ text-decoration:underline; }

/* service card with image (prefab) */
.rtl-service-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:.25s; }
.rtl-service-card:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -30px rgba(0,0,0,.35); }
.rtl-service-card .rtl-service-img{ aspect-ratio:16/10; }
.rtl-service-card .rtl-service-img img{ width:100%; height:100%; object-fit:cover; }
.rtl-service-card .rtl-service-body{ padding:30px; }

.rtl-service-body .rtl-card-label{font-weight:700; color:var(--brown); }
.rtl-service-body h3{font-size:22px}

/* numbered feature (why-forma) */
.rtl-numlist{ display:grid; gap:4px; }
.rtl-numrow{ display:flex; gap:18px; padding:16px 0; border-top:1px solid var(--line); }
.rtl-numrow:first-child{ border-top:0; }
.rtl-numrow .rtl-num{ flex:none; width:36px; height:36px; border-radius:8px; background:var(--brown); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; }
.rtl-numrow h4{ font-family:var(--sans); font-size:16px; font-weight:700; margin-bottom:4px; }
.rtl-numrow p{ color:var(--slate); font-size:14px; margin:0; }

/* icon card (typology, on brown) */
.rtl-iconcard{ background:#fff; border-radius:var(--radius); padding:28px; transition:.25s; }
.rtl-iconcard:hover{ transform:translateY(-4px); }
.rtl-iconcard .rtl-ico{ width:48px; height:48px; border-radius:10px; background:var(--brown); color:#fff; display:flex; align-items:center; justify-content:center;}
.rtl-iconcard .rtl-ico svg{ width:24px; height:24px; }
.rtl-iconcard .rtl-card-label{ color:var(--brown); }
.rtl-iconcard h3{ font-size:19px; margin:10px 0px; color:var(--ink)!important; }
.rtl-iconcard p{ color:var(--slate); font-size:14px; margin:0; }
.rtl-iconcard-header{display: flex; flex-direction: row; align-items: center; gap: 16px;}

/* ==========================================================================
   BROWN SECTIONS (pipeline, collections, typology, partners)
   ========================================================================== */
.rtl-brown{ background:var(--brown); color:#fff; }
.rtl-brown .rtl-eyebrow{ color:var(--gold); }
.rtl-brown .rtl-h2,.rtl-brown h2,.rtl-brown h3{ color:#fff; }
.rtl-collection h3{color:var(--brown);}
.rtl-brown .rtl-lead{ color:rgba(255,255,255,.82); }

/* numbered pipeline (prefab) */
.rtl-pipeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:18px; }
.rtl-pipe-num{ font-family:var(--serif); font-size:50px; font-weight:700; color:rgba(255,255,255,.5); }
.rtl-pipe-card{ background:#fff; color:var(--ink); border-radius:0; padding:22px 22px 26px; }
.rtl-pipe-card h4{ font-family:var(--sans); font-weight:700; font-size:15px; margin-bottom:8px; }
.rtl-pipe-card p{ color:var(--slate); font-size:13px; margin:0; font-weight:500; }
.rtl-pipe-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:30px; }
.rtl-pipe-card .rtl-pipe-num{ color:var(--gold); font-size:38px; line-height:1; margin-bottom:14px; }

/* circular step timeline (residential + commercial) */
.rtl-steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; position:relative; }
.rtl-steps::before{ content:""; position:absolute; top:30px; left:10%; right:10%; height:1px; background:var(--line); z-index:0; }
.rtl-step{ text-align:center; position:relative; z-index:1; }
.rtl-step .rtl-circle{
  width:60px; height:60px; border-radius:50%; background:var(--brown); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--sans); font-weight:700;
  font-size:20px; margin:0 auto 16px;
}
.rtl-step h4{ font-family:var(--sans); font-size:15px; font-weight:700; margin-bottom:8px; color:var(--brown); }
.rtl-step p{ color:var(--slate); font-size:13px; margin:0; }

/* collections (residential brown) + project cards (commercial) */
.rtl-collection{ background:#fff; color:var(--ink); border-radius:var(--radius); padding:30px; }
.rtl-collection h3{ font-size:21px; margin-bottom:6px; }
.rtl-collection .rtl-spec{ color:var(--gold-2); font-size:13px; font-weight:600; margin-bottom:16px; letter-spacing:.02em; }
.rtl-collection p{ color:var(--slate); font-size:14px; }

.rtl-project{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.rtl-project .rtl-project-img{ aspect-ratio:16/10; }
.rtl-project .rtl-project-img img{ width:100%; height:100%; object-fit:cover; }
.rtl-project .rtl-project-body{ padding:24px; }
.rtl-project .rtl-card-label{ color:var(--brown); }
.rtl-project h3{ font-size:18px; margin-bottom:10px; }
.rtl-project p{ color:var(--slate); font-size:14px; margin:0; }

/* partners logos (prefab brown) */
.rtl-partners{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.rtl-partners .rtl-partner{ font-family:var(--serif); font-weight:700; font-size:26px; color:#fff; opacity:.92; letter-spacing:.02em; }
.rtl-partners .rtl-partner small{ font-weight:400; font-size:.7em; }

/* sustainability split rows (residential/commercial light cards) */
.rtl-susrow{ background:var(--beige); border-left:3px solid var(--gold); padding:24px 26px; border-radius:6px; }
.rtl-susrow h4{ font-family:var(--sans); font-size:16px; font-weight:700; margin-bottom:6px; }
.rtl-susrow p{ color:var(--slate); font-size:14px; margin:0; }

/* green principles callout (prefab) */
.rtl-green{ background:#EAF3EC; border:1px solid #CFE6D4; border-radius:var(--radius); padding:30px 34px; display:flex; gap:22px; align-items:flex-start; }
.rtl-green .rtl-green-ico{ flex:none; width:42px; height:42px; background:#1F4D2E; border-radius:8px; display:flex; align-items:center; justify-content:center; }
.rtl-green .rtl-green-ico svg{ width:22px; height:22px; }
.rtl-green h3{ color:#1F4D2E; font-family:var(--sans); font-size:18px; font-weight:700; margin-bottom:8px; }
.rtl-green p{ color:#2E5B3C; font-size:14px; margin:0; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.rtl-faq-item{ border-top:1px solid var(--line); }
.rtl-faq-item:last-child{ border-bottom:1px solid var(--line); }
.rtl-faq-q{
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  display:flex; justify-content:space-between; gap:20px; align-items:center;
  padding:22px 0; font-family:var(--sans); font-size:15.5px; font-weight:600; color:var(--brown);
}
.rtl-faq-q .rtl-faq-ico{ flex:none; font-size:20px; color:var(--brown); transition:.25s; }
.rtl-faq-item.open .rtl-faq-ico{ transform:rotate(45deg); }
.rtl-faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.rtl-faq-a p{ color:var(--slate); font-size:14.5px; padding:0 0 22px; margin:0; }

/* boxed FAQ variant (residential/commercial) */
.rtl-faq-boxed .rtl-faq-item{ border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; margin-bottom:14px; padding:0 22px; }
.rtl-faq-boxed .rtl-faq-item:last-child{ border-bottom:1px solid var(--line); }
.rtl-faq-boxed .rtl-faq-q{ color:var(--ink); }
.rtl-faq-boxed .rtl-faq-a p{ padding-bottom:20px; }
.rtl-commercial .rtl-faq-boxed .rtl-faq-q{ color:var(--navy); }

/* ==========================================================================
   CONTACT SECTIONS + CF7 FORM STYLING
   ========================================================================== */
.rtl-contact{ position:relative; }
.rtl-contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.rtl-contact h2{ font-size:clamp(28px,3.6vw,40px); max-width:14ch; }
.rtl-contact-info{ margin-top:28px; display:grid; gap:16px; }
.rtl-contact-info a,.rtl-contact-info span{ display:flex; gap:12px; align-items:center; color:var(--slate); font-size:15px; }
.rtl-contact-info .rtl-ci-ico{ color:var(--brown); flex:none; }

/* contact with background image (residential/commercial) */
.rtl-contact-bg{ color:#fff; position:relative; overflow:hidden; }
.rtl-contact-bg .rtl-hero-bg::after{ background:linear-gradient(90deg, rgba(35,24,16,.92), rgba(35,24,16,.55)); }
.rtl-contact-bg h2{ color:#fff; }
.rtl-contact-bg .rtl-eyebrow{ color:var(--gold); }
.rtl-contact-bg p{ color:rgba(255,255,255,.85); }
.rtl-contact-bg .rtl-projlist{ margin-top:30px; display:grid; gap:0; max-width:min(100%, 430px); }
.rtl-contact-bg .rtl-projlist .rtl-projrow{ display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid rgba(255,255,255,.18); font-size:14px; }
.rtl-contact-bg .rtl-projlist .rtl-projrow span:last-child{ color:var(--gold); font-style:italic; white-space:nowrap; }

/* form panel */
.rtl-form-panel{ background:var(--beige); border-radius:var(--radius); padding:34px; }
.rtl-form-panel.is-white{ background:#fff; box-shadow:0 30px 70px -40px rgba(0,0,0,.5); }
.rtl-form-panel h3{ font-size:22px; margin-bottom:22px; }                  /* kill CF7's auto <br> — it was breaking the 2-col grid */
.rtl-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }   /* input drops onto its own line under its label */
.rtl-field{ margin-bottom:16px; }

/* fallback notice when no form id set */
.rtl-form-missing{ background:#fff8ef; border:1px dashed var(--brown); border-radius:10px; padding:22px; color:var(--brown); font-size:14px; }
.rtl-form-missing code{ background:rgba(95,54,27,.1); padding:2px 6px; border-radius:4px; }

/* small print line */
.rtl-tagline{ text-align:right; color:var(--muted); font-size:13px; font-style:italic; margin-top:28px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1180px){
  .rtl-section{ padding:74px 0; }
  .rtl-hero h1{ font-size:clamp(36px,5.6vw,60px); }
}
@media (max-width:1024px){
  .rtl-grid-4{ grid-template-columns:repeat(2,1fr); }
  .rtl-pipeline,.rtl-pipe-cards{ grid-template-columns:repeat(2,1fr); }
  .rtl-steps{ grid-template-columns:repeat(2,1fr); gap:34px 14px; }
  .rtl-steps::before{ display:none; }
  .rtl-contact-grid{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:820px){
  .rtl-section{ padding:58px 0; }
  .rtl-grid-2,.rtl-grid-3{ grid-template-columns:1fr; }
  .rtl-grid-3:has(.rtl-iconcard){ grid-template-columns:repeat(2,1fr); }  /* compact value cards stay 2-up */
  .rtl-grid-3:has(.rtl-iconcard-header){ grid-template-columns:1fr; }     /* typology cards (icon + label) are too wide for 2-up → full width */
  .rtl-grid-4:has(.rtl-card){ grid-template-columns:1fr; }                /* text-heavy value cards read cleaner full width */
  .rtl-statbar-grid{ grid-template-columns:repeat(2,1fr); }
  .rtl-stat{ border-right:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); }
  .rtl-stat:nth-child(2n){ border-right:0; }
  .rtl-stat:nth-last-child(-n+2){ border-bottom:0; }
  .rtl-compare-row{ grid-template-columns:1fr; }
  .rtl-compare-row:not(.rtl-compare-head) > div{ padding:14px 22px; }
  .rtl-compare-row .rtl-good::before{ top:16px; }
  .rtl-compare-head{ display:none; }
  .rtl-form-row{ grid-template-columns:1fr; }
  .rtl-herostrip-inner{ flex-direction:column; align-items:stretch; }
  .rtl-herostrip .rtl-hero-actions{ margin:0 0 8px; }
  .rtl-green{ flex-direction:column; gap:16px; }
  .rtl-tagline{ text-align:left; }
}
@media (max-width:600px){
  .rtl-section{ padding:46px 0; }

  .rtl-card .rtl-dot{ margin-bottom:10px; }

  /* keep compact cards 2-up on phones so sections are much shorter */
  .rtl-grid-4{ grid-template-columns:repeat(2,1fr); }
  .rtl-pipeline,.rtl-pipe-cards{ grid-template-columns:repeat(2,1fr); }
  .rtl-steps{ grid-template-columns:repeat(2,1fr); gap:26px 12px; }
  .rtl-steps::before{ display:none; }
  /* image / text-heavy cards stay full width for readability */
  .rtl-grid-2{ grid-template-columns:1fr; }

  /* tighten padding so 2-up cards still breathe */
  .rtl-iconcard,.rtl-card,.rtl-pipe-card{ padding:18px; }
  .rtl-collection,.rtl-green,.rtl-susrow,
  .rtl-service-card .rtl-service-body,.rtl-project .rtl-project-body{ padding:22px; }

  /* hero strip (residential / commercial): buttons full-width on top, chips 2-up below */
  .rtl-herostrip-inner{ display:grid; grid-template-columns:1fr 1fr; gap:10px; align-items:stretch; }
  .rtl-herostrip-inner > .rtl-hero-actions{ grid-column:1 / -1; flex-direction:column; }
  .rtl-chip{ min-width:0; padding:12px 14px; }

  .rtl-hero .rtl-hero-sub{ font-size:15.5px; }
  .rtl-hero-actions{ flex-direction:column; align-items:stretch; }
  .rtl-hero-actions .rtl-btn{ width:100%; justify-content:center; }
  .rtl-partners{ justify-content:center; gap:22px; }
}
@media (max-width:400px){
  .rtl-wrap{ padding:0 14px; }
  .rtl-hero h1{ font-size:31px; }
  .rtl-stat b{ font-size:28px; }
  .rtl-iconcard,.rtl-card,.rtl-pipe-card{ padding:15px; }
  .rtl-iconcard h3,.rtl-card h3{ font-size:16px; }
  .rtl-iconcard p,.rtl-card p{ font-size:13px; }
  .rtl-chip b{ font-size:20px; }
}

