/* ==========================================================================
   Selk Electronics — site styles (Bootstrap 5.3 + these overrides)
   ========================================================================== */

:root {
	--selk-red: #d71920;
	--selk-red-dark: #a3121a;
	--selk-wine: #6e0f24;
	--selk-ink: #1d1d1f;
	--selk-charcoal: #2f2f31;
	--selk-text: #3c3c3b;
	--selk-muted: #6b6b70;
	--selk-line: #e7e7ea;
	--selk-soft: #f5f5f6;
	--selk-radius: 14px;
	--selk-shadow: 0 18px 40px -18px rgba(20, 10, 15, .35);
	--selk-gradient: linear-gradient(125deg, #b0101a 0%, #d71920 38%, #b3123a 70%, #6e0f24 100%);

	/* Bootstrap variable hooks */
	--bs-body-font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bs-body-color: var(--selk-text);
	--bs-body-font-size: 1.0625rem;
	--bs-body-line-height: 1.65;
	--bs-link-color: var(--selk-red);
	--bs-link-color-rgb: 215, 25, 32;
	--bs-link-hover-color: var(--selk-red-dark);
	--bs-link-hover-color-rgb: 163, 18, 26;
	--bs-primary: var(--selk-red);
	--bs-primary-rgb: 215, 25, 32;
	--bs-border-radius: 10px;
	--bs-focus-ring-color: rgba(215, 25, 32, .3);
}

html { scroll-padding-top: 6.5rem; }
body { background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--selk-ink); font-weight: 600; letter-spacing: -.01em; }
.lead { font-weight: 300; font-size: 1.25rem; }
::selection { background: var(--selk-red); color: #fff; }
:focus-visible { outline: 3px solid rgba(215, 25, 32, .45); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
a[href^="tel:"] { white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: #fff; color: var(--selk-ink); padding: .5rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-soft { background: var(--selk-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--selk-red); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.measure { max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: 999px; padding: .7rem 1.5rem; letter-spacing: .01em; }
.btn-sm { padding: .45rem 1rem; }
.btn-selk { --bs-btn-color: #fff; --bs-btn-bg: var(--selk-red); --bs-btn-border-color: var(--selk-red); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--selk-red-dark); --bs-btn-hover-border-color: var(--selk-red-dark); --bs-btn-active-bg: var(--selk-red-dark); --bs-btn-active-border-color: var(--selk-red-dark); --bs-btn-focus-shadow-rgb: 215, 25, 32; }
.btn-outline-light { --bs-btn-hover-color: var(--selk-red); }
.btn-outline-selk { --bs-btn-color: var(--selk-red); --bs-btn-border-color: var(--selk-red); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--selk-red); --bs-btn-hover-border-color: var(--selk-red); --bs-btn-active-bg: var(--selk-red-dark); --bs-btn-active-border-color: var(--selk-red-dark); }
.link-arrow { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header / navigation ---------- */
/* Header: clear over the hero; a solid, slightly see-through bar once scrolled. */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 1030; padding: 1rem 0; transition: background-color .25s ease, padding .25s ease, box-shadow .25s ease; }
.site-header.is-stuck { position: fixed; background: rgba(29, 29, 31, .86); padding: .6rem 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .brand img { height: 60px; width: auto; transition: height .25s ease; }
.site-header.is-stuck .brand img { height: 46px; }
@media (min-width: 992px) {
	.site-header { padding: 1.25rem 0; }
	.site-header.is-stuck { padding: .7rem 0; }
	.site-header .brand img { height: 80px; }
	.site-header.is-stuck .brand img { height: 58px; }
}
.site-header .brand { flex-shrink: 0; }
.site-header .btn, .site-nav .nav { white-space: nowrap; flex-wrap: nowrap; }
.site-nav .nav-link { color: rgba(255, 255, 255, .88); font-weight: 400; padding: .5rem .8rem; border-radius: 999px; }
/* 1200–1399px: the phone number moves to the menu, floating tab and footer so the logo keeps its size. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
	.site-header .brand img { height: 72px; }
	.site-header.is-stuck .brand img { height: 54px; }
	.site-nav .nav-link { padding: .5rem .6rem; }
}
@media (min-width: 1400px) { .site-nav .nav-link { padding: .5rem .65rem; } }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav .nav-link.active { color: #fff; font-weight: 600; }
.header-phone { color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.header-phone:hover { color: #fff; opacity: .85; }
.menu-toggle { background: none; border: 0; color: #fff; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; font-size: .72rem; letter-spacing: .08em; text-transform: lowercase; gap: .2rem; padding: .25rem; }
.menu-toggle i { font-size: 1.9rem; }

/* Full-screen mobile menu (offcanvas) */
.menu-overlay.offcanvas { --bs-offcanvas-width: 100vw; --bs-offcanvas-bg: transparent; background: var(--selk-gradient); color: #fff; }
.menu-overlay .offcanvas-header { padding: 1.25rem 1.5rem; }
.menu-overlay .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .9; }
.menu-overlay .menu-links a { display: block; color: #fff; text-decoration: none; font-size: clamp(1.75rem, 7vw, 2.4rem); font-weight: 300; line-height: 1.6; }
.menu-overlay .menu-links a:hover, .menu-overlay .menu-links a.active { font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--selk-gradient); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .3; mix-blend-mode: luminosity; }
/* Home hero background video: grayscale clip tinted by the red gradient */
.hero-video { position: absolute; inset: 0; z-index: -1; overflow: hidden; mix-blend-mode: overlay; opacity: .95; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(90, 8, 16, .55) 0%, rgba(90, 8, 16, .2) 55%, rgba(90, 8, 16, 0) 100%); pointer-events: none; }
.hero-video-toggle { position: absolute; right: 1.25rem; bottom: 7.5rem; z-index: 3; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .25); color: #fff; display: grid; place-items: center; font-size: 1.15rem; backdrop-filter: blur(4px); }
.hero-video-toggle:hover { background: rgba(0, 0, 0, .45); }
@media (max-width: 1439.98px) { .hero-video-toggle { right: auto; left: 1rem; bottom: 6.75rem; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 34px); mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); }
.hero h1, .hero h2 { color: #fff; }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.1; margin: 0 0 1.25rem; letter-spacing: -.02em; }
.hero-title .light { display: block; font-weight: 200; }
.hero-title .bold { display: block; font-weight: 700; }
.hero .lead { color: rgba(255, 255, 255, .92); max-width: 38rem; }
.hero-home { padding: 11rem 0 11rem; min-height: min(92vh, 900px); display: flex; align-items: center; }
.hero-home > .container-xl { width: 100%; }
.hero-page { padding: 10.5rem 0 4.5rem; }
.hero-page.has-overlap { padding-bottom: 8rem; }
.hero-badges { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-badges li { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; }
.hero-badges i { margin-right: .35rem; }

/* Cards that overlap the hero */
.overlap { margin-top: -6rem; position: relative; z-index: 2; }
.card-feature { border: 0; border-radius: var(--selk-radius); box-shadow: var(--selk-shadow); overflow: hidden; height: 100%; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.card-feature:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -20px rgba(20, 10, 15, .45); }
.card-feature .card-img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; background: var(--selk-charcoal); }
.card-feature .card-body { padding: 1.5rem; display: flex; flex-direction: column; }
.card-feature .card-title { font-size: 1.25rem; margin-bottom: .6rem; }
.card-feature .card-text { font-size: .98rem; color: var(--selk-muted); flex-grow: 1; }
.card-feature .card-link-row { margin-top: 1rem; display: flex; justify-content: flex-end; }
.card-feature .stretched-link::after { z-index: 1; }

/* ---------- Dark band ---------- */
.band-dark { background: var(--selk-charcoal); color: rgba(255, 255, 255, .85); }
.band-dark h2, .band-dark h3 { color: #fff; }
.check-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.check-grid li { display: flex; gap: .7rem; align-items: flex-start; }
.check-grid i { color: var(--selk-red); font-size: 1.2rem; line-height: 1.4; }
.band-dark .check-grid i { color: #ff5a5f; }

/* ---------- Plans ---------- */
.plan { border: 1px solid var(--selk-line); border-radius: var(--selk-radius); padding: 1.75rem; height: 100%; background: #fff; position: relative; display: flex; flex-direction: column; }
.plan.is-popular { border: 2px solid var(--selk-red); box-shadow: var(--selk-shadow); }
.plan-tag { position: absolute; top: -.8rem; left: 1.5rem; background: var(--selk-red); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.plan-name { font-size: 1.2rem; margin-bottom: .25rem; }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--selk-ink); line-height: 1.1; }
.plan-price sup { font-size: 1.1rem; top: -1.1em; font-weight: 600; }
.plan-price small { font-size: .95rem; font-weight: 400; color: var(--selk-muted); }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: .97rem; }
.plan li { padding: .35rem 0; border-top: 1px solid var(--selk-line); display: flex; gap: .5rem; }
.plan li i { color: var(--selk-red); }

/* ---------- Offer / CTA ---------- */
.offer { border-radius: var(--selk-radius); background: var(--selk-soft); border-left: 5px solid var(--selk-red); padding: 1.5rem 1.75rem; }
.offer h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.offer p { margin: 0; color: var(--selk-muted); }
.cta-band { background: var(--selk-gradient); color: #fff; border-radius: var(--selk-radius); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; opacity: .15; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.4) 0 1px, transparent 1px 30px); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Service list (Services page) ---------- */
.service-row { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem; padding: 1.75rem 0; border-top: 1px solid var(--selk-line); scroll-margin-top: 6rem; }
.service-row:first-child { border-top: 0; }
.service-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: rgba(215, 25, 32, .08); color: var(--selk-red); display: grid; place-items: center; font-size: 1.4rem; }
.service-row h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.service-row p { margin-bottom: .35rem; color: var(--selk-muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--selk-radius); box-shadow: var(--selk-shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-label { font-weight: 500; color: var(--selk-ink); }
.form-control, .form-select { border-radius: 10px; padding: .7rem .95rem; border-color: #d6d6db; }
.form-control:focus, .form-select:focus { border-color: var(--selk-red); box-shadow: 0 0 0 .25rem rgba(215, 25, 32, .15); }
.req { color: var(--selk-red); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ accordion ---------- */
.accordion { --bs-accordion-border-color: var(--selk-line); --bs-accordion-active-bg: var(--selk-soft); --bs-accordion-active-color: var(--selk-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(215, 25, 32, .15); --bs-accordion-border-radius: var(--selk-radius); --bs-accordion-inner-border-radius: var(--selk-radius); }
.accordion-button { font-weight: 600; color: var(--selk-ink); font-size: 1.05rem; padding: 1.15rem 1.25rem; }

/* ---------- Embeds ---------- */
.embed-frame { width: 100%; border: 0; border-radius: var(--selk-radius); box-shadow: var(--selk-shadow); background: #fff; display: block; }
.embed-doc { height: 80vh; min-height: 520px; }
.embed-map { height: 70vh; min-height: 420px; }
.embed-sheet { height: 540px; }

/* ---------- Info tiles (contact, support) ---------- */
.info-tile { background: #fff; border: 1px solid var(--selk-line); border-radius: var(--selk-radius); padding: 1.75rem; height: 100%; }
.info-tile h2, .info-tile h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.info-tile h2 i, .info-tile h3 i { color: var(--selk-red); }
.hours { width: auto; margin-bottom: .5rem; }
.hours th { font-weight: 400; padding: .2rem 1.5rem .2rem 0; color: var(--selk-muted); }
.hours td { padding: .2rem 0; }
.town-list { columns: 2 12rem; gap: 2rem; list-style: none; padding: 0; }
.town-list li { padding: .2rem 0; break-inside: avoid; }

/* ---------- Floating request tab (desktop) / button (mobile) ---------- */
.float-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1020; background: var(--selk-red); color: #fff; text-decoration: none; padding: .9rem .6rem; border-radius: 10px 0 0 10px; writing-mode: vertical-rl; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; gap: .5rem; box-shadow: var(--selk-shadow); }
.float-tab i { writing-mode: horizontal-tb; font-size: 1.15rem; }
.float-tab:hover { background: var(--selk-red-dark); color: #fff; }
@media (max-width: 1439.98px) {
	.float-tab { top: auto; bottom: 1rem; right: 1rem; transform: none; writing-mode: horizontal-tb; border-radius: 999px; padding: .75rem 1.1rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--selk-ink); color: rgba(255, 255, 255, .72); padding: 4rem 0 2rem; font-size: .97rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.5rem; font-size: .88rem; }
.social a { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1.1rem; }
.social a:hover { background: var(--selk-red); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- TV Antenna Guide (ebook) page ---------- */
.ebook-buy { background: #fff; border-radius: var(--selk-radius); box-shadow: var(--selk-shadow); padding: clamp(1.5rem, 4vw, 3rem); }
.ebook-cover, .ebook-cover-img { display: block; width: 100%; max-width: 20rem; margin-inline: auto; aspect-ratio: 3 / 4; border-radius: .6rem; box-shadow: 0 24px 40px -18px rgba(20, 10, 15, .55), 0 0 0 1px rgba(0, 0, 0, .04); }
.ebook-cover-img { aspect-ratio: 2 / 3; object-fit: cover; height: auto; }
.ebook-cover { position: relative; overflow: hidden; background: var(--selk-gradient); color: #fff; padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: flex-end; border-left: 10px solid rgba(0, 0, 0, .22); }
.ebook-cover::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.45) 0 1px, transparent 1px 26px); pointer-events: none; }
.ebook-cover > * { position: relative; z-index: 1; }
.ebook-cover .bi { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 4.5rem; opacity: .35; }
.ebook-cover-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; opacity: .85; margin-bottom: .5rem; }
.ebook-cover-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.1; margin-bottom: .75rem; }
.ebook-cover-sub { font-size: .82rem; opacity: .9; }
.ebook-cover-brand { margin-top: 1.75rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .35); font-weight: 600; letter-spacing: .04em; }

.buy-buttons { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; margin-top: 1.5rem; }
.buy-buttons .btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-weight: 700; letter-spacing: .02em; padding: .8rem 1.6rem; }
.buy-buttons .buy-secondary { flex-direction: row; font-weight: 600; }
.buy-primary { box-shadow: 0 14px 28px -12px rgba(215, 25, 32, .7); }
.buy-note { font-size: .78rem; font-weight: 400; letter-spacing: .03em; opacity: .9; }
@media (max-width: 575.98px) { .buy-buttons .btn { width: 100%; } }
.cta-band .buy-buttons { margin-top: 0; justify-content: flex-end; }
.cta-band .buy-primary { --bs-btn-color: var(--selk-red); --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-color: var(--selk-red-dark); --bs-btn-hover-bg: #f3f3f3; --bs-btn-hover-border-color: #f3f3f3; box-shadow: none; }
.cta-band .buy-secondary { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .8); --bs-btn-hover-color: var(--selk-red); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; }
@media (max-width: 991.98px) { .cta-band .buy-buttons { justify-content: flex-start; } }

.stat-dark { border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--selk-radius); padding: 1.25rem .5rem; height: 100%; font-size: .9rem; }
.stat-dark .stat-num { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: .35rem; }
@media (max-width: 767.98px) {
	.ebook-cover, .ebook-cover-img { max-width: 13rem; }
	.ebook-cover { padding: 1.4rem 1.1rem; }
	.ebook-cover .bi { font-size: 3rem; top: 1rem; right: 1rem; }
	.ebook-cover-title { font-size: 1.35rem; }
	.ebook-cover-brand { margin-top: 1rem; }
}
