/* Currys x Fidelity Energy - demo site stylesheet
   Replicates the look of currys.co.uk (Currys Sans approximated with Nunito / Nunito Sans, purple / magenta /
   slate) and adds the embedded Switch Your Energy quote journey as Currys Business Energy. */

:root {
  --purple: #4c12a1;
  --purple-2: #6a2fc4;
  --purple-deep: #2d0a66;
  --lavender: #faf5ff;
  --lavender-2: #efe6ff;
  --magenta: #e5006d;
  --slate: #213038;
  --slate-2: #33434a;
  --grey: #f2f2f2;
  --foot: #e9ecef;
  --line: #cdd8df;
  --ink: #213038;
  --muted: #5f6b74;
  --tp-green: #00b67a;
  --fe-red: #e82c4c;
  --fe-navy: #314179;
  --head: "Nunito", "Currys Sans Headline", "Helvetica Neue", Arial, sans-serif;
  --sans: "Nunito Sans", "Currys Sans", "Helvetica Neue", Arial, sans-serif;
  --row: min(94vw, 1280px);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
.row { width: var(--row); margin: 0 auto; }
.eyebrow { font-family: var(--head); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow.purple { color: var(--purple); }
.eyebrow.magenta { color: var(--magenta); }
.eyebrow.white { color: #fff; opacity: .9; }
.lead { font-size: 1.12rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- header ---------- */
.promo-bar { background: var(--purple); color: #fff; text-align: center; font-size: .86rem; font-weight: 600; padding: 9px 0; }
.promo-bar a { color: #fff; text-decoration: none; }
.promo-bar a:hover { text-decoration: underline; }
.util { display: flex; justify-content: flex-end; gap: 22px; font-size: .78rem; padding: 7px 0 4px; color: var(--muted); flex-wrap: wrap; }
.util a { text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util a.hl { color: var(--purple); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.util a.hl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.main-header { display: flex; align-items: center; gap: 34px; padding: 10px 0 16px; }
.main-header .brand img { width: 62px; height: 62px; }
.search { flex: 1; max-width: 640px; display: flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 30px; padding: 0 4px 0 18px; background: #fff; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: .95rem; color: var(--ink); background: transparent; }
.search button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--purple); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search button svg { width: 16px; height: 16px; }
.hicons { display: flex; gap: 26px; margin-left: auto; }
.hicons a { display: grid; place-items: center; gap: 3px; text-decoration: none; font-size: .72rem; font-weight: 600; color: var(--ink); }
.hicons svg { width: 22px; height: 22px; }
.cat-nav { display: flex; gap: 18px; align-items: center; padding: 8px 0 12px; font-family: var(--head); font-weight: 700; font-size: .88rem; border-bottom: 1px solid var(--line); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { text-decoration: none; padding: 4px 0; position: relative; }
.cat-nav a:hover { color: var(--purple); }
.cat-nav a.energy { color: var(--purple); display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.cat-nav a.energy.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 3px; background: var(--purple); }
.cat-nav .new { background: var(--magenta); color: #fff; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; }

/* usp strip */
.usp { background: var(--grey); }
.usp .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 14px 0; }
.usp div { display: flex; gap: 12px; align-items: center; font-size: .86rem; line-height: 1.35; }
.usp svg { width: 30px; height: 30px; flex: none; color: var(--purple); }
.usp.business { background: var(--lavender); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--head); font-weight: 800; font-size: .98rem; line-height: 1.1;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--purple); background: var(--purple); color: #fff;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--purple-2); border-color: var(--purple-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.white { background: #fff; border-color: #fff; color: var(--purple); }
.btn.white:hover { background: var(--lavender-2); border-color: var(--lavender-2); }
.btn.outline { background: #fff; color: var(--purple); }
.btn.outline:hover { background: var(--lavender-2); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.magenta { background: var(--magenta); border-color: var(--magenta); }
.btn.magenta:hover { background: #ff2a8a; border-color: #ff2a8a; }
.btn.sm { padding: 9px 18px; font-size: .88rem; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 800; text-decoration: none; font-family: var(--head); }
.more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.more.white { color: #fff; }

/* ---------- promo carousel ---------- */
.promos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0 10px; }
.promo {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px; color: var(--purple); background: var(--lavender-2);
}
.promo h2 { font-size: 1.9rem; color: inherit; line-height: 1.1; }
.promo p { font-size: .95rem; max-width: 280px; }
.promo .disc { font-size: .7rem; opacity: .85; margin-top: auto; max-width: 280px; }
.promo img { position: absolute; right: -8%; bottom: -6%; width: 64%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.promo .btn { align-self: flex-start; margin-top: 8px; position: relative; z-index: 1; }
.promo.p1 { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; }
.promo.p1 .powered { display: flex; align-items: center; gap: 10px; font-size: .74rem; margin-top: auto; opacity: .92; position: relative; z-index: 1; }
.promo.p1 .powered img { position: static; width: auto; height: 22px; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.promo.p1::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(229,0,109,.55), rgba(229,0,109,0) 70%); }
.promo.p3 { background: linear-gradient(160deg, #5b1bb8 0%, var(--purple-deep) 100%); color: #fff; }
.promo.p4 { background: linear-gradient(170deg, #ffe4f1 0%, #fff 100%); }
.carousel-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.carousel-nav span { width: 34px; height: 34px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; color: var(--slate); }
.carousel-nav svg { width: 14px; height: 14px; }
.carousel-nav .pips { display: flex; gap: 8px; }
.carousel-nav .pips i { width: 8px; height: 8px; border-radius: 50%; background: #d9dde2; }
.carousel-nav .pips i.on { background: var(--purple); }
.apr { font-size: .78rem; color: var(--muted); background: var(--grey); border-radius: 6px; padding: 10px 14px; margin: 10px 0 0; }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
.section-title { font-size: 1.7rem; margin-bottom: 22px; text-align: center; }
.section-title.left { text-align: left; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; text-align: left; }
.bg-grey { background: var(--grey); }
.bg-lavender { background: var(--lavender); }
.bg-slate { background: var(--slate); color: #fff; }
.bg-slate h2, .bg-slate h3 { color: #fff; }
.bg-purple { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; }
.bg-purple h2, .bg-purple h3 { color: #fff; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 12px; }
.cat { text-align: center; text-decoration: none; font-size: .86rem; font-weight: 600; display: grid; gap: 10px; justify-items: center; }
.cat .disc { width: 120px; height: 120px; border-radius: 50%; background: var(--lavender-2); overflow: hidden; display: grid; place-items: center; }
.cat .disc img { width: 100%; height: 100%; object-fit: cover; }
.cat:hover .disc { box-shadow: 0 10px 24px -14px rgba(76,18,161,.6); }

/* energy split band */
.split { display: grid; grid-template-columns: 1.05fr .95fr; border-radius: var(--radius); overflow: hidden; min-height: 460px; }
.split .text { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; padding: 56px 6%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 10px; }
.split h2 span { color: #ffb3d6; }
.split p { font-size: 1.02rem; max-width: 480px; margin: 18px 0 24px; opacity: .95; }
.split .actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.split .media { background: var(--lavender-2) center / cover no-repeat; }
.ticks { list-style: none; margin: -4px 0 26px; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: .98rem; font-weight: 600; }
.tick { flex: none; width: 24px; height: 24px; color: #fff; display: inline-grid; place-items: center; }
.tick svg { width: 24px; height: 24px; display: block; }

/* offer cards */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.offer:hover { box-shadow: 0 16px 34px -22px rgba(33,48,56,.5); transform: translateY(-2px); }
.offer .pic { height: 180px; background: var(--grey); }
.offer img { width: 100%; height: 180px; object-fit: cover; }
.offer .body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.offer h3 { font-size: 1.08rem; }
.offer p { font-size: .88rem; color: var(--muted); }
.offer.energy { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; border: 0; }
.offer.energy .pic { background: transparent; display: grid; place-items: center; }
.offer.energy .pic svg { width: 84px; height: 84px; }
.offer.energy h3 { color: #fff; }
.offer.energy p { color: rgba(255,255,255,.88); }
.offer.energy .more { color: #fff; margin-top: 6px; }

/* perks band */
.perks { text-align: center; padding: 48px 0; }
.perks h2 { font-size: 1.7rem; margin-bottom: 8px; }
.perks p { opacity: .9; margin-bottom: 22px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: 2.8rem; color: var(--purple); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .92rem; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }

/* benefit tiles (Currys Business Energy) */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.benefit .ic { width: 70px; height: 70px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.benefit .ic svg { width: 32px; height: 32px; }
.benefit h3 { font-size: 1.2rem; color: var(--purple); margin-bottom: 8px; }
.benefit p { font-size: .92rem; color: var(--muted); }

/* promise */
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 44px; }
.promise { display: flex; gap: 16px; align-items: flex-start; }
.promise h3 { font-size: 1.15rem; margin-bottom: 4px; color: #fff; }
.promise p { font-size: .93rem; opacity: .9; }

/* page hero (inner pages) */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); padding: 14px 0 12px; }
.crumbs a { text-decoration: none; }
.crumbs span { opacity: .6; }
.page-hero { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; padding: 54px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(229,0,109,.5), rgba(229,0,109,0) 70%); }
.page-hero .row { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 800; margin: 10px 0 16px; }
.page-hero .lead { max-width: 560px; opacity: .95; }
.page-hero .ways { display: grid; gap: 14px; }
.way { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.6); }
.way h3 { color: var(--purple); font-size: 1.15rem; }
.way p { font-size: .9rem; color: var(--muted); }
.way .btn { justify-self: start; margin-top: 4px; }

/* quote embed */
.quote-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; box-shadow: 0 40px 90px -50px rgba(76,18,161,.35); }
.quote-wrap iframe { width: 100%; border: 0; display: block; background: #fff; min-height: 480px; }
.quote-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .9rem; margin-top: 20px; color: var(--muted); }
.quote-note a { font-weight: 700; text-decoration: none; color: var(--purple); }

/* best band */
.best { background: var(--lavender); border-radius: var(--radius); padding: 40px 48px; text-align: center; }
.best h2 { color: var(--purple); font-size: 1.6rem; margin-bottom: 10px; }
.best p { max-width: 760px; margin: 0 auto; color: var(--muted); }

/* powered by band */
.powered-band { background: var(--fe-navy); color: #fff; border-radius: var(--radius); padding: 40px 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.powered-band img { height: 58px; width: auto; }
.powered-band h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.powered-band p { font-size: .95rem; max-width: 640px; opacity: .95; }
.powered-band .btn { background: var(--fe-red); border-color: var(--fe-red); white-space: nowrap; }
.powered-band .btn:hover { background: #ff4a68; border-color: #ff4a68; }

/* footer */
.footer { background: var(--foot); padding: 44px 0 30px; color: var(--ink); }
.footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.footer h4 { font-size: .92rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .86rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--purple); }
.foot-legal { border-top: 1px solid #d5dbe0; margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.foot-legal .links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { text-decoration: none; }
.foot-legal .fe { display: inline-flex; align-items: center; gap: 10px; background: var(--fe-navy); color: #fff; padding: 8px 14px; border-radius: 999px; }
.foot-legal .fe img { height: 20px; width: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .promos { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
  .usp .row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .cat-nav { display: none; }
  .hicons { gap: 16px; }
  .split, .page-hero .row, .benefits, .promise-list { grid-template-columns: 1fr; }
  .split .media { min-height: 280px; order: -1; }
  .powered-band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .promos, .cats, .offers, .footer .cols, .steps { grid-template-columns: 1fr; }
  .usp .row { grid-template-columns: 1fr; }
  .util { justify-content: flex-start; gap: 14px; }
  .util a:not(.hl) { display: none; }
  .main-header { gap: 14px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hicons a span { display: none; }
  .promo { min-height: 320px; }
  .section { padding: 36px 0; }
  .powered-band, .best { padding: 28px 22px; }
}
