/* Public website design system.
 *
 * NOTE: this file is ALSO loaded by the patient portal (frontend/partials/portal-nav.php, with
 * portal.css layered on top) and by Portal Register.php. The selectors the portal depends on --
 * the :root tokens, .wrap, .btn/.btn-primary/.btn-outline-light, .site-footer/.footer-links/
 * .footer-bottom, .legal-page/.legal-content and .cookie-banner* -- must keep their names.
 * Everything else here is public-site only.
 */

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

:root {
  /* The palette moved from teal to the cyan/sky/navy system used by the landing-page
   * design (2026-09-11). The --teal-* names are kept because portal.css consumes them;
   * renaming would mean editing both files for no visual gain. */
  --teal: #0891b2;
  --teal-dark: #0e7490;
  --teal-bright: #0891b2;
  --teal-hover: #0e7490;
  --navy: #0f172a;
  --ink: #1e293b;
  --muted: #475569;
  --surface: #f8fafc;
  --white: #ffffff;
  --hp-red: #dc2626;

  --sky: #0284c7;
  --blue: #1d4ed8;
  --emerald: #059669;
  /* the headline/CTA gradient the design leans on; kept as one token so the two
   * places that paint it cannot drift apart */
  --brand-gradient: linear-gradient(to right, #0891b2, #0284c7, #1d4ed8);

  --teal-soft: rgba(8, 145, 178, 0.1);
  --line: #e2e8f0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.09), 0 2px 8px rgba(15, 23, 42, 0.04);
}

html {
  scroll-behavior: smooth;
  /* sticky header height, so #anchor targets are not hidden under it */
  scroll-padding-top: 96px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

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

/* ---------- header ---------- */

.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.top-bar-contact {
  /* min-width:0 is required: without it this nowrap flex item refuses to shrink and widens
     the whole document on narrow screens */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar-links {
  display: flex;
  flex-shrink: 0;
  gap: 1.25rem;
}

.top-bar a {
  color: #fff;
  font-weight: 600;
}

.top-bar a:hover {
  color: var(--teal-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(29, 36, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  /* the logo is a JPEG on an off-white ground; multiply drops the box on white chrome */
  mix-blend-mode: multiply;
}

.brand-text strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.nav-cta {
  margin-left: 0.6rem;
  padding: 0.6rem 1.15rem !important;
  border-radius: 999px !important;
  background: var(--teal-bright) !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--teal-hover) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  line-height: 0;
}

/* ---------- hero ---------- */

.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(circle at 78% 12%, rgba(8, 145, 178, 0.16), transparent 58%),
    linear-gradient(to bottom, var(--surface), rgba(236, 254, 255, 0.5) 40%, var(--white));
}

/* Accreditation pill above the headline. Replaces the plain uppercase eyebrow in the
 * hero only; .eyebrow is still used as-is by the sections further down the page. */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(207, 250, 254, 0.7);
  border: 1px solid rgba(165, 243, 252, 0.9);
  color: #164e63;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.hero .eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow::before { animation: none; }
}

/* Gradient-filled words in the headline. Falls back to the solid brand colour where
 * background-clip:text is unsupported. */
.grad-text {
  color: var(--teal);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .grad-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-points {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-points li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--teal-bright);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: clamp(280px, 34vw, 420px);
  object-fit: cover;
  /* the source photo frames faces near the top; centring crops them out */
  object-position: center 22%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  left: -1rem;
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 17rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.hero-badge-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.hero-badge strong {
  display: block;
  font-size: 0.9rem;
}

.hero-badge small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ---------- trust strip ---------- */

.trust-strip {
  padding: 3rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.trust-item:hover {
  border-color: rgba(10, 166, 166, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.trust-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.trust-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.trust-item p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- stats ---------- */

.stats-band {
  padding: 2.5rem 0;
  background: var(--brand-gradient);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.stat span {
  font-size: 0.85rem;
  opacity: 0.92;
}

/* ---------- generic sections ---------- */

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--surface);
}

.block-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

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

.link-more {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.link-more::after {
  content: " \2192";
}

.link-more:hover {
  color: var(--teal-bright);
}

.link-more-light {
  color: var(--white);
}

.link-more-light:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: rgba(10, 166, 166, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.service-card h3 {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.service-card p {
  font-size: 0.87rem;
  color: var(--muted);
}

/* ---------- OFW section ---------- */

.ofw {
  padding: 4rem 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.ofw-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.ofw .eyebrow {
  color: var(--teal-bright);
}

.ofw h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}

.ofw-copy > p {
  max-width: 42rem;
  font-size: 0.95rem;
}

.ofw-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.ofw-list li {
  position: relative;
  padding-left: 1.6rem;
}

.ofw-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.5em;
  width: 0.5rem;
  height: 0.85rem;
  border: solid var(--teal-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ofw-note {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--teal-bright);
  font-weight: 600;
}

.ofw-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ofw-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.ofw-card p {
  font-size: 0.88rem;
}

/* ---------- how it works ---------- */

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal-bright);
  color: var(--white);
  font-weight: 700;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.87rem;
  color: var(--muted);
}

/* ---------- about ---------- */

.about-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-license {
  font-weight: 600;
  color: var(--teal-dark) !important;
}

.about-badge {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.about-badge img {
  width: 130px;
  height: auto;
  margin: 0 auto 1rem;
  mix-blend-mode: multiply;
}

.about-badge p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- booking band ---------- */

.book-band {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: var(--white);
}

.book-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.book-copy h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.book-copy p {
  font-size: 0.95rem;
  opacity: 0.94;
  max-width: 34rem;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.book-band .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
}

.book-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--teal-dark);
}

.book-phone {
  flex-basis: 100%;
  font-size: 0.88rem;
  opacity: 0.94;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.contact-lead,
.contact-note,
.contact-hours {
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  color: var(--muted);
}

.contact-list li + li {
  margin-top: 0.35rem;
}

.staff-box {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.staff-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.staff-box p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  /* the gradient cannot be transitioned, so hover deepens the shadow instead */
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.28);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f1f5f9;
  color: var(--teal-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.25rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-blurb {
  font-size: 0.85rem;
  max-width: 22rem;
}

.footer-license {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-bright);
}

.footer-col h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.footer-col a:hover {
  color: var(--teal-bright);
}

.footer-contact {
  list-style: none;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 2rem;
  margin: 1.5rem 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal-bright);
}

.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.75;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .trust-grid,
  .stats-grid,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-top: 1px solid rgba(201, 206, 216, 0.7);
    box-shadow: 0 8px 20px rgba(29, 36, 51, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.5rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .header-inner {
    position: relative;
    min-height: 72px;
  }

  .hero-grid,
  .ofw-grid,
  .about-block,
  .contact-grid,
  .book-inner {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    height: clamp(240px, 50vw, 340px);
  }

  .hero-badge {
    left: 0.75rem;
    bottom: -1rem;
  }
}

@media (max-width: 640px) {
  .trust-grid,
  .service-grid,
  .steps-grid,
  .ofw-list,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .section,
  .ofw {
    padding: 3rem 0;
  }
}

@media (max-width: 560px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem 0;
    text-align: center;
  }

  .top-bar-contact {
    max-width: 100%;
  }

  .brand-text {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .trust-item:hover,
  .service-card:hover {
    transform: none;
  }
}

/* ---------- inner pages: legal, FAQ, cookies ---------- */

.page-hero {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(circle at 90% 20%, rgba(43, 177, 143, 0.14), transparent 55%),
    var(--surface);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 44rem;
}

.legal-page {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.legal-content {
  max-width: 820px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.legal-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.05rem;
  color: var(--teal-dark);
  margin-bottom: 0.65rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 600;
}

.legal-content a:hover {
  color: var(--teal-bright);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(10, 166, 166, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--teal-dark);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.cookie-prefs {
  max-width: 820px;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cookie-prefs h2 {
  font-size: 1.05rem;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.cookie-prefs + .legal-content {
  margin-top: 1.5rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 206, 216, 0.7);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.cookie-option p {
  margin-bottom: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cookie-badge {
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.cookie-actions {
  margin-top: 1.25rem;
}

.cookie-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--teal-dark);
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -8px 30px rgba(29, 36, 51, 0.2);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  font-size: 0.88rem;
}

.cookie-banner a {
  color: var(--teal-bright);
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-option {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-content,
  .cookie-prefs {
    padding: 1.25rem;
  }
}
