/* Miele Satellite Antenna - mobile-first stylesheet */

@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --blue: #5066b3;
  --blue-dark: #3b4d8c;
  --ink: #2d323b;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-soft: #f4f6fb;
  --radius: 10px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: 1.75rem; font-weight: 300; text-transform: lowercase; letter-spacing: .02em; }
h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--blue); margin-top: .5em; }
.center h2::after { margin-left: auto; margin-right: auto; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--blue); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; }
.brand-name { font-size: 1.35rem; font-weight: 300; line-height: 1; }
.brand-name small { display: block; font-size: .7rem; letter-spacing: .08em; color: var(--muted); margin-top: 3px; }
.nav-toggle { width: 48px; height: 48px; border: 0; background: none; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; }
.nav-open .main-nav { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.main-nav a { display: block; padding: 14px 20px; text-decoration: none; color: var(--ink); text-transform: lowercase; font-size: 1.05rem; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav .nav-call { margin: 8px 20px 14px; display: flex; color: #fff; }
.main-nav .nav-call:hover { color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 82vh; display: flex; align-items: center; overflow: hidden; background: #1f2b52; }
.hero-slides, .hero-slides div { position: absolute; inset: 0; }
.hero-slides div { background-size: cover; background-position: center; opacity: 0; animation: fade 18s infinite; }
.hero-slides div:nth-child(1) { background-image: url("../images/satellite-13.jpg"); animation-delay: 0s; }
.hero-slides div:nth-child(2) { background-image: url("../images/satellite-14.jpg"); animation-delay: 6s; }
.hero-slides div:nth-child(3) { background-image: url("../images/satellite-15.jpg"); animation-delay: 12s; }
@keyframes fade { 0% { opacity: 0; transform: scale(1); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; transform: scale(1.12); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,70,.55), rgba(20,30,70,.75)); }
.hero .container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 48px; }
.hero-logo { width: 90px; margin-bottom: 18px; }
.hero h1 { font-size: 2.1rem; font-weight: 300; margin-bottom: .4em; }
.hero h1 strong { font-weight: 700; display: block; }
.hero p { font-size: 1.1rem; max-width: 560px; margin: 0 0 28px; opacity: .95; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }

/* About */
.about-grid { display: grid; gap: 32px; }
.about-grid img { border-radius: var(--radius); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.areas li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 32px 0 0; }
.services li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px; text-align: center; font-weight: 700; font-size: .92rem; text-transform: lowercase; transition: transform .2s, box-shadow .2s; }
.services li:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(80,102,179,.15); }
.services img { width: 64px; height: 64px; margin: 0 auto 12px; opacity: .85; }

/* Skills */
.skills { position: relative; color: #fff; background: #1f2b52 url("../images/satellite-06.jpg") center / cover; }
.skills::before { content: ""; position: absolute; inset: 0; background: rgba(59,77,140,.85); }
.skills .container { position: relative; }
.skills h2::after { background: #fff; }
.skill-list { display: grid; gap: 16px; list-style: none; padding: 0; margin: 28px 0 0; }
.skill-list li { border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 20px; }
.skill-list strong { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; margin-top: 24px; }
.contact-info { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info svg { width: 24px; height: 24px; fill: var(--blue); flex: none; margin-top: 2px; }
.contact-info a { text-decoration: none; font-weight: 700; word-break: break-word; }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }
.form { display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 4px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfd4dc; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: #e7f6ec; color: #17603a; }
.form-status.err { display: block; background: #fdecec; color: #9b1c1c; }
.req { color: #b91c1c; }

/* Footer */
.site-footer { background: var(--ink); color: #c9ced8; padding: 40px 0 24px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; text-transform: lowercase; }
.site-footer h3.brand-title { text-transform: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--blue); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .82rem; }

/* Floating call button (phones only) */
.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.call-fab svg { width: 26px; height: 26px; fill: #fff; }

/* Privacy page */
.page-head { background: var(--blue); color: #fff; padding: 40px 0; }
.page-head h1 { font-weight: 300; font-size: 2rem; margin: 0; text-transform: lowercase; }
.policy { max-width: 780px; }
.policy h2 { font-size: 1.25rem; text-transform: none; margin-top: 1.8em; }
.policy h2::after { display: none; }

/* Tablet and up */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: row; max-width: none; }
  .services { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .skill-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .section { padding: 88px 0; }
  h2 { font-size: 2.2rem; }
  .nav-toggle, .call-fab { display: none; }
  .main-nav { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .main-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .main-nav a { padding: 10px 14px; font-size: .95rem; }
  .main-nav .nav-call { margin: 0 0 0 10px; min-height: 42px; padding: 8px 18px; color: #fff; }
  .main-nav .nav-call:hover { color: #fff; }
  .brand img { width: 52px; }
  .hero h1 { font-size: 3.4rem; }
  .about-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 56px; }
  .skill-list { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}


/* ================= v2 additions ================= */

/* Top bar (desktop) */
.topbar { display: none; background: var(--ink); color: #c9ced8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.topbar span { margin-right: 18px; }

/* Hero badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.badges li { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 12px; font-size: .82rem; backdrop-filter: blur(4px); }
.badges svg { width: 15px; height: 15px; fill: #fff; }

/* Stats */
.stats { background: var(--blue); color: #fff; padding: 28px 0; }
.stats ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.stats span { font-size: .85rem; opacity: .9; }

/* Section intro */
.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.services li a { color: inherit; text-decoration: none; display: block; }
.more-link { display: inline-block; margin-top: 24px; font-weight: 700; text-decoration: none; }

/* Channel finder */
.finder { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 28px; box-shadow: 0 10px 30px rgba(31,43,82,.06); }
.finder-controls { display: grid; gap: 10px; }
.finder label { font-weight: 700; font-size: .9rem; }
.finder select, .form select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfd4dc; border-radius: 8px; background: #fff; color: var(--ink); }
.finder-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.dir-card { background: var(--bg-soft); border-radius: 10px; padding: 12px; text-align: center; }
.dir-card b { display: block; font-size: .95rem; }
.dir-card small { color: var(--muted); }
.arrow { width: 38px; height: 38px; margin: 4px auto; display: block; transition: transform .5s; }
.arrow path { fill: var(--blue); }
.ch-total { font-size: 1.05rem; margin: 0 0 12px; }
.ch-total strong { color: var(--blue); font-size: 1.4rem; }
.ch-group { margin-top: 14px; }
.ch-group h3 { font-size: .95rem; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ch-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ch-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .92rem; }
.ch-num { font-weight: 700; color: var(--blue); }
.ch-net small { color: var(--muted); display: block; font-size: .75rem; }
.pill { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.strong { background: #e3f5ea; color: #17603a; }
.pill.good { background: #e8edfa; color: #33468a; }
.pill.fringe { background: #fff3dc; color: #8a5a00; }
.pill.weak { background: #f1f1f1; color: #777; }
.finder-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.finder-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.finder-cta .btn.outline { background: #fff; color: var(--blue); }

/* Savings calculator */
.calc { display: grid; gap: 24px; margin-top: 28px; align-items: center; }
.calc-box { background: #fff; color: var(--ink); border-radius: 14px; padding: 22px; }
.calc-box label { font-weight: 700; display: block; margin-bottom: 8px; }
.bill-row { display: flex; align-items: center; gap: 12px; }
.bill-row input[type=range] { flex: 1; accent-color: var(--blue); height: 32px; }
.bill-out { min-width: 86px; font-size: 1.5rem; font-weight: 700; color: var(--blue); text-align: right; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; text-align: center; }
.calc-results div { background: var(--bg-soft); border-radius: 10px; padding: 12px 6px; }
.calc-results strong { display: block; font-size: 1.2rem; color: var(--ink); }
.calc-results span { font-size: .75rem; color: var(--muted); }
.calc-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.savings { color: #fff; background: linear-gradient(135deg, #3b4d8c, #5066b3); }
.savings h2::after { background: #fff; }
.savings p { opacity: .95; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; }
.gallery button { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,14,30,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; cursor: pointer; }

/* Reviews */
.reviews-box { margin-top: 24px; display: grid; gap: 16px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }
.review-cta { background: #fff; border: 2px dashed #c7cfea; border-radius: 12px; padding: 24px; text-align: center; }
.review-cta p { margin: 0 0 16px; }
.review-cta .btn + .btn { margin-top: 10px; }

/* DIY parts */
.diy { display: grid; gap: 28px; align-items: center; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.tick-list li { padding-left: 26px; position: relative; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.brands li { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 12px; font-weight: 700; font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 28px auto 0; text-align: left; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: #4b5260; }

/* Quote form extras */
.form-row { display: grid; gap: 14px; }
.file-drop { border: 2px dashed #c7cfea; border-radius: 10px; padding: 16px; text-align: center; background: var(--bg-soft); }
.file-drop input { border: 0; background: none; padding: 6px 0; }
.file-drop small { display: block; color: var(--muted); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; justify-content: center; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }

/* Bottom action bar (phones) */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); padding: 8px; gap: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.action-bar .btn { min-height: 46px; padding: 8px; }
.action-bar .btn.outline { background: #fff; color: var(--blue); }
body { padding-bottom: 72px; }

/* Area & service pages */
.crumbs { font-size: .85rem; opacity: .85; margin-bottom: 8px; }
.crumbs a { color: #fff; }
.page-head p { margin: 10px 0 0; max-width: 640px; opacity: .95; }
.page-head h1 { text-transform: none; }
.svc-block { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc-block img { width: 64px; opacity: .85; }
.svc-block h2 { font-size: 1.3rem; text-transform: none; font-weight: 700; margin-bottom: .4em; }
.svc-block h2::after { display: none; }
.area-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.area-links a { display: block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: .88rem; }
.area-links a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cta-band { background: var(--bg-soft); border-radius: 14px; padding: 28px; text-align: center; margin-top: 40px; }
.cta-band .hero-actions { margin: 16px auto 0; justify-content: center; }
.cta-band .btn.ghost { border-color: var(--blue); color: var(--blue); }
.site-footer .areas-foot a { color: #c9ced8; font-size: .85rem; }

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

@media (min-width: 640px) {
  .stats ul { grid-template-columns: repeat(4, 1fr); }
  .finder-controls { grid-template-columns: 1fr; }
  .finder-summary { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .reviews-box { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .topbar { display: block; }
  .stats strong { font-size: 2.8rem; }
  .finder { padding: 32px; }
  .ch-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
  .calc { grid-template-columns: 1fr 1fr; gap: 56px; }
  .diy { grid-template-columns: 1fr 1fr; gap: 56px; }
  .tick-list { grid-template-columns: repeat(3, 1fr); }
  .reviews-box { grid-template-columns: repeat(3, 1fr); }
  .main-nav a { padding: 10px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides div { animation: none; }
  .hero-slides div:nth-child(1) { opacity: 1; }
}
