/* =========================================================
   Energize Electric — styles
   ========================================================= */
:root {
  --navy: #071A33;
  --navy-2: #0B2445;
  --blue: #0878F9;          /* electric blue: accents, glow */
  --blue-strong: #0662D1;   /* accessible blue for buttons/text on white */
  --blue-soft: #5FB0FF;     /* blue text on dark backgrounds */
  --white: #FFFFFF;
  --black: #05070B;
  --gray: #F3F6FA;
  --line: #DCE4EF;
  --silver: #A9B7C9;
  --ink: #0F1B2D;
  --muted: #4B5B70;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 26, 51, .10);
  --shadow-lg: 0 20px 50px rgba(7, 26, 51, .18);
  --head: 'Manrope', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 108px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-strong); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--blue-strong); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.note { color: var(--muted); font-size: .85rem; margin-top: 24px; text-align: center; }
.eyebrow { font-family: var(--head); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; color: var(--blue-strong); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; box-shadow: 0 0 10px var(--blue); }
.section-dark .eyebrow { color: var(--blue-soft); }
.lead { font-size: 1.15rem; color: #D5E2F2; max-width: 680px; }
.lead.dark { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: .95rem; letter-spacing: .03em; padding: 14px 24px; border-radius: 10px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; position: relative; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-strong); color: #fff; box-shadow: 0 6px 20px rgba(8, 120, 249, .35); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 10px 30px rgba(8, 120, 249, .5); }
.btn-outline { border-color: var(--blue-strong); color: var(--blue-strong); background: transparent; }
.btn-outline:hover { background: var(--blue-strong); color: #fff; }
.section-dark .btn-outline, .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.04); }
.section-dark .btn-outline:hover, .btn-ghost:hover { border-color: var(--blue-soft); background: rgba(8,120,249,.18); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--black); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(7,26,51,.10); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { height: 88px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 10px 14px; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 8px; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; box-shadow: 0 0 8px var(--blue); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--blue-strong); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--blue-strong); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--navy); cursor: pointer; margin-left: auto; }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-mobile-cta { display: none; }

@media (max-width: 1080px) {
  .header-cta .header-phone span { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 84px; }
  .brand img { height: 68px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px 16px 24px; transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .primary-nav.open { transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--gray); border-radius: 0; }
  .primary-nav a::after { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
  .primary-nav .nav-mobile-cta .btn { display: flex; padding: 15px 20px; border-radius: 10px; border: 2px solid var(--blue-strong); font-size: 1rem; }
  .primary-nav .nav-mobile-cta .btn-primary { color: #fff; }
  .primary-nav .nav-mobile-cta .btn-outline { color: var(--blue-strong); }
}

/* ---------- Dark sections & circuit animation ---------- */
.section-dark { background: radial-gradient(1200px 500px at 80% -10%, #0E3266 0%, transparent 60%), var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.section-dark::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(8,120,249,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(8,120,249,.07) 1px, transparent 1px); background-size: 48px 48px; animation: grid-drift 40s linear infinite; }
@keyframes grid-drift { to { background-position: 48px 48px; } }
.circuit-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.circuit-bg svg { width: 100%; height: 100%; }
.circuit-bg .traces path { fill: none; stroke: rgba(8,120,249,.22); stroke-width: 1.5; }
.circuit-bg .pulses path { fill: none; stroke: var(--blue-soft); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 18 900; stroke-dashoffset: 918; filter: drop-shadow(0 0 4px var(--blue)); animation: pulse-run 7s linear infinite; }
@keyframes pulse-run { to { stroke-dashoffset: 0; } }
.circuit-bg .nodes circle { fill: var(--navy); stroke: var(--blue); stroke-width: 2; animation: node-glow 4s ease-in-out infinite; }
.circuit-bg .nodes circle:nth-child(2) { animation-delay: .5s } .circuit-bg .nodes circle:nth-child(3) { animation-delay: 1s } .circuit-bg .nodes circle:nth-child(4) { animation-delay: 1.5s }
.circuit-bg .nodes circle:nth-child(5) { animation-delay: 2s } .circuit-bg .nodes circle:nth-child(6) { animation-delay: 2.5s } .circuit-bg .nodes circle:nth-child(7) { animation-delay: 3s } .circuit-bg .nodes circle:nth-child(8) { animation-delay: 3.5s }
@keyframes node-glow { 0%, 70%, 100% { fill: var(--navy); filter: none; } 80% { fill: var(--blue-soft); filter: drop-shadow(0 0 6px var(--blue)); } }
.circuit-bg .schematic path { fill: none; stroke: rgba(95,176,255,.35); stroke-width: 1.5; animation: schem 9s ease-in-out infinite; opacity: 0; }
.circuit-bg .schematic path:nth-child(2) { animation-delay: 4.5s; }
@keyframes schem { 0%, 100% { opacity: 0; } 30%, 60% { opacity: 1; } }
.circuit-bg.faint { opacity: .5; }

/* ---------- Hero ---------- */
.hero { min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 80px; }
.hero::before { display: none; }
.hero-art { position: absolute; inset: -8% 0 0 0; z-index: -4; will-change: transform; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero-overlay { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(7,26,51,.94) 0%, rgba(7,26,51,.82) 42%, rgba(7,26,51,.25) 100%), linear-gradient(0deg, rgba(5,7,11,.85) 0%, transparent 40%); }
.hero-circuits { opacity: .75; }
@media (max-width: 760px) { .hero-overlay { background: linear-gradient(180deg, rgba(7,26,51,.9) 0%, rgba(7,26,51,.88) 70%, rgba(5,7,11,.92) 100%); } }
.hero-streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-streaks span { position: absolute; height: 2px; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(95,176,255,.8), transparent); filter: blur(.5px); animation: streak 9s ease-in-out infinite; }
.hero-streaks span:nth-child(1) { top: 28%; }
.hero-streaks span:nth-child(2) { top: 46%; animation-delay: 3s; width: 30%; }
.hero-streaks span:nth-child(3) { top: 62%; animation-delay: 6s; }
@keyframes streak { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 60% { opacity: .6; } 100% { transform: translateX(380%); opacity: 0; } }
.hero-inner { padding-bottom: 64px; max-width: 1200px; }
.hero h1 { max-width: 820px; text-transform: uppercase; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero h1 .hl { color: var(--blue-soft); text-shadow: 0 0 30px rgba(8,120,249,.6); }
.trust-bar { background: rgba(5,7,11,.72); border-top: 1px solid rgba(95,176,255,.25); backdrop-filter: blur(6px); }
.trust-bar ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.trust-bar li { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .9rem; color: #E6EEF8; }
.trust-bar .icon { color: var(--blue-soft); filter: drop-shadow(0 0 6px var(--blue)); }

/* ---------- Sections & cards ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--gray); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); }
.section-dark .section-head p:last-child { color: #C9D7EA; }
.grid { display: grid; gap: 24px; }
.grid-services { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-areas { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-areas-full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(8,120,249,.35); border-color: rgba(8,120,249,.4); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; position: relative; }
.card-body p { color: var(--muted); font-size: .97rem; }
.sector-card h3 { padding-right: 58px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--blue-strong); }
.card-icon { position: absolute; top: -26px; right: 20px; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--blue-soft); box-shadow: 0 0 0 4px #fff, 0 0 18px rgba(8,120,249,.45); animation: icon-glow 5s ease-in-out infinite; }
.card-icon .icon { width: 26px; height: 26px; }
@keyframes icon-glow { 0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 10px rgba(8,120,249,.3); } 50% { box-shadow: 0 0 0 4px #fff, 0 0 24px rgba(8,120,249,.7); } }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; color: var(--blue-strong); text-decoration: none; font-size: .95rem; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.area-tag { position: absolute; left: 14px; top: 14px; background: rgba(7,26,51,.82); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid rgba(95,176,255,.4); }
.area-card h3 { margin-bottom: 10px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media.sticky { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }
.facts div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 18px; }
.facts dt { font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media.sticky { position: static; } }

/* final cta */
.final-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.final-media img { border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(95,176,255,.3), 0 30px 60px rgba(0,0,0,.4); }
.final-cta { padding: clamp(64px, 9vw, 112px) 0; }
@media (max-width: 860px) { .final-inner { grid-template-columns: 1fr; } }

/* page hero */
.page-hero { padding: clamp(56px, 8vw, 96px) 0; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 860px; }
.page-hero-inner.has-media { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.page-hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(95,176,255,.3), 0 30px 60px rgba(0,0,0,.45); }
.page-hero .lead a { color: var(--blue-soft); }
@media (max-width: 920px) { .page-hero-inner.has-media { grid-template-columns: 1fr; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; padding: 14px 0; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* service detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-top: 8px; }
.prose > div { margin-bottom: 40px; }
.prose p { color: #2C3B4F; }
.prose.narrow { max-width: 780px; }
.prose.narrow h2 { margin-top: 36px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--gray); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.panel h2 { font-size: 1.25rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--blue-strong); margin-top: 4px; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.process li { display: flex; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s; }
.process li:hover { border-color: var(--blue); }
.process .step { font-family: var(--head); font-weight: 800; color: var(--blue-strong); font-size: 1.4rem; min-width: 44px; }
.process h3 { margin-bottom: 4px; }
.process p { margin: 0; color: var(--muted); }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 20px; font-family: var(--head); font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue-strong); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { border-radius: var(--radius); padding: 28px; }
.side-card h2 { font-size: 1.3rem; }
.side-card.section-dark p { color: #C9D7EA; }
.side-card .btn { margin-top: 10px; }
.side-card.light { border: 1px solid var(--line); background: var(--gray); }
.related { list-style: none; margin: 0; padding: 0; }
.related a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.related a:hover { color: var(--blue-strong); }
.related .icon { color: var(--blue-strong); }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } .sidebar { position: static; } }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.area-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; transition: border-color .2s, color .2s; }
.area-pills a:hover { border-color: var(--blue); color: var(--blue-strong); }
.area-pills .icon { color: var(--blue-strong); }

/* emergency */
.emergency { background: #FFF6E5; border-bottom: 1px solid #F5D9A3; }
.emergency-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0 18px; flex-wrap: wrap; }
.emergency-inner > div { display: flex; gap: 16px; align-items: flex-start; }
.emergency-inner > div > .icon { width: 36px; height: 36px; color: #B45309; }
.emergency h2 { font-size: 1.4rem; margin-bottom: 4px; }
.emergency p { margin: 0; color: #5B4520; }
.safety { font-size: .95rem; color: #5B4520; padding-bottom: 24px; }
.contact-info .safety { color: var(--muted); padding: 14px; background: var(--gray); border-radius: 10px; margin-top: 20px; }

/* about */
.story p { color: #2C3B4F; font-size: 1.05rem; }
.signature { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--line); }
.signature p { margin: 0; color: var(--muted); }
.signature .sig-name { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: var(--navy); letter-spacing: .04em; }
.signature .sig-co { font-family: var(--head); font-weight: 800; letter-spacing: .14em; color: var(--blue-strong); font-size: .85rem; margin-top: 4px; }
.detail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 0; }
.detail-cards div { background: rgba(255,255,255,.04); border: 1px solid rgba(95,176,255,.25); border-radius: var(--radius); padding: 22px; transition: border-color .3s, box-shadow .3s; }
.detail-cards div:hover { border-color: var(--blue); box-shadow: 0 0 24px rgba(8,120,249,.25); }
.detail-cards dt { font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); }
.detail-cards dd { margin: 6px 0 0; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.contact-info { position: sticky; top: calc(var(--header-h) + 24px); }
.info-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; color: var(--muted); }
.info-list .icon { width: 22px; height: 22px; color: var(--blue-strong); margin-top: 3px; }
.info-list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.btn-stack { display: grid; gap: 10px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 24px 0; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid #C5D1E0; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,120,249,.18); }
.field input[type="file"] { padding: 10px; background: var(--gray); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C62828; }
.field .err { color: #B71C1C; font-size: .85rem; }
.radios { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 8px; }
.radios label, .field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.radios input, .field.check input { width: 20px; height: 20px; accent-color: var(--blue-strong); margin-top: 3px; flex: none; }
.req { color: #B71C1C; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.form-status .msg { padding: 16px 18px; border-radius: 10px; }
.form-status .ok { background: #E8F5EE; border: 1px solid #9ED3B3; color: #14532D; }
.form-status .bad { background: #FDECEC; border: 1px solid #F3B1B1; color: #7F1D1D; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { position: static; } }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.contact-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact-band .btn-row { margin: 0; }

/* footer */
.site-footer { background: var(--navy); color: #C9D7EA; position: relative; overflow: hidden; isolation: isolate; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.4fr; gap: 40px; }
.wordmark { font-family: var(--head); font-weight: 800; font-size: 1.5rem; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.wordmark span { color: var(--blue-soft); }
.site-footer a { color: #E6EEF8; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: var(--blue-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-services ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-h { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .footer-services ul { grid-template-columns: 1fr; } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-streaks, .circuit-bg .pulses { display: none; }
  .circuit-bg .schematic path { opacity: .6; }
}
@media print { .site-header, .circuit-bg, .hero-streaks { display: none; } }

/* explore links + value cards */
.card-icon.static { position: static; flex: none; animation: none; box-shadow: 0 0 14px rgba(8,120,249,.35); }
.explore-card { display: flex; align-items: center; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; }
.explore-card:hover { transform: translateY(-4px); border-color: rgba(8,120,249,.5); box-shadow: var(--shadow-lg); }
.explore-card > span:nth-child(2) { display: grid; gap: 4px; flex: 1; min-width: 0; }
.explore-card strong { font-family: var(--head); font-size: 1.15rem; }
.explore-card > span:nth-child(2) span { color: var(--muted); font-size: .95rem; }
.explore-card > .icon { color: var(--blue-strong); width: 22px; height: 22px; transition: transform .2s; }
.explore-card:hover > .icon { transform: translateX(4px); }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value-card .card-icon { margin-bottom: 16px; }
.value-card p { color: var(--muted); margin: 0; }
.grid-featured { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-featured { grid-template-columns: 1fr; } }

/* QR code */
.qr-section { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px); }
.qr-inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.qr-inner > div:last-child { flex: 1; min-width: 260px; }
.qr-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.qr-code { background: #fff; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-code img { width: 200px; height: 200px; image-rendering: pixelated; }
.qr-placeholder { width: 200px; height: 200px; display: grid; place-items: center; text-align: center; border: 2px dashed var(--silver); border-radius: 8px; color: var(--muted); font-family: var(--head); font-weight: 700; background: repeating-linear-gradient(45deg, var(--gray) 0 10px, #fff 10px 20px); }
.qr-url { font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.about-split .split-media img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .about-split .split-media img { aspect-ratio: 1 / 1; object-position: 50% 38%; } }

/* Instagram link in the trust bar */
.trust-bar .trust-ig a { display: inline-flex; align-items: center; gap: 10px; color: #E6EEF8; text-decoration: none; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(95,176,255,.35); transition: background .2s, border-color .2s; }
.trust-bar .trust-ig a:hover { background: rgba(8,120,249,.2); border-color: var(--blue-soft); }

.trust-bar ul { gap: 12px 18px; }
.trust-bar li { font-size: .85rem; }

/* Social buttons in the home opening section */
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; }
.social-label { font-family: var(--head); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); margin-right: 4px; }
.social-btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.05rem; backdrop-filter: blur(6px); transition: transform .2s, background .2s, border-color .2s; }
.social-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); border-color: #fff; }
.social-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.social-ico svg { width: 22px; height: 22px; }
.social-ico.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-ico.fb { background: #1877F2; }
.social-ico.fb svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .social-label { flex-basis: 100%; } .social-btn { font-size: .98rem; padding-right: 16px; gap: 10px; } }
