:root {
  --tim-blue: #0044AA;
  --tim-blue-dark: #003783;
  --tim-blue-soft: #EEF5FF;
  --tim-navy: #284061;
  --tim-ink: #172235;
  --tim-muted: #718096;
  --tim-border: #E4EAF2;
  --tim-white: #FFFFFF;
  --tim-surface: #F5F7FA;
  --tim-shadow: 0 18px 50px rgba(40, 64, 97, 0.50);
  --tim-shadow-soft: 0 8px 28px rgb(40 64 97 / 25%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tim-ink);
  background: var(--tim-surface);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  background-color: var(--tim-surface);
  background-image: url("../images/home/background-2.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--tim-ink);
}

body:has(dialog[open]) { overflow: hidden; }

a { color: inherit; }

button,
input,
select { font: inherit; }

button { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(40, 64, 97, 0.3);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 8px 28px rgba(40, 64, 97, 0.08);
}

.site-header__inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 135px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  row-gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 156px;
  height: 110px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a,
.primary-nav summary {
  color: var(--tim-blue);
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav summary:hover { color: var(--tim-blue-dark); }

.nav-dropdown { position: relative; }

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker { display: none; }

.nav-dropdown summary::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 11px;
}

.nav-dropdown[open] > summary::after { content: "⌃"; }

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 230px;
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid #0044AA;
  border-radius: 16px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow);
}

.nav-dropdown__menu a,
.nav-dropdown__menu summary {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu summary:hover { background: var(--tim-blue-soft); }

.nav-dropdown--nested > .nav-dropdown__menu {
  top: 0;
  left: calc(100% + 8px);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 800;
}

.language-switcher a {
  color: var(--tim-blue-dark);
  text-decoration: none;
}

.language-switcher span[aria-current="page"] { color: var(--tim-muted); }

.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-header-button {
  gap: 8px;
}

.payment-header-button__icon {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .34)) drop-shadow(0 2px 4px rgba(40, 64, 97, .2));
}

.button {
  min-height: 44px;
  padding: 5px 17px;
  border: 2px solid var(--tim-blue);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6fdff;
  color: var(--tim-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .12s ease,
    box-shadow .22s ease;
}

.button:hover,
.button--quiet:hover,
.button--primary:hover {
  background: var(--tim-blue);
  border-color: var(--tim-blue);
  color: #f6fdff;
  box-shadow: 0 10px 24px rgba(0, 68, 170, 0.18);
  transform: translateY(-1px);
}

.button:active,
.button--quiet:active,
.button--primary:active {
  background: var(--tim-blue-dark);
  border-color: var(--tim-blue-dark);
  color: #f6fdff;
  transform: translateY(1px) scale(.985);
  box-shadow: 0 5px 12px rgba(0, 68, 170, 0.14);
}

.button:focus-visible,
.button--quiet:focus-visible,
.button--primary:focus-visible {
  outline: 3px solid rgba(0, 68, 170, .2);
  outline-offset: 3px;
}

.button--quiet,
.button--primary {
  border-color: var(--tim-blue);
  background: #f6fdff;
  color: var(--tim-blue);
  box-shadow: none;
}

.site-settlement-control {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

.site-settlement-control--selected {
  border: 2px solid var(--tim-blue);
  border-radius: 12px;
  overflow: hidden;
  background: #f6fdff;
  box-shadow: none;
}

.site-settlement-control--selected:focus-within {
  outline: 3px solid rgba(0, 68, 170, .2);
  outline-offset: 3px;
}

.site-settlement-control--selected .site-settlement-trigger,
.site-settlement-control--selected .site-settlement-reset {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-settlement-control--selected .site-settlement-trigger {
  color: var(--tim-blue);
}

.site-settlement-control--selected .site-settlement-trigger strong {
  color: var(--tim-navy);
}

.site-settlement-control--selected .site-settlement-reset {
  position: relative;
  margin-left: 0;
  color: var(--tim-muted);
}

.site-settlement-control--selected .site-settlement-reset::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 1px;
  background: var(--tim-border);
  transition: background-color .18s ease;
}

.site-settlement-control--selected .site-settlement-trigger:hover {
  background: var(--tim-blue);
  color: #f6fdff;
  box-shadow: none;
  transform: none;
}

.site-settlement-control--selected .site-settlement-trigger:hover strong {
  color: #f6fdff;
}

.site-settlement-control--selected .site-settlement-trigger:active {
  background: var(--tim-blue-dark);
  color: #f6fdff;
  transform: none;
}

.site-settlement-control--selected .site-settlement-trigger:active strong {
  color: #f6fdff;
}

.site-settlement-control--selected .site-settlement-reset:hover {
  background: var(--tim-blue);
  color: #f6fdff;
  box-shadow: none;
  transform: none;
}

.site-settlement-control--selected .site-settlement-reset:hover::before {
  background: rgba(255, 255, 255, .45);
}

.site-settlement-control--selected .site-settlement-reset:active {
  background: var(--tim-blue-dark);
  color: #f6fdff;
  transform: none;
}

.site-settlement-control--selected .site-settlement-reset:active::before {
  background: rgba(255, 255, 255, .45);
}

.site-settlement-control--selected .site-settlement-trigger:focus-visible,
.site-settlement-control--selected .site-settlement-reset:focus-visible {
  outline: 0;
}

.site-settlement-trigger {
  min-width: 185px;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.site-settlement-control:not(.site-settlement-control--selected) .site-settlement-trigger:hover {
  border-color: var(--tim-blue);
  background: var(--tim-blue);
  color: #f6fdff;
  box-shadow: 0 10px 24px rgba(0, 68, 170, 0.18);
}

.site-settlement-control:not(.site-settlement-control--selected) .site-settlement-trigger:hover strong,
.site-settlement-control:not(.site-settlement-control--selected) .site-settlement-trigger:focus-visible strong {
  color: #f6fdff;
}

.site-settlement-trigger__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-settlement-trigger strong {
  display: block;
  overflow: hidden;
  color: var(--tim-navy);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-settlement-reset-form {
  display: flex;
  margin: 0;
}

.site-settlement-reset {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--tim-border);
  border-radius: 12px;
  background: var(--tim-white);
  color: var(--tim-muted);
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

.site-settlement-reset__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.site-settlement-control:not(.site-settlement-control--selected) .site-settlement-reset:hover {
  border-color: var(--tim-blue);
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
  box-shadow: 0 8px 20px rgba(0, 68, 170, .12);
  transform: translateY(-1px);
}

.site-settlement-control:not(.site-settlement-control--selected) .site-settlement-reset:active {
  border-color: var(--tim-blue-dark);
  background: var(--tim-blue);
  color: #f6fdff;
  transform: translateY(1px) scale(.97);
  box-shadow: none;
}

.site-settlement-control:not(.site-settlement-control--selected) .site-settlement-reset:focus-visible {
  outline: 3px solid rgba(0, 68, 170, .2);
  outline-offset: 3px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--tim-border);
  border-radius: 12px;
  background: var(--tim-white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--tim-navy);
  border-radius: 999px;
}


@media (min-width: 761px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 25px;
    min-height: 135px;
    padding: 10px 0 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .site-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: end;
  }

  .site-settlement-control {
    grid-column: 4;
    grid-row: 1;
    align-self: end;
    margin-left: 0;
  }

  .primary-nav {
    grid-column: 2 / 4;
    grid-row: 2;
    align-self: start;
  }

  .language-switcher {
    grid-column: 4;
    grid-row: 2;
    align-self: start;
    justify-self: end;
  }
}

.site-main-background {
  flex: 1 0 auto;
  background: rgba(245, 247, 250, .58);
}

@media (max-width: 760px) {
  body {
    background-position: center top;
    background-attachment: scroll;
  }
}

.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 100px;
  flex: 1 0 auto;
}

.page-shell h1,
.page-shell h2,
.page-shell h3 { color: var(--tim-navy); }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--tim-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tariff-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr);
  gap: 34px;
  align-items: stretch;
}

.tariff-hero__copy {
  display: none;
  padding: 18px 0 10px;
}

.tariff-hero h1 {
  max-width: 760px;
  margin: 0 0 7px;
  font-size: clamp(42px, 5.7vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}

.tariff-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--tim-muted);
  font-size: 18px;
  line-height: 1.65;
}

.location-card {
  display: none;
  padding: 24px;
  border-radius: 22px;
  background: var(--tim-navy);
  color: var(--tim-white);
  box-shadow: 0 18px 48px rgba(40, 64, 97, .18);
}

.location-card__label {
  display: block;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.location-card__value {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  margin-bottom: 20px;
}

.location-card__value strong {
  font-size: 22px;
  line-height: 1.2;
}

.location-card__pin,
.empty-state__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.location-card__pin svg,
.empty-state__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-card .button { width: 100%; }

.location-card__settlement-control {
  width: 100%;
  margin-left: 0;
}

.location-card__settlement-control .site-settlement-trigger {
  flex: 1 1 auto;
  min-width: 0;
}

.location-card__settlement-control .site-settlement-reset-form {
  flex: 0 0 auto;
}

.tariff-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 46px;
  padding: 7px;
  border: 1px solid var(--tim-border);
  border-radius: 18px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.customer-type-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}

.customer-type-button {
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--tim-muted);
  text-decoration: none;
  font-weight: 800;
  transition: background-color .15s ease, color .15s ease;
}

.customer-type-button > span {
  color: inherit;
  opacity: .55;
  font-size: 11px;
  letter-spacing: .08em;
}

.customer-type-button:hover {
  color: var(--tim-blue);
  background: var(--tim-blue-soft);
}

.customer-type-button--active {
  background: #284061;
  color: var(--tim-white);
}

.customer-type-button--active:hover {
  background: #284061;
  color: var(--tim-white);
}

.residential-picker {
  min-width: min(300px, 100%);
  padding: 10px 12px 0px 16px;
}

.residential-picker__label {
  display: block;
  margin-bottom: 7px;
  color: #212225;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.residential-picker__control {
  position: relative;
}

.residential-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 49px;
  padding: 0 16px 0 14px;
  border: 2px solid #0044AA;
  border-radius: 11px;
  outline: 0;
  background: #f6fdff;
  color: var(--tim-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  text-align: left;
  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .12s ease;
}

.residential-picker__trigger > span:first-child {
  min-width: 200px;
  padding-right: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.residential-picker__trigger:hover,
.residential-picker__trigger:focus-visible,
.residential-picker__trigger[aria-expanded="true"] {
  border-color: var(--tim-blue);
  background: var(--tim-blue);
  color: #f6fdff;
  box-shadow: none;
}

.residential-picker__trigger:active {
  border-color: var(--tim-blue-dark);
  background: var(--tim-blue-dark);
  color: #f6fdff;
  transform: translateY(1px) scale(.985);
}

.residential-picker__chevron {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-left: 14px;
  pointer-events: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.residential-picker__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--tim-border);
  border-radius: 11px;
  background: var(--tim-white);
  box-shadow: 0 12px 28px rgba(25, 51, 86, .16);
}

.residential-picker__menu[hidden] {
  display: none;
}

.residential-picker__option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 14px 0 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tim-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  text-align: left;
}

.residential-picker__option::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tim-blue);
  transform: translateY(-50%);
}

.residential-picker__option:hover,
.residential-picker__option:focus-visible {
  outline: 0;
  background: var(--tim-blue);
  color: #f6fdff;
}

.residential-picker__option:hover::before,
.residential-picker__option:focus-visible::before {
  background: #f6fdff;
}

.residential-picker__option--selected {
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.035em;
}

.section-heading__location {
  margin-left: auto;
}

.section-heading__location .site-settlement-trigger {
  margin-left: 0;
}

.section-heading__filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.residential-picker--inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.residential-picker--inline .residential-picker__label {
  margin: 0;
  white-space: nowrap;
}

.residential-picker--inline .residential-picker__control {
  min-width: 190px;
}

.section-heading__filters .section-heading__location {
  margin-left: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.content-grid--count-4 > .content-card:nth-child(4) {
  grid-column: 3 / span 2;
}

.content-grid--count-5 > .content-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.content-grid--count-5 > .content-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.content-card {
  position: relative;
  grid-column: span 2;
  grid-row: span 6;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-height: 360px;
  margin: 0;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  border-color: #CEDAF0;
  box-shadow: var(--tim-shadow);
}

.content-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.content-card__eyebrow {
  color: #212225;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.speed-badge {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
  font-size: 18px;
  font-weight: 900;
}

.content-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-align: center;
}

.content-card__price {
  width: fit-content;
  min-width: 180px;
  min-height: 0;
  margin: 0 auto 4px;
  padding: 14px 24px 12px;
  border-radius: 16px;
  background: var(--tim-blue-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--tim-muted);
  text-align: center;
}

.content-card__price strong {
  color: var(--tim-blue);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.04em;
}

.content-card__price span {
  margin-top: 2px;
  color: var(--tim-navy);
  font-size: 15px;
  font-weight: 800;
}

.content-card__monthly-equivalent {
  min-height: 20px;
  margin: 6px 0 10px;
  color: #212225;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.content-card__monthly-equivalent--empty {
  visibility: hidden;
}

.content-card__features {
  min-height: 72px;
}

.content-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-card li {
  position: relative;
  padding-left: 19px;
  color: #212225;
  font-size: 14px;
  line-height: 1.45;
}

.content-card li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tim-blue);
}

.content-card__cta {
  width: 100%;
  margin-top: 18px;
  min-height: 48px;
  border: 2px solid var(--tim-blue);
  background: #f6fdff;
  color: var(--tim-blue);
  box-shadow: none;
  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .12s ease,
    box-shadow .22s ease;
}

.content-card__cta:hover {
  background: var(--tim-blue);
  border-color: var(--tim-blue);
  color: #f6fdff;
  box-shadow: 0 10px 24px rgba(0, 68, 170, 0.18);
}

.content-card__cta:active {
  background: var(--tim-blue-dark);
  border-color: var(--tim-blue-dark);
  color: #f6fdff;
  transform: translateY(1px) scale(.985);
  box-shadow: 0 5px 12px rgba(0, 68, 170, 0.14);
}

.content-card__cta:focus-visible {
  outline: 3px solid rgba(0, 68, 170, .2);
  outline-offset: 3px;
}

.local-faq {
  margin: 35px 0;
  padding: 25px;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.local-faq__heading {
  margin-bottom: 18px;
}

.local-faq__heading h2 {
  margin: 0;
  font-size: 24px;
}

.local-faq__items {
  display: grid;
  gap: 10px;
}

.local-faq__item {
  border: 1px solid var(--tim-border);
  border-radius: 14px;
  background: var(--tim-surface);
  overflow: hidden;
}

.local-faq__item summary {
  position: relative;
  padding: 16px 48px 16px 16px;
  color: var(--tim-navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.local-faq__item summary::-webkit-details-marker {
  display: none;
}

.local-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--tim-blue);
  font-size: 24px;
  font-weight: 500;
}

.local-faq__item[open] summary::after {
  content: "−";
}

.local-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--tim-ink);
  line-height: 1.65;
}

.local-faq__item summary:focus-visible {
  outline: 3px solid rgba(0, 68, 170, .2);
  outline-offset: -3px;
}

.related-settlements {
  margin: 35px 0;
  padding: 25px;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.related-settlements__heading {
  margin-bottom: 18px;
}

.related-settlements__heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.related-settlements__heading p {
  max-width: 760px;
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.6;
}

.related-settlements__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-settlements__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--tim-border);
  border-radius: 999px;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .12s ease;
}

.related-settlements__links a:hover {
  border-color: var(--tim-blue);
  background: var(--tim-blue);
  color: var(--tim-white);
}

.related-settlements__links a:active {
  transform: translateY(1px);
}

.related-settlements__links a:focus-visible {
  outline: 3px solid rgba(0, 68, 170, .2);
  outline-offset: 2px;
}

.tariff-policy {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: 30px;
  margin: 35px 0 35px;
  padding: 25px;
  border-radius: 20px;
  background: var(--tim-blue-soft);
}

.tariff-policy h2 { margin: 0; font-size: 24px; }

.tariff-policy p {
  margin: 0;
  color: var(--tim-ink);
  line-height: 1.65;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 45px 24px;
  border: 1px dashed #C9D5E7;
  border-radius: 22px;
  background: var(--tim-white);
  text-align: center;
}

.empty-state__icon {
  margin-bottom: 8px;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
}

.empty-state h3 {
  margin: 0;
  font-size: 24px;
}

.empty-state p {
  max-width: 460px;
  margin: 0 0 12px;
  color: var(--tim-muted);
  line-height: 1.55;
}

.settlement-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--tim-ink);
  box-shadow: 0 28px 90px rgba(40, 64, 97, .28);
}

.settlement-dialog::backdrop {
  background: rgba(11, 24, 42, .58);
  backdrop-filter: blur(5px);
}

.settlement-dialog__panel {
  max-height: min(760px, calc(100dvh - 28px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: var(--tim-white);
}

.settlement-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.settlement-dialog h2 {
  margin: 0 0 8px;
  color: var(--tim-navy);
  font-size: 32px;
  letter-spacing: -.035em;
}

.settlement-dialog__header p {
  max-width: 520px;
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.55;
}

.dialog-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--tim-border);
  border-radius: 11px;
  background: var(--tim-white);
  color: var(--tim-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.settlement-search {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.settlement-search > span {
  color: var(--tim-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.settlement-search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--tim-border);
  border-radius: 13px;
  outline: 0;
  color: var(--tim-navy);
  background: var(--tim-surface);
}

.settlement-search input:focus {
  border-color: var(--tim-blue);
  box-shadow: 0 0 0 4px rgba(0, 68, 170, .1);
}

.settlement-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.settlement-group {
  display: grid;
  gap: 9px;
}

.settlement-group[hidden] {
  display: none !important;
}

.settlement-group__title {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tim-border);
  color: var(--tim-navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.settlement-group__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.settlement-option {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 11px;
  border: 1px solid var(--tim-border);
  border-radius: 14px;
  background: var(--tim-white);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.settlement-option:hover,
.settlement-option--active {
  border-color: #B8CBEB;
  background: var(--tim-blue-soft);
  transform: translateY(-1px);
}

.settlement-option__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
}

.settlement-option__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settlement-option[hidden] {
  display: none !important;
}

.settlement-option strong {
  display: block;
  color: var(--tim-navy);
  font-size: 14px;
}

.settlement-option small {
  display: block;
  margin-top: 2px;
  color: var(--tim-muted);
  font-size: 10px;
}

.settlement-option__arrow {
  color: var(--tim-blue);
  font-size: 18px;
}

.settlement-empty {
  margin: 16px 0 0;
  color: var(--tim-muted);
  text-align: center;
}

.payment-dialog {
  width: min(980px, calc(100% - 28px));
  max-height: min(820px, calc(100dvh - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--tim-ink);
  box-shadow: 0 28px 90px rgba(40, 64, 97, .28);
}

.payment-dialog::backdrop {
  background: rgba(11, 24, 42, .58);
  backdrop-filter: blur(5px);
}

.payment-dialog__panel {
  max-height: min(820px, calc(100dvh - 28px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: var(--tim-white);
}

.payment-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.payment-dialog__header h2 {
  max-width: 820px;
  margin: 0;
  color: var(--tim-navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.payment-dialog__content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
  border: 1px solid #b8d2ef;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef6ff 0%, #dcecff 100%);
}

.payment-dialog__copy h3 {
  margin: 0 0 20px;
  color: var(--tim-blue-dark);
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.payment-dialog__copy ul {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding-left: 24px;
  color: #2f3c53;
}

.payment-dialog__copy li {
  font-size: 17px;
  line-height: 1.48;
}

.payment-dialog__submit {
  min-width: 190px;
  min-height: 52px;
  font-size: 18px;
}

.payment-dialog__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-dialog__visual img {
  display: block;
  width: min(100%, 420px);
  height: auto;
}

.account-dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--tim-ink);
  box-shadow: 0 28px 90px rgba(40, 64, 97, .28);
}

.account-dialog::backdrop {
  background: rgba(11, 24, 42, .58);
  backdrop-filter: blur(5px);
}

.account-dialog__panel {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: var(--tim-white);
}

.account-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.account-dialog__header h2 {
  margin: 0 0 8px;
  color: var(--tim-navy);
  font-size: 32px;
  letter-spacing: -.035em;
}

.account-dialog__header p {
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.55;
}

.account-login-form {
  display: grid;
  gap: 16px;
}

.account-login-form label {
  display: grid;
  gap: 7px;
}

.account-login-form label > span {
  color: var(--tim-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-login-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--tim-border);
  border-radius: 13px;
  outline: 0;
  color: var(--tim-navy);
  background: var(--tim-surface);
}

.account-login-form input:focus {
  border-color: var(--tim-blue);
  box-shadow: 0 0 0 4px rgba(0, 68, 170, .1);
}

.account-login-form .button {
  width: 100%;
  margin-top: 4px;
}

.connect-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(860px, calc(100dvh - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--tim-ink);
  box-shadow: 0 28px 90px rgba(40, 64, 97, .28);
}

.connect-dialog::backdrop {
  background: rgba(11, 24, 42, .58);
  backdrop-filter: blur(5px);
}

.connect-dialog__panel {
  max-height: min(860px, calc(100dvh - 28px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: var(--tim-white);
}

.connect-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.connect-dialog__header h2 {
  margin: 0;
  color: var(--tim-navy);
  font-size: 32px;
  letter-spacing: -.035em;
}

.connect-manager {
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--tim-border);
  border-radius: 16px;
  background: var(--tim-blue-soft);
}

.connect-manager strong {
  color: var(--tim-navy);
  font-size: 17px;
}

.connect-manager a {
  width: fit-content;
  color: var(--tim-blue);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.connect-manager span {
  color: var(--tim-muted);
  font-size: 13px;
  line-height: 1.5;
}

.connect-request-form {
  display: grid;
  gap: 16px;
}

.connect-request-form__field {
  display: grid;
  gap: 7px;
}

.connect-request-form__field > span {
  color: var(--tim-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.connect-settlement-trigger {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--tim-border);
  border-radius: 13px;
  background: var(--tim-surface);
  color: var(--tim-navy);
  cursor: pointer;
  text-align: left;
}

.connect-settlement-trigger:hover,
.connect-settlement-trigger:focus-visible {
  border-color: var(--tim-blue);
  box-shadow: 0 0 0 4px rgba(0, 68, 170, .08);
  outline: 0;
}

.connect-settlement-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--tim-ink);
  box-shadow: 0 28px 90px rgba(40, 64, 97, .28);
}

.connect-settlement-dialog::backdrop {
  background: rgba(11, 24, 42, .58);
  backdrop-filter: blur(5px);
}

.connect-settlement-dialog__panel {
  max-height: min(760px, calc(100dvh - 28px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: var(--tim-white);
}

.connect-settlement-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.connect-settlement-dialog__header h2 {
  margin: 0;
  color: var(--tim-navy);
  font-size: 30px;
  letter-spacing: -.035em;
}

.connect-settlement-option {
  width: 100%;
  border: 1px solid var(--tim-border);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.connect-request-form label {
  display: grid;
  gap: 7px;
}

.connect-request-form label > span {
  color: var(--tim-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.connect-request-form input,
.connect-request-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--tim-border);
  border-radius: 13px;
  outline: 0;
  color: var(--tim-navy);
  background: var(--tim-surface);
}

.connect-request-form input:focus,
.connect-request-form select:focus {
  border-color: var(--tim-blue);
  box-shadow: 0 0 0 4px rgba(0, 68, 170, .08);
}

.connect-request-form__status {
  min-height: 22px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.connect-request-form__status.is-success { color: #257a31; }
.connect-request-form__status.is-error { color: #b42318; }

.connect-request-form .button {
  width: 100%;
}

.connect-request-form .button:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.promotion-carousel {
  position: relative;
  min-height: 220px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--tim-blue-soft);
}

.promotion-slide {
  min-height: 220px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.promotion-slide[hidden] { display: none; }

.promotion-slide--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tim-muted);
}

.promotion-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 20px 20px;
}

.promotion-carousel__controls button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--tim-border);
  border-radius: 10px;
  background: var(--tim-white);
  cursor: pointer;
}

@media (max-width: 850px) {
  .site-header__inner {
    position: relative;
    column-gap: 14px;
    row-gap: 25px;
  }

  .menu-toggle {
    display: block;
    grid-column: 4;
    grid-row: 2;
    justify-self: end;
    margin-left: 0;
  }

  .language-switcher {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    margin-left: 0;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--tim-border);
    border-radius: 16px;
    background: var(--tim-white);
    box-shadow: var(--tim-shadow);
  }

  .primary-nav.is-open { display: flex; }

  .primary-nav a,
  .primary-nav summary { padding: 12px 14px; }

  .nav-dropdown__menu,
  .nav-dropdown--nested > .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin: 0 8px 8px;
    box-shadow: none;
    border-radius: 10px;
  }

  .site-settlement-control {
    margin-left: 0;
  }

  .tariff-hero {
    grid-template-columns: 1fr;
  }

  .tariff-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .residential-picker { padding-left: 12px; }
}

@media (max-width: 760px) {
  .site-header__inner,
  .page-shell {
    width: min(100% - 28px, 1240px);
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }

  .brand { order: 1; }

  .brand__logo {
    margin: 10px 0 0 0;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .menu-toggle {
    order: 3;
    margin-left: 0;
  }

  .site-actions {
    order: 4;
    width: 100%;
  }

  .site-actions .button { flex: 1; }

  .site-settlement-control {
    order: 5;
    width: 100%;
  }

  .site-settlement-trigger {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-settlement-reset-form {
    flex: 0 0 auto;
  }

  .page-shell { padding-top: 38px; }

  .tariff-hero h1 { font-size: clamp(38px, 13vw, 56px); }

  .tariff-hero p { font-size: 16px; }

  .customer-type-buttons {
    grid-template-columns: 1fr;
  }


  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading__filters {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .residential-picker--inline {
    width: 100%;
    justify-content: space-between;
  }

  .residential-picker--inline .residential-picker__control {
    flex: 1 1 auto;
    min-width: 0;
  }

  .section-heading__filters .section-heading__location {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-grid > .content-card,
  .content-grid--count-4 > .content-card:nth-child(4),
  .content-grid--count-5 > .content-card:nth-child(4),
  .content-grid--count-5 > .content-card:nth-child(5) {
    grid-column: auto;
  }

  .tariff-policy { grid-template-columns: 1fr; }

  .settlement-dialog__panel,
  .account-dialog__panel,
  .payment-dialog__panel { padding: 22px; }

  .settlement-dialog h2,
  .account-dialog__header h2,
  .payment-dialog__header h2 { font-size: 27px; }

  .payment-dialog__content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .payment-dialog__copy li { font-size: 15px; }

  .payment-dialog__visual {
    order: -1;
  }

  .payment-dialog__visual img {
    width: min(100%, 320px);
  }

  .payment-dialog__submit {
    width: 100%;
  }

  .settlement-group__options { grid-template-columns: 1fr; }
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  min-height: 470px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--tim-navy);
  color: var(--tim-white);
  box-shadow: 0 24px 70px rgba(40, 64, 97, .18);
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 58px;
}

.home-hero__copy h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--tim-white);
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.home-hero__copy p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.68);
  font-size: 18px;
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button--outline {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: var(--tim-white);
}

.button--outline:hover {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.12);
}

.home-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 68% 34%, rgba(255,255,255,.12) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 72%, rgba(255,255,255,.08) 0 1px, transparent 2px),
    linear-gradient(145deg, #0050C8 0%, var(--tim-blue) 48%, #003783 100%);
}

.home-hero__visual::before,
.home-hero__visual::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.home-hero__visual::before { width: 500px; height: 500px; }
.home-hero__visual::after { width: 280px; height: 280px; }

.home-hero__logo {
  position: relative;
  z-index: 3;
  display: block;
  width: min(330px, 66%);
  height: auto;
  padding: 24px 30px;
  border-radius: 28px;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

.home-hero__visual small {
  position: absolute;
  z-index: 3;
  bottom: 54px;
  left: 54px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-hero__signal {
  position: absolute;
  z-index: 1;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.home-hero__signal--one { width: 210px; height: 210px; }
.home-hero__signal--two { width: 320px; height: 320px; }
.home-hero__signal--three { width: 430px; height: 430px; }

.home-services { margin-top: 62px; }

.service-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: var(--tim-white);
  text-decoration: none;
  box-shadow: var(--tim-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #C7D5EC;
  box-shadow: var(--tim-shadow);
}

.service-card--featured {
  background: var(--tim-blue);
  border-color: var(--tim-blue);
  color: var(--tim-white);
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
}

.service-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__icon {
  overflow: hidden;
}

.service-card--featured .service-card__icon {
  background: rgba(255,255,255,.12);
  color: var(--tim-white);
}

.service-card h3 {
  margin: auto 0 10px;
  color: inherit;
  font-size: 28px;
  letter-spacing: -.035em;
}

.service-card p {
  max-width: 340px;
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.55;
}

.service-card--featured p { color: rgba(255,255,255,.68); }

.service-card__arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 22px;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 44px;
}

.page-intro--large {
  max-width: 900px;
  margin-bottom: 52px;
}

.page-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}

.page-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--tim-muted);
  font-size: 18px;
  line-height: 1.65;
}

.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.news-section-heading h2 {
  margin: 7px 0 0;
  color: var(--tim-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.news-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tim-border);
  border-radius: 24px;
  background: var(--tim-navy);
  box-shadow: var(--tim-shadow);
}

.news-carousel__slide {
  position: absolute;
  inset: 0;
  display: none;
  color: var(--tim-white);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity .35s ease, transform .35s ease;
}

.news-carousel__slide.is-active {
  position: relative;
  inset: auto;
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.news-carousel__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #172b47;
}

.news-carousel__media img {
  display: block;
  width: 100%;
  height: auto;
}

.news-carousel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 28, 49, .05) 30%,
    rgba(13, 28, 49, .82) 100%
  );
  pointer-events: none;
}

.news-carousel__overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(26px, 4vw, 54px);
}

.news-carousel__overlay time {
  color: var(--tim-white);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
}

.news-detail time,
.news-list-card time {
  color: var(--tim-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.news-carousel__overlay h3 {
  max-width: 880px;
  margin: 12px 0 18px;
  color: var(--tim-white);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .32);
}

.news-carousel__link {
  color: var(--tim-white);
  font-weight: 400;
}

.news-carousel__controls {
  display: flex;
  gap: 8px;
}

.news-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 42px;
}

.news-carousel__dots button {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #CEDAF0;
  cursor: pointer;
}

.news-carousel__dots button.is-active {
  background: var(--tim-blue);
}

.news-detail {
  width: 100%;
  margin: 0 0 42px;
  padding: 38px;
  border: 1px solid var(--tim-border);
  border-radius: 24px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.news-detail h1,
.news-detail h2 {
  margin: 12px 0 24px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}

.news-detail__image {
  width: 100%;
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tim-soft);
}

.news-detail__image img {
  display: block;
  width: 100%;
  height: auto;
}

.news-detail__body {
  max-width: 860px;
  color: var(--tim-muted);
  font-size: 17px;
  line-height: 1.75;
}

.news-list {
  margin-top: 10px;
}

.news-list__items {
  display: grid;
  gap: 14px;
}

.news-list-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 168px;
  overflow: hidden;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.news-list-card:hover {
  transform: translateY(-2px);
  border-color: #CEDAF0;
  box-shadow: var(--tim-shadow);
}

.news-list-card__image {
  width: 300px;
  height: 168px;
  overflow: hidden;
  background: var(--tim-soft);
}

.news-list-card__image img {
  display: block;
  width: 300px;
  height: 168px;
  object-fit: cover;
}

.news-list-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.news-list-card__content h3 {
  margin: 9px 0 14px;
  color: var(--tim-navy);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.news-list-card__content > span {
  color: var(--tim-blue);
  font-size: 13px;
  font-weight: 900;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
}

.news-pagination__page {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--tim-border);
  border-radius: 12px;
  color: var(--tim-navy);
  text-decoration: none;
  font-weight: 900;
}

.news-pagination__page:hover,
.news-pagination__page.is-active {
  border-color: var(--tim-blue);
  background: var(--tim-blue);
  color: var(--tim-white);
}


.news-card time {
  display: block;
  margin-bottom: 28px;
  color: var(--tim-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.news-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.news-card__image {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 1px solid var(--tim-border);
  border-radius: 16px;
  background: var(--tim-soft);
}

.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__heading h2 {
  margin: 0;
}

.news-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.news-card p {
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.contact-card {
  min-height: 300px;
  padding: 27px;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.contact-card--main {
  background: var(--tim-navy);
  color: var(--tim-white);
}

.contact-card__label {
  display: block;
  margin-bottom: 45px;
  color: var(--tim-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-card--main .contact-card__label { color: #8DB7FF; }

.contact-card h2 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 25px;
  letter-spacing: -.025em;
}

.contact-card p {
  margin: 0 0 18px;
  color: var(--tim-muted);
  line-height: 1.55;
}

.contact-card--main p { color: rgba(255,255,255,.65); }

.contact-link,
.contact-phone {
  color: var(--tim-blue);
  font-weight: 800;
  text-decoration: none;
}

.contact-link span { margin-left: 7px; }

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tim-border);
  font-size: 13px;
}

.contact-list a {
  color: var(--tim-blue);
  font-weight: 800;
  text-decoration: none;
}

.contact-hours { font-size: 12px; }

.television-provider-page {
  width: 100%;
}

.television-provider-media {
  display: block;
  width: 100%;
}

.television-provider-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.provider-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--tim-border);
  border-radius: 22px;
  background: var(--tim-white);
  text-decoration: none;
  box-shadow: var(--tim-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tim-shadow);
}

.provider-card--dark {
  background: var(--tim-navy);
  color: var(--tim-white);
}

.provider-card__content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.provider-card__identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.provider-card__logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: 145px;
  flex: 0 0 auto;
  object-fit: contain;
}

.provider-card__logo--megogo {
  max-width: 155px;
}

.provider-card h2 {
  margin: 0 0 7px;
  color: inherit;
  font-size: 34px;
  letter-spacing: -.04em;
}

.provider-card p {
  margin: 0;
  color: var(--tim-muted);
  font-size: 13px;
}

.provider-card--dark p { color: rgba(255,255,255,.62); }

.provider-card__arrow {
  align-self: flex-end;
  font-size: 25px;
  color: var(--tim-blue);
}

.provider-card--dark .provider-card__arrow { color: #8DB7FF; }

.placeholder-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 190px;
  padding: 32px;
  border: 1px solid var(--tim-border);
  border-radius: 22px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.placeholder-panel__index {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
}

.placeholder-panel h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.placeholder-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .home-hero,
  .contact-layout { grid-template-columns: 1fr; }

  .home-hero__visual { min-height: 300px; }

  .service-grid,
  .provider-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .home-hero__copy { padding: 38px 26px; }
  .home-hero__copy h1 { font-size: clamp(39px, 12vw, 56px); }
  .home-hero__visual { min-height: 250px; }
  .home-hero__logo {
    width: min(280px, 72%);
    padding: 18px 22px;
    border-radius: 22px;
  }
  .home-hero__visual small { bottom: 28px; left: 28px; }

  .service-grid,
  .provider-grid,
  .news-grid { grid-template-columns: 1fr; }
  .news-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-carousel__overlay {
    padding: 24px;
  }

  .news-carousel__overlay h3 {
    margin-bottom: 14px;
    font-size: 31px;
  }

  .news-list-card {
    grid-template-columns: 1fr;
  }

  .news-list-card__image,
  .news-list-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 168;
  }

  .news-detail {
    padding: 22px;
    border-radius: 18px;
  }

  .service-card,
  .provider-card { min-height: 220px; }

  .provider-card__identity {
    gap: 14px;
  }

  .provider-card__logo {
    height: 64px;
    max-width: 130px;
  }

  .contact-card { min-height: 0; }

  .placeholder-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

.site-footer {
  margin-top: 0px;
  background: var(--tim-navy);
  color: var(--tim-white);
}

.site-footer__inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-footer__brand {
  flex: 0 0 auto;
  display: block;
}

.site-footer__brand img {
  display: block;
  width: 122px;
  height: 110px;
  object-fit: contain;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  flex: 1 1 auto;
}

.site-footer__nav a {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__nav a:hover { color: var(--tim-white); }

.site-footer__note {
  color: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-footer__inner {
    width: min(100% - 28px, 1240px);
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

/* Center incomplete desktop rows while preserving equal card widths. */
@media (min-width: 761px) {
  .content-grid > .content-card:nth-child(4):last-child {
    grid-column: 3 / span 2;
  }

  .content-grid > .content-card:nth-child(4):nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .content-grid > .content-card:nth-child(5):last-child {
    grid-column: 4 / span 2;
  }
}


/* About page */
.about-page {
  display: grid;
  gap: 58px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
  gap: 18px;
}

.about-story__main,
.about-stat,
.about-list-card,
.about-services,
.about-clients,
.about-contact {
  border: 1px solid var(--tim-border);
  border-radius: 22px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.about-story__main {
  padding: 34px;
  background: var(--tim-navy);
  color: var(--tim-white);
}

.about-label {
  display: block;
  margin-bottom: 28px;
  color: #8DB7FF;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-story__main p {
  max-width: 820px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  gap: 12px;
}

.about-stat {
  min-height: 120px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-stat__icon {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
}

.about-stat__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-stat strong {
  color: var(--tim-blue);
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.04em;
}

.about-stat__plus {
  display: inline;
  margin: 0;
  color: inherit !important;
  font-size: 1em !important;
  line-height: inherit !important;
}

.about-stat span {
  margin-top: 9px;
  color: var(--tim-muted);
  font-size: 13px;
  line-height: 1.4;
}

.about-stat small {
  margin-top: 3px;
  color: var(--tim-muted);
  font-size: 12px;
  line-height: 1.35;
}

.about-section {
  display: grid;
  gap: 24px;
}

.about-section .section-heading {
  margin-bottom: 0;
}

.about-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-list-card {
  min-height: 180px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.about-list-card__icon {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.about-list-card h3 {
  margin: 0 0 9px;
  color: var(--tim-ink);
  font-size: 20px;
  line-height: 1.2;
}

.about-list-card p {
  margin: 0;
  color: var(--tim-muted);
  line-height: 1.6;
}

.about-services {
  padding: 30px;
}

.about-services ul,
.about-client-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.about-services li {
  position: relative;
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid var(--tim-border);
  color: var(--tim-ink);
  line-height: 1.5;
}

.about-services li::before {
  content: "";
  position: absolute;
  top: 1.35em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tim-blue);
}

.about-clients {
  padding: 30px;
}

.about-clients > p {
  margin: 0 0 24px;
  color: var(--tim-muted);
  line-height: 1.6;
}

.about-client-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.about-client-columns li {
  padding: 9px 0 9px 18px;
  position: relative;
  color: var(--tim-ink);
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid var(--tim-border);
}

.about-client-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tim-blue);
}

.about-clients__note {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  font-size: 13px;
}

.about-contact {
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 42px;
  background: var(--tim-navy);
  color: var(--tim-white);
}

.about-contact h2 {
  margin: 0 0 16px;
  color: var(--tim-white);
  font-size: 29px;
  letter-spacing: -.03em;
}

.about-contact p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}

.about-contact .eyebrow {
  color: #8DB7FF;
}

.about-contact a {
  color: #8DB7FF;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .about-story,
  .about-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-stat {
    min-height: 104px;
    padding: 14px 18px;
    gap: 14px;
  }

  .about-stat__icon {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .about-stat strong {
    font-size: 27px;
  }

  .about-list-grid,
  .about-services ul,
  .about-client-columns {
    grid-template-columns: 1fr;
  }

  .about-story__main,
  .about-stat,
  .about-list-card,
  .about-services,
  .about-clients,
  .about-contact {
    border-radius: 18px;
  }

  .about-story__main,
  .about-services,
  .about-clients,
  .about-contact {
    padding: 24px;
  }

  .about-story__main p {
    font-size: 16px;
  }

  .about-list-card {
    align-items: flex-start;
    gap: 20px;
  }

  .about-list-card__icon {
    width: 76px;
    height: 76px;
  }
}

/* Additional services */
.additional-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.additional-service-card {
  min-height: 190px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  border: 1px solid var(--tim-border);
  border-radius: 22px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.additional-service-card:hover {
  transform: translateY(-3px);
  border-color: #CEDAF0;
  box-shadow: var(--tim-shadow);
}
.additional-service-card__icon {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--tim-blue);
  overflow: hidden;
}
.additional-service-card__icon svg,
.additional-service-card__icon img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.additional-service-card__icon svg {
  padding: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.additional-service-card__body {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.additional-service-card__body strong {
  color: var(--tim-navy);
  font-size: 21px;
}
.additional-service-card__body span {
  color: var(--tim-muted);
  font-size: 14px;
  line-height: 1.55;
}
.additional-service-card__arrow {
  margin-left: auto;
  color: var(--tim-blue);
  font-size: 25px;
  font-weight: 700;
}
.speedtest-panel {
  max-width: 900px;
  padding: 36px;
  border: 1px solid var(--tim-border);
  border-radius: 26px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}
.speedtest-panel__dial {
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
  display: grid;
  place-items: center;
  border: 12px solid var(--tim-blue-soft);
  border-top-color: var(--tim-blue);
  border-radius: 50%;
  color: var(--tim-blue);
  font-size: 30px;
  font-weight: 900;
}
.speedtest-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.speedtest-panel__metrics > div {
  padding: 20px;
  border-radius: 16px;
  background: var(--tim-surface);
  text-align: center;
}
.speedtest-panel__metrics span,
.speedtest-panel__metrics small {
  display: block;
  color: var(--tim-muted);
}
.speedtest-panel__metrics strong {
  display: inline-block;
  margin-top: 7px;
  color: var(--tim-navy);
  font-size: 34px;
}
.speedtest-panel > p {
  margin: 26px 0 0;
  color: var(--tim-muted);
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .additional-services-grid,
  .speedtest-panel__metrics { grid-template-columns: 1fr; }
  .additional-service-card { min-height: 150px; padding: 22px; }
  .additional-service-card__icon { width: 78px; height: 78px; flex-basis: 78px; }
  .additional-service-card__icon svg,
  .additional-service-card__icon img { width: 78px; height: 78px; }
  .speedtest-panel { padding: 24px; }
}

.speedtest-panel__state {
  margin: -12px 0 24px;
  color: var(--tim-muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.speedtest-panel__start {
  display: flex;
  width: min(360px, 100%);
  margin: 28px auto 0;
}
.speedtest-panel__note {
  min-height: 24px;
}
.speedtest-panel__dial {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.speedtest-panel__dial small {
  color: var(--tim-muted);
  font-size: 11px;
}
.speedtest-panel__start:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
}


.home-banner {
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--tim-navy);
  box-shadow: 0 24px 70px rgba(40, 64, 97, .18);
}

.home-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.promotion-slide__link {
  display: block;
  min-height: 220px;
  color: inherit;
  text-decoration: none;
}

.promotion-slide__link:not(:has(.promotion-slide__image)) {
  padding: 34px 36px;
}

.promotion-slide__image {
  display: block;
  width: 100%;
  height: auto;
}

.promotion-carousel:has(.promotion-slide__image) {
  min-height: 0;
}

.promotion-carousel:has(.promotion-slide__image) .promotion-slide {
  min-height: 0;
}

.promotion-carousel:has(.promotion-slide__image) .promotion-carousel__controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 0;
}

.promotion-carousel:has(.promotion-slide__image) .promotion-carousel__controls span {
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  color: var(--tim-navy);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.promotion-detail {
  max-width: 1120px;
}

.promotion-detail__back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--tim-blue);
  font-weight: 800;
  text-decoration: none;
}

.promotion-detail__image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 24px;
  box-shadow: var(--tim-shadow);
}

.promotion-detail__content {
  max-width: 860px;
  padding: 0 4px;
}

.promotion-detail__content h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.04em;
}

.promotion-detail__text {
  margin-bottom: 28px;
  color: var(--tim-muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .home-banner,
  .promotion-carousel,
  .promotion-detail__image {
    border-radius: 18px;
  }

  .promotion-slide__link:not(:has(.promotion-slide__image)) {
    padding: 26px 22px;
  }

  .promotion-detail__text {
    font-size: 16px;
  }
}


.legal-page {
  max-width: 1040px;
  margin: 0 auto;
}

.legal-page__header {
  margin-bottom: 28px;
  padding: 32px 34px;
  border: 1px solid var(--tim-border);
  border-radius: 24px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.legal-page__header h1 {
  margin: 6px 0 10px;
  color: var(--tim-navy);
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -.04em;
}

.legal-page__header p {
  margin: 0;
  color: var(--tim-muted);
  font-size: 17px;
  line-height: 1.6;
}

.legal-document {
  padding: 34px;
  border: 1px solid var(--tim-border);
  border-radius: 24px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.legal-document__body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #33415a;
  font-size: 16px;
  line-height: 1.72;
}

@media (max-width: 760px) {
  .legal-page__header,
  .legal-document {
    padding: 22px;
    border-radius: 18px;
  }

  .legal-document__body {
    font-size: 15px;
    line-height: 1.65;
  }
}


.page-intro.page-intro--large {
  display: none;
}

.tariff-hero__copy,
.page-intro,
.page-intro--large {
  display: none;
}



/* Keep the footer at the viewport bottom on short pages. */
.site-footer {
  flex-shrink: 0;
}


.promotion-carousel {
  box-shadow: var(--tim-shadow-soft);
}


/* Trinity television tariff cards */
.trinity-tariffs {
  width: 100%;
}

.trinity-tariffs > h1 {
  margin: 0 0 28px;
  color: var(--tim-navy);
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.035em;
}

.trinity-tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.trinity-tariff-card {
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(73, 238, 255, .45);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 78%, rgba(28, 196, 209, .34), transparent 34%),
    linear-gradient(180deg, #082f43 0%, #0b5364 55%, #14b8c4 100%);
  box-shadow:
    inset 0 0 0 2px rgba(39, 233, 255, .25),
    0 16px 38px rgba(11, 67, 85, .22);
  color: #fff;
}

.trinity-tariff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 25%, rgba(255,255,255,.03));
}

.trinity-tariff-card h2 {
  position: relative;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.05;
  text-align: center;
}

.trinity-tariff-card__price {
  position: relative;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.trinity-tariff-card__price strong {
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.1;
}

.trinity-tariff-card__price del {
  margin-top: 5px;
  color: rgba(215, 241, 246, .65);
  font-size: 18px;
  font-weight: 800;
}

.trinity-tariff-card__features {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trinity-tariff-card__features li,
.trinity-tariff-card__locked {
  position: relative;
  margin: 0;
  padding-left: 29px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.trinity-tariff-card__features li::before {
  content: "✓";
  position: absolute;
  top: -.1em;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #26dc98;
  color: #073b4a;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 0 12px rgba(38, 220, 152, .55);
}

.trinity-tariff-card__divider {
  position: relative;
  height: 1px;
  margin: 22px 0;
  background: rgba(53, 229, 240, .7);
}

.trinity-tariff-card__locked {
  color: rgba(224, 244, 247, .58);
}

.trinity-tariff-card__locked::before {
  content: "▢";
  position: absolute;
  left: 1px;
  top: 0;
  color: #1bc5d3;
  font-size: 22px;
  font-weight: 700;
}

.trinity-tariff-card__button {
  position: relative;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: rgba(31, 204, 217, .28);
  color: #062b3d;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 20px rgba(255,255,255,.05);
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}

.trinity-tariff-card__button:hover {
  background: #2bd3df;
  box-shadow: 0 8px 22px rgba(0, 30, 42, .22);
  transform: translateY(-1px);
}

.trinity-tariff-card__button:active {
  transform: translateY(1px);
}

.trinity-tariff-card__button:focus-visible {
  outline: 3px solid rgba(255,255,255,.72);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .trinity-tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trinity-tariff-card {
    min-height: 610px;
  }
}

@media (max-width: 640px) {
  .trinity-tariff-grid {
    grid-template-columns: 1fr;
  }

  .trinity-tariff-card {
    min-height: 0;
    padding: 25px 20px 20px;
  }

  .trinity-tariff-card__button {
    margin-top: 26px;
  }
}


/* OmegaTV tariff cards */
.omega-tariffs {
  width: 100%;
}

.omega-tariffs > h1 {
  margin: 0 0 28px;
  color: var(--tim-navy);
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.035em;
}

.omega-tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.omega-tariff-card {
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 22px;
  border: 1px solid #dbe6ef;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--tim-shadow-soft);
  overflow: hidden;
}

.omega-tariff-card--premium {
  border-color: #b9d7ee;
}

.omega-tariff-card--maximum {
  border-color: #7fbce6;
  background: linear-gradient(180deg, #f9fdff 0%, #edf8ff 100%);
}

.omega-tariff-card__badge {
  align-self: center;
  margin: -4px 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tim-blue-soft);
  color: var(--tim-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.omega-tariff-card h2 {
  margin: 0 0 16px;
  color: var(--tim-navy);
  font-size: 30px;
  text-align: center;
}

.omega-tariff-card__price {
  margin-bottom: 22px;
  text-align: center;
}

.omega-tariff-card__price strong {
  color: var(--tim-blue-dark);
  font-size: 29px;
  line-height: 1;
}

.omega-tariff-card__channels {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 16px;
  background: var(--tim-blue-soft);
}

.omega-tariff-card__channels strong {
  color: var(--tim-blue);
  font-size: 34px;
  line-height: 1;
}

.omega-tariff-card__channels span {
  color: var(--tim-navy);
  font-weight: 800;
}

.omega-tariff-card__channels small {
  color: var(--tim-muted);
  font-weight: 700;
}

.omega-tariff-card__features,
.omega-tariff-card__extras {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.omega-tariff-card__features li,
.omega-tariff-card__extras li {
  position: relative;
  padding-left: 24px;
  color: var(--tim-ink);
  font-size: 14px;
  line-height: 1.4;
}

.omega-tariff-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05em;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff5e7;
  color: #16824b;
  font-size: 11px;
  font-weight: 900;
}

.omega-tariff-card__extras {
  margin-top: 12px;
}

.omega-tariff-card__extras--muted li {
  color: #9aa7b7;
  text-decoration: line-through;
}

.omega-tariff-card__extras--muted li::before {
  content: "—";
  position: absolute;
  left: 2px;
  color: #b6c0cb;
  font-weight: 900;
}

.omega-tariff-card__button {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 10px 18px;
  border: 2px solid var(--tim-blue);
  border-radius: 14px;
  background: #f6fdff;
  color: var(--tim-blue);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .12s ease, box-shadow .2s ease;
}

.omega-tariff-card__button:hover {
  background: var(--tim-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 68, 170, .18);
  transform: translateY(-1px);
}

.omega-tariff-card__button:active {
  transform: translateY(1px) scale(.99);
}

.omega-tariffs__note {
  margin: 16px 0 0;
  color: var(--tim-muted);
  font-size: 12px;
}

@media (max-width: 960px) {
  .omega-tariff-grid {
    grid-template-columns: 1fr;
  }

  .omega-tariff-card {
    min-height: 0;
  }

  .omega-tariff-card__button {
    margin-top: 26px;
  }
}


.television-provider-media--button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
}

.television-provider-media--button picture,
.television-provider-media--button img {
  display: block;
  width: 100%;
}

.television-provider-media--button:focus-visible {
  outline: 3px solid rgba(0, 68, 170, .24);
  outline-offset: 4px;
  border-radius: 20px;
}


/* Connection request address row */
.connect-request-form__address-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(90px, .7fr);
  gap: 12px;
}

.connect-request-form__address-row > label {
  min-width: 0;
}

.connect-request-form__address-row input {
  width: 100%;
}


.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 150px;
  z-index: 60;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--tim-blue);
  border-radius: 50%;
  background: #fff;
  color: var(--tim-blue);
  box-shadow: 0 10px 26px rgba(0, 68, 170, .16);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--tim-blue);
  color: #fff;
}

.back-to-top:active {
  transform: translateY(1px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: 88px;
    width: 44px;
    height: 44px;
  }
}


.home-shop-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 167px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--tim-border);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--tim-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-shop-banner:hover {
  transform: translateY(-3px);
  border-color: #C7D5EC;
  box-shadow: var(--tim-shadow);
}

.home-shop-banner__image {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  clip-path: inset(0 17% 0 0);
  transform: translateX(8.5%);
}

@media (max-width: 720px) {
  .home-shop-banner {
    height: 140px;
  }
}


/* DCLink discount instructions */
.shop-discount-page {
  display: grid;
  gap: 28px;
}

.shop-discount-hero,
.shop-discount-benefits,
.shop-discount-steps,
.shop-discount-cta {
  border: 1px solid var(--tim-border);
  border-radius: 22px;
  background: var(--tim-white);
  box-shadow: var(--tim-shadow-soft);
}

.shop-discount-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 132, 255, .16), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.shop-discount-hero__copy {
  max-width: 920px;
  padding: 42px;
}

.shop-discount-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--tim-navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.shop-discount-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--tim-ink);
  font-size: 18px;
  line-height: 1.7;
}

.shop-discount-hero__actions,
.shop-discount-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.shop-discount-benefits,
.shop-discount-steps {
  padding: 30px;
}

.shop-discount-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shop-discount-benefit {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--tim-border);
  border-radius: 18px;
  background: #f8fbff;
}

.shop-discount-benefit__icon {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.shop-discount-benefit h3 {
  margin: 0;
  color: var(--tim-navy);
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}

.shop-discount-benefits__count {
  margin: 26px 0 0;
  color: var(--tim-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.shop-discount-steps__grid {
  display: grid;
  gap: 14px;
}

.shop-discount-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--tim-border);
  border-radius: 18px;
  background: #fff;
}

.shop-discount-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tim-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.shop-discount-step h3 {
  margin: 2px 0 8px;
  color: var(--tim-navy);
  font-size: 20px;
}

.shop-discount-step p {
  margin: 0;
  color: var(--tim-ink);
  line-height: 1.65;
}

.shop-discount-step a {
  color: var(--tim-blue);
  font-weight: 800;
  text-decoration: none;
}

.shop-discount-step a:hover {
  text-decoration: underline;
}

.shop-discount-cta {
  padding: 28px 30px;
  background: var(--tim-navy);
  color: var(--tim-white);
}

.shop-discount-cta > div:first-child {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.shop-discount-cta__icon {
  flex: 0 0 auto;
  font-size: 34px;
  line-height: 1;
}

.shop-discount-cta h2 {
  margin: 0 0 8px;
  color: var(--tim-white);
  font-size: 24px;
}

.shop-discount-cta p {
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.6;
}

.shop-discount-cta .button--quiet {
  border-color: rgba(255,255,255,.72);
  background: transparent;
  color: var(--tim-white);
}

.shop-discount-cta .button--quiet:hover {
  border-color: var(--tim-white);
  background: var(--tim-white);
  color: var(--tim-blue);
}

@media (max-width: 980px) {
  .shop-discount-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shop-discount-benefits__grid {
    grid-template-columns: 1fr;
  }

  .shop-discount-benefit {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .shop-discount-hero__copy,
  .shop-discount-benefits,
  .shop-discount-steps,
  .shop-discount-cta {
    padding: 22px;
  }

  .shop-discount-hero p {
    font-size: 16px;
  }

  .shop-discount-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .shop-discount-step__number {
    width: 44px;
    height: 44px;
  }

  .shop-discount-hero__actions,
  .shop-discount-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-discount-hero__actions .button,
  .shop-discount-cta__actions .button {
    width: 100%;
  }
}
