/*
Theme Name: Star Estimating
Theme URI: https://starestimating.com
Author: Star Estimating, LLC
Author URI: https://starestimating.com
Description: Fast, modern dark lead-generation theme for Star Estimating — construction cost estimating and quantity takeoff services. No page builder, no jQuery, one stylesheet. Activating it creates all pages, menus, the quote form and the subscriber popup automatically.
Version: 1.1.2
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: star-estimating
*/

/* ---------- Tokens ---------- */
:root {
	color-scheme: dark;
	--bg: #060a13;
	--bg-2: #0a1020;
	--bg-3: #0f1729;
	--surface: rgba(255, 255, 255, .035);
	--surface-2: rgba(255, 255, 255, .06);
	--surface-3: rgba(255, 255, 255, .09);
	--border: rgba(148, 163, 184, .14);
	--border-2: rgba(148, 163, 184, .26);
	--ink: #f5f7fb;
	--text: #b7c3d3;
	--muted: #8c99ab;
	--orange: #ff8a2a;
	--orange-2: #ff6a14;
	--amber: #ffbe5c;
	--brand: #e46c0a;
	--blue: #4f9dff;
	--violet: #8b5cf6;
	--green: #34d399;
	--red: #f87171;
	--on-accent: #1a0c02;
	--grad: linear-gradient(135deg, #ffc46b 0%, #ff8a2a 45%, #ff5f1f 100%);
	--grad-text: linear-gradient(100deg, #ffd59a 0%, #ff9a3d 40%, #ff6a3d 75%, #ff8fb1 100%);
	--glow: 0 10px 40px -12px rgba(255, 122, 26, .65);
	--radius: 12px;
	--radius-lg: 20px;
	--shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .7);
	--wrap: 1200px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; }
svg { vertical-align: middle; flex: none; }
a { color: #ffa65c; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber); }
::selection { background: rgba(255, 138, 42, .35); color: #fff; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.022em; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.16rem; letter-spacing: -.012em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
strong { color: #e6ecf4; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .82em 1.4em; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: var(--glow), 0 1px 0 rgba(255, 255, 255, .45) inset; }
.btn-primary:hover { color: var(--on-accent); box-shadow: 0 14px 48px -10px rgba(255, 122, 26, .85), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.btn-outline, .btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--border-2); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-outline:hover, .btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-navy { background: var(--surface-3); border-color: var(--border-2); color: var(--ink); }
.btn-navy:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-lg { padding: 1em 1.7em; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: #03060c; color: var(--muted); font-size: .84rem; border-bottom: 1px solid var(--border); position: relative; z-index: 51; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 6px 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar-group { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; }
.topbar-group > * { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 15px; height: 15px; color: var(--orange); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@media (max-width: 860px) {
	.topbar .tb-hide { display: none; }
	.topbar .wrap { justify-content: center; }
	.topbar-group { justify-content: center; gap: 4px 16px; }
	.topbar { font-size: .8rem; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 10, 19, .72); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--border); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); position: relative; }
.site-logo { display: block; flex: none; }
.site-logo img { height: 40px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 9px 13px; color: #d5deea; font-weight: 550; font-size: .95rem; text-decoration: none; border-radius: 999px; transition: color .15s, background .15s; }
.main-nav a:hover { color: #fff; background: var(--surface-2); }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-page-ancestor > a { color: var(--orange); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; opacity: .7; }
.main-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 50%; background: rgba(12, 18, 32, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 138, 42, .06); padding: 10px; display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); width: max-content; gap: 0 6px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s, visibility .18s; }
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { font-weight: 500; font-size: .92rem; padding: 9px 12px; border-radius: 10px; color: var(--text); }
.main-nav .sub-menu a:hover { background: var(--surface-2); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; line-height: 1.2; white-space: nowrap; font-size: .95rem; }
.header-phone small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.header-phone .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--orange); }
.header-phone .ic svg { width: 17px; height: 17px; }
.header-phone:hover { color: #fff; }
.header-actions .btn { padding: .7em 1.2em; font-size: .95rem; }
.nav-toggle { display: none; }
@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 980px) {
	:root { --header-h: 64px; }
	.site-logo img { height: 34px; }
	.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface-2); margin-left: auto; color: var(--ink); cursor: pointer; }
	.nav-toggle svg { width: 22px; height: 22px; }
	.nav-toggle .ic-close { display: none; }
	.nav-open .nav-toggle .ic-close { display: block; }
	.nav-open .nav-toggle .ic-menu { display: none; }
	.header-actions { display: none; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #080d18; border-bottom: 1px solid var(--border); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .8); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 8px 22px 24px; margin: 0; }
	.nav-open .main-nav { display: block; }
	.main-nav > ul { flex-direction: column; align-items: stretch; }
	.main-nav > ul > li > a { padding: 13px 4px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.02rem; }
	.main-nav a:hover { background: transparent; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr 1fr; width: auto; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { transform: none; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .mobile-cta { display: block; margin-top: 18px; }
	.main-nav .mobile-cta a { border-radius: 999px; padding: .9em 1.2em; color: var(--on-accent); border: 0; }
}
.main-nav .mobile-cta { display: none; }

/* ---------- Ambient backgrounds ---------- */
.hero, .page-hero, .cta-band, .bg-navy { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before, .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; display: block; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: 2%; top: 4%; background: radial-gradient(circle, rgba(255, 122, 26, .38), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; left: -8%; top: 30%; background: radial-gradient(circle, rgba(79, 157, 255, .26), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: 40%; top: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4%, -6%, 0) scale(1.12); } }

/* Animated network of dots behind the home hero (drawn by main.js). */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; -webkit-mask-image: radial-gradient(ellipse 85% 80% at 60% 40%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 85% 80% at 60% 40%, #000 45%, transparent 100%); }
.hero-net.is-on { opacity: 1; }

/* ---------- Hero (home) ---------- */
.hero { background: radial-gradient(1200px 600px at 50% -20%, rgba(255, 138, 42, .10), transparent 60%), var(--bg); color: var(--text); border-bottom: 1px solid var(--border); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow svg { width: 15px; height: 15px; }
.pill, .hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ffd3a8; background: linear-gradient(90deg, rgba(255, 138, 42, .14), rgba(139, 92, 246, .10)); border: 1px solid rgba(255, 166, 92, .28); padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 22px; letter-spacing: .08em; }
.hero-lead { font-size: 1.16rem; max-width: 34em; color: var(--text); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; font-size: .94rem; color: #d3dce8; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); }
.hero-visual { position: relative; perspective: 1400px; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 4% -6%; background: radial-gradient(closest-side, rgba(255, 122, 26, .35), transparent); filter: blur(40px); z-index: -1; }

/* Glass estimate console */
.est-card { position: relative; background: linear-gradient(180deg, rgba(22, 31, 52, .88), rgba(10, 15, 28, .92)); color: var(--text); border-radius: 20px; border: 1px solid var(--border-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; font-size: .9rem; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transform: rotateY(-6deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-visual:hover .est-card { transform: rotateY(0) rotateX(0); }
.est-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(255, 138, 42, .10) 70%, rgba(255, 166, 92, .55) 98%, transparent); pointer-events: none; animation: scan 4.8s cubic-bezier(.45, 0, .55, 1) infinite; opacity: .8; }
@keyframes scan { 0% { transform: translateY(-100px); } 60%, 100% { transform: translateY(520px); } }
.est-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.est-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; display: block; }
.est-bar i:nth-child(1) { background: #ff5f57; } .est-bar i:nth-child(2) { background: #febc2e; } .est-bar i:nth-child(3) { background: #28c840; }
.est-bar span { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.est-head { padding: 16px 18px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.est-head strong { color: var(--ink); display: block; line-height: 1.3; font-size: 1rem; }
.est-head small { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255, 138, 42, .12); border: 1px solid rgba(255, 138, 42, .3); color: #ffb57a; white-space: nowrap; }
.est-table { width: 100%; border-collapse: collapse; }
.est-table th, .est-table td { padding: 9px 18px; border-bottom: 1px solid rgba(148, 163, 184, .09); text-align: left; }
.est-table th { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.est-table td { color: #d5deea; }
.est-table .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: .86rem; }
.est-table .div { color: var(--muted); font-variant-numeric: tabular-nums; width: 3.2em; font-family: var(--mono); font-size: .82rem; }
.est-table .meter { width: 34%; }
.meter i { display: block; height: 6px; border-radius: 6px; background: rgba(148, 163, 184, .12); overflow: hidden; position: relative; }
.meter i::after { content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: inherit; background: var(--grad); transform-origin: left; animation: grow 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.est-total td { background: linear-gradient(90deg, rgba(255, 138, 42, .16), rgba(255, 138, 42, .04)); color: #fff !important; font-weight: 700; border: 0; }
.est-total .num { color: #ffcf9e !important; font-size: .95rem; }
.est-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 18px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); }
.est-foot span { display: inline-flex; align-items: center; gap: 6px; }
.est-foot svg { width: 14px; height: 14px; color: var(--green); }
.float-badge { position: absolute; background: rgba(15, 22, 40, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--border-2); border-radius: 14px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-weight: 650; color: var(--ink); font-size: .86rem; line-height: 1.25; animation: float 6s ease-in-out infinite; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.float-badge .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 138, 42, .14); color: var(--orange); display: grid; place-items: center; }
.float-badge .ic svg { width: 18px; height: 18px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fb-1 { left: -34px; bottom: -30px; animation-delay: -3s; }
.fb-2 { right: -20px; top: -38px; }
@media (max-width: 980px) {
	.hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; gap: 48px; }
	.est-card { transform: none; }
	.fb-1 { left: 10px; } .fb-2 { right: 10px; }
}
@media (max-width: 560px) { .float-badge { display: none; } .est-table th, .est-table td { padding: 8px 12px; } .est-table .meter { display: none; } }

/* ---------- Trades marquee ---------- */
.marquee { border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; color: #cdd6e3; font-size: .9rem; font-weight: 550; white-space: nowrap; text-decoration: none; }
.marquee-item:hover { color: #fff; border-color: rgba(255, 138, 42, .45); }
.marquee-item svg { width: 16px; height: 16px; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .marquee-group { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 20px; } .marquee-track [aria-hidden] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 0; padding-bottom: 0; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 28px 22px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: 0; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 138, 42, .2), rgba(255, 138, 42, .04)); border: 1px solid rgba(255, 138, 42, .25); color: var(--orange); display: grid; place-items: center; flex: none; }
.trust-item .ic svg { width: 21px; height: 21px; }
.trust-item strong { display: block; color: var(--ink); font-size: .97rem; line-height: 1.3; }
.trust-item span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .trust .wrap { grid-template-columns: 1fr; } .trust-item { border-right: 0; border-bottom: 1px solid var(--border); padding: 18px 4px; } .trust-item:last-child { border-bottom: 0; } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.bg-soft { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-navy { background: radial-gradient(900px 400px at 50% 0%, rgba(255, 138, 42, .09), transparent 70%), radial-gradient(700px 400px at 90% 100%, rgba(79, 157, 255, .08), transparent 70%), var(--bg-2); color: var(--text); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }
.section-foot { text-align: center; margin-top: 44px; }
.lead { font-size: 1.12rem; }
@media (max-width: 700px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 138, 42, .09), transparent 45%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: rgba(255, 138, 42, .38); box-shadow: 0 20px 50px -24px rgba(255, 122, 26, .45); transform: translateY(-3px); color: inherit; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: .95rem; color: var(--muted); margin: 0; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 138, 42, .22), rgba(255, 138, 42, .04)); border: 1px solid rgba(255, 138, 42, .26); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 24px -12px rgba(255, 122, 26, .6); }
.card .ic svg { width: 23px; height: 23px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; font-size: .92rem; color: var(--orange); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card-link svg { transform: translateX(4px); }
.csi { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: block; font-family: var(--mono); }
.trade-card { padding: 22px; }
.trade-card .ic { margin-bottom: 16px; }
.trade-card h3 { font-size: 1.05rem; }
.card-accent { background: radial-gradient(400px circle at 100% 0%, rgba(255, 138, 42, .28), transparent 60%), radial-gradient(400px circle at 0% 100%, rgba(139, 92, 246, .22), transparent 60%), #10182b; border-color: rgba(255, 138, 42, .35); }
.card-accent .ic { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.card-accent .csi { color: #ffbf8a; }
.card-accent p { color: #c8d2df; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 47px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 138, 42, .55), rgba(139, 92, 246, .45), transparent); }
.step { position: relative; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.step-num { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: var(--on-accent); font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(255, 138, 42, .12), var(--glow); font-family: var(--mono); }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist, .prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li, .prose ul li { position: relative; padding-left: 32px; margin-bottom: 11px; }
.checklist li::before, .prose ul li::before { content: ""; position: absolute; left: 0; top: .2em; width: 21px; height: 21px; border-radius: 50%; background: rgba(52, 211, 153, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid rgba(52, 211, 153, .3); }
.checklist.two-col { columns: 2; column-gap: 28px; }
.checklist.two-col li { break-inside: avoid; }
@media (max-width: 600px) { .checklist.two-col { columns: 1; } }
.tools { display: grid; gap: 12px; }
.tool { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); align-items: flex-start; transition: border-color .2s, transform .2s; }
.tool:hover { border-color: rgba(255, 138, 42, .35); transform: translateX(4px); }
.tool-badge { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #1d2a45, #121b2f); border: 1px solid var(--border-2); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .86rem; flex: none; letter-spacing: .04em; font-family: var(--mono); }
.tool-badge.orange { background: var(--grad); color: var(--on-accent); border: 0; }
.tool-badge svg { width: 22px; height: 22px; }
.tool h3 { font-size: 1.02rem; margin-bottom: .2em; }
.tool p { font-size: .93rem; color: var(--muted); margin: 0; }
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--border); }

/* ---------- Sample estimates ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--border-2); background: var(--surface); padding: 8px 17px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: #d5deea; transition: all .15s; }
.filter-btn:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.filter-btn.is-active { background: var(--grad); color: var(--on-accent); border-color: transparent; box-shadow: var(--glow); }
.sample-card { display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.sample-card:hover { box-shadow: 0 24px 50px -24px rgba(255, 122, 26, .45); transform: translateY(-3px); border-color: rgba(255, 138, 42, .35); }
.sample-card[hidden] { display: none; }
.sample-thumb { aspect-ratio: 16 / 9; background: radial-gradient(300px circle at 80% 0%, rgba(255, 138, 42, .25), transparent 60%), linear-gradient(160deg, #13203a, #0b1222); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.sample-thumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px); background-size: 22px 22px; }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.sheet { position: absolute; left: 26px; right: 26px; top: 22px; bottom: -12px; background: #f8fafc; border-radius: 10px 10px 0 0; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); padding: 14px 16px; transition: transform .3s; }
.sample-card:hover .sheet { transform: translateY(-4px); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet-brand { display: flex; gap: 6px; align-items: center; }
.sheet-brand i { display: block; height: 8px; border-radius: 4px; }
.sheet-brand i:first-child { width: 26px; background: var(--brand); }
.sheet-brand i:last-child { width: 46px; background: #9aa6b2; }
.sheet-tag { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #2a5a80; }
.sheet-row { display: grid; grid-template-columns: 2.4fr 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.sheet-row i { display: block; height: 6px; border-radius: 3px; background: #e3e9ef; }
.sheet-row.hd i { background: #1d4263; height: 7px; }
.sheet-row i:nth-child(n+2) { justify-self: end; width: 70%; }
.sheet-row.tot i { background: var(--brand); }
.sample-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sample-body h3 { font-size: 1.07rem; }
.sample-body p { font-size: .93rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: .72rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: rgba(79, 157, 255, .1); border: 1px solid rgba(79, 157, 255, .25); color: #a8cbff; }
.tag.orange { background: rgba(255, 138, 42, .1); border-color: rgba(255, 138, 42, .3); color: #ffb57a; }
.sample-body ul { font-size: .88rem; margin: 0 0 18px; padding-left: 18px; color: var(--muted); }
.sample-body ul li { margin-bottom: 3px; }
.sample-body .btn { margin-top: auto; align-self: flex-start; padding: .65em 1.15em; font-size: .9rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; margin: 0; }
.stars { display: flex; gap: 2px; color: var(--amber); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.quote-card blockquote { margin: 0 0 20px; font-size: 1rem; color: #e1e8f1; }
.quote-card figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote-card figcaption strong { display: block; color: var(--ink); }

/* ---------- FAQ (details) ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.wp-block-details, .faq-list details { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); margin: 0 0 12px; padding: 0; transition: border-color .2s, background .2s; }
.wp-block-details[open], .faq-list details[open] { border-color: rgba(255, 138, 42, .35); background: linear-gradient(180deg, rgba(255, 138, 42, .06), rgba(255, 255, 255, .012)); }
.wp-block-details summary, .faq-list summary { cursor: pointer; list-style: none; padding: 19px 58px 19px 22px; font-weight: 650; color: var(--ink); position: relative; font-size: 1.02rem; }
.wp-block-details summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after, .faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--orange); font-weight: 500; font-size: 1.1rem; line-height: 1; transition: transform .2s; }
.wp-block-details[open] summary::after, .faq-list details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary), .faq-list details > :not(summary) { margin: 0 22px 18px; color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(700px 320px at 15% 0%, rgba(255, 122, 26, .24), transparent 65%), radial-gradient(600px 320px at 90% 100%, rgba(139, 92, 246, .18), transparent 65%), var(--bg-2); color: var(--text); border-top: 1px solid var(--border); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 72px; padding-bottom: 72px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.07rem; max-width: 38em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(800px 360px at 85% -10%, rgba(255, 122, 26, .2), transparent 65%), radial-gradient(700px 360px at 0% 120%, rgba(79, 157, 255, .14), transparent 65%), var(--bg); color: var(--text); border-bottom: 1px solid var(--border); }
.page-hero .wrap { position: relative; padding-top: 64px; padding-bottom: 66px; }
.page-hero h1 { color: #fff; max-width: 22em; margin-bottom: .35em; }
.page-hero p { font-size: 1.13rem; max-width: 44em; margin: 0; }
.page-hero .hero-ctas { margin: 28px 0 0; }
.page-hero .eyebrow { color: var(--orange); }
.crumbs { font-size: .84rem; margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: #cdd6e3; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 8px; opacity: .5; }

/* ---------- Prose (editable WP content) ---------- */
.prose { max-width: 780px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose ol { padding-left: 1.3em; }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border-2); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

/* ---------- Sidebar layout ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-box { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.side-box h3 { font-size: 1.05rem; }
.side-box.navy { background: radial-gradient(300px circle at 100% 0%, rgba(255, 138, 42, .22), transparent 60%), radial-gradient(300px circle at 0% 100%, rgba(139, 92, 246, .16), transparent 60%), #0f172a; border-color: rgba(255, 138, 42, .3); color: var(--text); }
.side-box.navy h3 { color: #fff; }
.side-box.navy p { font-size: .95rem; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: #d5deea; font-weight: 550; font-size: .93rem; }
.side-links a svg { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.side-links a:hover, .side-links .current a { color: var(--orange); }
.side-links a:hover svg { transform: translateX(3px); color: var(--orange); }
.side-links li:last-child a { border-bottom: 0; }
@media (max-width: 980px) { .with-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .95rem; line-height: 1.45; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 19px; height: 19px; color: var(--orange); margin-top: .1em; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--amber); }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }
.person { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.person .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; flex: none; box-shadow: var(--glow); }
.person strong { display: block; color: #fff; }
.person span { font-size: .85rem; color: var(--muted); }

/* ---------- Forms (shared) ---------- */
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card input[type=url], .form-card input[type=date], .form-card select, .form-card textarea,
.sub-form input[type=text], .sub-form input[type=email], .sub-form select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px; background: rgba(2, 6, 14, .55); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.form-card ::placeholder, .sub-form ::placeholder { color: #6b788b; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus,
.sub-form input:focus, .sub-form select:focus { border-color: rgba(255, 138, 42, .7); box-shadow: 0 0 0 4px rgba(255, 138, 42, .15); outline: none; background: rgba(2, 6, 14, .8); }
.form-card select option, .sub-form select option { background: #0f1729; color: var(--ink); }

/* ---------- Quote form ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .quote-layout { grid-template-columns: 1fr; } }
.form-card { position: relative; background: linear-gradient(180deg, rgba(20, 29, 49, .85), rgba(11, 17, 31, .9)); border: 1px solid var(--border-2); border-radius: 24px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.form-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 138, 42, .8), transparent); }
.form-card h2 { font-size: 1.5rem; }
.form-section { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin: 8px 0 -4px; grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--mono); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: #dbe3ee; padding: 0; }
.req { color: var(--orange); }
.form-card [aria-invalid=true] { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(248, 113, 113, .12) !important; }
.form-card textarea { min-height: 120px; resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); }
.field-error { font-size: .82rem; color: #fca5a5; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; font-weight: 500 !important; color: #cdd6e3 !important; cursor: pointer; line-height: 1.35; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, .02); transition: border-color .15s, background .15s; }
.check:hover { border-color: var(--border-2); }
.check:has(input:checked) { border-color: rgba(255, 138, 42, .55); background: rgba(255, 138, 42, .08); color: #fff !important; }
.check input { margin: .1em 0 0; accent-color: var(--orange-2); width: 16px; height: 16px; flex: none; }
.dropzone { border: 1.5px dashed rgba(148, 163, 184, .4); border-radius: 16px; padding: 30px 18px; text-align: center; background: radial-gradient(300px circle at 50% 0%, rgba(255, 138, 42, .08), transparent 70%), rgba(2, 6, 14, .4); position: relative; transition: border-color .15s, background .15s; }
.dropzone.is-drag, .dropzone:focus-within { border-color: var(--orange); background: radial-gradient(300px circle at 50% 0%, rgba(255, 138, 42, .16), transparent 70%), rgba(2, 6, 14, .5); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone .dz-ic { color: var(--orange); display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 138, 42, .12); border: 1px solid rgba(255, 138, 42, .3); }
.dropzone .dz-ic svg { width: 28px; height: 28px; }
.dz-title { font-weight: 650; color: var(--ink); display: block; margin-top: 10px; }
.dz-title u { color: var(--orange); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .87rem; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; margin-top: 6px; color: #dbe3ee; }
.file-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li.bad { border-color: rgba(248, 113, 113, .45); background: rgba(248, 113, 113, .1); color: #fecaca; }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 4px 0; font-family: var(--mono); }
.or-divider::before, .or-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 15px 18px; border-radius: 12px; margin-bottom: 22px; font-size: .95rem; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice-error { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }
.notice-success { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: #a7f3d0; }
.success-card { text-align: center; padding: 56px 34px; }
.success-card .big-ic { width: 76px; height: 76px; border-radius: 50%; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: var(--green); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 0 40px -6px rgba(52, 211, 153, .45); }
.success-card .big-ic svg { width: 36px; height: 36px; }
.success-card a[href^="tel:"], .contact-list a[href^="tel:"] { white-space: nowrap; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; grid-column: 1 / -1; }
.form-foot .hint { flex: 1; min-width: 220px; margin: 0; }
.form-foot .hint svg { width: 14px; height: 14px; margin-right: 4px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .check-grid { grid-template-columns: 1fr 1fr; } .form-card { padding: 22px; border-radius: 20px; } }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; display: block; font-family: var(--mono); }
.post-card h2 { font-size: 1.2rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--orange); }
.post-thumb { margin: -26px -26px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 10px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--grad); color: var(--on-accent); border-color: transparent; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #03060c; color: var(--muted); font-size: .93rem; border-top: 1px solid var(--border); }
.site-footer::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 138, 42, .6), rgba(139, 92, 246, .5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.35fr 1.45fr; gap: 40px; padding-top: 68px; padding-bottom: 48px; }
.logo-text { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.75rem; color: #fff; letter-spacing: -.01em; line-height: 1; text-decoration: none; display: inline-block; }
.logo-text b { color: var(--orange); }
.logo-tag { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: #6f7d90; margin: 8px 0 18px; display: block; }
.site-footer h4 { color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; font-family: var(--mono); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3cddb; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-trades { columns: 2; column-gap: 20px; }
.footer-trades li { break-inside: avoid; }
.footer-contact li { display: flex; gap: 10px; line-height: 1.5; font-size: .9rem; }
.footer-contact a { word-break: break-word; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); margin-top: .15em; }
.footer-areas { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-areas a { font-size: .8rem; padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 10px 16px; padding-top: 20px; padding-bottom: 20px; font-size: .84rem; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; padding-top: 52px; } }

/* ---------- Newsletter (footer + popup) ---------- */
.sub-form { display: grid; gap: 10px; }
.sub-row { display: flex; gap: 8px; }
.sub-row input { flex: 1; min-width: 0; }
.sub-row .btn { flex: none; padding: .75em 1.1em; }
.sub-consent { display: flex; gap: 9px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.sub-consent input { margin: .15em 0 0; accent-color: var(--orange-2); width: 15px; height: 15px; flex: none; }
.sub-consent a { color: #cdd6e3; text-decoration: underline; }
.sub-msg { font-size: .88rem; margin: 0; min-height: 0; }
.sub-msg.is-error { color: #fca5a5; }
.sub-msg.is-ok { color: var(--green); }
.footer-news h4 { margin-bottom: 8px; }
.footer-news p { font-size: .88rem; margin-bottom: 12px; }
.footer-news .sub-form input[type=email] { padding: 10px 13px; font-size: .95rem; }

/* Popup */
.sub-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border-2); border-radius: 24px; background: radial-gradient(420px circle at 100% 0%, rgba(255, 138, 42, .22), transparent 60%), radial-gradient(420px circle at 0% 100%, rgba(139, 92, 246, .18), transparent 60%), #0c1324; color: var(--text); box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow-x: hidden; overflow-y: auto; }
.sub-dialog::backdrop { background: rgba(2, 5, 12, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sub-dialog[open] { animation: popIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.sub-inner { position: relative; padding: 30px 30px 24px; }
.sub-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-height: 760px) { .sub-perks { display: none; } .sub-dialog p.sub-lead { margin-bottom: 14px; } }
@media (max-width: 420px) { .sub-pair { grid-template-columns: 1fr; } }
.sub-inner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); pointer-events: none; }
.sub-inner > * { position: relative; }
.sub-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .05); color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.sub-close:hover { background: rgba(255, 255, 255, .12); }
.sub-close svg { width: 18px; height: 18px; }
.sub-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--glow); margin-bottom: 14px; }
.sub-icon svg { width: 24px; height: 24px; }
.sub-dialog .eyebrow { margin-bottom: 8px; }
.sub-dialog h2 { font-size: 1.55rem; margin-bottom: .3em; }
.sub-dialog p.sub-lead { font-size: .98rem; margin-bottom: 18px; }
.sub-perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; font-size: .9rem; color: #d5deea; }
.sub-perks li { display: flex; gap: 9px; align-items: center; }
.sub-perks svg { width: 16px; height: 16px; color: var(--green); }
.sub-dialog .sub-form { gap: 11px; }
.sub-dialog .btn-block { margin-top: 4px; }
.sub-dialog .sub-done { text-align: center; padding: 10px 0 4px; }
.sub-dialog .sub-done .big-ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.sub-dialog .sub-done .big-ic svg { width: 30px; height: 30px; }
.sub-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (max-width: 767px) {
	.sub-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 88vh; position: fixed; inset: auto 0 0 0; z-index: 70; }
	.sub-dialog[open] { animation: sheetUp .35s cubic-bezier(.2, .8, .2, 1); }
	.sub-inner { padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); }
	.sub-perks { display: none; }
	.sub-dialog h2 { font-size: 1.35rem; padding-right: 36px; }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-bar { display: none; }
@media (max-width: 980px) {
	.mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(6, 10, 19, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--border-2); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
	.mobile-bar .btn { justify-content: center; padding: .78em 1em; }
	body { padding-bottom: 74px; }
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.notfound { text-align: center; padding: 110px 0; }
.notfound .big { font-size: 6rem; font-weight: 800; line-height: 1; margin-bottom: 10px; letter-spacing: -.05em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.prose ul.area-list li { padding: 9px 12px; margin: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: .92rem; }
.prose ul.area-list li::before { display: none; }
.side-box img { border-radius: 16px; }
.footer-label { display: block; font-size: .74rem; color: #7f8da0; line-height: 1.3; }

