/* ==========================================================================
   W Design Hub — Prefab Landing Pages
   Stylesheet for the three custom page templates (rttheme19)
   All rules are scoped under .rtl-page so they never clash with the theme.
   BUILD: 2026-06-25-D  (mobile header-clearance hard-fix)
   ========================================================================== */

/* ---- Google fonts (loaded via <link> in header-landing.php) ---- */

/* ---- 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;

  --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;
}

.wpcf7-response-output{color:var(--ink)!important;}

/* ---- 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 */

/* The rttheme19 side panel (off-canvas search/menu + a demo "Text Widget") is printed by
   wp_footer() and isn't used on landing pages — hide it. This file only loads on the landing
   templates, so the main site's side panel is completely untouched. */
.side-panel-holder, .side-panel-wrapper, .side-panel-trigger, #side-panel-trigger-close { display:none !important; }

/* ---- 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); }

/* ==========================================================================
   HEADER (shared)
   ========================================================================== */
.rtl-header{
  position:absolute; top:0; left:0; right:0; z-index:50;
  padding:10px 0;
}
.rtl-header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.rtl-logo{ display:flex; align-items:center; gap:12px; }
.rtl-logo svg{ width:40px; height:40px; }
.rtl-logo-img{ height:70px!important; width:auto; display:block; }
.rtl-logo .rtl-logo-txt{ font-family:var(--serif); font-weight:700; font-size:19px; letter-spacing:.02em; }
.rtl-nav{ display:flex; align-items:center; }
.rtl-header .rtl-nav-ul{ display:flex; align-items:center; gap:30px; }
.rtl-header .rtl-nav-ul li{ position:relative; }
.rtl-nav a{ font-size:14.5px; font-weight:500; opacity:.92; transition:.2s; }
.rtl-nav a:hover{ opacity:1; }
/* mobile drawer uses the same menu but stacked */
.rtl-mobile-nav .rtl-nav-ul{ display:block; }
.rtl-mobile-nav .rtl-nav-ul a,
.rtl-mobile-nav > a:not(.rtl-btn){ display:block; }
.rtl-header-cta{
  background:#fff; color:var(--ink)!important; padding:11px 22px; border-radius:30px;
  font-size:14px; font-weight:600; transition:.2s;
}
.rtl-header-cta:hover{ background:var(--gold); color:#fff; }
.rtl-burger{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.rtl-burger span{ width:24px; height:2px; background:currentColor; display:block; transition:.2s; }

/* header colour variants set by body wrapper */
.rtl-page .rtl-header{ color:#fff; }          /* default = light text on dark hero */

/* mobile drawer */
.rtl-mobile-nav{
  position:fixed; inset:0 0 0 auto; width:min(82%,330px); background:var(--navy); color:#fff;
  transform:translateX(100%); transition:.3s ease; z-index:120; padding:90px 30px 30px;
  box-shadow:-20px 0 60px rgba(0,0,0,.4);
}
.rtl-mobile-nav.open{ transform:translateX(0); }
.rtl-mobile-nav a{ display:block; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); font-size:16px; }
.rtl-mobile-nav .rtl-btn{ margin-top:22px; width:100%; justify-content:center; }
.rtl-mobile-close{ position:absolute; top:24px; right:24px; background:none; border:0; color:#fff; font-size:30px; cursor:pointer; line-height:1; }
.rtl-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); opacity:0; visibility:hidden; transition:.3s; z-index:110; }
.rtl-overlay.open{ opacity:1; visibility:visible; }

/* ==========================================================================
   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; }

/* --- Make Contact Form 7 output match the design --- */
.rtl-cf7 .wpcf7-form{ display:block; }
.rtl-cf7 p{ margin:0; }                       /* CF7 wraps fields in <p> */
.rtl-cf7 br{ display:none; }                  /* 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; }
.rtl-cf7 .wpcf7-form-control-wrap{ display:block; margin-top:8px; }   /* input drops onto its own line under its label */
.rtl-field{ margin-bottom:16px; }
.rtl-field > label,
.rtl-cf7 label{ display:block; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--slate); margin-bottom:8px; }
.rtl-cf7 input[type=text],
.rtl-cf7 input[type=email],
.rtl-cf7 input[type=tel],
.rtl-cf7 input[type=number],
.rtl-cf7 select,
.rtl-cf7 textarea{
  width:100%; font-family:var(--sans); font-size:15px; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:8px; padding:13px 15px;
  outline:none; transition:.2s;
}
.rtl-form-panel:not(.is-white) .rtl-cf7 input,
.rtl-form-panel:not(.is-white) .rtl-cf7 select,
.rtl-form-panel:not(.is-white) .rtl-cf7 textarea{ background:#fff; }
.rtl-cf7 input:focus,.rtl-cf7 select:focus,.rtl-cf7 textarea:focus{ border-color:var(--brown); box-shadow:0 0 0 3px rgba(95,54,27,.12); }
.rtl-cf7 textarea{ min-height:96px; resize:vertical; }
.rtl-cf7 select{ appearance:none; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F361B' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat:no-repeat; background-position:right 15px center; padding-right:40px; }
.rtl-cf7 .wpcf7-submit{
  width:100%; margin-top:8px; background:var(--brown); color:#fff; border:0; cursor:pointer;
  font-family:var(--sans); font-weight:600; font-size:14.5px; letter-spacing:.04em;
  padding:15px 24px; border-radius:8px; transition:.2s;
}
.rtl-cf7 .wpcf7-submit:hover{ background:var(--brown-dark); }
.rtl-cf7 .wpcf7-spinner{ margin:14px auto 0; display:block; }
.rtl-cf7 .wpcf7-not-valid-tip{ color:#c0392b; font-size:12px; margin-top:4px; }
.rtl-cf7 .wpcf7-response-output{ margin:18px 0 0 !important; border-radius:8px; font-size:14px; padding:12px 16px !important; }

/* 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; }

/* ==========================================================================
   FOOTER (shared)
   ========================================================================== */
.rtl-footer{ background:var(--brown); color:rgba(255,255,255,.78); padding:64px 0 30px; }
.rtl-footer-grid{ display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:40px; }
.rtl-footer .rtl-logo svg{ width:54px; height:54px; }
.rtl-footer .rtl-logo-img{ height:54px; width:auto; }
.rtl-footer-about{ font-size:13.5px; line-height:1.7; margin-top:22px; max-width:330px; color:rgba(255,255,255,.7); }
.rtl-footer h4{ font-family:var(--sans); color:#fff; font-size:16px; font-weight:700; margin-bottom:18px; }
.rtl-footer-links li{ margin-bottom:11px; }
.rtl-footer-links a{ font-size:14px; color:rgba(255,255,255,.78); transition:.2s; }
.rtl-footer-links a:hover{ color:#fff; }
.rtl-social{ display:flex; gap:12px; }
.rtl-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; transition:.2s; }
.rtl-social a:hover{ background:var(--gold); }
.rtl-social svg{ width:17px; height:17px; }
.rtl-footer-bottom{ text-align:center; margin-top:50px; padding-top:24px; border-top:1px solid rgba(255,255,255,.14); font-size:12.5px; color:rgba(255,255,255,.6); }

/* ==========================================================================
   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-footer-grid{ grid-template-columns:1fr 1fr; gap:34px; }
  .rtl-contact-grid{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:820px){
  .rtl-nav{ display:none; }
  .rtl-header-cta{ display:none; }
  .rtl-burger{ display:flex; }
  .rtl-logo-img{ height:50px!important; }       /* trim the tall logo on tablet */
  .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-logo-img{ height:40px!important; }        /* smaller logo on phones */
  .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; }
  .rtl-footer-grid{ grid-template-columns:1fr; gap:30px; }

  /* 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-logo-img{ height:38px!important; }
  .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; }
}

/* ==========================================================================
   MOBILE HEADER CLEARANCE — hard guarantee (kept last so it always wins).
   The header is transparent and floats over the hero. On phones/tablets the
   hero must be a top-aligned block with enough top space that its first line
   (the badge) sits BELOW the logo + menu. !important so no leftover
   "fill-the-screen / center" rule can pull the badge up under the header.
   ========================================================================== */
@media (max-width:820px){
  .rtl-fold{ display:block !important; min-height:0 !important; }
  .rtl-hero{ display:block !important; min-height:0 !important; }
  .rtl-fold > .rtl-hero{ display:block !important; justify-content:flex-start !important; }
  .rtl-hero-inner{ padding-top:120px !important; }   /* clears a ~70px header with room to spare */
}
@media (max-width:600px){
  .rtl-hero-inner{ padding-top:112px !important; }   /* header is ~60px here (40px logo) */
}