/* ==========================================================================
   veovita-aktiv landing page
   Palette "Terracotta" from the Claude Design source. Unlike the other
   -Plus landings this page ships no Bootstrap: the design uses grid/flex
   throughout, so the framework would be dead weight.
   ========================================================================== */

/* ---------- Jost, self-hosted (no CDN, matching the sibling landings) ---------- */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/Jost/woff2/jost-v6-latin-300.woff2) format('woff2'),
       url(fonts/Jost/woff/jost-v6-latin-300.woff) format('woff');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Jost/woff2/jost-v6-latin-regular.woff2) format('woff2'),
       url(fonts/Jost/woff/jost-v6-latin-regular.woff) format('woff');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Jost/woff2/jost-v6-latin-500.woff2) format('woff2'),
       url(fonts/Jost/woff/jost-v6-latin-500.woff) format('woff');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Jost/woff2/jost-v6-latin-600.woff2) format('woff2'),
       url(fonts/Jost/woff/jost-v6-latin-600.woff) format('woff');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Jost/woff2/jost-v6-latin-700.woff2) format('woff2'),
       url(fonts/Jost/woff/jost-v6-latin-700.woff) format('woff');
}

/* ---------- palette ---------- */
:root {
  --action: #C9482F;
  --action-dark: #A8341F;
  --ink: #5C2A1E;
  --muted: #7A5648;
  --body: #4A2A22;
  --bg: #FFF7F1;
  --tint: #FFEFE4;
  --tint-deep: #FBE6D8;
  /* Exactly the Claude Design "Terracotta" values. White text on the light end
     of these two gradients is below WCAG AA (3.41:1 and 2.37:1) — kept as
     designed by decision; #C15636 / #D48041 would clear it. */
  --panel-a: #E2653F;
  --panel-b: #B03A22;
  --partner-a: #F09149;
  --partner-b: #DD6A22;
  --footer: #3D1A11;
  --footer-ink: #F6E3DA;

  /* the parent-brand green stays untouched — it is also used by the sibling landings */
  --veovita-green-a: #44c501;
  --veovita-green-b: #00830d;

  --gutter: 48px;
  --r-card: 40px;
  --r-panel: 56px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Jost', system-ui, -apple-system, 'Century Gothic', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  /* The hero's decorative circles bleed past the right edge on purpose.
     `clip` contains them without creating a scroll container, so the page has
     no phantom scroll width; `hidden` is the fallback for older browsers. */
  overflow-x: hidden;
  overflow-x: clip;
}

a { color: var(--action); text-decoration: none; }
a:hover { color: var(--action-dark); }

img, svg { max-width: 100%; }

h1, h2 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.08;
}

.section { padding: 0 var(--gutter) 76px; }

/* focus ring — the design has no focus states, keyboard users need one */
a:focus-visible,
summary:focus-visible,
.cta:focus-visible {
  outline: 3px solid var(--action-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px var(--gutter);
  flex-wrap: wrap;
}

.wordmark {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-right: auto;
  color: var(--ink);
}
.wordmark b { font-weight: 700; color: var(--action); }
a.wordmark:hover { color: var(--ink); }

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  background: var(--tint-deep);
  border-radius: 999px;
  padding: 6px;
}
.site-nav a {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.site-nav a:hover { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 26px var(--gutter) 72px;
  /* Contains the two decorative circles below, which bleed past the edges by
     design. Clipping here rather than on body, whose overflow would propagate
     to the viewport and leave the page with phantom scroll width. */
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  top: -240px;
  right: -160px;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle at 34% 32%, var(--tint-deep) 0%, var(--tint) 58%, rgba(255, 247, 241, 0) 72%);
}
.hero::after {
  bottom: -140px;
  left: -150px;
  width: 420px;
  height: 420px;
  background: var(--tint);
  opacity: 0.7;
}

.hero-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 52px;
  align-items: center;
}
.hero-lead {
  font-size: 1.35rem;
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-art {
  border-radius: 44px;
  overflow: hidden;
  height: 340px;
  box-shadow: 0 20px 44px rgba(92, 42, 30, .12);
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-boxes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 18px;
  padding-top: 44px;
}

.box-partner {
  background: linear-gradient(150deg, var(--partner-a) 0%, var(--partner-b) 100%);
  color: #fff;
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 18px 38px rgba(200, 110, 40, .22);
}
.partner-logo {
  background: #fff;
  border-radius: 24px;
  padding: 16px 22px;
  align-self: flex-start;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--partner-b);
  line-height: 1;
}
.partner-logo span {
  display: block;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
}
.partner-note { font-size: 1.05rem; font-weight: 500; }

.box-intro {
  background: linear-gradient(150deg, var(--panel-a) 0%, var(--panel-b) 100%);
  color: #fff;
  border-radius: var(--r-card);
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  box-shadow: 0 22px 46px rgba(160, 58, 34, .24);
}
.box-intro p {
  margin: 0;
  font-size: 1.15rem;
  max-width: 62ch;
  text-wrap: pretty;
}

.cta {
  display: inline-block;
  background: #fff;
  color: var(--action-dark);
  border-radius: 999px;
  padding: 16px 34px;
  font-size: 18px;
  font-weight: 600;
}
.cta:hover { background: var(--tint); color: var(--action-dark); }

/* ---------- USPs ---------- */
.usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usp {
  background: #fff;
  border-radius: var(--r-card);
  padding: 38px 34px 34px;
  box-shadow: 0 12px 30px rgba(92, 42, 30, .06);
}
.usp-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.usp h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.25;
  text-wrap: pretty;
}
.usp p {
  font-size: 1.02rem;
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- care ---------- */
.care {
  background: var(--tint);
  border-radius: var(--r-panel);
  padding: 56px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 44px;
  align-items: start;
}
.care h2 { margin-bottom: 30px; }
.care ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.care li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border-radius: 28px;
  padding: 22px 26px;
  font-size: 1.05rem;
  color: var(--muted);
  text-wrap: pretty;
}
.care li strong { color: var(--ink); font-weight: 600; }
.tick {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--action);
  display: flex;
  align-items: center;
  justify-content: center;
}
.care-photo {
  border-radius: 44px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  box-shadow: 0 16px 36px rgba(92, 42, 30, .1);
}
.care-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- contact ---------- */
.contact {
  background: linear-gradient(150deg, var(--panel-a) 0%, var(--panel-b) 100%);
  color: #fff;
  border-radius: var(--r-panel);
  padding: 56px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 44px;
  align-items: start;
}
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact-lead {
  margin: 0 0 30px;
  font-size: 1.1rem;
  max-width: 50ch;
  opacity: .92;
  text-wrap: pretty;
}
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
}
.pill-solid { background: #fff; color: var(--action-dark); }
.pill-solid:hover { background: var(--tint); color: var(--action-dark); }
.pill-ghost { background: rgba(255, 255, 255, .18); color: #fff; font-weight: 500; }
.pill-ghost:hover { background: rgba(255, 255, 255, .3); color: #fff; }

.emergency {
  background: rgba(255, 255, 255, .14);
  border-radius: 36px;
  padding: 30px 32px;
  font-size: 1rem;
  line-height: 1.75;
}
.emergency strong { font-weight: 600; }
.emergency-list { padding-top: 16px; opacity: .94; }

/* ---------- FAQ ---------- */
.faq-lead { font-size: 1.1rem; color: var(--muted); margin: 10px 0 28px; }
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1000px;
}
.faq details {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 22px rgba(92, 42, 30, .05);
}
/* Closed, a row is the design's 999px pill exactly; it only rounds down to a
   card once opened, when pill corners would look wrong around body copy. */
.faq details:not([open]) { border-radius: 999px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq details:not([open]) summary:hover { background: var(--tint); }
.faq summary::before {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tint-deep);
  color: var(--action);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.faq details[open] summary::before { content: "\2013"; }
.faq .answer {
  padding: 0 30px 26px 82px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  text-wrap: pretty;
}

/* ---------- parent band ---------- */
.parent {
  background: linear-gradient(150deg, var(--veovita-green-a) 0%, var(--veovita-green-b) 100%);
  color: #fff;
  border-radius: var(--r-panel);
  padding: 48px 56px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.parent-mark {
  flex: none;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #123d15;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parent-mark img { width: 96px; display: block; }
.parent-body { flex: 1; min-width: 340px; }
.parent-kicker { font-size: 1rem; opacity: .92; }
.parent-title {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 6px 0 12px;
  max-width: 44ch;
  text-wrap: pretty;
}
.parent p {
  margin: 0 0 22px;
  font-size: 1.05rem;
  max-width: 56ch;
  opacity: .94;
  text-wrap: pretty;
}
.cta-parent {
  display: inline-block;
  background: #fff;
  color: #0b5c13;
  border-radius: 999px;
  padding: 15px 32px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
.cta-parent:hover { background: #eafbe6; color: #0b5c13; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  padding: 56px 56px 40px;
  font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.footer-title { font-size: 22px; font-weight: 600; padding-bottom: 14px; }
.footer-links {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer a { color: var(--footer-ink); text-decoration: underline; }
.site-footer a:hover { color: #fff; }
.footer-legal { opacity: .88; line-height: 1.8; }
.footer-emergency {
  background: rgba(255, 255, 255, .09);
  border-radius: 32px;
  padding: 26px 28px;
  font-size: 15px;
  line-height: 1.75;
}
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(246, 227, 218, .22);
  padding-top: 22px;
  font-size: 15px;
  opacity: .85;
}

/* ==========================================================================
   Responsive — the source design is desktop-only; these breakpoints are
   the implementation's own.
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-top,
  .hero-boxes,
  .care,
  .contact { grid-template-columns: 1fr; }

  .usps { grid-template-columns: repeat(2, 1fr); }
  .hero-art { height: 300px; }
  .care-photo { min-height: 300px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --gutter: 24px; --r-panel: 36px; --r-card: 30px; }

  body { font-size: 17px; }
  .section { padding-bottom: 52px; }
  .hero { padding-bottom: 48px; }
  .hero-art { height: 240px; }

  .site-header { gap: 16px; }
  .wordmark { margin-right: 0; }
  .site-nav { width: 100%; justify-content: space-between; }
  .site-nav a { padding: 9px 14px; font-size: 15px; }

  .usps,
  .footer-grid { grid-template-columns: 1fr; }

  .care,
  .contact { padding: 32px 24px; }
  .box-intro { padding: 28px 26px; }
  /* flex-wrap alone does not help here: .parent-body is flex:1, so it shrinks
     to a sliver beside the 150px mark instead of wrapping. Stack explicitly. */
  .parent {
    padding: 32px 26px;
    gap: 26px;
    flex-direction: column;
    align-items: flex-start;
  }
  .parent-body { min-width: 0; width: 100%; }
  .parent-mark { width: 110px; height: 110px; }
  .parent-mark img { width: 70px; }
  .site-footer { padding: 40px 26px 32px; }

  .faq summary { padding: 18px 22px; font-size: 1.02rem; }
  .faq .answer { padding: 0 22px 22px 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- direct-booking overlay ----------
   Mirrors the Veovita-Plus landing's booking dialog. This page ships no
   Bootstrap, so the spinner and the visually-hidden helper are local. */
.veovita-booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px;
  overflow-y: auto;
  background: rgba(61, 26, 17, 0.55);
}
.veovita-booking-overlay.is-open { display: flex; }

.veovita-booking-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  /* The padding keeps the square-cornered iframe clear of the dialog's rounded
     corners, so no form content is ever clipped by the radius. */
  padding: 10px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(61, 26, 17, 0.32);
}

.veovita-booking-close {
  position: absolute;
  /* Above the loader and error panels: the error text keeps pointer-events so it stays
     selectable, and this makes that safe regardless of how the dialog is sized later. */
  z-index: 1;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.veovita-booking-close:hover { background: var(--tint); }
.veovita-booking-close:focus-visible {
  outline: 3px solid var(--action-dark);
  outline-offset: 2px;
}

.veovita-booking-iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 16px;
}

.veovita-booking-loader,
.veovita-booking-error {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  /* Both panels span the whole dialog and would otherwise swallow clicks on the close button,
     which sits under them. Neither holds a control, so nothing needs to receive events. */
  pointer-events: none;
}

.veovita-booking-dialog.is-loading .veovita-booking-loader {
  display: flex;
  opacity: 0;
  /* 300ms delay: a load that finishes sooner never paints the spinner, so it cannot strobe. */
  animation: veovita-booking-loader-fade-in 120ms linear 300ms forwards;
}
@keyframes veovita-booking-loader-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.veovita-booking-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--tint-deep);
  border-top-color: var(--action);
  border-radius: 999px;
  animation: veovita-booking-spin 750ms linear infinite;
}
@keyframes veovita-booking-spin {
  to { transform: rotate(360deg); }
}

/* visibility, not display: the iframe keeps its 600px box so the dialog does not resize on load. */
.veovita-booking-dialog.is-loading .veovita-booking-iframe,
.veovita-booking-dialog.is-error .veovita-booking-iframe { visibility: hidden; }

.veovita-booking-error {
  padding: 24px 32px;
  text-align: center;
  color: var(--body);
}
.veovita-booking-dialog.is-error .veovita-booking-error { display: flex; }
/* pointer-events is re-enabled on the text alone so the message stays selectable for a support
   request; the close button sits above it via z-index, so this cannot swallow a dismissal. */
.veovita-booking-error p { display: none; margin: 0; pointer-events: auto; }
.veovita-booking-dialog.is-error .veovita-booking-error__load { display: block; }
.veovita-booking-dialog.is-error.is-unavailable .veovita-booking-error__load { display: none; }
.veovita-booking-dialog.is-error.is-unavailable .veovita-booking-error__unavailable { display: block; }

.veovita-booking-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
