/* Daisy Group x Fidelity Energy - demo site stylesheet
   Replicates the look of daisygroup.co.uk (Neue DIN style headings via Barlow, Acumin style body via Inter,
   navy / blue / orange) and adds the embedded Switch Your Energy quote journey. */

:root {
  --navy: #001437;
  --navy-2: #002e63;
  --blue: #2b5da9;
  --blue-dark: #053682;
  --sky: #a5c5e7;
  --orange: #f29400;
  --orange-dark: #de6902;
  --red: #e83340;
  --green: #82ca8c;
  --tp-green: #00b67a;
  --bg: #fafafa;
  --grey: #f1f0f2;
  --line: #e1e1e3;
  --ink: #363638;
  --muted: #5b657d;
  --foot: #d1deec;
  --fe-red: #e82c4c;
  --fe-navy: #314179;
  --head: "Barlow", "Neue DIN", "Arial Narrow", Arial, sans-serif;
  --sans: Inter, "Acumin Pro", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --row: min(92vw, 1200px);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.12; margin: 0; color: var(--navy-2); }
p { margin: 0; }
.row { width: var(--row); margin: 0 auto; }
.eyebrow { font-family: var(--head); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.orange { color: var(--orange); }
.eyebrow.white { color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 68px;
  background: var(--navy); color: #fff; display: flex; align-items: center;
  box-shadow: 0 10px 30px -22px rgba(0,0,0,.6);
}
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header .brand img { height: 36px; width: auto; }
.site-header nav { display: flex; gap: 30px; align-items: center; font-family: var(--head); font-size: 1rem; font-weight: 500; flex: 1; margin-left: 40px; }
.site-header nav a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; opacity: .95; position: relative; }
.site-header nav a svg { width: 12px; height: 12px; }
.site-header nav a:hover, .site-header nav a.active { opacity: 1; color: #fff; }
.site-header nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); }
.site-header nav .new { background: var(--orange); color: var(--navy); font-size: .62rem; font-weight: 700; letter-spacing: .08em; padding: 2px 6px; border-radius: 3px; margin-left: 4px; }
.site-header .icons { display: flex; gap: 10px; }
.site-header .icons a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; display: inline-grid; place-items: center; }
.site-header .icons svg { width: 16px; height: 16px; display: block; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--head); font-size: 1.02rem; font-weight: 500; line-height: 1.1;
  padding: 13px 22px; border-radius: 5px; border: 0; background: var(--navy); color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--navy-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.blue { background: var(--blue); }
.btn.blue:hover { background: var(--blue-dark); }
.btn.orange { background: var(--orange); color: #fff; }
.btn.orange:hover { background: var(--orange-dark); }
.btn.green { background: var(--green); color: var(--navy); }
.btn.green:hover { background: #6fbf7b; }
.btn.outline { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn.outline:hover { background: rgba(255,255,255,.12); }
.btn.sm { padding: 10px 16px; font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; text-decoration: none; }
.more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.more.white { color: #fff; }
.more.orange { color: var(--orange); }

/* ---------- hero carousel ---------- */
.hero { padding: 34px 0 10px; }
.slide {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 470px;
  background: var(--navy-2) center / cover no-repeat; box-shadow: 0 30px 60px -40px rgba(0,20,55,.6);
  display: flex; align-items: flex-end;
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,20,55,.86) 0%, rgba(43,93,169,.55) 55%, rgba(130,202,140,.30) 100%);
}
.slide .cap {
  position: relative; margin: 0 0 56px 6%; max-width: 440px; color: #fff;
  background: rgba(0,20,55,.62); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 28px 30px 30px;
}
.slide .cap .eyebrow { color: var(--orange); }
.slide .cap h2 { color: #fff; font-size: 2rem; margin: 8px 0 10px; }
.slide .cap p { font-size: 1rem; opacity: .95; margin-bottom: 20px; }
.slide .cap .powered { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .78rem; opacity: .9; }
.slide .cap .powered img { height: 24px; width: auto; }
.dots { display: flex; gap: 10px; justify-content: center; margin: 22px 0 0; }
.dots span { width: 46px; height: 3px; background: #c9ccd4; border-radius: 2px; }
.dots span.on { background: var(--blue); }

/* ---------- checkers ---------- */
.checkers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.checker {
  border-radius: var(--radius); padding: 40px 40px 44px; text-align: center;
  background: linear-gradient(173deg, rgba(225,225,227,.7) 10%, rgba(182,184,191,.5));
}
.checker.energy { background: linear-gradient(173deg, #002e63, #001438); color: #fff; }
.checker h2 { font-size: 2.3rem; margin-bottom: 8px; }
.checker.energy h2 { color: #fff; }
.checker p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }
.checker.energy p { color: var(--foot); }
.checker form { display: flex; gap: 10px; justify-content: center; max-width: 520px; margin: 0 auto; }
.checker input { flex: 1; height: 48px; border: 1px solid var(--line); border-radius: 5px; padding: 0 14px; font: inherit; color: var(--ink); background: #fff; }
.checker .btn { height: 48px; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-title { font-size: 2.6rem; margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }
.bg-grey { background: var(--grey); }
.bg-white { background: #fff; }
.bg-navy { background: linear-gradient(173deg, #002e63, #001438); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* solution tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8.2;
  background: var(--navy-2) center / cover no-repeat; text-decoration: none; color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(0,20,55,.7); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,20,55,.92) 12%, rgba(0,20,55,.1) 60%); }
.tile .t { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; }
.tile h3 { color: #fff; font-size: 1.75rem; margin-bottom: 4px; }
.tile .t span { font-size: .92rem; font-weight: 600; opacity: .92; }
.tile .badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--orange); color: var(--navy); font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }

/* about */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about h2 { font-size: 3.3rem; margin-bottom: 10px; }
.about .lead { font-size: 1.3rem; color: var(--navy-2); margin-bottom: 18px; }
.about p + p { margin-top: 14px; }
.about .btn { margin-top: 26px; }
.about img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -40px rgba(0,20,55,.6); }

/* energy split band */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.split .text { background: linear-gradient(173deg, #002e63, #001438); color: #fff; padding: 76px 6vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split h2 { color: #fff; font-size: clamp(2.4rem, 4.2vw, 3.4rem); margin-top: 12px; }
.split h2 span { color: var(--orange); }
.split p { font-size: 1.08rem; max-width: 480px; margin: 22px 0 30px; color: var(--foot); }
.split .actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.split .media { background: var(--blue) center / cover no-repeat; }
.ticks { list-style: none; margin: -6px 0 30px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 1rem; }
.tick { flex: none; width: 24px; height: 24px; color: var(--orange); display: inline-grid; place-items: center; }
.tick svg { width: 24px; height: 24px; display: block; }

/* articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.article .pic { height: 200px; background: var(--grey); }
.article img { height: 200px; width: 100%; object-fit: cover; }
.article .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article .eyebrow { color: var(--blue); }
.article h3 { font-size: 1.45rem; }
.article p { color: var(--muted); font-size: .95rem; flex: 1; }
.article .more { margin-top: 6px; }

/* why daisy */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.why .ic { width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 18px; }
.why .ic img { width: 48px; height: 48px; object-fit: contain; }
.why h3 { font-size: 1.6rem; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: .97rem; }

/* reviews */
.reviews { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reviews h2 { font-size: 1.9rem; }
.stars { display: flex; gap: 4px; }
.stars span { width: 30px; height: 30px; background: var(--tp-green); display: grid; place-items: center; }
.stars svg { width: 20px; height: 20px; fill: #fff; }
.reviews .score { display: flex; align-items: center; gap: 16px; }
.reviews .score b { font-family: var(--head); font-size: 1.4rem; color: var(--navy-2); }

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

/* fuel cards */
.fuels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fuel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start; }
.fuel .ic { flex: none; width: 60px; height: 60px; border-radius: 50%; background: rgba(242,148,0,.14); color: var(--orange); display: grid; place-items: center; }
.fuel .ic svg { width: 28px; height: 28px; }
.fuel h3 { font-size: 1.5rem; margin-bottom: 6px; }
.fuel p { color: var(--muted); font-size: .95rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 1.25rem; margin-bottom: 16px; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit .ic { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--blue); display: grid; place-items: center; }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.4rem; margin-bottom: 8px; }
.benefit p { font-size: .97rem; color: var(--muted); }

/* promise */
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 48px; }
.promise { display: flex; gap: 16px; align-items: flex-start; }
.promise h3 { font-size: 1.4rem; margin-bottom: 6px; color: #fff; }
.promise p { font-size: .97rem; color: var(--foot); }

/* supplier chips */
.suppliers { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-family: var(--head); font-weight: 500; color: var(--navy-2); font-size: 1rem; }

/* green */
.green { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.green img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.green .btn { margin-top: 24px; }

/* page hero (inner pages) */
.crumbs { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 14px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs .path { display: flex; gap: 10px; align-items: center; }
.crumbs .path span { opacity: .6; }
.crumbs .tp { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.crumbs .tp .stars span { width: 18px; height: 18px; }
.crumbs .tp .stars svg { width: 12px; height: 12px; }
.banner {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; padding: 54px 48px;
  background: var(--navy-2) center / cover no-repeat; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(0,20,55,.9) 0%, rgba(43,93,169,.6) 60%, rgba(0,46,99,.35) 100%); }
.banner > * { position: relative; }
.banner h1 { color: #fff; font-size: 3rem; margin-bottom: 8px; }
.banner p { color: var(--foot); max-width: 520px; }
.subnav { display: flex; gap: 22px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; flex-wrap: wrap; }
.subnav b { color: var(--muted); font-weight: 600; }
.subnav a { text-decoration: none; color: var(--blue); font-weight: 600; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 6px; padding: 16px 20px; color: var(--muted); font-size: .95rem; }

/* 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(0,20,55,.45); }
.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: .92rem; margin-top: 22px; color: var(--muted); }
.quote-note a { font-weight: 600; text-decoration: none; color: var(--blue); }

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

/* footer */
.footer { background: var(--navy); color: var(--foot); padding: 56px 0 44px; }
.footer .contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 40px; }
.footer .contact a { text-decoration: none; display: flex; gap: 14px; align-items: center; }
.footer .contact .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.footer .contact svg { width: 20px; height: 20px; }
.footer .contact b { display: block; font-family: var(--head); font-size: 1.35rem; color: #fff; line-height: 1.1; }
.footer .contact small { font-size: .82rem; opacity: .8; }
.footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.footer .social { display: flex; gap: 14px; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-grid; place-items: center; }
.footer .social svg { width: 18px; height: 18px; fill: #fff; }
.legal { background: #000d26; color: var(--foot); padding: 26px 0 28px; font-size: .82rem; }
.legal .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.legal .fe { display: inline-flex; align-items: center; gap: 12px; background: var(--fe-navy); color: #fff; padding: 9px 14px; border-radius: 999px; }
.legal .fe img { height: 22px; width: auto; }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .checkers, .tiles, .about, .split, .articles, .fuels, .benefits, .promise-list, .green { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
  .split .media { min-height: 320px; order: -1; }
  .powered-band { grid-template-columns: 1fr; }
  .footer .contact { grid-template-columns: 1fr; }
  .banner h1 { font-size: 2.3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .slide { min-height: 420px; }
  .slide .cap { margin: 0 5% 32px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .why, .footer .cols, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 2.1rem; }
  .about h2 { font-size: 2.4rem; }
  .checker { padding: 30px 22px; }
  .checker form { flex-direction: column; }
  .powered-band { padding: 32px 26px; }
  .banner { padding: 36px 24px; }
}
