@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --white: #fff;
  --ink: #1a2346;
  --navy: #1f3868;
  --muted: #55677f;
  --blue: #096bb8;
  --bright-blue: #0d88ee;
  --cyan: #26adfe;
  --sky: #eaf5ff;
  --line: #d6e1ee;
  --soft-line: #e8edf3;
  --font: 'DM Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1, h2 { font-weight: 600; }
h3 { font-weight: 600; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--bright-blue); outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 16px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 12px; }

/* Header and footer follow the Wifiplex TV layout and colours. */
.site-header { position: sticky; top: 0; z-index: 20; color: #fff; background: var(--ink); border-bottom: 1px solid #34496e; }
.header-inner { min-height: 90px; display: flex; align-items: center; gap: 42px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { width: 168px; height: 62px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.main-nav a, .language-link { font-size: 14px; font-weight: 600; }
.main-nav a { padding-block: 10px; }
.main-nav a:hover, .language-link:hover { color: var(--cyan); }
.main-nav a[aria-current="page"] { color: #a5ddff; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.language-link { padding-block: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 22px; border: 1px solid var(--blue); border-radius: 5px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; transition: background .18s, border-color .18s, color .18s; }
.button:hover { background: #075a9d; border-color: #075a9d; }
.button-small { min-height: 43px; padding: 9px 16px; font-size: 13px; }
.header-actions .button { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.header-actions .button:hover { background: #73caff; border-color: #73caff; }
.button-light { color: var(--ink); background: #fff; border-color: #fff; }
.button-light:hover { color: var(--ink); background: var(--sky); border-color: var(--sky); }
.button-disabled, .button-disabled:hover { margin-top: auto; color: #6f7d8c; background: #e0e5e9; border-color: #d5dce2; cursor: not-allowed; }
.arrow { font-size: 21px; font-weight: 400; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }

.eyebrow { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Service choice page */
.choice-hero { padding-block: 78px 48px; }
.choice-hero-inner { display: grid; grid-template-columns: 1.5fr .8fr; align-items: end; gap: 72px; }
.choice-hero h1 { max-width: 760px; margin-top: 18px; font-size: clamp(44px, 5.2vw, 74px); }
.choice-hero h1 span { color: var(--blue); }
.choice-hero .lead { max-width: 410px; padding-bottom: 8px; }
.section-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-intro h2 { font-size: clamp(24px, 2.4vw, 32px); }
.section-intro p { color: var(--muted); font-size: 14px; }
.service-section { padding-bottom: 94px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 334px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: transform .18s, box-shadow .18s, border-color .18s; }
a.service-card:hover { transform: translateY(-3px); border-color: #7db7e3; box-shadow: 0 14px 34px rgba(26, 35, 70, .08); }
.service-card.featured { color: #fff; background: var(--navy); border-color: var(--navy); }
a.service-card.featured:hover { border-color: var(--bright-blue); }
.service-card.unavailable { color: #6f7d8c; background: #eff1f2; border-color: #dde2e6; box-shadow: none; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 38px; border: 1px solid currentColor; border-radius: 5px; color: var(--blue); }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.featured .service-icon { color: #a5ddff; }
.unavailable .service-icon { color: #8895a0; }
.service-card h3 { margin-bottom: 11px; font-size: 28px; }
.service-card p { max-width: 295px; color: var(--muted); font-size: 15px; }
.featured p { color: #e0eaf7; }
.unavailable p { color: #798692; }
.card-action { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 30px; color: var(--blue); font-size: 14px; font-weight: 700; }
.featured .card-action { color: #a5ddff; }
.unavailable .card-action { color: #76828d; }
.help-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 34px; margin-bottom: 88px; border: 1px solid var(--line); border-radius: 6px; background: var(--sky); }
.help-strip h2 { font-size: 22px; }
.help-strip p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.help-strip .text-link { white-space: nowrap; }

/* Internet detail page */
.breadcrumb { padding-top: 32px; color: var(--muted); font-size: 13px; }
.breadcrumb a { text-underline-offset: 4px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin-inline: 9px; color: #8fa0b2; }
.internet-hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-block: 52px 88px; }
.internet-hero h1 { max-width: 640px; margin-top: 18px; font-size: clamp(42px, 4.75vw, 68px); }
.internet-hero h1 span { color: var(--blue); }
.internet-hero .lead { max-width: 590px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.hero-aside { min-height: 440px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 36px; border-radius: 6px; color: #fff; background: var(--navy); }
.hero-aside::before { content: ''; position: absolute; width: 400px; height: 400px; right: -210px; top: -230px; border: 1px solid rgba(159, 217, 255, .25); border-radius: 50%; box-shadow: 0 0 0 65px rgba(159, 217, 255, .045), 0 0 0 130px rgba(159, 217, 255, .035); }
.hero-aside > * { position: relative; }
.aside-label { color: #a5ddff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.building-mark { width: 118px; height: 124px; margin: 36px auto 18px; color: #8bd1ff; }
.building-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.aside-bottom { border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.aside-bottom strong { display: block; max-width: 320px; font-size: 21px; font-weight: 600; line-height: 1.3; }
.aside-bottom p { max-width: 330px; margin-top: 9px; color: #dceafb; font-size: 14px; }
.fact-row { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 24px 28px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; color: var(--blue); font-size: 18px; font-weight: 700; }
.fact span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.benefits { padding-block: 96px; }
.benefits-header { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: end; margin-bottom: 42px; }
.benefits-header h2 { max-width: 600px; margin-top: 14px; font-size: clamp(32px, 3.3vw, 45px); }
.benefits-header p:last-child { max-width: 455px; color: var(--muted); }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.benefit { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.benefit:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.benefit-number { color: var(--blue); font-size: 13px; font-weight: 700; }
.benefit h3 { margin-bottom: 6px; font-size: 20px; }
.benefit p { max-width: 440px; color: var(--muted); font-size: 15px; }
.next-step { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; margin-bottom: 96px; padding: 42px 46px; color: #fff; background: var(--navy); border-radius: 6px; }
.next-step .eyebrow { color: #a5ddff; }
.next-step h2 { max-width: 500px; margin-top: 12px; font-size: clamp(30px, 3vw, 42px); }
.next-step p:not(.eyebrow) { margin-top: 11px; color: #e1eaf6; }
.next-step-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.next-step-action small { color: #cfdeef; font-size: 13px; }

/* Customer comments */
.reviews-section { padding-block: 82px 92px; border-top: 1px solid var(--line); background: #fff; }
.reviews-inner { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: center; gap: 74px; }
.reviews-heading h2 { max-width: 420px; margin-top: 15px; font-size: clamp(32px, 3.2vw, 44px); }
.review-controls { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.review-control { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #9eb7d2; border-radius: 5px; background: #fff; color: var(--blue); font-size: 24px; line-height: 1; cursor: pointer; }
.review-control:hover { border-color: var(--blue); background: var(--sky); }
.review-position { min-width: 62px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; }
.review-card { min-height: 340px; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 42px); border: 1px solid var(--line); border-top: 3px solid var(--bright-blue); border-radius: 6px; background: var(--paper); }
.review-stars { color: var(--blue); font-size: 21px; letter-spacing: .14em; line-height: 1; }
.review-card blockquote { margin: 27px 0 32px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.5; letter-spacing: -.015em; }
.review-card blockquote { white-space: pre-line; }
.review-card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.review-card figcaption strong { color: var(--ink); font-size: 14px; font-weight: 700; }

.site-footer { color: #fff; background: var(--ink); border-top: 3px solid var(--bright-blue); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 34px 30px; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand img { width: 116px; height: 44px; object-fit: contain; }
.footer-brand p { color: #dbe7f7; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { padding-block: 17px 25px; border-top: 1px solid #34496e; color: #cedbee; font-size: 11px; }

@media (max-width: 980px) {
  .container { width: min(100% - 60px, 1200px); }
  .header-inner { gap: 24px; }
  .main-nav { gap: 16px; }
  .header-actions { gap: 14px; }
  .choice-hero-inner { gap: 36px; }
  .internet-hero { gap: 36px; }
  .service-card { padding: 24px; }
  .reviews-inner { gap: 38px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 40px, 1200px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0 16px; padding-block: 8px; }
  .brand img { width: 142px; height: 53px; }
  .header-actions { margin-left: auto; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 24px; margin-left: 0; border-top: 1px solid #34496e; }
  .main-nav a { padding-block: 9px 5px; font-size: 13px; }
  .choice-hero { padding-block: 55px 36px; }
  .choice-hero-inner, .internet-hero, .benefits-header, .next-step { grid-template-columns: 1fr; gap: 24px; }
  .choice-hero .lead { max-width: 640px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 235px; }
  .service-icon { margin-bottom: 20px; }
  .service-section { padding-bottom: 48px; }
  .internet-hero { padding-block: 35px 50px; }
  .hero-aside { min-height: 340px; }
  .building-mark { margin-block: 14px; }
  .benefits { padding-block: 65px; }
  .benefit-list { column-gap: 20px; }
  .next-step { margin-bottom: 65px; padding: 32px; }
  .reviews-section { padding-block: 65px; }
  .reviews-inner { grid-template-columns: 1fr; gap: 28px; }
  .reviews-heading h2 { max-width: 680px; }
  .review-controls { margin-top: 20px; }
  .review-card { min-height: 280px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .header-actions .button { display: none; }
  .section-intro { display: block; }
  .section-intro p { margin-top: 6px; }
  .choice-hero h1 { font-size: clamp(42px, 11vw, 58px); }
  .internet-hero h1 { font-size: clamp(39px, 10vw, 54px); }
  .lead { font-size: 17px; }
  .service-card { min-height: 215px; }
  .help-strip { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px; margin-bottom: 65px; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .benefit-list { grid-template-columns: 1fr; }
  .benefit:nth-last-child(2) { border-bottom: 0; }
  .benefit:last-child { border-bottom: 1px solid var(--line); }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-links { gap: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .button { transition: none; }
}
