/* UKHospitality x Fidelity Energy - demo site stylesheet
   Replicates the look of ukhospitality.org.uk (DM Serif Display + Inter, deep teal / magenta / lime)
   and adds the embedded Switch Your Energy quote journey. */

:root {
  --teal-dark: #004052;
  --teal: #00a19a;
  --magenta: #d6075c;
  --pink: #ff1c7a;
  --lime: #c8d400;
  --mint: #bee0d5;
  --mint-light: #edf6f4;
  --grey: #f2f2f2;
  --ink: #222222;
  --muted: #5f626c;
  --fe-red: #e82c4c;
  --fe-navy: #314179;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --row: min(92vw, 1240px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--teal-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
.row { width: var(--row); margin: 0 auto; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.teal { color: var(--teal); }
.eyebrow.magenta { color: var(--magenta); }
.eyebrow.lime { color: var(--lime); }
.eyebrow.white { color: #fff; }
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; color: #fff;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.solid { background: var(--magenta); box-shadow: 0 10px 30px -18px rgba(0,0,0,.45); }
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .brand img { height: 38px; width: auto; }
.site-header nav { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.site-header nav a { text-decoration: none; opacity: .92; padding: 6px 0; }
.site-header nav a:hover, .site-header nav a.active {
  opacity: 1; text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.site-header .icons { display: flex; gap: 18px; align-items: center; }
.site-header .icons svg { display: block; }
.site-header .icons a { display: inline-flex; }

/* ---------- buttons & links ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--magenta); color: #fff; text-decoration: none; font-weight: 600;
  padding: 15px 22px; border: 0; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.pill:hover { background: var(--pink); }
.pill svg { width: 22px; height: 20px; flex: none; }
.pill.outline { background: transparent; border: 2px solid #fff; }
.pill.outline:hover { background: rgba(255,255,255,.12); }
.pill.teal { background: var(--teal); }
.pill.teal:hover { background: #12b3ac; }
.dash {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 6px; border-bottom: 2px dashed currentColor; line-height: 1;
}
.dash.lime { color: var(--lime); }
.dash.magenta { color: var(--magenta); }
.dash.white { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 680px; display: flex; align-items: center; color: #fff;
  background: var(--teal-dark) url("https://www.ukhospitality.org.uk/wp-content/uploads/2023/04/Voice-of-hospitality-2000x956.jpg") center / cover no-repeat;
  padding: 130px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,64,82,.94) 0%, rgba(0,64,82,.72) 48%, rgba(0,64,82,.38) 100%);
}
.hero .row { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 4.7rem); }
.hero .lead { max-width: 520px; margin: 24px 0 34px; }
.hero-card {
  background: var(--teal-dark); padding: 44px 44px 40px; position: relative;
  box-shadow: 0 40px 70px -40px rgba(0,0,0,.6);
}
.hero-card h2 { font-size: 2.4rem; margin: 12px 0 16px; }
.hero-card p { font-size: 1.02rem; margin-bottom: 26px; }
.hero-card .powered { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: .8rem; opacity: .9; }
.hero-card .powered img { height: 30px; width: auto; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-title { font-size: 2.6rem; margin-bottom: 36px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }
.bg-mint { background: var(--mint-light); }
.bg-teal { background: var(--teal-dark); color: #fff; }
.bg-grey { background: var(--grey); }

/* feature (Latest) */
.feature { background: #fff; border: 1px solid var(--mint); }
.feature img { width: 100%; height: 440px; object-fit: cover; }
.feature .body { padding: 28px 32px 36px; }
.labels { display: flex; gap: 20px; margin-bottom: 12px; align-items: center; }
.feature h3 { font-size: 1.75rem; margin-bottom: 12px; }
.feature p { max-width: 900px; }

/* grids & cards */
.grid { display: grid; gap: 28px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.news { border-top: 1px solid var(--mint); padding-top: 22px; }
.news a { text-decoration: none; display: block; }
.news img { height: 130px; width: 100%; object-fit: cover; margin-bottom: 18px; }
.news .eyebrow { margin-bottom: 8px; }
.news h3 { font-size: 1.45rem; line-height: 1.15; }
.news h3:hover { color: var(--teal); }

/* events */
.event { background: var(--teal-dark); color: #fff; position: relative; }
.event img { height: 210px; width: 100%; object-fit: cover; }
.event .date {
  position: absolute; right: 0; top: 176px; background: var(--teal); width: 66px; height: 66px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; line-height: 1; font-size: .68rem; letter-spacing: .1em;
}
.event .date b { font-size: 1.3rem; letter-spacing: 0; margin-top: 2px; }
.event .body { padding: 28px 26px 30px; }
.event h3 { font-size: 1.55rem; margin-bottom: 18px; max-width: 90%; }
.event .meta { display: grid; gap: 8px; font-size: .92rem; }
.event .meta span { display: flex; align-items: center; gap: 10px; }
.event .meta svg { width: 16px; height: 16px; }

/* split band */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.split .text { background: var(--teal-dark); color: #fff; padding: 76px 6vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split h2 { font-size: clamp(2.6rem, 4.6vw, 3.7rem); margin-top: 14px; }
.split h2 span { color: var(--teal); }
.split p { font-size: 1.1rem; max-width: 460px; margin: 26px 0 36px; }
.split .actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.split .media { position: relative; background: var(--teal) center / cover no-repeat; }

/* topics */
.topic { background: #fff; border: 1px solid var(--mint); padding: 28px 26px 0; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.topic h3 { font-size: 1.95rem; }
.topic .dash { align-self: flex-start; }
.topic img { height: 170px; object-fit: cover; margin: 12px -26px 0; width: calc(100% + 52px); max-width: none; }
.topic:hover h3 { color: var(--teal); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat { background: #fff; border: 1px solid var(--mint); padding: 28px 26px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 3rem; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .95rem; }

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

/* benefits */
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit .ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mint-light); color: var(--teal); 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; }

/* member 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; }
.tick { flex: none; width: 26px; height: 26px; color: var(--lime); display: inline-grid; place-items: center; }
.tick svg { width: 26px; height: 26px; display: block; }
.promise h3 { font-size: 1.35rem; margin-bottom: 6px; }
.promise p { font-size: .97rem; opacity: .92; }
.split .ticks { list-style: none; margin: -10px 0 32px; padding: 0; display: grid; gap: 10px; }
.split .ticks li { display: flex; gap: 12px; align-items: center; font-size: 1rem; }
.split .ticks .tick, .split .ticks .tick svg { width: 22px; height: 22px; }

/* page hero (inner pages) */
.page-hero { position: relative; height: 460px; background: var(--teal-dark) center / cover no-repeat; }
.page-hero .row { position: relative; height: 100%; }
.page-hero .card {
  position: absolute; left: 0; bottom: -70px; background: var(--mint); padding: 40px 56px 40px 56px; min-width: min(560px, 100%);
}
.page-hero .card .crumbs { display: flex; gap: 8px; margin-bottom: 8px; }
.page-hero .card .crumbs a { text-decoration: none; }
.page-hero .card h1 { font-size: 3.2rem; }

/* quote embed */
.quote-shell { display: grid; grid-template-columns: 1fr; gap: 28px; }
.quote-wrap { background: #fff; border: 1px solid var(--mint); padding: 10px 18px; box-shadow: 0 40px 90px -50px rgba(0,64,82,.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; }
.quote-note a { font-weight: 600; text-decoration: none; }

/* powered by band */
.powered-band { background: var(--fe-navy); color: #fff; 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 { font-size: 1.7rem; margin-bottom: 8px; }
.powered-band p { font-size: .98rem; max-width: 640px; opacity: .95; }
.powered-band .pill { background: var(--fe-red); white-space: nowrap; }
.powered-band .pill:hover { background: #ff4a68; }

/* talk band */
.talk { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.talk .text { background: var(--teal-dark); color: #fff; padding: 68px 6vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.talk h2 { font-size: 2.6rem; }
.talk p { margin: 22px 0 30px; max-width: 460px; }
.talk .media { background: center / cover no-repeat; }

/* newsletter + footer */
.newsletter { background: var(--teal-dark); color: #fff; padding: 52px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.newsletter .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.newsletter h3 { font-size: 1.55rem; max-width: 540px; }
.newsletter form { display: flex; gap: 10px; margin-top: 22px; }
.newsletter input { flex: 1; max-width: 330px; height: 42px; border: 0; background: var(--mint); padding: 0 12px; font: inherit; color: var(--teal-dark); }
.newsletter button { background: var(--magenta); color: #fff; border: 0; padding: 0 18px; height: 42px; font: inherit; font-weight: 600; cursor: pointer; }
.newsletter .follow .eyebrow { color: #fff; }
.social { display: flex; gap: 30px; color: var(--lime); margin-top: 22px; }
.social a { display: inline-flex; }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.footer { background: var(--teal-dark); color: #fff; padding: 58px 0 52px; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer .eyebrow { color: var(--lime); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.legal { background: #fff; color: var(--teal-dark); padding: 28px 0 30px; text-align: center; font-size: .85rem; }
.legal .links { display: flex; gap: 30px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.legal a { text-decoration: none; }
.legal .fe { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); background: var(--fe-navy); padding: 10px 16px; border-radius: 999px; }
.legal .fe span { color: #fff; }
.legal .fe img { height: 24px; 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); }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero .row, .split, .talk, .newsletter .row, .quote-shell, .promise-list { grid-template-columns: 1fr; }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: repeat(2, 1fr); }
  .site-header nav { display: none; }
  .split .media, .talk .media { min-height: 320px; order: -1; }
  .powered-band { grid-template-columns: 1fr; text-align: left; }
  .page-hero { height: 380px; }
  .page-hero .card { right: 0; min-width: 0; padding: 30px 28px; }
  .page-hero .card h1 { font-size: 2.4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid.c4, .grid.c2, .footer .cols, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; min-height: 0; }
  .hero-card { padding: 30px 26px 28px; }
  .hero-card h2 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 2.1rem; }
  .feature img { height: 240px; }
  .powered-band { padding: 32px 26px; }
}
