/* CutMedicalBills. Brand colours from the original page:
   sky blue #00aeef, red #ee413a, logo brown #8b6a4e. */
:root {
  --blue: #00aeef;
  --blue-dark: #0089c2;
  --red: #ee413a;
  --red-dark: #d32f28;
  --ink: #1b2430;
  --ink-soft: #4d5866;
  --line: #e3e8ee;
  --paper: #ffffff;
  --mist: #f3f7fa;
  --head: "Lato", system-ui, sans-serif;
  --text: "Nunito Sans", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 14px 34px -14px rgba(16, 32, 52, 0.35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.08rem/1.65 var(--text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.top img { width: clamp(180px, 22vw, 240px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 800 1.15rem/1.2 var(--head); color: #fff; background: var(--red);
  padding: 1rem 1.7rem; border-radius: 10px; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(238, 65, 58, .75);
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 1.3rem; padding: 1.15rem 2rem; }
.btn--small { font-size: 1rem; padding: .7rem 1.1rem; box-shadow: none; }
.guarantee { margin: .7rem 0 0; font-size: .95rem; color: inherit; opacity: .9; }

/* Hero */
.hero { position: relative; color: #fff; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: #2a1f1a url("assets/hero-bg.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 12, 8, .72), rgba(20, 12, 8, .82)); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); font-weight: 900; max-width: 22ch; margin: 0 auto .5em; text-wrap: balance; }
.hero h1 span { color: #ff6b63; }
.hero__sub { font: 600 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.45 var(--head); max-width: 46ch; margin: 0 auto 2rem; color: #f1ece8; }
.video { max-width: 820px; margin: 0 auto 2.2rem; border: 8px solid var(--blue); border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Press strip */
.press { background: var(--blue); padding: 1.6rem 0; }
.press .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.2rem 3rem; }
.press__label { font: 800 .85rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.press img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .95; }

section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 900; margin-bottom: 2.5rem; }

/* Experts */
.experts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .experts__grid { grid-template-columns: 1fr; } }
.expert { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; background: var(--mist); border-radius: var(--radius); padding: 1.8rem; }
@media (max-width: 480px) { .expert { grid-template-columns: 1fr; text-align: center; } .expert img { margin: 0 auto; } }
.expert img { width: 140px; border-radius: 50%; filter: grayscale(1); }
.expert h3 { font-size: 1.6rem; margin-bottom: .1em; }
.expert__role { color: var(--red); font-weight: 800; margin: 0 0 .8rem; font-family: var(--head); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  border: 2px solid var(--red);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ee413a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 75% no-repeat;
}
.expert .ticks li { text-align: left; }

/* What you'll learn */
.learn { position: relative; color: #fff; background: #222 url("assets/learn-bg.jpg") center / cover no-repeat; }
.learn::before { content: ""; position: absolute; inset: 0; background: rgba(15, 18, 24, .78); }
.learn > * { position: relative; }
.learn__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 820px) { .learn__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.learn__item { text-align: center; }
.learn__item img { height: 76px; width: auto; margin: 0 auto 1.1rem; }
.learn__item h3 { font-size: 1.35rem; }
.learn__item p { color: #e3e6ea; margin: 0; }

/* Offer block */
.offer { background: #0079ad; color: #fff; }
.offer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 820px) { .offer__grid { grid-template-columns: 1fr; text-align: center; } }
.offer h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem); font-weight: 900; margin-bottom: .2em; }
.price { font: 800 1.7rem/1.2 var(--head); margin: 0 0 1.2rem; }
.price s { color: #fff; opacity: .75; margin-right: .4rem; font-weight: 700; }
.price b { color: #fff; font-size: 2.3rem; }
.offer .ticks li { font: 700 1.15rem/1.35 var(--head); margin-bottom: .8rem; }
.offer .ticks li::before { border-color: #fff; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }
@media (max-width: 820px) { .offer .ticks { display: inline-block; text-align: left; } }
.offer__tag { text-align: center; margin: 2.4rem auto 0; background: #015a82; display: table; padding: .7rem 1.3rem; border-radius: 8px; font-size: 1.15rem; }

/* Testimonials */
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .voices__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.voice { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.voice blockquote { margin: 0 0 1.2rem; font-size: 1.08rem; flex: 1; }
.voice figcaption { display: flex; align-items: center; gap: .8rem; font-weight: 800; font-family: var(--head); }
.voice figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Story video */
.story { position: relative; color: #fff; text-align: center; background: #222 url("assets/story-bg.jpg") center / cover no-repeat; }
.story::before { content: ""; position: absolute; inset: 0; background: rgba(15, 18, 24, .75); }
.story > * { position: relative; }
.yt { position: relative; }
.yt button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); background: rgba(0,0,0,.72); border-radius: 12px; display: grid; place-items: center; transition: background-color 150ms ease; }
.yt button:hover .play, .yt button:focus-visible .play { background: #e02b2b; }
.yt .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.yt iframe { position: absolute; inset: 0; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font: 800 1.15rem/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.6rem; line-height: 1; transition: transform 150ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--ink-soft); }

/* Footer */
.foot { background: var(--mist); text-align: center; padding: 2.5rem 0 3rem; color: var(--ink-soft); font-size: .98rem; }
.foot nav { display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.foot nav a { color: var(--ink); font-weight: 700; }
.foot p { margin: .3rem 0; }

/* Legal pages */
.legal { padding: 3rem 0 4rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 2.4rem; font-weight: 900; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal .updated { color: var(--ink-soft); }
