/* =============================================================
   AEDO — Phase 1 conversion layer (audience router · project
   filter · desktop estimator tab). Self-contained, additive.
   Safe to remove by deleting the <link> + the 3 HTML blocks.
   ============================================================= */

/* ---------- 0. HERO VISUAL — small, behind the hero text on mobile ----------
   Same structural-model animation as desktop, shrunk and placed absolutely
   behind the headline/sub-copy at low opacity so it reads as background
   texture, not a competing element. Text gets its own stacking context
   so it stays on top and readable. */
@media (max-width: 899px) {
  .hero-left, .hero-decision { position: relative; z-index: 1; }
  .hero-visual {
    position: absolute;
    top: 138px;
    right: 2vw;
    width: min(180px, 48vw);
    margin: 0;
    opacity: 0.26;
    z-index: 0;
    pointer-events: none;
  }
  /* "Right, the First Time." wraps as "...First" / "Time." at this width —
     balance picks a better break so "First Time." lands on one line. */
  .hero-title .line { text-wrap: balance; }

  /* Compress the top of the hero so "Start My Project" is reachable
     without scrolling on a typical phone viewport. */
  .hero-content { padding-top: 64px; }
  .hero-badge { margin-bottom: 16px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 18px; }
  .hero-trust-strip { margin-bottom: 16px; }
}

/* ---------- 1. HERO PRIMARY CTA ---------- */
/* Single-path hero: one dominant CTA + a slim secondary link row.
   Segmentation (new build / renovation / commercial) happens one
   click later, inside the inquiry modal's step-1 chip picker. */
.hero-decision {
  position: relative;
  width: 100%;
  padding: 24px 26px 26px;
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 50% -10%, rgba(232, 97, 0, 0.16), transparent 58%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 28px 70px rgba(3, 9, 18, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
/* glowing top hairline to frame the panel */
.hero-decision::before {
  content: "";
  position: absolute;
  top: -1px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 97, 0, 0.85), transparent);
  border-radius: 2px;
}

.hero-primary-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.24), rgba(232, 97, 0, 0.10));
  border: 1.5px solid rgba(255, 122, 26, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(232, 97, 0, 0.18);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .25s ease;
}
.hero-primary-cta:hover,
.hero-primary-cta:focus-visible {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.32), rgba(232, 97, 0, 0.14));
  box-shadow: 0 18px 40px rgba(3, 9, 18, 0.5), 0 6px 20px rgba(232, 97, 0, 0.28);
  outline: none;
}
.hpc-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255, 122, 26, 0.18);
  border: 1px solid rgba(255, 122, 26, 0.35);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.hero-primary-cta:hover .hpc-tile { transform: scale(1.08) rotate(-3deg); }
.hpc-icon { font-size: 30px; line-height: 1; }
.hpc-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.hpc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #f3f8fc;
  letter-spacing: -.2px;
}
.hpc-desc {
  font-size: 13.5px;
  color: #b7c8da;
  line-height: 1.5;
}
.hpc-arrow {
  flex: none;
  font-size: 24px;
  font-weight: 800;
  color: #ff7a1a;
  transition: transform .25s ease;
}
.hero-primary-cta:hover .hpc-arrow { transform: translateX(6px); }

.hero-secondary-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
}
.hero-secondary-links a {
  color: #8aa3bd;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 2px;
  transition: color .2s ease;
}
.hero-secondary-links a:hover { color: #e86100; }
.hero-secondary-links .hsl-dot { color: #3a4d61; }

/* Once the hero becomes a 2-col split, the CTA panel spans full width
   across the bottom so it reads as one prominent decision bar. */
@media (min-width: 900px) {
  .hero-content { align-items: center !important; padding-top: 100px !important; padding-bottom: 140px !important; }
  .hero-content > .hero-left {
    grid-column: 1;
    grid-row: 1 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
  .hero-left > .hero-badge { margin: 0; }
  .hero-left > .hero-title { margin: 0; }
  .hero-left > .hero-sub   { margin: 0; max-width: 560px; }
  .hero-left > .hero-estimator-cta { margin: 8px 0 0; }
  .hero-content > .hero-visual { align-self: center !important; }
  .hero-content > .hero-decision { grid-column: 1 / -1; margin-top: 0; max-width: 640px; margin-left: auto; margin-right: auto; }
  /* Trim the structural-model visual so it doesn't out-compete the headline/CTA
     for attention, but centre it in its column (not right-flush) so it doesn't
     leave a dead gap next to the text column. */
  .hv-stage { max-width: 520px; margin: 0 auto; }
}

/* Mobile: tighter padding, smaller tile/type */
@media (max-width: 600px) {
  .hero-decision { padding: 16px 14px 18px; border-radius: 18px; }
  .hero-primary-cta { padding: 16px 16px; gap: 12px; }
  .hpc-tile { width: 48px; height: 48px; border-radius: 13px; }
  .hpc-icon { font-size: 24px; }
  .hpc-title { font-size: 17px; }
  .hpc-desc { font-size: 12px; }
  .hpc-arrow { font-size: 20px; }
  .hero-secondary-links { font-size: 11.5px; gap: 6px; }
}

/* ---------- 2. PROJECT FILTER CHIPS ---------- */
.proj-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 26px;
}
.pf-chip {
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  background: var(--card, #fff);
  border: 1.5px solid var(--border, rgba(15,32,51,0.12));
  color: var(--text2, #46596f);
  cursor: pointer;
  transition: all .16s ease;
}
.pf-chip:hover { border-color: rgba(232, 97, 0, 0.5); color: #e86100; }
.pf-chip.active {
  background: #e86100;
  border-color: #e86100;
  color: #fff;
}
.pf-count { font-size: 11px; opacity: .7; margin-left: 4px; }

/* When filtering, drop the carousel's 2-card height cap + hide arrows */
.projects-carousel.filtering .projects-grid { max-height: none !important; overflow: visible !important; }
.projects-carousel.filtering .proj-arrow { display: none !important; }
.project-card.pf-hidden { display: none !important; }

/* ---------- 3. DESKTOP ESTIMATOR STICKY TAB ---------- */
.est-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 997;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #ff7a00, #e85800);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 6px 22px rgba(232, 97, 0, 0.4);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: padding-right .2s ease, box-shadow .2s ease;
}
.est-tab:hover { padding-right: 22px; color: #fff; box-shadow: -6px 8px 28px rgba(232, 97, 0, 0.55); }
.est-tab .et-icon { writing-mode: horizontal-tb; font-size: 18px; }
@media (max-width: 768px) {
  .est-tab { display: none; } /* mobile already has the sticky CTA bar */
}

/* ---------- 4. ESTIMATOR UPGRADES ---------- */

/* Trust chips row */
.est-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: -8px 0 28px;
}
.est-trust-chips span {
  font-size: 12px;
  font-weight: 600;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.10);
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 99px;
  padding: 5px 14px;
  letter-spacing: .2px;
}

/* Location select */
.est-select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg2, #f0f4f8);
  border: 1.5px solid var(--border, rgba(15,32,51,0.12));
  border-radius: 10px;
  color: var(--text, #0f2033);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  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'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e86100' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: border-color .18s;
}
.est-select:focus { outline: none; border-color: #e86100; }

/* Area — label row with live number display */
.est-area-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.est-area-val-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,97,0,0.08);
  border: 1.5px solid rgba(232,97,0,0.28);
  border-radius: 10px;
  padding: 5px 12px;
}
.est-area-num {
  width: 58px;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #e86100;
  text-align: right;
  -moz-appearance: textfield;
}
.est-area-num::-webkit-inner-spin-button,
.est-area-num::-webkit-outer-spin-button { -webkit-appearance: none; }
.est-area-unit {
  font-size: 13px;
  font-weight: 600;
  color: #e86100;
  opacity: .75;
}

/* Range slider */
.est-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #e86100 0%, #e86100 var(--pct, 15%), var(--border, rgba(15,32,51,0.12)) var(--pct, 15%));
  border-radius: 99px;
  cursor: pointer;
  outline: none;
  margin: 4px 0 6px;
}
.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e86100;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(232,97,0,0.45);
  cursor: grab;
  transition: transform .15s;
}
.est-slider::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.est-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e86100;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(232,97,0,0.45);
  cursor: grab;
}
.est-slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text2, #46596f);
  opacity: .6;
  margin-bottom: 4px;
}

/* Floors toggle buttons */
.est-floor-btns {
  display: flex;
  gap: 8px;
}
.est-floor-btn {
  flex: 1;
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid var(--border, rgba(15,32,51,0.12));
  background: var(--bg2, #f0f4f8);
  color: var(--text2, #46596f);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: all .16s;
}
.est-floor-btn:hover { border-color: rgba(232,97,0,.4); color: #e86100; }
.est-floor-btn.selected {
  background: #e86100;
  border-color: #e86100;
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,97,0,.32);
}

/* Range flash on recalculate */
@keyframes est-flash-kf {
  0%   { color: #e86100; }
  100% { color: inherit; }
}
.est-flash { animation: est-flash-kf 0.4s ease; }

/* Visual cost breakdown bar */
.est-vbar-wrap { margin: 18px 0 14px; }
.est-vbar {
  display: flex;
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  gap: 2px;
}
@keyframes ebb-in {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
.ebb-seg {
  border-radius: 99px;
  transform-origin: left center;
  animation: ebb-in 0.45s ease forwards;
}
.ebb-seg:nth-child(2) { animation-delay: .06s; }
.ebb-seg:nth-child(3) { animation-delay: .12s; }
.ebb-seg:nth-child(4) { animation-delay: .18s; }

.est-vbar-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-top: 10px;
}
.ebb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.ebb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
}
.ebb-name { color: var(--text2, #46596f); flex: 1; }
.ebb-amt  { font-weight: 700; color: var(--text, #0f2033); }
.ebb-pct  { color: var(--text2, #46596f); opacity: .7; }

@media (max-width: 480px) {
  .est-floor-btns { gap: 5px; }
  .est-floor-btn  { font-size: 13px; padding: 9px 4px; }
  .est-vbar-legend { grid-template-columns: 1fr; gap: 5px; }
  .est-trust-chips span { font-size: 11px; padding: 4px 10px; }
}

/* ---------- 5. INQUIRY MODAL — force dark theme ----------
   The shared .app-modal-box uses var(--bg2) which is WHITE under
   html.home-light, but this form's labels/inputs are dark-themed,
   making labels invisible. Scope a dark box to #inquiry-modal only. */
#inquiry-modal .app-modal-box {
  background: #0d1b2a;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
#inquiry-modal .app-modal-title { color: #f3f8fc; }
#inquiry-modal .app-modal-close { color: #9fb4c7; }
#inquiry-modal .app-modal-close:hover { color: #fff; }

/* Safety net: several .est-* rules declare `display` explicitly, which (being an
   author rule) beats the browser's default `[hidden]{display:none}` at equal
   specificity — bit us twice (est-hint, est-email-row/est-subscribe). Enforce the
   attribute globally within the estimator so this class of bug can't recur. */
#estimator [hidden] { display: none !important; }

/* ---------- 6. ESTIMATOR — EMAIL / SUBSCRIBE PATH (now lives inside the PDF teaser) ---------- */
.est-email-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.est-email-row[hidden] { display: none; }
.est-email-row-2line { flex-direction: column; }
.est-email-inline { display: flex; gap: 8px; }
.est-email-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: var(--bg2, #f0f4f8);
  border: 1.5px solid var(--border, rgba(15,32,51,0.12));
  border-radius: 10px;
  color: var(--text, #0f2033);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .18s;
}
.est-email-input:focus { outline: none; border-color: #e86100; }
.est-email-btn {
  flex: none;
  padding: 11px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7a00, #e85800);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(232,97,0,.32);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.est-email-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232,97,0,.45); }
.est-email-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.est-subscribe {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text2, #46596f);
  cursor: pointer;
}
.est-subscribe input {
  margin: 1px 0 0;
  width: 16px; height: 16px;
  accent-color: #e86100;
  flex: none;
  cursor: pointer;
}
.est-subscribe[hidden] { display: none; }
.est-email-note {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.est-email-note.is-ok  { color: #0a9d62; }
.est-email-note.is-err { color: #d23b3b; }

@media (max-width: 480px) {
  .est-email-row { flex-direction: column; }
  .est-email-inline { flex-direction: column; }
  .est-email-btn { width: 100%; }
}

/* ---------- 7. VISUAL CODE LIBRARY — TABS ---------- */
.res-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 4px;
}
.res-tab {
  padding: 11px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--card, #fff);
  border: 1.5px solid var(--border, rgba(15,32,51,0.12));
  color: var(--text2, #46596f);
  cursor: pointer;
  transition: all .18s ease;
}
.res-tab:hover { border-color: rgba(232,97,0,.45); color: #e86100; }
.res-tab.active {
  background: #e86100;
  border-color: #e86100;
  color: #fff;
  box-shadow: 0 6px 18px rgba(232,97,0,.32);
}
.res-panel-sub {
  max-width: 760px;
  margin: 6px auto 0;
  text-align: center;
  color: var(--text2, #46596f);
  font-size: 15px;
  line-height: 1.6;
}
.res-panel[hidden] { display: none; }

/* ---------- 8. APPS — COMPACT TEASER (full catalog on subdomain) ---------- */
.apps-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.apps-mini-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.apps-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 97, 0, 0.55);
  background: rgba(255, 255, 255, 0.07);
}
.amc-badge {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 19px;
}
.amc-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.amc-info strong {
  color: #f3f8fc;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.amc-flag {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #ff7a1a;
  background: rgba(255, 122, 26, 0.14);
  border: 1px solid rgba(255, 122, 26, 0.35);
  padding: 2px 7px;
  border-radius: 99px;
}
.amc-info p { color: #9fb6cc; font-size: 12.5px; line-height: 1.45; margin: 0; }
.amc-tag { color: #e86100; font-size: 11.5px; font-weight: 700; margin-top: 3px; }
.apps-mini-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.apps-mini-meta { font-size: 12px; color: #7a9ab5; letter-spacing: .3px; text-align: center; }

/* ---------- 9. TESTIMONIALS — dark band, like the hero ----------
   Overrides the home-light theme for #testimonials only. !important is
   needed to beat the light rules in style.css + home-light.css. */
#testimonials {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(240,165,0,0.08) 0%, transparent 70%),
    #080f18 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05) !important;
}
#testimonials .section-tag   { color: #ff8a3d !important; }
#testimonials .section-title { color: #f3f8fc !important; }
#testimonials .section-sub   { color: #9fb6cc !important; }
#testimonials .testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)) !important;
  border-color: rgba(255,255,255,0.10) !important;
  box-shadow: 0 10px 30px rgba(3,9,18,0.35) !important;
  color: #dbe6f0 !important;
}
#testimonials .testimonial-card:hover {
  border-color: rgba(232,97,0,0.45) !important;
  box-shadow: 0 16px 44px rgba(3,9,18,0.5) !important;
}
#testimonials .testimonial-card::before { color: rgba(240,165,0,0.18) !important; }
#testimonials .t-quote        { color: #c8d3e0 !important; }
#testimonials .t-meta strong  { color: #f3f8fc !important; }
#testimonials .t-meta span    { color: #8a98a8 !important; }
#testimonials .t-cta p        { color: #c8d3e0 !important; }
#testimonials .t-nav {
  background: rgba(10,22,40,0.92) !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #fff !important;
}
#testimonials .t-nav:hover {
  background: rgba(240,165,0,0.18) !important;
  border-color: rgba(240,165,0,0.45) !important;
  color: #fff !important;
}

/* ---------- 9b. TESTIMONIALS — MOBILE BLANK-CARD FIX ----------
   On mobile the testimonial cards rendered completely blank. Root cause:
   `.t-scroller` uses `-webkit-mask-image`, and its child `.testimonials-grid`
   runs an infinite CSS transform animation (`tScroll`). A masked layer that
   contains an infinitely-transform-animated child fails to composite/paint on
   many Android GPUs and renders blank. Desktop GPUs handle it fine.

   Fix: below 768px, drop ONLY the mask (a cosmetic edge-fade) — that removes
   the broken compositing layer while KEEPING the auto-scroll marquee, so mobile
   matches the desktop behaviour. The duplicate `aria-hidden` card set stays
   in place so the -50% loop remains seamless. */
@media (max-width: 768px) {
  #testimonials .t-scroller {
    -webkit-mask-image: none !important;
            mask-image: none !important;
  }
  /* Cards need a DEFINITE width (not a `%` flex-basis against the content-sized
     grid, which is circular and makes each card expand to fit its longest line
     on one row). Viewport units keep the grid's max-content layout valid and
     let the marquee loop seamlessly across both card sets. */
  #testimonials .testimonial-card {
    flex: 0 0 85vw !important;
    max-width: 85vw !important;
    white-space: normal !important;
  }
  #testimonials .t-quote {
    white-space: normal !important;
    overflow-wrap: break-word;
  }
}

/* ---------- 10. HERO ESTIMATOR CTA (value-ladder entry point) ---------- */
/* This is the low-commitment first step before "Start My Project" —
   deliberately styled as a real secondary CTA, not a buried caption,
   since the cost estimator is one of AEDO's strongest lead magnets. */
.hero-estimator-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 4px;
  padding: 10px 18px;
  border-radius: 99px;
  background: rgba(90, 176, 255, 0.10);
  border: 1.5px solid rgba(90, 176, 255, 0.35);
  color: #9fc4e8;
  font-size: 13px;
  letter-spacing: .1px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-estimator-cta strong {
  color: #5ab0ff;
  font-weight: 700;
}
.hero-estimator-cta:hover {
  background: rgba(90, 176, 255, 0.18);
  border-color: rgba(90, 176, 255, 0.6);
  transform: translateY(-2px);
}
@media (min-width: 900px) {
  .hero-left > .hero-estimator-cta { margin-left: 0; align-self: flex-start; }
}
@media (max-width: 899px) {
  .hero-estimator-cta { font-size: 12.5px; padding: 9px 14px; }
}

/* Trust strip — immediate proof under the "Right, the First Time" promise */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.hero-trust-strip li {
  font-size: 12.5px;
  font-weight: 600;
  color: #9fb6cc;
  letter-spacing: .1px;
}
.hts-check {
  color: #39ff6a;
  text-shadow: 0 0 4px rgba(57,255,106,0.85), 0 0 10px rgba(57,255,106,0.55);
}
@media (max-width: 899px) {
  .hero-trust-strip { gap: 6px 14px; margin-top: 14px; }
  .hero-trust-strip li { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .hero-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
  }
}

/* ---------- 11. INQUIRY WIZARD MODAL ---------- */
.inq-modal-box { max-width: 500px; padding: 32px 28px 28px; }

.inq-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 4px;
}
.inq-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #71889e;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
.inq-step-dot.active {
  background: #e86100;
  border-color: #e86100;
  color: #fff;
}
.inq-step-line {
  flex: 1;
  height: 1.5px;
  background: rgba(255,255,255,0.10);
  margin: 0 8px;
}

.inq-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.inq-type-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: #b0c4d8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.inq-type-chip span { font-size: 11px; letter-spacing: .2px; }
.inq-type-chip:hover {
  background: rgba(232,97,0,0.12);
  border-color: rgba(232,97,0,0.4);
  color: #f3f8fc;
}
.inq-type-chip.active {
  background: rgba(232,97,0,0.18);
  border-color: #e86100;
  color: #fff;
}

.inq-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.inq-trust-list li {
  font-size: 13px;
  color: #3ddc84;
  font-weight: 600;
  letter-spacing: .1px;
}

@media (max-width: 480px) {
  .inq-modal-box { padding: 24px 18px 22px; }
  .inq-type-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .inq-type-chip { padding: 12px 6px; font-size: 11px; }
}

/* ---------- 12. ESTIMATOR — Industrial tier + paid PDF report teaser ----------
   Structural System field and the Industrial finish choice are hidden for
   Residential builds (only Commercial is engineer-validated for these paths —
   see estimator-engine.js). The teaser panel only appears for that validated
   Commercial + Industrial combo. */
.est-choices-3:has(.est-choice-industrial:not([hidden])) {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Result card: navy surface (matches header/brand) so the price is the visual
   anchor. The PDF teaser re-declares light-mode vars below so it reads as a
   bright "spotlight" card regardless of the dark surround. */
.est-panel.est-result {
  --card: #0d1b2a;
  --bg2: #16283d;
  --bg3: #16283d;
  --text: #eef4f9;
  --text2: #a9c0d4;
  --text3: #7d97ae;
  --border: rgba(255,255,255,0.12);
  background: linear-gradient(165deg, #0d1b2a, #16283d);
}
.est-panel.est-result .est-result-breakdown span {
  border-color: rgba(255,255,255,0.24);
  background: #1c3350;
}

.est-cta-top {
  margin-top: 18px;
  padding: 16px 18px;
  border-top: none;
  border-radius: 14px;
  border: 1px solid rgba(232,97,0,.38);
  background: linear-gradient(160deg, rgba(232,97,0,.14), rgba(232,97,0,.05));
}
.est-cta-top .est-cta-label { margin-bottom: 10px; }

.est-pdf-bridge {
  margin: 18px 0 -4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2, #a9c0d4);
  text-align: center;
  line-height: 1.5;
}
.est-pdf-bridge strong { color: var(--text, #eef4f9); }

.est-pdf-teaser {
  --card: #fffaf5;
  --bg2: #f7f1ea;
  --bg3: #ffffff;
  --text: #0f2033;
  --text2: #46596f;
  --text3: #71889e;
  --border: rgba(15,32,51,0.12);
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(232,97,0,.32);
  background: linear-gradient(160deg, #fff6ec, #fffdfa);
}
.est-pdf-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #1f9d55;
  background: rgba(31,157,85,.12);
  padding: 4px 10px;
  border-radius: 20px;
}
.est-pdf-teaser-sub {
  font-size: 13px;
  color: var(--text2, #46596f);
  margin: 10px 0 14px;
  line-height: 1.5;
}
.est-pdf-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.est-pdf-tier {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--border, rgba(15,32,51,0.12));
  background: var(--bg3, #fff);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.est-pdf-tier:hover { border-color: rgba(232,97,0,.4); }
.est-pdf-tier.selected {
  border-color: #e86100;
  background: rgba(232,97,0,.08);
  box-shadow: 0 0 0 1px #e86100 inset;
}
.est-pdf-tier-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--text, #0f2033);
}
.est-pdf-tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #e86100;
}
.est-pdf-tier-blurb {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--text2, #46596f);
}
.est-pdf-note {
  display: block;
  font-size: 11.5px;
  color: var(--text3, #71889e);
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .est-pdf-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .est-choices-3:has(.est-choice-industrial:not([hidden])) { grid-template-columns: 1fr 1fr; }
}

/* ── Sample report link + viewer modal ── */
.est-sample-link {
  display: inline-block;
  margin-left: 4px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  color: #e86100;
  text-decoration: underline;
  cursor: pointer;
}
.est-sample-link:hover { color: #c95400; }
.sample-report-box { max-width: 940px; }
.sample-report-frame {
  width: 100%;
  height: 78vh;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.sample-report-fallback {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text2);
  text-align: center;
}
.sample-report-fallback a { color: var(--accent); font-weight: 600; }

/* ── Report-generation loading modal ── */
#report-loading-modal .app-modal-box {
  max-width: 340px;
  text-align: center;
  padding: 40px 28px;
}
.rp-spinner {
  width: 44px; height: 44px;
  margin: 0 auto 20px;
  border: 4px solid rgba(232,97,0,.18);
  border-top-color: #e86100;
  border-radius: 50%;
  animation: rp-spin .8s linear infinite;
}
@keyframes rp-spin { to { transform: rotate(360deg); } }
.rp-loading-text { color: var(--text2); font-size: 14px; margin: 0; }

/* ── Blurred report preview + paywall modal ──
   .rp-teaser holds the rest of the report and is blurred with a real CSS filter
   (not just a gradient overlay), so it stays blurred no matter how far the user
   scrolls through it — scrolling reveals more blurred rows, never sharp ones.
   .rp-paywall is sticky to the bottom of the scroll container so the price/CTA
   is always in view while the blurred content scrolls underneath it. */
.report-preview-box { max-width: 760px; padding: 0; }
.rp-frame { position: relative; max-height: 82vh; overflow-y: auto; }
.rp-page {
  background: #fff;
  color: #0f2033;
  padding: 32px 30px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.rp-page h3 {
  font-family: var(--font2);
  font-size: 18px;
  margin: 0 0 4px;
  color: #0f2033;
}
.rp-page .rp-subtitle { font-size: 12.5px; color: #b0341f; font-weight: 600; margin: 0 0 18px; }
.rp-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.rp-table caption {
  text-align: left;
  background: #0f2033;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 6px 10px;
}
.rp-table td { border: 1px solid #dfe4ea; padding: 7px 10px; font-size: 12.5px; vertical-align: top; }
.rp-table td:first-child { width: 42%; font-weight: 600; color: #33465a; background: #f7f8fa; }
.rp-table .rp-hero-val { color: #b0341f; font-weight: 700; font-size: 15px; }
/* Matches the Kapitolyo Excel source: numbered scope sections (Advanced) and
   Basic's Cost Summary (its only scope/cost-total section) get an orange header
   bar instead of the standard dark one; the Grand Total row gets a filled orange
   background, not just colored text. */
.rp-table.rp-orange caption { background: #e86100; }
.rp-table .rp-grand-total td { background: #e86100; color: #fff; font-weight: 700; }
.rp-table .rp-grand-total td:first-child { background: #e86100; color: #fff; }
.rp-table .rp-subtotal-row td { background: #eef2f6; }
.rp-table .rp-subtotal-row td:first-child { background: #eef2f6; }
.rp-section-header {
  display: block;
  background: #0f2033;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 6px 10px;
  margin: 0 0 12px;
}
.rp-dist-subtitle { font-size: 12px; color: #46596f; margin: 0 0 10px; }
.rp-pie-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-pie { position: relative; width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; }
.rp-pie-slice-label { position: absolute; font-size: 9px; font-weight: 700; color: #fff; transform: translate(-50%, -50%); text-shadow: 0 0 2px rgba(0,0,0,.5); }
.rp-pie-legend { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: #33465a; }
.rp-pie-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }

/* ── Itemized BOQ tables (3-col: description / % / amount) — matches the Kapitolyo
   Excel source's per-section tables. Only the % and amount columns blur; the item
   description stays sharp. ── */
.rp-itable { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.rp-itable caption {
  text-align: left; background: #0f2033; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 6px 10px;
}
.rp-itable.rp-orange caption { background: #e86100; }
.rp-itable thead th {
  font-size: 10px; font-weight: 700; color: #71889e; text-align: left;
  padding: 5px 10px; background: #f7f8fa; border-bottom: 1px solid #dfe4ea;
}
.rp-itable thead th.num { text-align: right; }
.rp-itable td { border: 1px solid #dfe4ea; padding: 6px 10px; font-size: 12px; vertical-align: top; color: #33465a; }
.rp-itable td.rp-pct { text-align: right; color: #5ab0ff; width: 78px; white-space: nowrap; }
.rp-itable td.rp-amt { text-align: right; width: 128px; white-space: nowrap; }
.rp-itable tr.rp-subtotal td { font-weight: 700; background: #f7f8fa; color: #0f2033; }
.rp-itable tr.rp-grand-total td { background: #e86100; color: #fff; font-weight: 700; }
.rp-itable tr.rp-grand-total td.rp-pct { color: #fff; }
.rp-itable.rp-blurred td.rp-pct, .rp-itable.rp-blurred td.rp-amt {
  filter: blur(5px); user-select: none; pointer-events: none;
}

/* ── Risk Register (4-col: risk / likelihood / cost impact / mitigation) — no $, no blur. ── */
.rp-rtable { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.rp-rtable caption {
  text-align: left; background: #0f2033; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 6px 10px;
}
.rp-rtable thead th {
  font-size: 10px; font-weight: 700; color: #71889e; text-align: left;
  padding: 5px 10px; background: #f7f8fa; border-bottom: 1px solid #dfe4ea;
}
.rp-rtable td { border: 1px solid #dfe4ea; padding: 6px 10px; font-size: 11.5px; vertical-align: top; color: #33465a; }
.rp-rtable td.rp-lk, .rp-rtable td.rp-ci { width: 68px; white-space: nowrap; }
/* Blur is applied per-table (.rp-blurred), not per section-block, so the report can
   follow the Kapitolyo sample's exact section order — including non-$ sections like
   Risk Register sitting after blurred $ tables. Only the value column is blurred —
   item descriptions stay sharp ("here's exactly what you get, pay to see the numbers"). */
.rp-table.rp-blurred td:last-child {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.rp-directcost {
  font-size: 12px;
  font-style: italic;
  color: #46596f;
  margin: -6px 0 18px;
}
.rp-inline-blur {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.rp-paywall {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
  border-top: 1px solid #eef0f3;
  box-shadow: 0 -10px 24px rgba(15,32,51,.08);
  padding: 20px 28px 24px;
  text-align: center;
}
.rp-price { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 800; color: #e86100; }
.rp-price-label { font-size: 12px; color: #46596f; margin: 2px 0 14px; }
.rp-name-confirm {
  font-size: 13px;
  color: #46596f;
  margin: 0 0 14px;
}
.rp-name-confirm strong { color: #33465a; }
.rp-unlock-btn {
  display: inline-block;
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  background: linear-gradient(135deg,#e86100,#ff8c5a);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232,97,0,.35);
  transition: transform .15s;
}
.rp-unlock-btn:hover { transform: translateY(-1px); }
.rp-unlock-btn:disabled { opacity: .7; cursor: default; transform: none; }
.rp-trust { font-size: 11px; color: #71889e; margin: 12px 0 2px; }
.rp-note { font-size: 11.5px; color: #46596f; margin: 4px 0 0; }
.rp-note strong { color: #0f2033; }
.rp-success { font-size: 14px; font-weight: 600; color: #0a9d62; padding: 10px 0; }

@media (max-width: 600px) {
  .rp-page { padding: 24px 18px; font-size: 12.5px; }
  .rp-price { font-size: 26px; }
}

/* ---------- 13. FEAR-FIRST SECTION ---------- */
#fears { padding: 90px 0; background: var(--bg2, #0b1622); border-top: 1px solid var(--border, rgba(255,255,255,0.08)); }
.fears-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.fear-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: var(--card, #132437);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: var(--radius-lg, 4px);
}
.fear-q {
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: var(--text2, #7a9ab5);
}
.fear-a {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text, #dde8f0);
}
.fear-a::before { content: "✓ "; color: var(--accent, #e86100); font-weight: 700; font-style: normal; }

@media (max-width: 900px) {
  .fears-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fears-grid { grid-template-columns: 1fr; }
  #fears { padding: 56px 0; }
}

/* ---------- 14. PROCESS SECTION ---------- */
#process { padding: 90px 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: var(--border, rgba(15,32,51,0.12));
}
.ps-num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent, #e86100);
  color: #fff;
  font-family: var(--font2, 'Space Grotesk'), sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.ps-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark, #0c1a2a);
  margin-top: 4px;
}
.ps-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text2, #46596f);
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  #process { padding: 56px 0; }
}

/* ---------- 15. FAQ SECTION ---------- */
#faq { padding: 90px 0; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border, rgba(15,32,51,0.12));
  border-radius: var(--radius-lg, 4px);
  padding: 4px 22px;
  background: var(--card, #fff);
}
.faq-item summary {
  padding: 16px 28px 16px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark, #0c1a2a);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent, #e86100);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text2, #46596f);
}

@media (max-width: 600px) {
  #faq { padding: 56px 0; }
  .faq-item { padding: 2px 16px; }
  .faq-item summary { font-size: 14.5px; padding: 14px 24px 14px 0; }
}

/* ---------- 16. PROJECT CARDS — Challenge / Approach / Result ---------- */
.project-cs p { margin-bottom: 8px; }
.project-cs p:last-child { margin-bottom: 14px; }
.project-cs strong { color: var(--accent, #e86100); }

/* ---------- 17. FOUNDER SECTION ---------- */
#founder { padding: 90px 0; }
.founder-card {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.founder-photo-wrap { flex: none; }
.founder-photo-placeholder {
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a1a, #e85800);
  border: 4px solid var(--border, rgba(15,32,51,0.10));
}
.founder-photo-placeholder span {
  font-family: var(--font2, 'Space Grotesk'), sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
}
.founder-info { flex: 1; min-width: 0; }
.founder-name {
  font-family: var(--font2, 'Space Grotesk'), sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark, #0c1a2a);
  margin: 4px 0 2px;
}
.founder-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent, #e86100);
  margin: 0 0 14px;
}
.founder-bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text2, #46596f);
  margin: 0 0 22px;
  max-width: 520px;
}

@media (max-width: 700px) {
  .founder-card { flex-direction: column; text-align: center; gap: 24px; }
  .founder-bio { max-width: none; }
}
@media (max-width: 600px) {
  #founder { padding: 56px 0; }
  .founder-photo-placeholder { width: 140px; height: 140px; }
  .founder-photo-placeholder span { font-size: 40px; }
}

/* ---------- 18. SERVICES GRID — 4th card (Renovation) ---------- */
@media (min-width: 901px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1300px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 19. NAV SIMPLIFICATION — "More" dropdown (homepage only) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- 20. HERO RESPONSE-TIME PROMISE ---------- */
.hero-response-promise {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text2, #7a9ab5);
  text-align: center;
}

/* ---------- 21. FEATURED PROJECTS TEASER ---------- */
#featured-projects { padding: 90px 0; background: var(--bg2, #0b1622); border-top: 1px solid var(--border, rgba(255,255,255,0.08)); }
.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.fp-card {
  display: flex;
  flex-direction: column;
  background: var(--card, #132437);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: var(--radius-lg, 4px);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.fp-card:hover { transform: translateY(-4px); border-color: var(--accent, #e86100); }
.fp-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.fp-info { padding: 16px 18px 20px; }
.fp-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent, #e86100);
}
.fp-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #dde8f0);
  margin: 8px 0 6px;
}
.fp-info p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text2, #7a9ab5);
  margin: 0;
}
.fp-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 32px auto 0;
  width: fit-content;
}
.fp-links::before { content: none; }
.fp-see-all {
  display: block;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent, #e86100);
  text-decoration: none;
  width: fit-content;
}
.fp-see-all:hover { text-decoration: underline; }
.fp-see-all-secondary {
  font-weight: 600;
  color: var(--text2, #7a9ab5);
  padding-left: 20px;
  border-left: 1px solid var(--border, rgba(255,255,255,0.14));
}
.fp-see-all-secondary:hover { color: var(--accent, #e86100); }

@media (max-width: 900px) {
  .fp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  #featured-projects { padding: 56px 0; }
  .fp-grid { grid-template-columns: 1fr; }
  .fp-card img { height: 190px; }
  .fp-links { flex-direction: column; gap: 10px; }
  .fp-see-all-secondary { padding-left: 0; border-left: none; }
}
  transition: var(--transition);
}
.nav-dropdown-toggle:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-caret { font-size: 10px; transition: transform .2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  background: #132437;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  min-width: 160px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
}
.nav-dropdown-menu li a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    transform: none;
    transition: height .2s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    visibility: visible;
    height: auto;
    padding: 4px 0 4px 14px;
  }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 16px; font-size: 15px; }
}
