/* =========================================================
   RESET & BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  transition: background 0.25s ease, color 0.25s ease;
}

/* =========================================================
   THEME VARIABLES
========================================================= */

:root {
  --primary: #0000ff;
  --primary-dark: #0000cc;

  --bg-main: #ffffff;
  --bg-alt: #f5f5f5;
  --card-bg: #faf3f3;

  --text-main: #111111;
  --text-muted: #666666;

  --border-light: #e0e0e0;

  --footer-bg: #050514;
  --footer-text: #e6e6ff;
  --footer-muted: #9f9fe0;
}

body.theme-dark {
  --bg-main: #050514;
  --bg-alt: #0b0b18;
  --card-bg: #0e0e1a;

  --text-main: #e6e6ff;
  --text-muted: #a2a2d9;

  --border-light: rgba(255,255,255,0.12);

  --footer-bg: #02020a;
  --footer-text: #e6e6ff;
  --footer-muted: #7f7fc0;
}

/* =========================================================
   LAYOUT
========================================================= */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 1rem 0;
}

.section--light {
  background: var(--bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.section__title {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.section__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}
.cta__title {
    text-align: center;

}

/* =========================================================
   GRID SYSTEM
========================================================= */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* =========================================================
   HEADER / NAV
========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}
.nav__brand {
  display: flex;
  align-items: center;   /* centers logo vertically */
  height: 100%;
}


.nav__brand img {
  height: 40px;
  width: auto;
  display: block;
}


.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .nav__menu {
    position: absolute;
    top: 70px;
    inset-inline: 0;
    background: var(--bg-main);
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .nav {
    min-height: 50px;
  }

  .nav__brand img {
    height: 40px;
  }
}
/* =========================
   NAV BAR – ALWAYS LIGHT
========================= */

header {
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0;
}

/* Ensure nav text stays dark */
header,
header a,
.nav__link,
.nav__toggle,
.theme-toggle {
  color: #111111 !important;
}

/* Logo unaffected */
.nav__brand img {
  filter: none;
}

/* Mobile menu background stays white */
@media (max-width: 768px) {
  .nav__menu {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
  }
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(0,0,255,0.25);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: rgba(0,0,255,0.06);
}

/* =========================================================
   HERO – VIDEO
========================================================= */

.hero--video {
  position: relative;
  height: 65vh;
  min-height: 420px;
  background: #000;
}

.hero--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--video .hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

/* =========================================================
   HERO – CONTENT
========================================================= */

.hero--content {
  padding: 3rem 0;
}

.hero--content .hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero__visual img {
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero--content .hero__inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HERO – IMAGE BANNER
========================================================= */

.hero--image {
  position: relative;
  height: 55vh;
  min-height: 360px;
  background: #000;
}

.hero--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--image .hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}
.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero--image {
    height: 40vh;
  }
}

/* =========================================================
   HOME BROADBAND
========================================================= */

.home-broadband {
  background: var(--bg-alt);
  padding: 4rem 1.5rem;
}

.home-broadband__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.home-broadband__content {
  max-width: 520px;
}

.home-broadband__visual {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}

.home-broadband__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px,1fr));
  gap: 1.25rem;
  align-items: center;
}


.home-broadband__actions .btn {
  min-width: 220px;
}

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

  .home-broadband__actions {
    flex-direction: column;
  }

  .home-broadband__actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   CARDS
========================================================= */

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.6rem;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover:hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  }
}

/* =========================================================
   FORMS
========================================================= */

.form {
  max-width: 520px;
}

.form__field {
  margin-bottom: 1rem;
}

.form__label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form__input,
.form__textarea,
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 2.5rem;
}

.footer__brand {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer__text {
  font-size: 0.9rem;
  color: var(--footer-muted);
}

.footer__title {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: var(--footer-muted);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.footer__link:hover {
  color: #fff;
}

.footer__meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: var(--footer-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer__social-link img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.footer__social-link:hover {
  transform: translateY(-2px);
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.footer__social-link:hover img {
  opacity: 1;
}

/* Mobile */
@media (max-width: 900px) {
  .footer__social {
    justify-content: flex-start;
  }
}

/* =========================
   FORCE CENTER: HOME BROADBAND CTA
========================= */

.home-broadband__actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
  width: 100%;
  margin-top: 2rem;
}
/* =========================
   POSTCODE CHECKER FIX
========================= */

.postcode-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
}

/* Input styling consistency */
.postcode-form input {
  flex: 1;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  border: 2px solid var(--border-light);
  font-size: 0.95rem;
}

/* Button sizing */
.postcode-form .btn {
  min-height: 44px;
  white-space: nowrap;
}

/* MOBILE — stack cleanly, no touching */
@media (max-width: 600px) {
  .postcode-form {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .postcode-form input,
  .postcode-form .btn {
    width: 100%;
  }
}

/* =========================
   HARD FIX — MOBILE NAV DARK MODE
========================= */

@media (max-width: 768px) {

  body.theme-dark .nav__menu.nav__menu--open {
    background-color: #1b1d3a !important;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  body.theme-dark .nav__menu.nav__menu--open .nav__link {
    color: #f4f5ff !important;
    padding: 0.8rem 0;
    width: 100%;
  }

  body.theme-dark .nav__menu.nav__menu--open .nav__link:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  body.theme-dark .nav__menu.nav__menu--open .nav__link:hover {
    color: #ffffff !important;
  }

  body.theme-dark .nav__menu.nav__menu--open .theme-toggle {
    color: #f4f5ff;
    border-color: rgba(255,255,255,0.35);
  }
}
/* =========================
   COOKIE CONSENT BANNER
========================= */

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 980px;
  width: calc(100% - 2rem);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 9999;

  /* hidden by default */
  display: none;
}

/* ✅ visible state controlled by JS */
.cookie-banner.cookie-banner--visible {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 640px;
}

.cookie-banner__text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.cookie-banner .btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__actions {
    justify-content: center;
  }

  .cookie-banner .btn {
    width: 100%;
  }
}

/* =========================
   ABOUT PAGE DROPDOWN
========================= */

.about-dropdown {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-main);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.about-dropdown__summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.about-dropdown__summary::-webkit-details-marker {
  display: none;
}

.about-dropdown__summary::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
}

.about-dropdown[open] .about-dropdown__summary::after {
  content: "–";
}

.about-dropdown__content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.about-dropdown__content .btn {
  margin-top: 1rem;
}
.guide-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.guide-footer ul {
  margin-bottom: 20px;
}

.affiliate-note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 20px;
}
.centered-image {
  display: block;
  margin: 20px auto;
  max-width: 100%;
}
a {
  text-decoration: none;
}
.portfolio-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.portfolio-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 1rem;
}

.portfolio-logo img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
}

.portfolio-link {
  margin-top: auto;
  font-weight: 500;
}
/* =========================
   HOME / BUSINESS TOGGLE
========================= */

.broadband-toggle {
  display: inline-flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}

.toggle-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.toggle-btn:hover {
  color: var(--text-main);
}

.toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
}

/* Toggle content panels */
.toggle-panel {
  display: none;
  max-width: 720px;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.toggle-panel.active {
  display: block;
}
.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-main);
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: middle;
  font-size: 0.9rem;
}

.comparison-table th {
  font-weight: 600;
}

.provider-logo {
  height: 30px;
  width: auto;
}
.affiliate-note {
  position: relative;
  text-align: center;
  margin: 2.5rem auto 2rem;
  padding-top: 1.25rem;
  max-width: 720px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.affiliate-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--border-light);
}
.affiliate-banner {
  margin: 2rem auto;
  max-width: 728px;
}

.subtle-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2.5rem 0;
}
.partner-disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
/* =========================
   PORTFOLIO TAGS + CASE NAV
========================= */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  background: var(--bg-main);
}

.tag--business { border-color: rgba(0,0,255,0.25); }
.tag--health { border-color: rgba(0,150,136,0.25); }
.tag--consulting { border-color: rgba(76,175,80,0.25); }

.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.5rem 0 0;
}

.filter-bar a {
  text-decoration: none;
}

.case-meta {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-main);
}

.case-meta ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.testimonial {
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem;
  border-left: 4px solid var(--primary);
  background: var(--bg-main);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.testimonial p {
  margin: 0 0 0.5rem;
}

.case-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.case-nav__links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.case-nav__links a {
  text-decoration: none;
}
.provider-text-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.provider-text-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.provider-text-list a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.provider-text-list a:hover {
  text-decoration: underline;
}

.provider-text-list span {
  color: var(--text-muted);
  margin-left: 0.25rem;
}
.provider-text-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.provider-text-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.provider-text-list a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.provider-text-list a:hover {
  text-decoration: underline;
}

.provider-text-list span {
  color: var(--text-muted);
  margin-left: 0.25rem;
}
/* =========================================================
   CAROUSEL HARD OVERRIDES
========================================================= */

.tools-carousel {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.carousel-track {
  display: flex !important;
  gap: 16px !important;
  overflow-x: scroll !important;
  width: 100% !important;
  max-width: 100% !important;
}

.carousel-item {
  flex: 0 0 280px !important;
}

.carousel-btn {
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}
/* =========================
   CAROUSEL SCROLL SNAP
========================= */

.carousel-track {
  scroll-snap-type: x mandatory;
}

.carousel-item {
  scroll-snap-align: start;
}
/* =========================
   CAROUSEL EDGE FADE MASKS
========================= */

.tools-carousel {
  position: relative;
}

/* Left fade */
.tools-carousel::before,
.tools-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 5;
}

/* Left side */
.tools-carousel::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg-alt) 0%,
    rgba(255,255,255,0) 100%
  );
}

/* Right side */
.tools-carousel::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg-alt) 0%,
    rgba(255,255,255,0) 100%
  );
}

/* Dark mode support */
body.theme-dark .tools-carousel::before {
  background: linear-gradient(
    to right,
    var(--bg-main) 0%,
    rgba(0,0,0,0) 100%
  );
}

body.theme-dark .tools-carousel::after {
  background: linear-gradient(
    to left,
    var(--bg-main) 0%,
    rgba(0,0,0,0) 100%
  );
}
@media (max-width: 640px) {
  .tools-carousel::before,
  .tools-carousel::after {
    display: none;
  }
}
/* =========================
   OFFER STYLE CAROUSEL CARDS
========================= */

.offer-card {
  position: relative;
  flex: 0 0 280px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #000;
}

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

/* Overlay */
.offer-overlay {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0) 100%
  );

  color: #fff;
}


/* =========================
   OFFER CARDS – FULL CLICK
========================= */

.offer-card {
  position: relative;
  flex: 0 0 280px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
}

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

/* Overlay */
.offer-overlay {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0) 100%
  );
}

/* Text */
.offer-overlay h3 {
  font-size: 1.1rem;
  margin: 0;
}

.offer-overlay p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0.25rem 0 0;
}

/* Hover polish */
@media (hover: hover) {
  .offer-card img {
    transition: transform 0.4s ease;
  }

  .offer-card:hover img {
    transform: scale(1.06);
  }
}
/* =========================
   GUIDE CARDS (NO IMAGES)
========================= */

.guide-card {
  flex: 0 0 280px;
  min-height: 200px;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.guide-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Meta tag */
.guide-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hover polish */
@media (hover: hover) {
  .guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  }
}
/* =========================
   GUIDE CARD ICONS + META
========================= */

.guide-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.guide-card h3 {
  margin-top: 0;
}

.guide-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* =========================
   BROADBAND OFFER CARDS
========================= */

.broadband-offers {
  margin-top: 2rem;
}

.broadband-offer {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.broadband-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.15) 60%
  );
}

.broadband-offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.offer-content {
  position: relative;
  padding: 1.6rem;
  z-index: 2;
}

.offer-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.offer-speed {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.offer-tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

.offer-price {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Badge */
.offer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ff2a2a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  z-index: 3;
}

/* Mobile */
@media (max-width: 900px) {
  .broadband-offer {
    min-height: 300px;
  }
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  border: 1px solid #e5e5e5;
  padding: 1.25rem;
  border-radius: 8px;
  background: #fff;
}

.resource-card h3 {
  margin-top: 0;
}
/* =========================
   TOP PICKS – TWO CTA BUTTONS
========================= */

.top-pick-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.top-pick-icon {
  font-size: 1.8rem;
}

.best-for {
  font-size: 0.85rem;
}

.top-pick-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-pick-actions .btn {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

/* Mobile: buttons stack cleanly */
@media (max-width: 600px) {
  .top-pick-actions {
    flex-direction: column;
  }

  .top-pick-actions .btn {
    width: 100%;
  }
}
.top-pick-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.top-pick-links {
  font-size: 0.85rem;
  margin-top: auto;
}

.top-pick-links a {
  color: var(--primary);
  text-decoration: underline;
}

.top-pick-links a:hover {
  text-decoration: none;
}
