/*
Theme Name: Essential Roofing v29
Theme URI: https://essentialroofing.example/
Author: Essential Roofing & Insulation
Author URI: https://essentialroofing.example/
Description: Premium bilingual (EN / Québec FR) single-page theme for Essential Roofing & Insulation. Cinematic hero with parallax, services & process timeline, project gallery, contact form. Designed in burgundy / charcoal / cream / bronze with Playfair Display + Inter.
Version: 1.5.6
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: essential-roofing
Tags: business, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Essential Roofing & Insulation
   Premium build — burgundy / charcoal / cream / bronze
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --burgundy:#6B1D2F;
  --burgundy-deep:#4A1320;
  --burgundy-ink:#800020;
  --charcoal:#1F2529;
  --charcoal-2:#2A3137;
  --cream:#F8F5F2;
  --cream-2:#EFE9E3;
  --paper:#FFFFFF;
  --bronze:#D4AF88;
  --bronze-deep:#B68C5E;
  --ink:#2A2F33;
  --muted:#6E6660;
  --line:#E2D8CF;

  --maxw:1240px;
  --ease:cubic-bezier(0.16,1,0.3,1);
  --ease-soft:cubic-bezier(0.33,1,0.68,1);
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;}
::selection{background:var(--burgundy);color:var(--bronze);}

h1,h2,h3,h4{font-family:'Playfair Display',serif;font-weight:700;line-height:1.12;letter-spacing:-0.01em;}

/* ---------- Layout ---------- */
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 40px;}
.section{padding:clamp(72px,10vw,128px) 0;position:relative;}

.eyebrow{
  display:inline-flex;align-items:center;gap:11px;
  font-family:'Inter',sans-serif;font-weight:600;
  font-size:0.72rem;letter-spacing:0.24em;text-transform:uppercase;
  color:var(--bronze-deep);margin-bottom:20px;
}
.eyebrow::before{content:"";width:30px;height:1.5px;background:var(--bronze);}
.eyebrow--light{color:var(--bronze);}
.eyebrow--center{justify-content:center;}

.section-title{
  font-size:clamp(2.1rem,4.4vw,3.4rem);
  font-weight:700;color:var(--charcoal);
  letter-spacing:-0.015em;line-height:1.1;
  max-width:20ch;
}
.section-title .it{font-style:italic;color:var(--burgundy);font-weight:600;}
.lede{
  font-size:1.08rem;color:var(--muted);
  max-width:60ch;margin-top:18px;
}

.head{max-width:760px;}
.head--center{margin:0 auto;text-align:center;}
.head--center .lede{margin-left:auto;margin-right:auto;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:11px;
  font-family:'Inter',sans-serif;font-weight:600;
  font-size:0.95rem;letter-spacing:0.015em;
  padding:17px 34px;border-radius:3px;
  border:1.5px solid transparent;
  white-space:nowrap;
  position:relative;overflow:hidden;
  transition:background .35s var(--ease-soft),color .35s var(--ease-soft),
             border-color .35s var(--ease-soft),transform .35s var(--ease);
}
.btn .arrow{transition:transform .35s var(--ease);}
.btn:hover .arrow{transform:translateX(5px);}

.btn--primary{background:var(--burgundy);color:var(--cream);}
.btn--primary::after{
  content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;
  background:var(--bronze);transform:scaleX(0);transform-origin:left;
  transition:transform .4s var(--ease);
}
.btn--primary:hover{background:var(--burgundy-deep);}
.btn--primary:hover::after{transform:scaleX(1);}

.btn--outline{background:transparent;color:var(--cream);border-color:rgba(212,175,136,.55);}
.btn--outline:hover{background:var(--bronze);color:var(--charcoal);border-color:var(--bronze);}

.btn--ghost{background:transparent;color:var(--burgundy);border-color:var(--line);}
.btn--ghost:hover{background:var(--burgundy);color:var(--cream);border-color:var(--burgundy);}

/* ============================================================
   Header
   ============================================================ */
.header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  transition:background .4s var(--ease-soft),box-shadow .4s var(--ease-soft),
             border-color .4s var(--ease-soft);
  border-bottom:1px solid transparent;
}
.header__bar{
  display:flex;align-items:center;justify-content:space-between;
  height:104px;transition:height .4s var(--ease-soft);
}
.header.scrolled{
  background:rgba(31,37,41,.97);
  border-bottom-color:rgba(212,175,136,.28);
  box-shadow:0 12px 40px -22px rgba(0,0,0,.8);
}
.header.scrolled .header__bar{height:84px;}

/* brand */
.brand{display:flex;align-items:center;}
.brand__logo{
  height:80px;width:auto;display:block;
  transition:height .4s var(--ease-soft),transform .6s var(--ease);
}
.brand:hover .brand__logo{transform:translateY(-2px);}
.header.scrolled .brand__logo{height:62px;}
.footer .brand__logo{height:96px;}

/* nav */
.nav{display:flex;align-items:center;gap:36px;}
.nav a{
  font-family:'Inter',sans-serif;font-weight:500;font-size:0.92rem;
  color:rgba(248,245,242,.82);position:relative;padding:6px 0;
  white-space:nowrap;
  transition:color .25s var(--ease-soft);
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:1.5px;
  background:var(--bronze);transition:width .3s var(--ease);
}
.nav a:hover{color:var(--cream);}
.nav a:hover::after{width:100%;}

.header__cta{display:flex;align-items:center;gap:24px;}
.header__phone{
  display:flex;align-items:center;gap:9px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:0.94rem;
  color:var(--cream);white-space:nowrap;
}
.header__phone svg{width:16px;height:16px;stroke:var(--bronze);}
.header__btn{padding:13px 26px;font-size:0.88rem;}

.burger{
  display:none;width:46px;height:46px;
  border:1px solid rgba(212,175,136,.4);border-radius:3px;
  background:transparent;flex-direction:column;
  align-items:center;justify-content:center;gap:5px;
}
.burger span{width:20px;height:1.6px;background:var(--cream);transition:.3s var(--ease);}
.header.menu-open .burger span:nth-child(1){transform:translateY(6.6px) rotate(45deg);}
.header.menu-open .burger span:nth-child(2){opacity:0;}
.header.menu-open .burger span:nth-child(3){transform:translateY(-6.6px) rotate(-45deg);}

/* mobile menu */
.mobile-menu{
  position:fixed;inset:0;z-index:99;
  background:linear-gradient(165deg,var(--burgundy-deep),var(--charcoal));
  display:flex;flex-direction:column;justify-content:center;
  padding:60px 40px;gap:6px;
  opacity:0;visibility:hidden;transform:translateY(-12px);
  transition:opacity .4s var(--ease),transform .4s var(--ease),visibility .4s;
}
.header.menu-open ~ .mobile-menu{opacity:1;visibility:visible;transform:none;}
.mobile-menu a{
  font-family:'Playfair Display',serif;font-size:1.9rem;
  color:var(--cream);padding:12px 0;
  border-bottom:1px solid rgba(212,175,136,.15);
}
.mobile-menu a:last-of-type{border-bottom:none;}
.mobile-menu .btn{margin-top:24px;justify-content:center;}
.mobile-menu .mm-phone{
  margin-top:18px;color:var(--bronze);font-weight:600;font-size:1.05rem;
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position:relative;min-height:100vh;
  display:flex;align-items:center;
  background:var(--charcoal);color:var(--cream);
  overflow:hidden;
}
.hero__layers{position:absolute;inset:0;z-index:0;}
/* base gradient */
.hero__base{
  position:absolute;inset:0;
  background:
    radial-gradient(900px 600px at 82% 12%, rgba(212,175,136,.22), transparent 58%),
    radial-gradient(800px 700px at 6% 96%, rgba(107,29,47,.7), transparent 62%),
    linear-gradient(158deg, var(--burgundy-deep) 0%, var(--charcoal) 62%);
}
/* faint architectural grid */
.hero__grid{
  position:absolute;inset:-10%;
  background-image:
    linear-gradient(rgba(212,175,136,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,136,.06) 1px, transparent 1px);
  background-size:78px 78px;
  -webkit-mask-image:radial-gradient(circle at 70% 40%, #000, transparent 78%);
  mask-image:radial-gradient(circle at 70% 40%, #000, transparent 78%);
}
/* roofline silhouette layer */
.hero__roofline{
  position:absolute;left:0;right:0;bottom:-2px;height:42%;
  opacity:.9;
}
.hero__roofline svg{width:100%;height:100%;}
/* soft bronze glow orb */
.hero__orb{
  position:absolute;width:520px;height:520px;border-radius:50%;
  top:-160px;right:-120px;
  background:radial-gradient(circle, rgba(212,175,136,.34), transparent 68%);
  filter:blur(20px);
}
.hero__grain{
  position:absolute;inset:0;background-image:var(--grain);
  opacity:.4;mix-blend-mode:overlay;pointer-events:none;
}

.hero__inner{position:relative;z-index:2;padding:160px 0 130px;width:100%;}
.hero__content{max-width:760px;}

.hero h1{
  font-size:clamp(2.9rem,6.6vw,5.4rem);
  font-weight:700;line-height:1.04;letter-spacing:-0.02em;
  color:var(--cream);
}
.hero h1 .it{font-style:italic;font-weight:600;color:var(--bronze);}
.hero__sub{
  font-size:clamp(1.05rem,1.5vw,1.2rem);
  color:rgba(248,245,242,.78);
  max-width:52ch;margin-top:24px;
}
.hero__cta{display:flex;flex-wrap:wrap;gap:15px;margin-top:38px;}

.hero__badges{
  display:flex;flex-wrap:wrap;gap:14px 30px;
  margin-top:46px;padding-top:34px;
  border-top:1px solid rgba(212,175,136,.18);
}
.badge{display:flex;align-items:center;gap:10px;}
.badge svg{width:21px;height:21px;stroke:var(--bronze);flex-shrink:0;}
.badge span{
  font-size:0.86rem;font-weight:500;color:rgba(248,245,242,.85);
  line-height:1.3;
}
.badge b{font-family:'Playfair Display',serif;color:var(--bronze);font-size:0.96rem;}

/* scroll cue */
.hero__cue{
  position:absolute;left:50%;bottom:30px;transform:translateX(-50%);
  z-index:2;display:flex;flex-direction:column;align-items:center;gap:10px;
  font-family:'Inter',sans-serif;font-size:0.62rem;font-weight:600;
  letter-spacing:0.22em;text-transform:uppercase;color:rgba(248,245,242,.5);
}
.hero__cue .line{
  width:1px;height:46px;
  background:linear-gradient(var(--bronze),transparent);
  animation:cue 2.4s var(--ease-soft) infinite;
  transform-origin:top;
}
@keyframes cue{
  0%{transform:scaleY(0);opacity:0;}
  40%{opacity:1;}
  100%{transform:scaleY(1);opacity:0;}
}

/* ---------- Marquee strip ---------- */
.strip{
  background:var(--burgundy-deep);color:rgba(248,245,242,.78);
  padding:20px 0;overflow:hidden;position:relative;z-index:3;
  border-top:1px solid rgba(212,175,136,.16);
}
.strip__track{display:flex;width:max-content;animation:slide 38s linear infinite;}
@keyframes slide{to{transform:translateX(-50%);}}
.strip__track > span{
  display:flex;align-items:center;gap:14px;padding:0 34px;
  font-family:'Playfair Display',serif;font-style:italic;
  font-size:1.02rem;white-space:nowrap;
}
.strip__track > span::after{
  content:"";width:5px;height:5px;border-radius:50%;background:var(--bronze);
}

/* ============================================================
   Services
   ============================================================ */
.services{background:var(--cream);}
.services__grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:26px;
  margin-top:56px;
}
.svc{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:5px;
  padding:40px 34px;
  position:relative;overflow:hidden;
  transition:transform .5s var(--ease),box-shadow .5s var(--ease),
             border-color .4s var(--ease-soft);
  box-shadow:0 18px 40px -30px rgba(31,37,41,.5);
}
.svc::before{
  content:"";position:absolute;left:0;top:0;width:100%;height:3px;
  background:linear-gradient(90deg,var(--burgundy),var(--bronze));
  transform:scaleX(0);transform-origin:left;
  transition:transform .45s var(--ease);
}
.svc:hover{
  transform:translateY(-10px);
  box-shadow:0 38px 64px -34px rgba(31,37,41,.6);
  border-color:transparent;
}
.svc:hover::before{transform:scaleX(1);}
.svc__icon{
  width:64px;height:64px;border-radius:4px;
  background:linear-gradient(150deg,var(--burgundy),var(--burgundy-deep));
  display:grid;place-items:center;margin-bottom:26px;
  transition:transform .5s var(--ease);
}
.svc:hover .svc__icon{transform:rotate(-6deg) scale(1.06);}
.svc__icon svg{width:30px;height:30px;stroke:var(--bronze);}
.svc__num{
  position:absolute;top:30px;right:32px;
  font-family:'Playfair Display',serif;font-size:2.4rem;
  color:var(--cream-2);font-weight:700;line-height:1;
}
.svc h3{
  font-size:1.5rem;font-weight:700;color:var(--charcoal);
  margin-bottom:10px;
}
.svc p{font-size:0.97rem;color:var(--muted);}
.svc__list{margin-top:20px;display:grid;gap:9px;}
.svc__list li{
  display:flex;gap:10px;font-size:0.9rem;color:var(--ink);
}
.svc__list li svg{
  width:16px;height:16px;stroke:var(--bronze-deep);
  flex-shrink:0;margin-top:4px;
}
.svc__link{
  display:inline-flex;align-items:center;gap:8px;margin-top:26px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:0.86rem;
  color:var(--burgundy);letter-spacing:0.02em;
}
.svc__link .arrow{transition:transform .3s var(--ease);}
.svc:hover .svc__link .arrow{transform:translateX(5px);}

/* ============================================================
   Why Choose Us
   ============================================================ */
.why{background:var(--cream-2);overflow:hidden;}
.why__inner{
  display:grid;grid-template-columns:0.92fr 1.08fr;
  gap:64px;align-items:center;
}

/* the framed visual */
.why__visual{position:relative;}
.why__frame{
  position:absolute;inset:22px -22px -22px 22px;
  border:1.5px solid var(--bronze);border-radius:5px;z-index:0;
}
.why__photo{
  position:relative;z-index:1;border-radius:5px;
  overflow:hidden;aspect-ratio:3/4;
  background:var(--charcoal);
  box-shadow:0 40px 70px -38px rgba(31,37,41,.7);
}
.why__img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform 1.2s var(--ease);
}
.why__photo:hover .why__img{transform:scale(1.03);}
.why__photo .ph-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(212,175,136,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(212,175,136,.08) 1px,transparent 1px);
  background-size:54px 54px;
}
.why__photo .ph-roof{position:absolute;left:0;right:0;bottom:0;}
.why__photo .ph-roof svg{width:100%;display:block;}
.why__photo .ph-grain{
  position:absolute;inset:0;background-image:var(--grain);
  opacity:.35;mix-blend-mode:overlay;
}
.why__tagcard{
  position:relative;z-index:2;margin:34px;
  background:rgba(31,37,41,.72);
  border:1px solid rgba(212,175,136,.3);
  border-radius:4px;padding:22px 26px;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.why__tagcard b{
  font-family:'Playfair Display',serif;font-style:italic;
  font-size:1.5rem;color:var(--bronze);display:block;
}
.why__tagcard span{font-size:0.84rem;color:rgba(248,245,242,.8);}

/* the advantage list */
.why__list{display:grid;gap:4px;margin-top:38px;}
.adv{
  display:flex;gap:20px;padding:22px 0;
  border-bottom:1px solid var(--line);
}
.adv:last-child{border-bottom:none;}
.adv__no{
  font-family:'Playfair Display',serif;font-weight:700;
  font-size:1.05rem;color:var(--bronze-deep);
  flex-shrink:0;width:34px;
  border-top:2px solid var(--bronze);padding-top:6px;
}
.adv h4{
  font-family:'Inter',sans-serif;font-weight:700;font-size:1.02rem;
  color:var(--charcoal);margin-bottom:4px;
}
.adv p{font-size:0.92rem;color:var(--muted);margin:0;}

/* counter row */
.why__stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:24px;margin-top:40px;
}
.stat{border-left:2px solid var(--bronze);padding-left:18px;}
.stat b{
  font-family:'Playfair Display',serif;font-weight:700;
  font-size:2.5rem;color:var(--burgundy);display:block;line-height:1;
}
.stat span{font-size:0.82rem;color:var(--muted);}

/* ============================================================
   CTA banner
   ============================================================ */
.cta{
  position:relative;overflow:hidden;
  background:linear-gradient(150deg,var(--burgundy),var(--burgundy-deep));
  color:var(--cream);
}
.cta__grain{
  position:absolute;inset:0;background-image:var(--grain);
  opacity:.4;mix-blend-mode:overlay;
}
.cta__glow{
  position:absolute;width:500px;height:500px;border-radius:50%;
  top:-200px;right:-100px;
  background:radial-gradient(circle,rgba(212,175,136,.3),transparent 68%);
}
.cta__inner{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:space-between;
  gap:48px;flex-wrap:wrap;padding:78px 0;
}
.cta h2{
  font-size:clamp(1.9rem,3.6vw,2.9rem);font-weight:700;
  color:var(--cream);max-width:18ch;
}
.cta h2 .it{font-style:italic;color:var(--bronze);}
.cta p{color:rgba(248,245,242,.8);margin-top:12px;max-width:46ch;}
.cta__actions{display:flex;gap:14px;flex-wrap:wrap;}

/* ============================================================
   Footer
   ============================================================ */
.footer{
  background:var(--charcoal);color:rgba(248,245,242,.62);
  padding:74px 0 32px;position:relative;
  border-top:2px solid var(--bronze);
}
.footer__top{
  display:grid;grid-template-columns:1.7fr 1fr 1fr 1.3fr;
  gap:48px;padding-bottom:48px;
  border-bottom:1px solid rgba(212,175,136,.14);
}
.footer .brand{margin-bottom:4px;}
.footer__about{font-size:0.92rem;margin-top:20px;max-width:32ch;}
.footer h5{
  font-family:'Inter',sans-serif;font-weight:600;
  font-size:0.74rem;letter-spacing:0.16em;text-transform:uppercase;
  color:var(--bronze);margin-bottom:18px;
}
.footer__col a,.footer__col li{
  display:block;font-size:0.92rem;margin-bottom:11px;
  transition:color .25s var(--ease-soft);
}
.footer__col a:hover{color:var(--cream);}
.footer__bottom{
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:12px;padding-top:26px;font-size:0.82rem;
}
.footer__bottom a:hover{color:var(--bronze);}

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal{
  opacity:0;transform:translateY(40px);
  transition:opacity 1s var(--ease),transform 1s var(--ease);
}
.reveal.in{opacity:1;transform:none;}
.reveal[data-d="1"]{transition-delay:.1s;}
.reveal[data-d="2"]{transition-delay:.2s;}
.reveal[data-d="3"]{transition-delay:.3s;}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1 !important;transform:none !important;}
  .hero__cue .line,.strip__track{animation:none !important;}
  html{scroll-behavior:auto;}
}

/* ============================================================
   i18n — language visibility (hides inactive language spans)
   ============================================================ */
html[lang="en"] [lang="fr"]{display:none !important;}
html[lang="fr"] [lang="en"]{display:none !important;}

/* ============================================================
   Language switcher (EN | FR)
   ============================================================ */
.lang-switch{
  display:inline-flex;align-items:center;gap:6px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:.82rem;
  letter-spacing:.18em;
}
.lang-btn{
  background:transparent;border:none;padding:6px 4px;cursor:pointer;
  color:rgba(248,245,242,.55);font:inherit;letter-spacing:inherit;
  transition:color .25s var(--ease-soft);position:relative;
}
.lang-btn::after{
  content:"";position:absolute;left:50%;bottom:2px;
  width:0;height:1.5px;background:var(--bronze);
  transform:translateX(-50%);transition:width .3s var(--ease);
}
.lang-btn:hover{color:var(--cream);}
.lang-btn.on{color:var(--bronze);}
.lang-btn.on::after{width:100%;}
.lang-sep{color:rgba(212,175,136,.32);font-weight:400;user-select:none;}
/* breathing room between the nav (Contact) and the EN|FR switcher */
.header__cta > .lang-switch{margin-left:22px;}

/* Mobile menu — larger switcher at top of menu */
.lang-switch--mobile{
  font-size:1rem;letter-spacing:.22em;
  margin-bottom:24px;align-self:center;
}

/* ============================================================
   Accessibility — skip link & focus rings
   ============================================================ */
.skip-link{
  position:absolute;left:-9999px;top:auto;
  width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  position:fixed;left:50%;top:14px;transform:translateX(-50%);
  width:auto;height:auto;padding:11px 22px;
  background:var(--burgundy);color:var(--cream);
  border:1.5px solid var(--bronze);border-radius:3px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:0.92rem;
  z-index:9999;text-decoration:none;
}
*:focus-visible{outline:2px solid var(--bronze);outline-offset:3px;border-radius:2px;}
.btn:focus-visible{outline-offset:5px;}

/* Dark-section title variant */
.section-title--light{color:var(--cream);}
.section-title--light .it{color:var(--bronze);}

/* ============================================================
   Our Process — charcoal section, gold medallion timeline
   ============================================================ */
.process{
  background:var(--charcoal);color:var(--cream);
  position:relative;overflow:hidden;
}
.process__bg{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(700px 500px at 50% 0%,rgba(107,29,47,.5),transparent 70%),
    radial-gradient(600px 500px at 85% 100%,rgba(212,175,136,.13),transparent 70%);
}
.process__grain{
  position:absolute;inset:0;background-image:var(--grain);
  opacity:.32;mix-blend-mode:overlay;pointer-events:none;
}
.process .wrap{position:relative;z-index:1;}
.process__lede{color:rgba(248,245,242,.75);margin-left:auto;margin-right:auto;}

.process__rail{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:30px;margin-top:72px;position:relative;
}
/* Gold connecting line behind medallions — animates in on view */
.process__line{
  position:absolute;top:50px;left:10%;right:10%;height:1px;
  background:rgba(212,175,136,.16);z-index:0;
}
.process__line span{
  display:block;height:100%;width:100%;
  background:linear-gradient(90deg,transparent,var(--bronze) 8%,var(--bronze) 92%,transparent);
  transform:scaleX(0);transform-origin:left;
  transition:transform 1.7s cubic-bezier(.16,1,.3,1);
}
.process__line.on span{transform:scaleX(1);}

.pstep{position:relative;text-align:center;padding:0 8px;z-index:1;}
.pstep__medal{
  position:relative;margin:0 auto 28px;
  width:100px;height:100px;border-radius:50%;
  background:linear-gradient(160deg,var(--burgundy),var(--burgundy-deep));
  border:1.5px solid rgba(212,175,136,.55);
  display:grid;place-items:center;
  box-shadow:0 16px 38px -16px rgba(0,0,0,.7),inset 0 0 0 6px rgba(31,37,41,.55);
  transition:transform .5s var(--ease);
}
.pstep__medal::before{
  content:"";position:absolute;inset:-6px;border-radius:50%;
  border:1px solid rgba(212,175,136,.22);
}
.pstep:hover .pstep__medal{transform:translateY(-4px);}
.pstep__medal span{
  font-family:'Playfair Display',serif;font-weight:700;
  font-size:2.1rem;color:var(--bronze);letter-spacing:-.02em;
}
.pstep h3{
  font-family:'Playfair Display',serif;font-weight:600;
  font-size:1.4rem;color:var(--cream);margin-bottom:10px;
}
.pstep p{font-size:.94rem;color:rgba(248,245,242,.72);max-width:26ch;margin:0 auto;}

/* ============================================================
   Project Gallery — asymmetric 6-col bento, premium hover
   ============================================================ */
.gallery{background:var(--cream);}
.gal__grid{
  display:grid;grid-template-columns:repeat(6,1fr);
  grid-auto-rows:270px;gap:24px;margin-top:56px;
}
.gal{
  position:relative;overflow:hidden;border-radius:5px;
  cursor:pointer;background:var(--charcoal);
  box-shadow:0 20px 50px -32px rgba(31,37,41,.55);
  transition:transform .6s var(--ease),box-shadow .5s var(--ease);
}
.gal:hover{box-shadow:0 40px 70px -36px rgba(31,37,41,.7);}
.gal__art{
  position:absolute;inset:0;display:flex;align-items:flex-end;
  transition:transform 1.1s var(--ease);
}
.gal:hover .gal__art{transform:scale(1.06);}
.gal__art::before{
  content:"";position:absolute;inset:0;
  background-image:var(--grain);opacity:.4;mix-blend-mode:overlay;pointer-events:none;
}
.gal__art svg{width:100%;height:65%;display:block;position:relative;z-index:0;}
/* per-tile gradient variants for visual variety */
.gal__art--a{background:linear-gradient(155deg,var(--burgundy) -10%,var(--charcoal) 60%);}
.gal__art--b{background:linear-gradient(195deg,var(--burgundy-deep) 0%,var(--charcoal) 65%);}
.gal__art--c{background:linear-gradient(165deg,#2A3137 0%,#15191C 75%);}
.gal__art--d{background:linear-gradient(140deg,var(--burgundy-deep) -5%,#15191C 70%);}
.gal__art--e{background:linear-gradient(175deg,#2A3137 0%,#15191C 80%);}
.gal__art--f{background:linear-gradient(160deg,var(--burgundy) -15%,var(--burgundy-deep) 55%,var(--charcoal));}
.gal::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,transparent 45%,rgba(15,18,21,.92));
}
.gal::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:rgba(107,29,47,.5);opacity:0;
  transition:opacity .4s var(--ease);
}
.gal:hover::after{opacity:1;}
.gal__cap{
  position:absolute;bottom:24px;left:26px;right:26px;z-index:2;
  color:var(--cream);
  transition:transform .4s var(--ease);
}
.gal:hover .gal__cap{transform:translateY(-4px);}
.gal__cap > span{
  display:block;font-size:.7rem;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--bronze);margin-bottom:7px;
}
.gal__cap b{
  font-family:'Playfair Display',serif;font-weight:600;
  font-size:1.3rem;line-height:1.2;color:var(--cream);display:block;
}
.gal__view{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%) scale(.85);
  opacity:0;z-index:2;
  display:flex;align-items:center;gap:14px;
  font-family:'Inter',sans-serif;font-weight:600;
  font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--cream);pointer-events:none;
  transition:opacity .45s var(--ease),transform .45s var(--ease);
}
.gal__view::after{
  content:"";width:44px;height:44px;border-radius:50%;
  border:1.5px solid var(--bronze);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D4AF88' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center/14px no-repeat;
}
.gal:hover .gal__view{opacity:1;transform:translate(-50%,-50%) scale(1);}

/* size variants for the 6-col bento */
.gal--w2{grid-column:span 2;}
.gal--w3{grid-column:span 3;}
.gal--w4{grid-column:span 4;}

/* ============================================================
   Testimonials — burgundy section, scroll-snap carousel
   ============================================================ */
.testimonials{
  background:linear-gradient(165deg,var(--burgundy) -10%,var(--burgundy-deep) 70%);
  color:var(--cream);position:relative;overflow:hidden;
}
.testimonials__bg{
  position:absolute;inset:0;background-image:var(--grain);
  opacity:.38;mix-blend-mode:overlay;pointer-events:none;
}
/* Oversized faint quote-mark watermark behind everything */
.testimonials__quote{
  position:absolute;top:-110px;left:50%;transform:translateX(-50%);
  font-family:'Playfair Display',serif;font-weight:700;
  font-size:32rem;line-height:1;color:rgba(212,175,136,.06);
  pointer-events:none;user-select:none;letter-spacing:-.06em;
}
.testimonials .wrap{position:relative;z-index:1;}

.tslider{margin-top:60px;position:relative;}
.tslider__viewport{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
  padding-bottom:6px;
}
.tslider__viewport::-webkit-scrollbar{display:none;}
.tslider__track{display:flex;gap:30px;padding-right:40px;}

.tcard{
  flex:0 0 calc(50% - 15px);
  scroll-snap-align:start;
  background:rgba(248,245,242,.05);
  border:1px solid rgba(212,175,136,.22);
  border-radius:6px;padding:48px 42px;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:border-color .35s var(--ease-soft),transform .5s var(--ease),background .35s;
}
.tcard:hover{
  transform:translateY(-4px);
  border-color:rgba(212,175,136,.5);
  background:rgba(248,245,242,.07);
}
.tcard__stars{
  color:var(--bronze);font-size:1.1rem;letter-spacing:6px;
  margin-bottom:22px;
}
.tcard p{
  font-family:'Playfair Display',serif;font-style:italic;
  font-weight:500;font-size:1.25rem;line-height:1.55;
  color:var(--cream);margin-bottom:28px;
}
.tcard cite{display:flex;align-items:center;gap:14px;font-style:normal;}
.tcard .avatar{
  width:46px;height:46px;border-radius:50%;
  background:linear-gradient(150deg,var(--bronze) 0%,#B68C5E 100%);
  color:var(--burgundy-deep);
  display:grid;place-items:center;
  font-family:'Playfair Display',serif;font-weight:700;font-size:1rem;
  flex-shrink:0;letter-spacing:.04em;
}
.tcard cite b{
  font-family:'Inter',sans-serif;font-weight:600;
  font-size:.98rem;color:var(--cream);display:block;
}
.tcard cite > span > span{font-size:.84rem;color:rgba(212,175,136,.85);}

.tslider__nav{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:34px;gap:20px;flex-wrap:wrap;
}
.tslider__dots{display:flex;gap:10px;align-items:center;}
.tslider__dot{
  width:8px;height:8px;border-radius:50%;border:none;padding:0;
  background:rgba(212,175,136,.28);cursor:pointer;
  transition:.35s var(--ease);
}
.tslider__dot:hover{background:rgba(212,175,136,.55);}
.tslider__dot.on{background:var(--bronze);width:26px;border-radius:4px;}
.tslider__arrows{display:flex;gap:12px;}
.tslider__btn{
  width:48px;height:48px;border-radius:50%;
  border:1.5px solid rgba(212,175,136,.45);
  background:transparent;color:var(--bronze);
  cursor:pointer;display:grid;place-items:center;
  transition:.3s var(--ease);
}
.tslider__btn svg{width:18px;height:18px;stroke:currentColor;}
.tslider__btn:hover{
  background:var(--bronze);color:var(--burgundy-deep);
  transform:translateY(-2px);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1080px){
  .why__inner{grid-template-columns:1fr;gap:48px;}
  .why__frame{inset:18px -18px -18px 18px;}
}
@media (max-width:900px){
  .nav,.header__phone{display:none;}
  .burger{display:flex;}
  .services__grid{grid-template-columns:1fr;}
  .header__btn{display:none;}
  .cta__inner{flex-direction:column;align-items:flex-start;}
}
@media (max-width:620px){
  .wrap{padding:0 22px;}
  .hero__inner{padding:140px 0 110px;}
  .why__stats{grid-template-columns:1fr;gap:14px;}
  .footer__top{grid-template-columns:1fr;gap:32px;}
  .hero__badges{gap:12px 20px;}
}

/* ============================================================
   Contact — cream-2 section, info column + form card
   ============================================================ */
.contact{
  background:var(--cream-2);position:relative;overflow:hidden;
}
.contact__bg{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(700px 500px at 90% 8%,rgba(212,175,136,.2),transparent 70%),
    radial-gradient(600px 500px at 5% 100%,rgba(107,29,47,.08),transparent 70%);
}
.contact .wrap{position:relative;z-index:1;}
.contact__grid{
  display:grid;grid-template-columns:0.92fr 1.08fr;
  gap:60px;margin-top:60px;align-items:start;
}

/* Info column */
.cinfo h3{
  font-family:'Playfair Display',serif;font-weight:600;
  font-size:1.65rem;color:var(--charcoal);
  margin-bottom:26px;letter-spacing:-.005em;
}
.cinfo__list{display:grid;gap:22px;margin:0;list-style:none;padding:0;}
.cinfo__item{display:flex;gap:16px;align-items:flex-start;}
.cinfo__icon{
  flex-shrink:0;width:46px;height:46px;border-radius:50%;
  background:linear-gradient(150deg,var(--burgundy),var(--burgundy-deep));
  border:1.5px solid rgba(212,175,136,.5);
  display:grid;place-items:center;
  transition:transform .5s var(--ease);
}
.cinfo__icon svg{width:18px;height:18px;stroke:var(--bronze);}
.cinfo__item:hover .cinfo__icon{transform:translateY(-3px);}
.cinfo__lbl{
  display:block;font-family:'Inter',sans-serif;font-weight:600;
  font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--bronze-deep);margin-bottom:5px;
}
.cinfo__val{
  display:block;font-family:'Inter',sans-serif;font-weight:500;
  font-size:1.02rem;color:var(--charcoal);line-height:1.45;
}
.cinfo__val a{color:inherit;transition:color .25s var(--ease-soft);}
.cinfo__val a:hover{color:var(--burgundy);}

.cinfo__areas{
  margin-top:36px;padding-top:28px;
  border-top:1px solid var(--line);
}
.cinfo__areas h4{
  font-family:'Inter',sans-serif;font-weight:600;
  font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--bronze-deep);margin-bottom:16px;
}
.cinfo__pills{display:flex;flex-wrap:wrap;gap:8px;}
.cinfo__pill{
  display:inline-block;font-family:'Inter',sans-serif;
  font-weight:500;font-size:.86rem;
  padding:8px 16px;border-radius:99px;
  background:var(--paper);border:1px solid var(--line);
  color:var(--charcoal);cursor:default;
  transition:background .3s var(--ease-soft),color .3s,border-color .3s,transform .3s var(--ease);
}
.cinfo__pill:hover{
  background:var(--burgundy);color:var(--cream);
  border-color:var(--burgundy);transform:translateY(-2px);
}

/* Form card */
.cform__wrap{position:relative;}
.cform{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:5px;
  padding:48px 44px;
  box-shadow:0 36px 70px -40px rgba(31,37,41,.55);
  transition:opacity .4s var(--ease),transform .4s var(--ease);
}
.cform--hidden{opacity:0;transform:translateY(-10px);pointer-events:none;position:absolute;inset:0;}
.cform h3{
  font-family:'Playfair Display',serif;font-weight:600;
  font-size:1.55rem;color:var(--charcoal);margin-bottom:6px;
}
.cform__intro{
  font-size:.95rem;color:var(--muted);margin-bottom:28px;
}
.cform__row{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;
}
.cform__field{margin-bottom:18px;}
.cform__field label{
  display:block;font-family:'Inter',sans-serif;font-weight:600;
  font-size:.76rem;letter-spacing:.04em;text-transform:uppercase;
  color:var(--charcoal);margin-bottom:8px;
}
.cform__field label .req{color:var(--burgundy);font-weight:700;margin-left:2px;}
.cform__opt{
  font-weight:400;color:var(--muted);text-transform:none;
  letter-spacing:0;font-size:.7rem;margin-left:6px;
}
.cform__field input,
.cform__field select,
.cform__field textarea{
  width:100%;font-family:'Inter',sans-serif;font-size:.96rem;
  padding:13px 16px;
  border:1.5px solid var(--line);border-radius:3px;
  background:var(--cream);color:var(--charcoal);
  transition:border-color .25s var(--ease-soft),background .25s,box-shadow .25s;
}
.cform__field textarea{resize:vertical;min-height:120px;font-family:inherit;line-height:1.55;}
.cform__field input:focus,
.cform__field select:focus,
.cform__field textarea:focus{
  outline:none;border-color:var(--burgundy);background:var(--paper);
  box-shadow:0 0 0 3px rgba(107,29,47,.1);
}
.cform__field input::placeholder,
.cform__field textarea::placeholder{color:#9a8c80;}
.cform__field select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B1D2F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;
  padding-right:38px;cursor:pointer;
}
.cform__submit{
  width:100%;margin-top:8px;justify-content:center;
  text-transform:uppercase;letter-spacing:.1em;
}
.cform__note{
  margin:14px 0 0;font-size:.78rem;color:var(--muted);
  text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;
}
.cform__note svg{width:14px;height:14px;stroke:var(--bronze-deep);flex-shrink:0;}

/* Success state */
.cform__success{
  display:none;text-align:center;padding:56px 36px;
  background:linear-gradient(165deg,var(--burgundy) -10%,var(--burgundy-deep) 70%);
  color:var(--cream);border-radius:5px;
  box-shadow:0 36px 70px -40px rgba(31,37,41,.55);
  position:relative;overflow:hidden;
}
.cform__success::before{
  content:"";position:absolute;inset:0;background-image:var(--grain);
  opacity:.35;mix-blend-mode:overlay;pointer-events:none;
}
.cform__success.on{
  display:block;animation:successIn .7s var(--ease) both;
}
.cform__success > *{position:relative;z-index:1;}
.cform__success .checkmark{
  width:72px;height:72px;border-radius:50%;
  border:1.5px solid var(--bronze);
  display:grid;place-items:center;margin:0 auto 22px;
  background:rgba(212,175,136,.08);
}
.cform__success .checkmark svg{width:32px;height:32px;stroke:var(--bronze);}
.cform__success h4{
  font-family:'Playfair Display',serif;font-weight:600;font-style:italic;
  font-size:1.7rem;color:var(--cream);margin-bottom:12px;
}
.cform__success p{
  font-size:1.02rem;color:rgba(248,245,242,.85);
  max-width:34ch;margin:0 auto;line-height:1.55;
}
@keyframes successIn{
  from{opacity:0;transform:translateY(20px) scale(.98);}
  to{opacity:1;transform:none;}
}

/* ---------- New sections — tablet ---------- */
@media (max-width:900px){
  .process__rail{grid-template-columns:1fr 1fr;gap:48px;}
  .process__line{display:none;}
  .gal__grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:230px;}
  .gal--w2,.gal--w3,.gal--w4{grid-column:span 1;}
  .tcard{flex:0 0 100%;padding:38px 30px;}
  .tcard p{font-size:1.1rem;}
  .testimonials__quote{font-size:22rem;top:-50px;}
  .contact__grid{grid-template-columns:1fr;gap:48px;}
}

/* ---------- New sections — mobile ---------- */
@media (max-width:620px){
  .process__rail{grid-template-columns:1fr;gap:42px;}
  .pstep__medal{width:88px;height:88px;}
  .pstep__medal span{font-size:1.85rem;}
  .gal__grid{grid-template-columns:1fr;grid-auto-rows:220px;}
  .tcard{padding:32px 24px;}
  .tcard p{font-size:1.04rem;}
  .testimonials__quote{font-size:16rem;top:-10px;}
  .tslider__nav{flex-direction:column;align-items:center;gap:18px;}
  .cform{padding:34px 24px;}
  .cform__row{grid-template-columns:1fr;gap:0;}
  .cinfo h3{font-size:1.45rem;}
}

/* ============================================================
   Tar & Gravel Restoration section
   ============================================================ */
.restoration {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(180deg, var(--cream, #F8F5F2) 0%, #FFFFFF 100%);
  overflow: hidden;
}
.restoration__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(212, 175, 136, 0.10) 0, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(107, 29, 47, 0.06) 0, transparent 50%);
  pointer-events: none;
}
.restoration__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.restoration__visual {
  position: relative;
}
.restoration__panel {
  position: relative;
  padding: 36px 36px 28px;
  background: linear-gradient(140deg, #6B1D2F 0%, #4A1320 100%);
  border-radius: 22px;
  box-shadow:
    0 30px 60px -25px rgba(107, 29, 47, 0.50),
    0 10px 30px -15px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.restoration__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 136, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.restoration__art {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  padding: 8px;
}
.restoration__badge {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #E5C29C 0%, #D4AF88 60%, #B88958 100%);
  color: #6B1D2F;
  box-shadow:
    0 12px 30px -10px rgba(212, 175, 136, 0.55),
    inset 0 -3px 8px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  z-index: 2;
}
.restoration__badge svg { width: 30px; height: 30px; }

.restoration__content .eyebrow {
  color: #6B1D2F;
}
.restoration__content .section-title {
  margin: 14px 0 22px;
  color: #1F2529;
}
.restoration__intro {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2C353B;
  margin: 0 0 32px;
  max-width: 60ch;
}
.restoration__benefit {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(212, 175, 136, 0.14) 0%, rgba(212, 175, 136, 0.04) 100%);
  border: 1px solid rgba(212, 175, 136, 0.45);
  border-left: 4px solid #D4AF88;
  border-radius: 0 14px 14px 0;
  margin: 0 0 36px;
  box-shadow: 0 14px 36px -22px rgba(107, 29, 47, 0.18);
}
.restoration__benefit-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B1D2F;
  background: rgba(212, 175, 136, 0.25);
  border-radius: 50%;
}
.restoration__benefit-ico svg { width: 24px; height: 24px; }
.restoration__benefit h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: #6B1D2F;
  margin: 0 0 8px;
  line-height: 1.3;
}
.restoration__benefit p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2C353B;
  margin: 0;
}
.restoration__cta {
  align-self: flex-start;
}

@media (max-width: 960px) {
  .restoration__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .restoration__visual {
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .restoration { padding: 72px 0; }
  .restoration__panel { padding: 26px 22px 22px; }
  .restoration__badge { width: 60px; height: 60px; top: -20px; right: -20px; }
  .restoration__badge svg { width: 26px; height: 26px; }
  .restoration__intro { font-size: 1.05rem; }
  .restoration__benefit { flex-direction: column; padding: 22px; gap: 14px; }
  .restoration__benefit-ico { width: 42px; height: 42px; }
}


/* Restoration — extended content (v8) */
.restoration__hook {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: #6B1D2F;
  margin: 18px 0 22px;
  max-width: 56ch;
}
.restoration__benefits-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #6B1D2F;
  letter-spacing: 0.02em;
  margin: 32px 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.restoration__benefits-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(212, 175, 136, 0.6), rgba(212, 175, 136, 0));
}
.restoration__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.restoration__benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(212, 175, 136, 0.06);
  border-left: 3px solid rgba(212, 175, 136, 0.55);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #2C353B;
  transition: background 0.25s ease, transform 0.25s ease;
}
.restoration__benefits-list li:hover {
  background: rgba(212, 175, 136, 0.13);
  transform: translateX(2px);
}
.restoration__benefits-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: #6B1D2F;
  background: rgba(212, 175, 136, 0.25);
  border-radius: 50%;
  padding: 3px;
  box-sizing: border-box;
}
.restoration__outro {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #2C353B;
  margin: 0 0 26px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(107, 29, 47, 0.06) 0%, rgba(107, 29, 47, 0.02) 100%);
  border-radius: 10px;
  font-style: italic;
}
@media (max-width: 640px) {
  .restoration__hook { font-size: 1.2rem; }
  .restoration__benefits-heading { font-size: 1.08rem; }
  .restoration__benefits-list li { padding: 10px 12px; font-size: 0.96rem; }
}

/* ============================================================
   v12 additions: FAQ, cookie banner, form notice, page template
   ============================================================ */

/* FAQ section */
.faq {
  padding: 100px 0;
  background: #F8F5F2;
  position: relative;
}
.faq__wrap { max-width: 880px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 136, 0.35);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq__item:hover { border-color: rgba(212, 175, 136, 0.7); box-shadow: 0 12px 28px -18px rgba(107, 29, 47, 0.18); }
.faq__item[open] { border-color: rgba(107, 29, 47, 0.45); box-shadow: 0 14px 36px -18px rgba(107, 29, 47, 0.22); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #1F2529;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 136, 0.22);
  color: #6B1D2F;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq__item[open] .faq__chev { transform: rotate(45deg); background: #6B1D2F; color: #FFFFFF; }
.faq__answer { padding: 0 26px 22px; color: #2C353B; line-height: 1.7; font-size: 1rem; }
.faq__answer p { margin: 0; }
@media (max-width: 640px) {
  .faq { padding: 64px 0; }
  .faq__item summary { padding: 18px 18px; font-size: 1.05rem; }
  .faq__answer { padding: 0 18px 18px; }
}

/* Form notices */
.cform__notice {
  padding: 14px 18px;
  border-radius: 10px;
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.cform__notice--ok  { background: rgba(46, 130, 78, 0.10); border: 1px solid rgba(46, 130, 78, 0.40); color: #1F5C36; }
.cform__notice--err { background: rgba(168, 38, 56, 0.10); border: 1px solid rgba(168, 38, 56, 0.40); color: #A82638; }

/* Cookie consent banner */
.er-consent[hidden] { display: none; }
.er-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: rgba(31, 37, 41, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  color: #F8F5F2;
  border-radius: 14px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 136, 0.25);
}
.er-consent__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.er-consent__text { flex: 1 1 320px; margin: 0; font-size: 0.96rem; line-height: 1.55; }
.er-consent__text a { color: #D4AF88; text-decoration: underline; }
.er-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.er-consent__btn {
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 136, 0.5);
  background: transparent;
  color: #F8F5F2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.er-consent__btn:hover { background: rgba(212, 175, 136, 0.1); }
.er-consent__btn--accept { background: #D4AF88; color: #1F2529; border-color: #D4AF88; }
.er-consent__btn--accept:hover { background: #E0BD92; }
@media (max-width: 640px) {
  .er-consent { left: 12px; right: 12px; bottom: 12px; }
  .er-consent__inner { padding: 14px 16px; gap: 14px; }
  .er-consent__text { font-size: 0.9rem; }
  .er-consent__btn { padding: 9px 14px; font-size: 0.88rem; }
  .er-consent__actions { width: 100%; justify-content: flex-end; }
}

/* Footer legal pills row */
.footer__legal { display: inline-flex; gap: 8px; align-items: center; }
.footer__legal a { color: inherit; text-decoration: none; opacity: 0.85; }
.footer__legal a:hover { opacity: 1; text-decoration: underline; }

/* Generic Page template (Privacy, Terms, etc.) */
.er-page__main {
  padding: 140px 0 80px;
  background: #FFFFFF;
  min-height: 60vh;
}
.er-page__wrap { max-width: 760px; margin: 0 auto; }
.er-page__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  line-height: 1.15;
  color: #6B1D2F;
  margin: 0 0 32px;
}
.er-page__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2C353B;
}
.er-page__content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  color: #1F2529;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 136, 0.4);
}
.er-page__content h3 { font-size: 1.2rem; margin: 28px 0 10px; color: #1F2529; }
.er-page__content p { margin: 0 0 18px; }
.er-page__content a { color: #6B1D2F; text-decoration: underline; }
.er-page__content ul, .er-page__content ol { margin: 0 0 18px 22px; line-height: 1.75; }
.er-page__back { margin-top: 56px; text-align: center; }
.er-page__footer { background: #1F2529; color: rgba(248, 245, 242, 0.75); padding: 28px 0; }
.er-page__footer .footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.92rem; }
.er-page__footer a { color: #D4AF88; text-decoration: none; }
.er-page__footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .er-page__main { padding: 110px 0 60px; }
  .er-page__title { font-size: 2.1rem; }
  .er-page__content { font-size: 0.98rem; }
}

/* ============================================================
   v13: nav dropdowns + page related-block + cta-box
   ============================================================ */

/* Header nav dropdowns */
.nav__group { position: relative; display: inline-flex; align-items: center; }
.nav__top { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav__caret { font-size: 0.7em; opacity: 0.65; transition: transform 0.2s ease; }
.nav__group:hover .nav__caret, .nav__group:focus-within .nav__caret { transform: rotate(180deg); opacity: 1; }

.nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 136, 0.4);
  border-radius: 12px;
  box-shadow: 0 24px 60px -18px rgba(31, 37, 41, 0.30);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  z-index: 100;
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1F2529 !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__menu a:hover {
  background: rgba(212, 175, 136, 0.18);
  color: #6B1D2F !important;
}

/* Hide dropdowns on mobile menu (which already lists pages flat) */
@media (max-width: 1024px) {
  .nav__group { display: none; }
  /* On the mobile menu, indent sub-items */
  .mobile-menu .mm-sub {
    padding-left: 24px;
    font-size: 0.95em;
    opacity: 0.85;
  }
}

/* Page template — related links block */
.er-page__crumbs {
  font-size: 0.88rem;
  color: rgba(31, 37, 41, 0.65);
  margin: 0 0 18px;
}
.er-page__crumbs a { color: #6B1D2F; text-decoration: none; }
.er-page__crumbs a:hover { text-decoration: underline; }

.er-page__related {
  margin-top: 80px;
  padding: 40px 32px;
  background: #F8F5F2;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 136, 0.3);
}
.er-page__related h2 {
  margin: 0 0 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #6B1D2F;
  border-bottom: none;
  padding-bottom: 0;
}
.er-page__related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.er-page__related h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6B1D2F;
  margin: 0 0 14px;
}
.er-page__related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.er-page__related li { margin: 0 0 10px; }
.er-page__related a {
  color: #1F2529;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.er-page__related a:hover {
  color: #6B1D2F;
  border-color: rgba(212, 175, 136, 0.6);
}
@media (max-width: 640px) {
  .er-page__related-grid { grid-template-columns: 1fr; gap: 28px; }
  .er-page__related { padding: 28px 22px; }
}

/* CTA box inside service/location pages */
.page__cta-box {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, #6B1D2F 0%, #4A1320 100%);
  color: #F8F5F2;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 20px 50px -22px rgba(107, 29, 47, 0.45);
}
.page__cta-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: #D4AF88;
  margin: 0 0 10px;
}
.page__cta-box p { margin: 0 0 16px; color: rgba(248, 245, 242, 0.92); font-size: 1.05rem; }
.page__cta-box a:not(.btn) { color: #D4AF88; text-decoration: underline; }
.page__cta-box .btn--primary { background: #D4AF88; color: #1F2529; }
.page__cta-box .btn--primary:hover { background: #E0BD92; }

/* ============================================================
   v14: light-theme header for sub-pages (Privacy, Terms,
   service pages, location pages) — white bg, dark text.
   The homepage keeps its existing dark/transparent header that
   sits over the hero parallax.
   ============================================================ */

.er-page .header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(212, 175, 136, 0.35);
  box-shadow: 0 6px 24px -16px rgba(31, 37, 41, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.er-page .header__bar {
  background: transparent;
}
.er-page .header .brand__logo {
  filter: none;
}
.er-page .header .nav a,
.er-page .header .nav__top {
  color: #1F2529 !important;
}
.er-page .header .nav a:hover,
.er-page .header .nav__top:hover {
  color: #6B1D2F !important;
}
.er-page .header .nav__caret { color: #6B1D2F; }
.er-page .header .header__phone {
  color: #1F2529 !important;
}
.er-page .header .header__phone svg {
  stroke: #6B1D2F;
}
.er-page .header .btn--primary {
  background: #6B1D2F;
  color: #FFFFFF !important;
}
.er-page .header .btn--primary:hover {
  background: #831F37;
}
.er-page .header .burger span {
  background: #1F2529;
}
.er-page .header .header__btn { color: #FFFFFF !important; }

/* Dropdown menu remains white card; ensure links stay dark */
.er-page .header .nav__menu {
  background: #FFFFFF;
  border-color: rgba(212, 175, 136, 0.4);
}
.er-page .header .nav__menu a {
  color: #1F2529 !important;
}
.er-page .header .nav__menu a:hover {
  background: rgba(212, 175, 136, 0.18);
  color: #6B1D2F !important;
}

/* Push main content down so the sticky header doesn't overlap */
.er-page .er-page__main {
  padding-top: 60px;
}

/* Ensure page footer is properly distinct */
.er-page .footer.er-page__footer {
  margin-top: 0;
}

/* ============================================================
   v15: compact sub-page header, burgundy hero banner,
   wider readable content, card-style related links
   ============================================================ */

/* COMPACT HEADER on sub-pages */
.er-page .header.header--compact {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(212, 175, 136, 0.35);
  box-shadow: 0 6px 24px -16px rgba(31, 37, 41, 0.18);
}
.er-page .header.header--compact .header__bar {
  height: 72px !important;
  padding: 0;
}
.er-page .header.header--compact .brand__logo {
  height: 48px !important;
  width: auto;
}
.er-page .header.header--compact .header__phone {
  font-size: 0.95rem;
  font-weight: 600;
}
.er-page .header.header--compact .header__btn {
  padding: 10px 18px;
  font-size: 0.92rem;
}
.er-page .header.header--compact .nav { gap: 26px; }
.er-page .header.header--compact .nav a,
.er-page .header.header--compact .nav__top {
  font-size: 0.95rem;
  font-weight: 500;
}

/* PAGE HERO BANNER */
.er-hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  background: #1F2529;
  color: #F8F5F2;
}
.er-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(212, 175, 136, 0.18) 0, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(212, 175, 136, 0.10) 0, transparent 55%),
    linear-gradient(135deg, #6B1D2F 0%, #4A1320 100%);
}
.er-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 245, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 242, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.5;
}
.er-hero__inner {
  position: relative;
  max-width: 960px;
}
.er-hero__crumbs {
  font-size: 0.92rem;
  margin: 0 0 24px;
  color: rgba(248, 245, 242, 0.72);
  display: flex;
  align-items: center;
  gap: 10px;
}
.er-hero__crumbs a {
  color: #D4AF88;
  text-decoration: none;
  transition: color 0.15s ease;
}
.er-hero__crumbs a:hover { color: #FFFFFF; }
.er-hero__crumbs span:last-child { color: #F8F5F2; }
.er-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 600;
  color: #F8F5F2;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.er-hero__lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(248, 245, 242, 0.85);
  margin: 0;
  max-width: 760px;
}

/* PAGE CONTENT — wider, better rhythm */
.er-page__main {
  padding: 64px 0 80px;
  background: #FFFFFF;
}
.er-page__wrap {
  max-width: 820px;
  margin: 0 auto;
}
.er-page__content {
  font-size: 1.08rem;
  line-height: 1.78;
  color: #2C353B;
}
.er-page__content > p:first-child {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #1F2529;
  margin-bottom: 28px;
}
.er-page__content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #1F2529;
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 136, 0.45);
  letter-spacing: -0.005em;
}
.er-page__content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: #6B1D2F;
  margin: 32px 0 12px;
}
.er-page__content p { margin: 0 0 20px; }
.er-page__content strong { color: #1F2529; font-weight: 600; }
.er-page__content a {
  color: #6B1D2F;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.er-page__content a:hover { color: #831F37; }
.er-page__content ul, .er-page__content ol {
  margin: 0 0 24px 22px;
  line-height: 1.78;
}
.er-page__content li { margin-bottom: 8px; }

/* In-content CTA box (page__cta-box) — refined */
.er-page__content .page__cta-box {
  margin: 48px 0;
  padding: 36px 40px;
}
.er-page__content .page__cta-box h3 {
  color: #D4AF88;
  margin-top: 0;
}
.er-page__content .page__cta-box a { color: #D4AF88; }

/* RELATED SECTION — card grid */
.er-related {
  background: #F8F5F2;
  padding: 64px 0 80px;
  border-top: 1px solid rgba(212, 175, 136, 0.3);
}
.er-related__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1F2529;
  margin: 0 0 36px;
  text-align: center;
}
.er-related__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 28px;
}
.er-related__col {
  background: #FFFFFF;
  padding: 28px 26px;
  border: 1px solid rgba(212, 175, 136, 0.35);
  border-radius: 14px;
  box-shadow: 0 12px 30px -22px rgba(31, 37, 41, 0.15);
}
.er-related__col-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #6B1D2F;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 136, 0.4);
}
.er-related__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.er-related__list li { margin: 0; }
.er-related__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 6px;
  color: #1F2529;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 37, 41, 0.06);
  font-size: 0.98rem;
  transition: color 0.15s ease, padding-left 0.18s ease;
}
.er-related__list a:hover {
  color: #6B1D2F;
  padding-left: 12px;
}
.er-related__list a:hover .er-related__arrow {
  transform: translateX(4px);
  color: #6B1D2F;
}
.er-related__list li:last-child a { border-bottom: none; }
.er-related__arrow {
  color: rgba(212, 175, 136, 0.7);
  font-size: 1.05rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.er-related__col--cta {
  background: linear-gradient(140deg, #6B1D2F 0%, #4A1320 100%);
  color: #F8F5F2;
  border: none;
}
.er-related__col--cta .er-related__col-title {
  color: #D4AF88;
  border-bottom-color: rgba(212, 175, 136, 0.35);
}
.er-related__col--cta p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 245, 242, 0.85);
  margin: 0 0 20px;
}
.er-related__col--cta .btn--outline {
  border-color: #D4AF88;
  color: #D4AF88;
}
.er-related__col--cta .btn--outline:hover { background: rgba(212, 175, 136, 0.15); color: #FFFFFF; }
.er-related__col--cta .btn--primary {
  background: #D4AF88;
  color: #1F2529;
}
.er-related__col--cta .btn--primary:hover { background: #E0BD92; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .er-related__grid { grid-template-columns: 1fr 1fr; }
  .er-related__col--cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .er-page .header.header--compact .header__bar { height: 64px !important; }
  .er-page .header.header--compact .brand__logo { height: 40px !important; }
  .er-hero { padding: 56px 0 44px; }
  .er-hero__title { font-size: 1.85rem; }
  .er-hero__lede { font-size: 1rem; }
  .er-page__main { padding: 44px 0 56px; }
  .er-page__content { font-size: 1rem; }
  .er-page__content > p:first-child { font-size: 1.08rem; }
  .er-page__content h2 { font-size: 1.4rem; margin: 36px 0 14px; }
  .er-page__content h3 { font-size: 1.15rem; }
  .er-related { padding: 48px 0 56px; }
  .er-related__title { font-size: 1.4rem; margin-bottom: 24px; }
  .er-related__grid { grid-template-columns: 1fr; }
  .er-related__col { padding: 22px 20px; }
}

/* ============================================================
   v16: fix invisible button text in burgundy CTA boxes
   ============================================================ */

/* Only color plain text-links gold inside the CTA box, NOT buttons */
.er-page__content .page__cta-box a:not(.btn) {
  color: #D4AF88;
  text-decoration: underline;
}
.er-page__content .page__cta-box a:not(.btn):hover {
  color: #E0BD92;
}

/* Force the button to have dark text on its gold background, always */
.er-page__content .page__cta-box .btn--primary,
.er-page__content .page__cta-box .btn--primary:link,
.er-page__content .page__cta-box .btn--primary:visited {
  background: #D4AF88 !important;
  color: #1F2529 !important;
  text-decoration: none !important;
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.2s ease, transform 0.18s ease;
}
.er-page__content .page__cta-box .btn--primary:hover {
  background: #E0BD92 !important;
  color: #1F2529 !important;
  transform: translateY(-2px);
}
.er-page__content .page__cta-box .btn--primary span {
  color: inherit !important;
}

/* Also: the related-card CTA buttons */
.er-related__col--cta .btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.er-related__col--cta .btn--outline {
  border: 1.5px solid #D4AF88;
  color: #D4AF88 !important;
  background: transparent;
}
.er-related__col--cta .btn--outline:hover {
  background: rgba(212, 175, 136, 0.15);
  color: #FFFFFF !important;
}
.er-related__col--cta .btn--primary {
  background: #D4AF88 !important;
  color: #1F2529 !important;
}
.er-related__col--cta .btn--primary:hover {
  background: #E0BD92 !important;
}

/* ============================================================
   v17 — Sub-pages reworked to match the landing's cinematic aesthetic.
   Override the earlier compact/light page header rules with a transparent
   header over a burgundy hero, plus richer content rhythm.
   ============================================================ */

/* Header: transparent over hero by default, white when scrolled past hero */
.er-page--cinematic .header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  z-index: 200;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.er-page--cinematic .header .header__bar {
  height: 84px !important;
}
.er-page--cinematic .header .brand__logo {
  height: 56px !important;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
.er-page--cinematic .header .nav a,
.er-page--cinematic .header .nav__top {
  color: #F8F5F2 !important;
  font-weight: 500;
}
.er-page--cinematic .header .nav a:hover,
.er-page--cinematic .header .nav__top:hover {
  color: #D4AF88 !important;
}
.er-page--cinematic .header .nav__caret { color: #D4AF88; }
.er-page--cinematic .header .header__phone {
  color: #F8F5F2 !important;
}
.er-page--cinematic .header .header__phone svg {
  stroke: #D4AF88;
}
.er-page--cinematic .header .header__btn,
.er-page--cinematic .header .btn--primary {
  background: #D4AF88 !important;
  color: #1F2529 !important;
  border: none;
}
.er-page--cinematic .header .header__btn:hover {
  background: #E0BD92 !important;
}
.er-page--cinematic .header .burger span { background: #F8F5F2; }

/* When scrolled, header becomes solid white */
.er-page--cinematic .header.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px -16px rgba(31, 37, 41, 0.18) !important;
  border-bottom: 1px solid rgba(212, 175, 136, 0.3) !important;
}
.er-page--cinematic .header.scrolled .header__bar { height: 72px !important; }
.er-page--cinematic .header.scrolled .brand__logo { height: 48px !important; filter: none; }
.er-page--cinematic .header.scrolled .nav a,
.er-page--cinematic .header.scrolled .nav__top,
.er-page--cinematic .header.scrolled .header__phone { color: #1F2529 !important; }
.er-page--cinematic .header.scrolled .nav a:hover,
.er-page--cinematic .header.scrolled .nav__top:hover { color: #6B1D2F !important; }
.er-page--cinematic .header.scrolled .header__phone svg { stroke: #6B1D2F; }
.er-page--cinematic .header.scrolled .header__btn,
.er-page--cinematic .header.scrolled .btn--primary {
  background: #6B1D2F !important;
  color: #FFFFFF !important;
}
.er-page--cinematic .header.scrolled .header__btn:hover { background: #831F37 !important; }
.er-page--cinematic .header.scrolled .burger span { background: #1F2529; }

/* HERO — cinematic burgundy */
.erp-hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #6B1D2F 0%, #4A1320 60%, #2C0F1B 100%);
  color: #F8F5F2;
  overflow: hidden;
}
.erp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.erp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 245, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 242, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 20%, transparent 75%);
}
.erp-hero__glow {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(212, 175, 136, 0.18) 0, transparent 60%);
}
.erp-hero__roofline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  pointer-events: none;
  line-height: 0;
}
.erp-hero__roofline svg {
  width: 100%;
  height: auto;
  display: block;
}
.erp-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.erp-hero__crumbs {
  font-size: 0.9rem;
  margin: 0 0 28px;
  color: rgba(248, 245, 242, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}
.erp-hero__crumbs a {
  color: #D4AF88;
  text-decoration: none;
  transition: color 0.15s ease;
}
.erp-hero__crumbs a:hover { color: #FFFFFF; }
.erp-hero__crumbs span:last-child { color: #F8F5F2; }
.erp-hero .eyebrow--light {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #D4AF88;
  margin: 0 0 24px;
}
.erp-hero .eyebrow--light::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #D4AF88;
  display: inline-block;
}
.erp-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 600;
  color: #F8F5F2;
  margin: 0 0 24px;
  letter-spacing: -0.012em;
  max-width: 18ch;
}
.erp-hero__lede {
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(248, 245, 242, 0.88);
  margin: 0 0 36px;
  max-width: 720px;
}
.erp-hero__cta {
  display: flex;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.erp-hero__cta .btn--primary {
  background: #D4AF88;
  color: #1F2529;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: background 0.2s ease, transform 0.18s ease;
}
.erp-hero__cta .btn--primary:hover {
  background: #E0BD92;
  transform: translateY(-2px);
}
.erp-hero__cta .btn--outline {
  border: 1.5px solid rgba(212, 175, 136, 0.6);
  color: #F8F5F2;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.erp-hero__cta .btn--outline:hover {
  background: rgba(212, 175, 136, 0.15);
  border-color: #D4AF88;
}
.erp-hero__cta .arrow { transition: transform 0.2s ease; }
.erp-hero__cta .btn--primary:hover .arrow { transform: translateX(4px); }

/* Trust badges row */
.erp-hero__badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.erp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(248, 245, 242, 0.85);
  font-weight: 500;
}
.erp-badge svg {
  width: 22px;
  height: 22px;
  stroke: #D4AF88;
  flex-shrink: 0;
}

/* MAIN CONTENT */
.erp-main {
  background: #FFFFFF;
  padding: 80px 0 100px;
  position: relative;
}
.erp-main__wrap {
  max-width: 820px;
  margin: 0 auto;
}
.erp-content {
  font-size: 1.08rem;
  line-height: 1.78;
  color: #2C353B;
}
.erp-content > p:first-child {
  font-size: 1.22rem;
  line-height: 1.65;
  color: #1F2529;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(212, 175, 136, 0.35);
}
.erp-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #1F2529;
  margin: 56px 0 18px;
  letter-spacing: -0.005em;
  position: relative;
  padding-left: 24px;
}
.erp-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: linear-gradient(180deg, #D4AF88 0%, #6B1D2F 100%);
  border-radius: 2px;
}
.erp-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: #6B1D2F;
  margin: 36px 0 12px;
}
.erp-content p { margin: 0 0 22px; }
.erp-content strong { color: #1F2529; font-weight: 600; }
.erp-content a {
  color: #6B1D2F;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.erp-content a:hover { color: #831F37; }
.erp-content ul, .erp-content ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.erp-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.erp-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(135deg, #D4AF88 0%, #B88958 100%);
  border-radius: 50%;
}
.erp-content ul li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid #FFFFFF;
  border-bottom: 1.6px solid #FFFFFF;
  transform: rotate(-45deg);
}
.erp-content ol {
  counter-reset: erp-counter;
}
.erp-content ol li {
  counter-increment: erp-counter;
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
}
.erp-content ol li::before {
  content: counter(erp-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: #6B1D2F;
  color: #FFFFFF;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* In-content CTA box — match landing style */
.erp-content .page__cta-box {
  margin: 56px 0;
  padding: 40px 44px;
  background: linear-gradient(135deg, #6B1D2F 0%, #4A1320 100%);
  color: #F8F5F2;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 30px 60px -25px rgba(107, 29, 47, 0.45);
  position: relative;
  overflow: hidden;
}
.erp-content .page__cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 136, 0.18) 0, transparent 60%);
  pointer-events: none;
}
.erp-content .page__cta-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: #D4AF88;
  margin: 0 0 12px;
  position: relative;
}
.erp-content .page__cta-box p {
  margin: 0 0 22px;
  color: rgba(248, 245, 242, 0.9);
  font-size: 1.05rem;
  position: relative;
}
.erp-content .page__cta-box a:not(.btn) {
  color: #D4AF88;
  text-decoration: underline;
}
.erp-content .page__cta-box .btn--primary {
  background: #D4AF88 !important;
  color: #1F2529 !important;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  transition: background 0.2s ease, transform 0.18s ease;
  position: relative;
}
.erp-content .page__cta-box .btn--primary:hover {
  background: #E0BD92 !important;
  transform: translateY(-2px);
}

/* RELATED — cinematic */
.erp-related {
  background: #F8F5F2;
  padding: 100px 0;
  position: relative;
}
.erp-related__head {
  text-align: center;
  margin-bottom: 56px;
}
.erp-related__head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6B1D2F;
  margin-bottom: 16px;
}
.erp-related__head .eyebrow::before,
.erp-related__head .eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #D4AF88;
}
.erp-related__head .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #1F2529;
  margin: 0;
}
.erp-related__head .it {
  font-style: italic;
  color: #D4AF88;
}
.erp-related__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 28px;
}
.erp-related__col {
  background: #FFFFFF;
  padding: 32px 28px;
  border: 1px solid rgba(212, 175, 136, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px -28px rgba(31, 37, 41, 0.2);
}
.erp-related__col-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: #6B1D2F;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 136, 0.4);
}
.erp-related__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.erp-related__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6px;
  color: #1F2529;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 37, 41, 0.06);
  font-size: 0.98rem;
  transition: color 0.15s ease, padding-left 0.18s ease;
}
.erp-related__list a:hover {
  color: #6B1D2F;
  padding-left: 12px;
}
.erp-related__list a:hover .erp-related__arrow {
  transform: translateX(4px);
  color: #6B1D2F;
}
.erp-related__list li:last-child a { border-bottom: none; }
.erp-related__arrow {
  color: rgba(212, 175, 136, 0.7);
  font-size: 1.05rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.erp-related__col--cta {
  background: linear-gradient(140deg, #6B1D2F 0%, #4A1320 100%);
  color: #F8F5F2;
  border: none;
  position: relative;
  overflow: hidden;
}
.erp-related__col--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 136, 0.16) 0, transparent 60%);
  pointer-events: none;
}
.erp-related__col--cta > * { position: relative; }
.erp-related__col--cta .eyebrow--light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #D4AF88;
  margin: 0 0 14px;
}
.erp-related__col--cta .eyebrow--light::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #D4AF88;
}
.erp-related__cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: #F8F5F2;
}
.erp-related__cta-title .it {
  font-style: italic;
  color: #D4AF88;
}
.erp-related__col--cta p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(248, 245, 242, 0.88);
  margin: 0 0 22px;
}
.erp-related__btn {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s ease;
}
.erp-related__btn.btn--outline {
  border: 1.5px solid #D4AF88;
  color: #D4AF88 !important;
  background: transparent;
}
.erp-related__btn.btn--outline:hover {
  background: rgba(212, 175, 136, 0.15);
  color: #FFFFFF !important;
}
.erp-related__btn.btn--primary {
  background: #D4AF88 !important;
  color: #1F2529 !important;
  margin-bottom: 0;
}
.erp-related__btn.btn--primary:hover {
  background: #E0BD92 !important;
}

@media (max-width: 960px) {
  .erp-related__grid { grid-template-columns: 1fr 1fr; }
  .erp-related__col--cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .er-page--cinematic .header .header__bar { height: 64px !important; }
  .er-page--cinematic .header .brand__logo { height: 40px !important; }
  .erp-hero { padding: 120px 0 80px; }
  .erp-hero__title { font-size: 2rem; max-width: none; }
  .erp-hero__lede { font-size: 1rem; }
  .erp-hero__cta { gap: 10px; }
  .erp-hero__cta .btn--primary, .erp-hero__cta .btn--outline { padding: 12px 22px; font-size: 0.95rem; }
  .erp-hero__badges { gap: 16px; flex-direction: column; }
  .erp-main { padding: 56px 0 64px; }
  .erp-content { font-size: 1rem; }
  .erp-content > p:first-child { font-size: 1.08rem; padding-bottom: 24px; margin-bottom: 24px; }
  .erp-content h2 { font-size: 1.4rem; margin: 40px 0 14px; padding-left: 18px; }
  .erp-content h2::before { width: 3px; }
  .erp-content h3 { font-size: 1.15rem; }
  .erp-content .page__cta-box { padding: 28px 24px; }
  .erp-content .page__cta-box h3 { font-size: 1.4rem; }
  .erp-related { padding: 56px 0 64px; }
  .erp-related__head .section-title { font-size: 1.7rem; }
  .erp-related__grid { grid-template-columns: 1fr; }
  .erp-related__col { padding: 24px 22px; }
}

/* ============================================================
   v18 — fix dropdown menu text on cinematic header.
   ============================================================ */

/* Dropdown card stays solid white with dark text even when the parent
   header is in its transparent/cinematic state. */
.er-page--cinematic .header .nav__menu {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 136, 0.4);
  box-shadow: 0 24px 60px -18px rgba(31, 37, 41, 0.45);
}
.er-page--cinematic .header .nav__menu a {
  color: #1F2529 !important;
  font-weight: 500;
}
.er-page--cinematic .header .nav__menu a:hover {
  background: rgba(212, 175, 136, 0.18);
  color: #6B1D2F !important;
}

/* When the header has scrolled (white state), the same applies but with
   subtler shadow since the header now has its own background. */
.er-page--cinematic .header.scrolled .nav__menu {
  box-shadow: 0 24px 60px -18px rgba(31, 37, 41, 0.18);
}

/* v18: allow the longer "More from Essential Roofing & Insulation" heading to wrap on small screens */
.erp-related__head .section-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}
@media (max-width: 640px) {
  .erp-related__head .section-title { font-size: 1.55rem; max-width: none; }
}

/* ============================================================
   v19 — header positioning fix for logged-in WP admins.
   WordPress adds 32px of body margin (46px on small screens) when
   the admin toolbar is shown. The fixed header at top:0 ended up
   over that empty white strip. Push it down by the toolbar height
   so it overlays the burgundy hero directly.
   ============================================================ */

.admin-bar.er-page--cinematic .header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar.er-page--cinematic .header {
    top: 46px !important;
    position: absolute !important; /* WP behaviour: admin bar becomes non-fixed on mobile */
  }
}

/* ============================================================
   v20 — match homepage's scrolled header: dark charcoal with
   bronze border + light text (NOT white as v17 had it).
   ============================================================ */

.er-page--cinematic .header.scrolled {
  background: rgba(31, 37, 41, 0.97) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 136, 0.28) !important;
  box-shadow: 0 12px 40px -22px rgba(0, 0, 0, 0.8) !important;
}
.er-page--cinematic .header.scrolled .header__bar { height: 84px !important; }
.er-page--cinematic .header.scrolled .brand__logo { height: 62px !important; filter: none; }

/* Text stays light against the dark scrolled bg */
.er-page--cinematic .header.scrolled .nav a,
.er-page--cinematic .header.scrolled .nav__top,
.er-page--cinematic .header.scrolled .header__phone {
  color: #F8F5F2 !important;
}
.er-page--cinematic .header.scrolled .nav a:hover,
.er-page--cinematic .header.scrolled .nav__top:hover {
  color: #D4AF88 !important;
}
.er-page--cinematic .header.scrolled .header__phone svg { stroke: #D4AF88; }

/* Gold pill button stays gold in scrolled state (matching homepage) */
.er-page--cinematic .header.scrolled .header__btn,
.er-page--cinematic .header.scrolled .btn--primary {
  background: #D4AF88 !important;
  color: #1F2529 !important;
  border: none;
}
.er-page--cinematic .header.scrolled .header__btn:hover {
  background: #E0BD92 !important;
}
.er-page--cinematic .header.scrolled .burger span { background: #F8F5F2; }

/* Dropdown menu card remains white-on-card so links read clearly */
.er-page--cinematic .header.scrolled .nav__menu {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 136, 0.4);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.5);
}
.er-page--cinematic .header.scrolled .nav__menu a {
  color: #1F2529 !important;
}
.er-page--cinematic .header.scrolled .nav__menu a:hover {
  background: rgba(212, 175, 136, 0.18);
  color: #6B1D2F !important;
}

/* ============================================================
   v21 — reduce sub-page header heights so it doesn't feel heavy.
   Default: 72px bar / 44px logo. Scrolled: 60px bar / 38px logo.
   Padding on the hero is also reduced to compensate.
   ============================================================ */

.er-page--cinematic .header .header__bar {
  height: 72px !important;
}
.er-page--cinematic .header .brand__logo {
  height: 44px !important;
}
.er-page--cinematic .header.scrolled .header__bar {
  height: 60px !important;
}
.er-page--cinematic .header.scrolled .brand__logo {
  height: 38px !important;
}

/* Match nav typography to the smaller header */
.er-page--cinematic .header .nav { gap: 26px; }
.er-page--cinematic .header .nav a,
.er-page--cinematic .header .nav__top {
  font-size: 0.92rem;
}
.er-page--cinematic .header .header__phone {
  font-size: 0.92rem;
}
.er-page--cinematic .header .header__btn,
.er-page--cinematic .header .btn--primary {
  padding: 9px 18px !important;
  font-size: 0.9rem !important;
}

/* Push the hero up since the header is smaller now */
.erp-hero {
  padding: 130px 0 90px;
}
@media (max-width: 640px) {
  .er-page--cinematic .header .header__bar { height: 60px !important; }
  .er-page--cinematic .header .brand__logo { height: 36px !important; }
  .erp-hero { padding: 100px 0 70px; }
}

/* ============================================================
   v22 — make standalone .btn--primary buttons in page content
   render their text in white (was inheriting burgundy from the
   generic .erp-content a rule, which made it invisible on the
   burgundy background, e.g. the Emergency page "Call Now" CTA).
   ============================================================ */

.erp-content .btn,
.erp-content a.btn {
  text-decoration: none !important;
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.18s ease;
}

.erp-content .btn--primary,
.erp-content a.btn--primary,
.erp-content a.btn--primary:link,
.erp-content a.btn--primary:visited {
  background: #6B1D2F !important;
  color: #FFFFFF !important;
  border: none;
  padding: 14px 28px;
}
.erp-content .btn--primary:hover {
  background: #831F37 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}
.erp-content .btn--primary span {
  color: inherit !important;
}

.erp-content .btn--outline,
.erp-content a.btn--outline {
  background: transparent;
  color: #6B1D2F !important;
  border: 1.5px solid #6B1D2F;
  padding: 13px 27px;
}
.erp-content .btn--outline:hover {
  background: rgba(107, 29, 47, 0.08);
}
