/* ============================================================
   Dumpster Rental Connecticut — Design System
   Modern, professional, slightly futuristic.
   ============================================================ */

:root {
  --ink-950: #091422;
  --ink-900: #0d1b2a;
  --ink-800: #12263a;
  --ink-700: #1a3450;
  --ink-600: #27425f;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-deep: #9a3412;
  --link: #c2410c;
  --accent-soft: #ffedd5;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #e4e9f1;
  --text: #22324a;
  --muted: #5d6e84;
  --heading: #0d1b2a;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06), 0 2px 8px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 2px 6px rgba(13, 27, 42, 0.06), 0 10px 28px rgba(13, 27, 42, 0.09);
  --shadow-lg: 0 6px 16px rgba(13, 27, 42, 0.1), 0 24px 60px rgba(13, 27, 42, 0.14);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.22;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }

p { margin: 0 0 1.1em; }
a { color: var(--link); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-deep); }

.accent { color: var(--link); }
.hero .accent, .page-hero .accent, .section--dark .accent, .quote-section .accent, .site-footer .accent { color: var(--accent); }

/* links on dark surfaces */
.section--dark a:not(.btn), .split.bg-black a:not(.btn) { color: #fdba74; }
.section--dark a:not(.btn):hover, .split.bg-black a:not(.btn):hover,
.hero a:not(.btn):hover, .page-hero a:not(.btn):hover,
.quote-head a:hover, .cta-band a:not(.btn):hover { color: #fed7aa; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--ink-900); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1), box-shadow 0.22s ease, background 0.22s ease, color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #fb923c 0%, var(--accent) 60%, var(--accent-dark) 100%);
  color: var(--ink-950); font-weight: 700;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(249, 115, 22, 0.45); color: var(--ink-950); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink-900); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover { background: var(--ink-800); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.07rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(13, 27, 42, 0.08); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h); max-width: var(--container); margin: 0 auto; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  color: var(--ink-900); letter-spacing: -0.01em;
}
.brand-name span { color: var(--link); }
.site-footer .brand-name span { color: var(--accent); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-desktop li { position: relative; }
.nav-desktop a, .nav-desktop button.nav-toggle-sub {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--ink-800);
  padding: 9px 13px; border-radius: 9px; background: none; border: 0; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-desktop a:hover, .nav-desktop li:hover > a, .nav-desktop li:focus-within > a,
.nav-desktop button.nav-toggle-sub:hover { background: rgba(249, 115, 22, 0.09); color: var(--link); }
.nav-desktop a[aria-current="page"] { color: var(--link); }
.nav-caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease; }

.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-desktop li:hover > .sub-menu, .nav-desktop li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a { display: flex; width: 100%; padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.sub-menu .sub-menu { top: -8px; left: calc(100% + 4px); }
.sub-menu .sub-menu::before { top: 0; left: -12px; right: auto; bottom: 0; width: 12px; height: auto; }
.sub-group > a { justify-content: space-between; }
.sub-group .nav-caret { transform: rotate(-45deg); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: flex; align-items: center; gap: 9px; font-weight: 700;
  font-family: var(--font-head); font-size: 0.98rem; color: var(--ink-900);
}
.header-phone svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--cyan-soft); color: #0891b2; }
.header-phone:hover { color: var(--link); }
.header-cta .btn { padding: 11px 22px; font-size: 0.93rem; }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; border-radius: 10px;
}
.nav-burger span { display: block; height: 2.5px; background: var(--ink-900); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 990;
  background: rgba(255,255,255,0.98); overflow-y: auto; overflow-x: hidden; padding: 18px 20px 40px;
}
.nav-mobile.is-open { display: block; animation: navFade 0.25s ease; }
@keyframes navFade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile > ul > li { border-bottom: 1px solid var(--line); }
.nav-mobile a {
  display: block; padding: 15px 4px; font-family: var(--font-head);
  font-weight: 600; font-size: 1.05rem; color: var(--ink-900);
}
.nav-mobile .m-sub { padding: 0 0 10px 16px; }
.nav-mobile .m-sub a { font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; padding: 9px 4px; color: var(--muted); }
.nav-mobile .m-row { display: flex; align-items: center; justify-content: space-between; }
.nav-mobile .m-expand {
  width: 46px; height: 46px; background: none; border: 0; cursor: pointer; color: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
}
.nav-mobile .m-expand::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease; }
.nav-mobile .m-expand[aria-expanded="true"]::after { transform: rotate(-135deg); }
.nav-mobile .m-sub { display: none; }
.nav-mobile .m-sub.is-open { display: block; }
.nav-mobile .nav-mobile-cta { margin-top: 22px; display: grid; gap: 12px; }

@media (max-width: 1060px) {
  .nav-desktop, .header-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .header-phone span { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(249, 115, 22, 0.16), transparent 60%),
    linear-gradient(160deg, var(--ink-950) 0%, var(--ink-900) 55%, var(--ink-800) 100%);
  color: #dbe4ee;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 182, 216, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 182, 216, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px;
  align-items: center; padding: 84px 20px 92px; max-width: var(--container); margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan); background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px; padding: 7px 16px; margin-bottom: 22px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 1.14rem; color: #a9bace; max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 0.94rem; font-weight: 500; color: #c3d0dd; }
.hero-trust svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

.hero--with-form .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; }
.hero-form { position: relative; scroll-margin-top: calc(var(--header-h) + 16px); }
.hero-form .quote-card { max-width: none; padding: clamp(22px, 3vw, 34px); }
.quote-card-head { margin-bottom: 20px; }
.quote-card-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin: 0 0 6px; }
.quote-card-head p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.hero-form .quote-card [data-edr-form] { min-height: 300px; }

@media (max-width: 920px) {
  .hero-inner, .hero--with-form .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 64px; gap: 40px; }
  .hero-form { max-width: 640px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(600px 300px at 0% 130%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(155deg, var(--ink-950), var(--ink-900) 70%, var(--ink-800));
  color: #cfdae6;
  padding: 58px 0 64px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 182, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 182, 216, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 85% 100% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 100% at 50% 0%, #000 20%, transparent 80%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin: 10px 0 12px; max-width: 24ch; }
.page-hero .lede { font-size: 1.1rem; color: #a9bace; max-width: 72ch; margin: 0; }
.page-hero .hero-actions { margin: 26px 0 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 0.88rem; }
.breadcrumbs a { color: var(--cyan); font-weight: 500; }
.breadcrumbs a:hover { color: #7de6f7; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: #8da2b8; }
.breadcrumbs li + li::before { content: "/"; color: #46607c; }

.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 0.9rem; color: #9fb2c5; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(34, 211, 238, 0.1), transparent 60%),
    linear-gradient(165deg, var(--ink-950), var(--ink-900));
  color: #c3d0dd;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #adbecf; }
.section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section--dark .section-head .eyebrow { color: var(--cyan); background: rgba(34, 211, 238, 0.1); }

/* content sections (auto-generated) */
.content-section h2 { position: relative; padding-bottom: 14px; margin-bottom: 20px; }
.content-section h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #fdba74);
}
.content-section h3 { margin-top: 1.6em; }
.content-section ul, .content-section ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content-section li { margin-bottom: 0.45em; }
.content-section li::marker { color: var(--accent); font-weight: 700; }
.prose-narrow { max-width: 860px; }

/* split (two-column) rows from original columns */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin: 2.2em 0;
}
.split figure { margin: 0; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.split h2::after { display: none; }
.split h2 { padding-bottom: 0; }
.split.bg-black {
  background: linear-gradient(160deg, var(--ink-900), var(--ink-800));
  border-radius: var(--radius-lg); padding: 40px; color: #c3d0dd;
  box-shadow: var(--shadow-md);
}
.split.bg-black h2, .split.bg-black h3 { color: #fff; }
.split.bg-black p { color: #b7c6d6; }
.split.bg-black img { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split.bg-black { padding: 26px 22px; }
  .split > figure { order: -1; }
}

/* ---------- Size cards (ds-*) ---------- */
.ds-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
  margin: 2em 0 0.8em;
}
.ds-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.28s cubic-bezier(.2,.8,.3,1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.ds-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0; transition: opacity 0.28s ease;
}
.ds-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(249, 115, 22, 0.35); }
.ds-card:hover::before { opacity: 1; }
.ds-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ds-pill {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #fff;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-950));
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 12px; padding: 10px 13px; min-width: 62px;
  box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.12);
}
.ds-title { margin: 0; font-size: 1.12rem; }
.ds-sub { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.ds-section { border-top: 1px dashed var(--line); padding-top: 13px; }
.ds-section p { margin: 0; font-size: 0.95rem; color: var(--text); }
.ds-label {
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px;
}
.ds-cta { margin-top: 16px; }
.ds-cta a { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.ds-cta a::after { content: "→"; transition: transform 0.2s ease; }
.ds-cta a:hover::after { transform: translateX(4px); }

/* ---------- Feature / card grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(.2,.8,.3,1), box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0; }
.card-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 1.6em 0; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff;
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.97rem; }
caption { text-align: left; padding: 14px 18px 0; font-weight: 600; color: var(--heading); }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th, table tr:first-child strong:only-child {
  font-family: var(--font-head); font-size: 0.86rem; letter-spacing: 0.04em;
}
thead th, .table-wrap table tr:first-child td:has(> strong:only-child) {
  background: var(--ink-900); color: #fff;
}
thead th { text-transform: uppercase; }
.table-wrap table tr:first-child td:has(> strong:only-child) strong { color: #fff; }
tbody tr:nth-child(even) { background: #f8fafc; }
tbody tr:hover { background: #fff7ef; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Quote section ---------- */
.quote-section {
  position: relative; overflow: hidden; padding: 76px 0;
  background:
    radial-gradient(760px 380px at 15% -10%, rgba(249, 115, 22, 0.14), transparent 55%),
    radial-gradient(700px 360px at 95% 110%, rgba(34, 211, 238, 0.12), transparent 55%),
    linear-gradient(160deg, var(--ink-950), var(--ink-900) 60%, var(--ink-800));
}
.quote-section::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 182, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 182, 216, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 80%);
}
.quote-section .container { position: relative; }
.quote-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.quote-head .eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 15px; border-radius: 999px; margin-bottom: 16px;
}
.quote-head h2 { color: #fff; margin-bottom: 10px; }
.quote-head p { color: #a9bace; font-size: 1.06rem; margin: 0; }
.quote-card {
  position: relative; max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--text); border-radius: var(--radius-lg);
  padding: clamp(24px, 4.5vw, 46px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 2px 10px rgba(0, 0, 0, 0.2);
}
.quote-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), #fdba74 55%, var(--cyan));
}
.quote-card-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 22px 0 0; font-size: 0.88rem; color: var(--muted); text-align: center;
}
.quote-card-note svg { width: 16px; height: 16px; color: #16a34a; flex: none; }

/* best-effort styling if the embedded form renders inline (not iframe) */
.quote-card [data-edr-form] { min-height: 320px; }
.quote-card [data-edr-form] label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--ink-900); margin-bottom: 6px; }
.quote-card [data-edr-form] input[type="text"],
.quote-card [data-edr-form] input[type="email"],
.quote-card [data-edr-form] input[type="tel"],
.quote-card [data-edr-form] input[type="date"],
.quote-card [data-edr-form] select,
.quote-card [data-edr-form] textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--text);
  background: #f8fafc; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.quote-card [data-edr-form] input:hover, .quote-card [data-edr-form] select:hover, .quote-card [data-edr-form] textarea:hover { border-color: #cbd5e1; }
.quote-card [data-edr-form] input:focus, .quote-card [data-edr-form] select:focus, .quote-card [data-edr-form] textarea:focus {
  border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}
.quote-card [data-edr-form] ::placeholder { color: #94a3b8; }
.quote-card [data-edr-form] button[type="submit"], .quote-card [data-edr-form] .submit, .quote-card [data-edr-form] input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink-950);
  background: linear-gradient(135deg, #fb923c, var(--accent) 60%, var(--accent-dark));
  border: 0; border-radius: 999px; padding: 15px 30px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.quote-card [data-edr-form] button[type="submit"]:hover, .quote-card [data-edr-form] input[type="submit"]:hover {
  transform: translateY(-2px); box-shadow: 0 10px 26px rgba(249, 115, 22, 0.45);
}
.quote-card [data-edr-form] iframe { width: 100% !important; border: 0; border-radius: 10px; }

/* ---------- Article / prose ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 880px; margin: 0 auto; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.article-body > h2 { position: relative; padding-bottom: 12px; margin-top: 1.8em; }
.article-body > h2:first-child { margin-top: 0; }
.article-body > h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #fdba74);
}
.article-body h3 { margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.45em; }
.article-body li::marker { color: var(--accent); font-weight: 700; }
.article-body img { border-radius: var(--radius); }
.article-body figure { margin: 1.8em 0; }
.featured-img { margin: 0 0 34px; }
.featured-img img { display: block; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Post cards (blog listing) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(.2,.8,.3,1), box-shadow 0.28s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb .tag {
  position: absolute; top: 14px; left: 14px; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  background: rgba(13, 27, 42, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.post-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card h2, .post-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.post-card h2 a, .post-card h3 a { color: var(--heading); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--link); }
.post-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.post-card .more { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.post-card .more::after { content: "→"; transition: transform 0.2s ease; }
.post-card:hover .more::after { transform: translateX(4px); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    linear-gradient(135deg, var(--ink-900), var(--ink-800));
  color: #fff; padding: clamp(32px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #a9bace; margin: 0; max-width: 54ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact info cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 2em 0; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .card-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(170deg, var(--ink-950), #060d16);
  color: #9fb2c5; margin-top: 80px;
  border-top: 1px solid rgba(34, 211, 238, 0.14);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px;
  padding: 64px 0 48px;
}
.site-footer h3 {
  color: #fff; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #9fb2c5; font-size: 0.96rem; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-blurb { font-size: 0.95rem; max-width: 36ch; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: space-between; font-size: 0.88rem;
}
.footer-bottom ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 0 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 404 / thanks ---------- */
.status-page { min-height: 56vh; display: flex; align-items: center; text-align: center; padding: 80px 0; }
.status-page .container { max-width: 680px; }
.status-code {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 14vw, 8.5rem);
  line-height: 1; margin-bottom: 8px; color: var(--ink-800);
}
.status-icon {
  width: 84px; height: 84px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #16a34a; background: #dcfce7; box-shadow: 0 0 0 10px rgba(22, 163, 74, 0.08);
}
.status-icon svg { width: 42px; height: 42px; }
.status-page .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* back-to-top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); }
.to-top svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  body { font-size: 1rem; }
  .btn { padding: 13px 24px; }
  .cta-band { text-align: left; }
}
