/* ============================================================
   VAP GROUP — shared stylesheet
   Design tokens: ink/steel (brand structure) + amber (brand accent)
   + a five-color service key drawn from the brand's own multicolor
   mark, used to color-code the five service lines throughout.
   ============================================================ */

/* Smooth cross-page navigation in browsers that support the View
   Transitions API (Chromium-based). No-op elsewhere — safe default. */
@view-transition{
  navigation: auto;
}
::view-transition-old(root), ::view-transition-new(root){
  animation-duration: .18s;
}

@font-face-fallback: system-ui;

:root{
  --ink:#201F1D;
  --ink-soft:#3A3835;
  --steel:#4E4E4D;
  --steel-soft:#787775;
  --amber:#EFAE1F;
  --amber-deep:#C9922E;
  --stone:#EFE7D8;
  --stone-deep:#E4D8BE;
  --paper:#FBF9F5;
  --white:#ffffff;

  --c-construction:#3D7DC0;
  --c-excavation:#E0483B;
  --c-piling:#C9922E;
  --c-ground:#6B9E4B;
  --c-geotech:#7C5CCD;

  --radius:4px;
  --radius-lg:10px;
  --maxw:1200px;
  --shadow-soft: 0 12px 28px -18px rgba(32,31,29,0.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:84px; background:var(--ink); }
img{ aspect-ratio:attr(width) / attr(height); }
body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Big Shoulders Display','Arial Narrow',sans-serif;
  font-weight:800;
  letter-spacing:0.2px;
  color:var(--ink);
  line-height:1.05;
  margin:0 0 .5em 0;
  text-transform:uppercase;
}
h1{ font-size:clamp(2.4rem,5.4vw,4.4rem); }
h2{ font-size:clamp(1.9rem,3.6vw,2.9rem); }
h3{ font-size:clamp(1.25rem,2vw,1.6rem); }
p{ margin:0 0 1em 0; max-width:68ch; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section--dark{ background:var(--ink); color:var(--stone); }
.section--dark h1, .section--dark h2, .section--dark h3{ color:var(--white); }
.section--stone{ background:var(--stone); }
.section--paper{ background:var(--paper); }

.eyebrow{
  display:inline-block;
  font-family:'Big Shoulders Display',sans-serif;
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.06em;
  color:var(--amber-deep);
  margin-bottom:10px;
}
.section--dark .eyebrow{ color:var(--amber); }

.lede{ font-size:1.15rem; color:var(--ink-soft); max-width:62ch; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px;
  border-radius:var(--radius);
  font-weight:700;
  font-size:1rem;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn--amber{ background:var(--amber); color:var(--ink); }
.btn--amber:hover{ background:var(--amber-deep); }
.btn--outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.55); }
.btn--outline:hover{ border-color:var(--white); }
.btn--outline-dark{ background:transparent; color:var(--ink); border-color:var(--stone-deep); }
.btn--outline-dark:hover{ border-color:var(--ink); }
.btn--ink{ background:var(--ink); color:var(--white); }
.btn--ink:hover{ background:var(--ink-soft); }

/* ---------- utility topbar ---------- */
.topbar{ background:var(--ink); color:#C9C5BC; font-size:.82rem; }
.topbar__inner{ display:flex; align-items:center; justify-content:space-between; padding:9px 24px; gap:16px; flex-wrap:wrap; }
.topbar__info{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.topbar__info a{ color:#C9C5BC; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.topbar__info a:hover{ color:var(--amber); }
.topbar__meta{ display:flex; align-items:center; gap:18px; }
.topbar__social{ display:flex; align-items:center; gap:10px; }
.topbar__social a{
  width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:#C9C5BC; text-decoration:none;
  transition:background .15s ease, color .15s ease;
}
.topbar__social a svg{ width:14px; height:14px; display:block; }
.topbar__social a:hover{ background:var(--amber); color:var(--ink); }
@media (max-width:900px){ .topbar{ display:none; } }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(251,249,245,.94);
  backdrop-filter:saturate(160%) blur(6px);
  border-bottom:1px solid rgba(32,31,29,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  max-width:var(--maxw); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ height:42px; width:auto; }
.brand__name{ font-family:'Big Shoulders Display',sans-serif; font-weight:800; font-size:1.15rem; color:var(--ink); letter-spacing:.02em; }
.brand__name span{ color:var(--amber-deep); }

.nav__links{ display:flex; align-items:center; gap:28px; }
.nav__links a{
  text-decoration:none; font-weight:600; font-size:.96rem; color:var(--ink-soft);
  padding:6px 2px; border-bottom:2px solid transparent;
}
.nav__links a:hover, .nav__links a[aria-current="page"]{ color:var(--ink); border-color:var(--amber); }
.nav__cta{ display:flex; align-items:center; gap:16px; }
.nav__phone{ font-weight:700; font-size:.92rem; text-decoration:none; }
.nav-toggle{ display:none; background:none; border:none; padding:8px; cursor:pointer; }
.nav-toggle span{ display:block; width:26px; height:3px; background:var(--ink); margin:5px 0; border-radius:2px; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:86vh;
  display:flex; align-items:flex-end;
  color:var(--white);
  background:linear-gradient(to bottom, rgba(20,19,17,.35), rgba(20,19,17,.88)), var(--hero-img) center/cover no-repeat;
}
.hero__inner{ padding:64px 0 56px; max-width:var(--maxw); margin:0 auto; width:100%; padding-left:24px; padding-right:24px; }
.hero h1{ color:var(--white); max-width:16ch; }
.hero__lede{ color:#EDE7DA; font-size:1.2rem; max-width:52ch; margin-bottom:28px; }
.hero__ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.hero__tags{ display:flex; flex-wrap:wrap; gap:10px; }
.hero__tag{ font-size:.82rem; font-weight:700; padding:6px 12px; border-radius:20px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); }

/* ---------- strata stat bar ---------- */
.strata{ display:flex; flex-wrap:wrap; }
.strata__layer{
  flex:1 1 220px; padding:34px 28px; color:var(--white); position:relative;
  border-right:1px solid rgba(255,255,255,.14);
}
.strata__layer:last-child{ border-right:none; }
.strata__num{ font-family:'Big Shoulders Display',sans-serif; font-weight:800; font-size:2.6rem; line-height:1; }
.strata__lbl{ font-size:.85rem; text-transform:uppercase; letter-spacing:.04em; opacity:.85; margin-top:8px; }
.strata--l1{ background:#2B2925; }
.strata--l2{ background:#3A3733; }
.strata--l3{ background:#4E4E4D; }
.strata--l4{ background:var(--amber-deep); color:var(--ink); }
.strata--l4 .strata__lbl{ opacity:.75; }

/* ---------- cards / grids ---------- */
.grid{ display:grid; gap:28px; }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:var(--white); border-radius:var(--radius-lg);
  padding:30px 28px; box-shadow:var(--shadow-soft);
  border-top:4px solid var(--key,var(--amber));
}
.card h3{ margin-bottom:10px; color:var(--ink); }
.card p{ color:var(--ink-soft); font-size:.98rem; margin-bottom:0; }
.card__tag{
  display:inline-block; font-size:.75rem; font-weight:800; letter-spacing:.04em;
  text-transform:uppercase; color:var(--white); background:var(--key,var(--amber));
  padding:4px 10px; border-radius:20px; margin-bottom:14px;
}

.svc--construction{ --key:var(--c-construction); }
.svc--excavation{ --key:var(--c-excavation); }
.svc--piling{ --key:var(--c-piling); }
.svc--ground{ --key:var(--c-ground); }
.svc--geotech{ --key:var(--c-geotech); }

/* ---------- photo feature ---------- */
.feature{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.feature--reverse .feature__media{ order:2; }
.feature__media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); }
.feature ul.check{ margin-top:18px; }
.feature ul.check li{ padding-left:28px; position:relative; margin-bottom:12px; color:var(--ink-soft); }
.feature ul.check li::before{
  content:""; position:absolute; left:0; top:.35em; width:14px; height:14px;
  background:var(--amber); border-radius:3px;
}

/* ---------- gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gallery figure{ margin:0; position:relative; overflow:hidden; border-radius:var(--radius); aspect-ratio:4/3; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery figure:hover img{ transform:scale(1.06); }
.gallery figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px 12px;
  background:linear-gradient(to top, rgba(20,19,17,.85), transparent);
  color:var(--white); font-size:.85rem; font-weight:600;
}

/* ---------- timeline ---------- */
.timeline{ border-left:3px solid var(--stone-deep); padding-left:28px; }
.timeline__item{ position:relative; padding-bottom:36px; }
.timeline__item:last-child{ padding-bottom:0; }
.timeline__item::before{
  content:""; position:absolute; left:-35px; top:4px; width:14px; height:14px;
  background:var(--amber); border-radius:50%; border:3px solid var(--paper);
}
.timeline__year{ font-family:'Big Shoulders Display',sans-serif; font-weight:800; color:var(--amber-deep); font-size:1.3rem; }

/* ---------- fleet table ---------- */
.table-wrap{ overflow-x:auto; border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); }
table.fleet{ width:100%; border-collapse:collapse; background:var(--white); min-width:520px; }
table.fleet th{ background:var(--ink); color:var(--white); text-align:left; padding:14px 18px; font-size:.85rem; text-transform:uppercase; letter-spacing:.03em; }
table.fleet td{ padding:14px 18px; border-bottom:1px solid var(--stone); font-size:.96rem; }
table.fleet tr:nth-child(even) td{ background:var(--stone); }
table.fleet td.qty{ font-weight:800; color:var(--amber-deep); text-align:center; }

/* ---------- logo strip ---------- */
.logo-strip{ display:flex; flex-wrap:wrap; gap:14px; }
.logo-chip{
  background:var(--white); border:1px solid var(--stone-deep); border-radius:24px;
  padding:10px 20px; font-weight:700; font-size:.92rem; color:var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--ink); color:var(--white); border-radius:var(--radius-lg);
  padding:48px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--white); margin-bottom:6px; }
.cta-band p{ color:var(--stone); margin-bottom:0; }

/* ---------- testimonials ---------- */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.testimonial-card{
  background:var(--white); border-radius:var(--radius-lg); padding:32px 28px;
  box-shadow:var(--shadow-soft); display:flex; flex-direction:column; height:100%;
}
.testimonial-card .stars{ color:var(--amber-deep); font-size:1rem; letter-spacing:3px; margin-bottom:16px; }
.testimonial-card .quote{ font-size:1rem; color:var(--ink-soft); margin-bottom:22px; flex-grow:1; }
.testimonial-card .author{ display:flex; align-items:center; gap:12px; }
.testimonial-card .avatar{
  width:46px; height:46px; border-radius:50%; background:var(--stone); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Big Shoulders Display',sans-serif; font-weight:800; color:var(--ink-soft); font-size:1.1rem;
}
.testimonial-card .name{ font-weight:800; font-size:.94rem; color:var(--ink); }
.testimonial-card .role{ font-size:.8rem; color:var(--steel-soft); }
.testimonial-note{ font-size:.82rem; color:var(--steel-soft); margin-top:22px; }

/* ---------- trust / accreditation strip ---------- */
.trust-strip{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.trust-badge{
  display:flex; align-items:center; gap:10px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14); border-radius:30px; padding:10px 20px;
  font-size:.86rem; font-weight:700; color:#D8D3C8;
}
.trust-badge .dot{ width:8px; height:8px; border-radius:50%; background:var(--amber); flex-shrink:0; }

/* ---------- blog / insights ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.blog-card{
  background:var(--white); border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-soft); text-decoration:none; color:inherit; display:flex; flex-direction:column;
  transition:transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover{ transform:translateY(-4px); box-shadow:0 18px 34px -16px rgba(32,31,29,.4); }
.blog-card__media{ aspect-ratio:16/10; overflow:hidden; }
.blog-card__media img{ width:100%; height:100%; object-fit:cover; }
.blog-card__body{ padding:22px 22px 26px; display:flex; flex-direction:column; flex-grow:1; }
.blog-card__meta{ font-size:.78rem; font-weight:700; color:var(--amber-deep); text-transform:uppercase; letter-spacing:.04em; margin-bottom:8px; }
.blog-card h3{ font-size:1.15rem; margin-bottom:10px; text-transform:none; letter-spacing:0; }
.blog-card p{ color:var(--ink-soft); font-size:.92rem; margin-bottom:16px; flex-grow:1; }
.blog-card__link{ font-weight:800; font-size:.86rem; color:var(--ink); }
.blog-card:hover .blog-card__link{ color:var(--amber-deep); }

.blog-post-body{ max-width:74ch; margin:0 auto; }
.blog-post-body h2{ margin-top:1.4em; text-transform:none; letter-spacing:0; font-size:clamp(1.4rem,2.4vw,1.9rem); }
.blog-post-body h3{ text-transform:none; letter-spacing:0; margin-top:1.2em; }
.blog-post-body p, .blog-post-body li{ color:var(--ink-soft); font-size:1.04rem; max-width:none; }
.blog-post-body ul{ margin:0 0 1.2em 0; padding-left:22px; list-style:disc; }
.blog-post-body li{ margin-bottom:.5em; }
.blog-post-hero{ max-width:74ch; margin:0 auto; }
.video-embed{ position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-soft); margin:8px 0 28px; background:var(--ink); }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-caption{ font-size:.85rem; color:var(--steel-soft); margin-top:-16px; margin-bottom:28px; }
.blog-post-tags{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.blog-post-tags span{ font-size:.78rem; font-weight:700; background:var(--stone); color:var(--ink-soft); padding:5px 12px; border-radius:16px; }
.blog-meta-row{ display:flex; gap:18px; flex-wrap:wrap; align-items:center; font-size:.86rem; color:var(--steel-soft); margin-bottom:24px; }
.blog-share{ display:flex; gap:10px; margin-top:36px; padding-top:24px; border-top:1px solid var(--stone-deep); }

/* ---------- lead capture form ---------- */
.capture-card{ background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); padding:36px; }
.capture-card .success-msg{ display:none; text-align:center; padding:24px 0; }
.capture-card .success-msg.visible{ display:block; }
.capture-card .success-msg .ico{ margin:0 auto 14px; width:56px; height:56px; font-size:1.6rem; background:var(--stone); }

/* ---------- footer ---------- */
.site-footer{ background:#171614; color:#C9C5BC; padding:56px 0 28px; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:#C9C5BC; text-decoration:none;
  transition:background .15s ease, color .15s ease;
}
.footer-social a svg{ width:17px; height:17px; display:block; }
.footer-social a:hover{ background:var(--amber); color:var(--ink); }
.footer-accreditation{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:40px; padding-top:8px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px; }
.footer-grid h4{ color:var(--white); font-size:1rem; margin-bottom:16px; }
.footer-grid a{ color:#C9C5BC; text-decoration:none; display:block; margin-bottom:10px; font-size:.94rem; }
.footer-grid a:hover{ color:var(--amber); }
.footer-brand img{ height:40px; margin-bottom:14px; }
.footer-brand p{ color:#9A968D; font-size:.9rem; max-width:34ch; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.85rem; color:#8A867D; }
.dotstrip{ display:inline-flex; gap:4px; vertical-align:middle; }
.dotstrip span{ width:10px; height:10px; border-radius:2px; display:inline-block; }
.dotstrip .d1{background:var(--c-excavation);} .dotstrip .d2{background:#F0952D;} .dotstrip .d3{background:#EBBE31;} .dotstrip .d4{background:var(--c-ground);} .dotstrip .d5{background:var(--c-construction);} .dotstrip .d6{background:var(--c-geotech);}

/* ---------- forms ---------- */
.form{ display:grid; gap:16px; grid-template-columns:1fr 1fr; }
.form .full{ grid-column:1/-1; }
.form label{ display:block; font-weight:700; font-size:.88rem; margin-bottom:6px; }
.form input, .form select, .form textarea{
  width:100%; padding:13px 14px; border:1.5px solid var(--stone-deep); border-radius:var(--radius);
  font-family:inherit; font-size:.98rem; background:var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus{ outline:3px solid rgba(239,174,31,.4); border-color:var(--amber-deep); }
.form textarea{ resize:vertical; min-height:120px; }

.info-list{ display:grid; gap:22px; }
.info-item{ display:flex; gap:16px; }
.ico{ width:44px; height:44px; border-radius:10px; background:var(--stone); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.2rem; }
.info-item .ico{ }
.info-item h4{ margin-bottom:4px; font-family:'Inter'; text-transform:none; font-weight:800; font-size:1rem; }
.info-item p{ color:var(--ink-soft); margin-bottom:0; font-size:.95rem; }

.map-embed{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-soft); border:0; width:100%; height:320px; }

/* ---------- breadcrumb ---------- */
.breadcrumb{ font-size:.85rem; color:var(--steel-soft); margin-bottom:18px; }
.breadcrumb a{ text-decoration:none; color:var(--steel-soft); }
.breadcrumb a:hover{ color:var(--ink); }

/* ---------- whatsapp floating button ---------- */
.whatsapp-fab{
  position:fixed; right:22px; bottom:22px; z-index:80;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -6px rgba(0,0,0,.45);
  transition:transform .15s ease, box-shadow .15s ease;
}
.whatsapp-fab:hover{ transform:translateY(-3px) scale(1.05); box-shadow:0 14px 28px -6px rgba(0,0,0,.5); }
.whatsapp-fab svg{ width:30px; height:30px; }
@media (max-width:760px){
  .whatsapp-fab{ right:16px; bottom:16px; width:52px; height:52px; }
  .whatsapp-fab svg{ width:27px; height:27px; }
}

/* ---------- credit line ---------- */
.credit{ color:#8A867D; }
.credit a{ color:#C9C5BC; text-decoration:underline; text-underline-offset:2px; }
.credit a:hover{ color:var(--amber); }

@media (max-width:980px){
  .grid--3, .grid--4{ grid-template-columns:repeat(2,1fr); }
  .feature, .feature--reverse .feature__media{ grid-template-columns:1fr; order:0; }
  .feature{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr 1fr; }
  .testimonial-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px){
  .nav__links, .nav__phone{ display:none; }
  .nav-toggle{ display:block; }
  .nav__links.is-open{
    display:flex; position:absolute; top:100%; left:0; right:0; background:var(--paper);
    flex-direction:column; padding:18px 24px; gap:16px; border-bottom:1px solid rgba(0,0,0,.08);
    max-height:calc(100vh - 70px); overflow-y:auto; z-index:70;
  }
  .grid--2, .grid--3, .grid--4{ grid-template-columns:1fr; }
  .testimonial-grid, .blog-grid{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .strata__layer{ flex:1 1 50%; border-bottom:1px solid rgba(255,255,255,.14); }
  .form{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .capture-card{ padding:24px 20px; }
  .section{ padding:64px 0; }
}
@media (max-width:480px){
  .gallery{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   QUOTE / REQUIREMENT MODAL
   ============================================================ */
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--stone-deep); }
.btn--ghost:hover{ border-color:var(--ink); background:var(--stone); }

.quote-overlay{
  position:fixed; inset:0; z-index:200; padding:24px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(32,31,29,.72);
  opacity:0; visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}
.quote-overlay.open{ opacity:1; visibility:visible; }
.quote-modal{
  width:100%; max-width:560px; max-height:90vh; overflow-y:auto;
  background:var(--paper); border-radius:var(--radius-lg);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
  transform:translateY(14px); transition:transform .2s ease;
}
.quote-overlay.open .quote-modal{ transform:translateY(0); }

.quote-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:28px 28px 0; }
.quote-head h3{ text-transform:none; font-size:1.4rem; margin-bottom:4px; }
.quote-head p{ color:var(--ink-soft); font-size:.92rem; margin-bottom:0; }
.quote-close{
  background:none; border:none; font-size:1.7rem; line-height:1; color:var(--steel-soft);
  cursor:pointer; padding:2px 6px; flex-shrink:0;
}
.quote-close:hover{ color:var(--ink); }

.quote-body{ padding:20px 28px 28px; }
.quote-field{ margin-bottom:18px; }
.quote-field label{ display:block; font-weight:700; font-size:.85rem; margin-bottom:7px; }
.quote-field input, .quote-field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--stone-deep); border-radius:var(--radius);
  font-family:inherit; font-size:.96rem; background:var(--white);
}
.quote-field input:focus, .quote-field textarea:focus{
  outline:3px solid rgba(239,174,31,.4); border-color:var(--amber-deep);
}
.quote-field .err{ display:none; color:var(--c-excavation); font-size:.8rem; margin-top:6px; font-weight:600; }
.quote-field .err.visible{ display:block; }

.quote-field .field-hint{ font-size:.78rem; color:var(--steel-soft); margin-bottom:8px; margin-top:-2px; }
.location-row{ display:flex; gap:8px; }
.location-row input{ flex-grow:1; }
.btn--geo{
  flex-shrink:0; display:inline-flex; align-items:center; gap:6px; padding:0 14px;
  border:1.5px solid var(--stone-deep); background:var(--white); color:var(--ink-soft);
  border-radius:var(--radius); font-family:inherit; font-weight:700; font-size:.82rem; cursor:pointer;
  white-space:nowrap; transition:border-color .15s ease, background .15s ease;
}
.btn--geo:hover{ border-color:var(--amber-deep); color:var(--ink); }
.btn--geo.is-busy{ opacity:.6; pointer-events:none; }

.chip-group{ display:flex; flex-wrap:wrap; gap:8px; }
.qchip{
  border:1.5px solid var(--stone-deep); background:var(--white); color:var(--ink-soft);
  font-weight:600; font-size:.85rem; padding:8px 14px; border-radius:20px; cursor:pointer;
  font-family:inherit; transition:border-color .15s ease, background .15s ease, color .15s ease;
}
.qchip:hover{ border-color:var(--amber-deep); }
.qchip[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:var(--white); }

.quote-actions{ display:flex; justify-content:flex-end; gap:12px; margin-top:6px; flex-wrap:wrap; }
.quote-result .quote-actions{ justify-content:space-between; align-items:center; }
.quote-result textarea{ min-height:230px; resize:vertical; font-size:.92rem; }
.quote-copied-flag{ font-size:.82rem; color:var(--amber-deep); font-weight:700; margin-top:8px; min-height:1.2em; }
.wa-send{ background:#25D366; color:#fff; }
.wa-send:hover{ background:#1DA851; }

@media (max-width:600px){
  .quote-head{ padding:22px 18px 0; }
  .quote-body{ padding:18px 18px 24px; }
  .quote-actions{ justify-content:stretch; }
  .quote-actions .btn{ flex:1; justify-content:center; }
  .quote-result .quote-actions{ flex-direction:column; align-items:stretch; }
  .quote-result .quote-actions > div{ display:flex; gap:10px; }
}
