/* TvAvNet — site styles */
:root {
  --brand: #3449a0;
  --brand-dark: #24357a;
  --brand-tint: #eef1fb;
  --ink: #141a2e;
  --ink-soft: #4a5168;
  --line: #e3e6ef;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --accent: #f2a516;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 26, 46, .06), 0 8px 24px rgba(20, 26, 46, .06);
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffb932; color: var(--ink); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-tint); }
.btn svg { width: 1.1em; height: 1.1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); }
.nav .btn { margin-left: 8px; padding: .6em 1.1em; font-size: .95rem; }
.nav .btn:hover { background: var(--brand-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; color: #fff; background: #0e1430; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("img/hero-cables.jpg") center/cover no-repeat; opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,20,48,.96) 0%, rgba(36,53,122,.82) 55%, rgba(36,53,122,.45) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 0; list-style: none; }
.hero-tags li { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.hero-meta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 24px; font-size: .95rem; color: rgba(255,255,255,.8); }
.hero-meta strong { color: #fff; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 16px; }
.icon svg { width: 26px; height: 26px; }

.section-head { margin-bottom: 40px; }

/* Promise strip */
.promises { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.promise { text-align: center; padding: 20px 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.promise .icon { margin: 0 auto 10px; }
.promise strong { display: block; font-size: .95rem; }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .promises { grid-template-columns: repeat(2, 1fr); } }

/* Price table */
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { color: var(--brand); white-space: nowrap; }
.price-card h3 { display: flex; align-items: center; gap: 10px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 12px 16px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.areas li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }

/* Contact band */
.contact-band { background: var(--brand); color: #fff; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact-band h2 { color: #fff; }
.contact-band p { color: rgba(255,255,255,.85); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.contact-list a { color: #fff; font-weight: 700; }
@media (max-width: 800px) { .contact-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Article */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 12px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout { background: var(--brand-tint); border-left: 4px solid var(--brand); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.callout p:last-child { margin: 0; }
.two-img { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two-img { grid-template-columns: 1fr; } }

/* Q&A */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--ink-soft); }
.guide-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; color: var(--ink); }
.guide-link:hover h3 { color: var(--brand); }
.guide-link .arrow { color: var(--brand); font-size: 1.4rem; }

/* Quote form */
.quote-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 20px; background: #fff; }
legend { font-weight: 800; padding: 0 8px; font-size: 1.05rem; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; transition: border-color .15s, background .15s; height: 100%; }
.opt label small { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.opt input:checked + label { border-color: var(--brand); background: var(--brand-tint); }
.opt input:checked + label small { color: var(--brand); }
.opt input:focus-visible + label { outline: 3px solid rgba(52,73,160,.35); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(52,73,160,.15); }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { position: sticky; top: 92px; }
.summary .total { font-size: 2.4rem; font-weight: 800; color: var(--brand); line-height: 1; margin: 6px 0 4px; }
.summary ul { list-style: none; padding: 0; margin: 16px 0; font-size: .92rem; }
.summary li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary li span:last-child { font-weight: 700; white-space: nowrap; }
.summary .btn { width: 100%; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.form-status.ok { color: #12784a; }
.form-status.err { color: #b42318; }

/* Footer */
.site-footer { background: #0e1430; color: rgba(255,255,255,.75); padding: 56px 0 32px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; background: #fff; border-radius: 8px; padding: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 640px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,26,46,.08); }
  .call-bar .btn { padding: .75em 1em; }
  body { padding-bottom: 76px; }
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
}
