:root {
  --beco-red: #ef1b2d;
  --beco-red-dark: #c80d1e;
  --ink: #0d0e10;
  --ink-soft: #17191d;
  --paper: #f5f5f3;
  --line: rgba(255, 255, 255, .14);
  --muted: #aeb0b5;
  --radius: 22px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: white; }
button, input { font: inherit; }
button { color: inherit; }

.landing-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  overflow: hidden;
}

.offer-panel, .assistant-panel { position: relative; min-width: 0; }

.offer-panel {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 30px clamp(28px, 4vw, 70px) 24px;
  background:
    radial-gradient(circle at 82% 8%, rgba(239, 27, 45, .14), transparent 32%),
    linear-gradient(145deg, #111216 0%, #090a0c 74%);
}

.offer-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 1px;
  background: linear-gradient(transparent, rgba(255,255,255,.18), transparent);
}

.brand-bar { display: flex; align-items: center; gap: 18px; min-height: 42px; }
.brand-bar img { display: block; object-fit: contain; }
.beco-brand img { width: 130px; height: auto; }
.brand-divider { width: 1px; height: 27px; background: rgba(255,255,255,.28); }
.ebro-brand { width: 110px; height: auto; filter: invert(1); }

.offer-content { width: min(100%, 810px); margin: auto 0; padding: 34px 0 24px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 15px; color: #e7e7e7;
  font-size: .76rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 3px; background: var(--beco-red); border-radius: 3px; }
h1 { margin: 0; max-width: 740px; font-size: clamp(2.25rem, 4.4vw, 5.3rem); line-height: .96; letter-spacing: -.055em; font-weight: 520; }
h1 strong { display: block; color: white; font-weight: 850; }

.price-row { display: flex; align-items: flex-end; gap: 14px; margin: 22px 0 20px; }
.price-prefix { padding-bottom: 11px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.price { color: var(--beco-red); font-size: clamp(3.3rem, 6.2vw, 7rem); line-height: .76; letter-spacing: -.065em; font-weight: 900; }
.price span { margin-left: 3px; font-size: .42em; vertical-align: top; }

.highlights {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.highlights li { padding: 14px 14px 14px 0; }
.highlights li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.highlights strong, .highlights span { display: block; }
.highlights strong { margin-bottom: 4px; font-size: .95rem; }
.highlights span { color: var(--muted); font-size: .76rem; line-height: 1.3; }

.media-card { position: relative; aspect-ratio: 16/8.2; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: #050506; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.media-tabs { position: absolute; z-index: 5; top: 14px; right: 14px; display: flex; padding: 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 100px; background: rgba(7,8,10,.72); backdrop-filter: blur(14px); }
.media-tab { padding: 7px 12px; border: 0; border-radius: 100px; background: transparent; color: #c7c8ca; font-size: .72rem; font-weight: 720; cursor: pointer; }
.media-tab.is-active { background: white; color: #111; }
.video-cover, .video-frame, .promo-view { position: absolute; inset: 0; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 55%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 60%); pointer-events: none; }
.play-button { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(239,27,45,.9); box-shadow: 0 0 0 10px rgba(239,27,45,.15); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.play-button:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(239,27,45,.13); }
.play-button span { display: block; margin: auto; width: 0; height: 0; transform: translateX(2px); border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid white; }
.video-caption { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 650; }
.video-caption span { color: var(--beco-red); font-weight: 900; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.promo-view { display: flex; flex-direction: column; justify-content: space-between; padding: 38px; background: radial-gradient(circle at 80% 20%, rgba(239,27,45,.3), transparent 32%), linear-gradient(135deg,#24262a,#090a0c); }
.promo-view > div { margin: auto 0; max-width: 74%; }
.promo-kicker { color: var(--beco-red); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.promo-view strong { display: block; margin-top: 8px; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1; }
.promo-view p { margin: 11px 0 0; color: #c9cacc; font-size: .9rem; line-height: 1.45; }
.promo-location { color: #a9abad; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.trust-row span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; color: #cacbcd; font-size: .68rem; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--beco-red); font-weight: 900; }
.offer-legal { min-height: 31px; }
.legal-trigger { padding: 0; border: 0; background: none; color: #8e9095; font-size: .68rem; text-decoration: underline; cursor: pointer; }
.offer-legal p { max-width: 760px; margin: 8px 0 0; color: #85878b; font-size: .64rem; line-height: 1.4; }

.assistant-panel {
  display: grid; place-items: center;
  min-height: 100svh;
  padding: clamp(26px, 4vw, 72px);
  background:
    linear-gradient(180deg, rgba(239,27,45,.06), transparent 30%),
    #f1f1ef;
  color: var(--ink);
}
.assistant-backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.assistant-backdrop::before { content: ""; position: absolute; top: -22%; left: -8%; width: 70%; aspect-ratio: 1; border: 1px solid rgba(13,14,16,.07); border-radius: 50%; }
.assistant-backdrop span { position: absolute; right: -2vw; bottom: -4vw; color: rgba(13,14,16,.035); font-size: clamp(10rem, 22vw, 28rem); font-weight: 950; letter-spacing: -.1em; }

.chat-card { position: relative; z-index: 1; width: min(100%, 660px); min-height: 650px; display: flex; flex-direction: column; padding: clamp(24px, 3.2vw, 42px); border: 1px solid rgba(14,15,17,.09); border-radius: 30px; background: rgba(255,255,255,.94); box-shadow: 0 30px 90px rgba(10,11,14,.13); backdrop-filter: blur(16px); }
.chat-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.advisor-avatar { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ink); color: white; font-weight: 900; }
.advisor-avatar span { color: var(--beco-red); font-size: 1.45rem; }
.advisor-avatar i { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: #36b873; }
.chat-overline { margin: 0 0 3px; color: var(--beco-red); font-size: .66rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.chat-header h2 { margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.42rem); line-height: 1.18; letter-spacing: -.025em; }
.availability { align-self: start; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 100px; background: #ecf8f1; color: #23754a; font-size: .66rem; font-weight: 750; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: #31a868; }

.chat-progress { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 6px; margin: 26px 0 30px; }
.chat-progress span { height: 3px; border-radius: 100px; background: #dedfe0; transition: background .3s ease; }
.chat-progress span.is-complete { background: var(--beco-red); }
.chat-progress small { margin-left: 7px; color: #7b7d81; font-size: .68rem; }
.chat-transcript { display: flex; flex-direction: column; gap: 11px; }
.message { width: fit-content; max-width: 88%; padding: 13px 15px; border-radius: 7px 18px 18px; background: #f0f0ef; animation: message-in .3s ease both; }
.message p { margin: 0; color: #303237; font-size: .9rem; line-height: 1.52; }
.message time { display: block; margin-top: 7px; color: #94969a; font-size: .6rem; }
.message--user { align-self: flex-end; border-radius: 18px 7px 18px 18px; background: var(--ink); }
.message--user p { color: white; }
.question-message { background: #fff0f2; }
.question-message p { color: #8d0d1a; font-weight: 720; }

.chat-options { margin-top: auto; padding-top: 24px; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.option-button { min-height: 51px; padding: 11px 13px; border: 1px solid #d9dadd; border-radius: 14px; background: white; color: #26272a; text-align: left; font-size: .82rem; font-weight: 700; cursor: pointer; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.option-button:hover, .option-button:focus-visible { border-color: var(--beco-red); background: #fff7f8; transform: translateY(-1px); outline: none; }
.contact-step { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-step label { display: grid; gap: 6px; color: #55575b; font-size: .72rem; font-weight: 700; }
.contact-step input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #d5d6d8; border-radius: 12px; background: white; color: #111; outline: none; }
.contact-step input:focus { border-color: var(--beco-red); box-shadow: 0 0 0 3px rgba(239,27,45,.1); }
.contact-step .consent { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: start; font-weight: 500; line-height: 1.35; }
.consent input { width: 17px; min-height: 17px; margin-top: 1px; accent-color: var(--beco-red); }
.consent a { color: inherit; }
.submit-lead { grid-column: 1 / -1; min-height: 52px; border: 0; border-radius: 13px; background: var(--beco-red); color: white; font-weight: 850; cursor: pointer; box-shadow: 0 13px 28px rgba(239,27,45,.22); }
.submit-lead:hover { background: var(--beco-red-dark); }
.chat-success { margin: auto 0; text-align: center; }
.success-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 15px; border-radius: 50%; background: #e8f8ee; color: #17804b; font-size: 1.7rem; font-weight: 900; }
.chat-success h3 { margin: 0; font-size: 1.55rem; }
.chat-success p { max-width: 410px; margin: 10px auto 18px; color: #696b70; font-size: .86rem; line-height: 1.5; }
.chat-success button { border: 0; background: none; color: var(--beco-red); font-weight: 800; cursor: pointer; }
.chat-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e4e4e3; color: #898b8e; font-size: .65rem; }
.chat-footer span::before { content: "•"; margin-right: 6px; color: #36a66a; }

[hidden] { display: none !important; }
@keyframes message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .landing-shell { grid-template-columns: 1fr 1fr; }
  .offer-panel { padding-inline: 28px; }
  .assistant-panel { padding: 28px; }
  .chat-card { min-height: 620px; padding: 28px; }
  .availability { display: none; }
}

@media (max-width: 820px) {
  .landing-shell { display: block; overflow: visible; }
  .offer-panel, .assistant-panel { min-height: auto; }
  .offer-panel { padding: 22px 20px 26px; }
  .offer-content { padding: 42px 0 24px; }
  h1 { font-size: clamp(2.45rem, 11.5vw, 4.5rem); }
  .price { font-size: clamp(3.6rem, 17vw, 6rem); }
  .media-card { aspect-ratio: 4/3; }
  .assistant-panel { padding: 28px 16px 40px; }
  .chat-card { width: 100%; min-height: 620px; border-radius: 24px; }
}

@media (max-width: 540px) {
  .beco-brand img { width: 112px; }
  .ebro-brand { width: 90px; }
  .highlights { grid-template-columns: 1fr; }
  .highlights li, .highlights li + li { display: grid; grid-template-columns: 120px 1fr; align-items: center; padding: 10px 0; border-left: 0; border-top: 1px solid var(--line); }
  .highlights li:first-child { border-top: 0; }
  .highlights strong { margin: 0; }
  .media-card { aspect-ratio: 1/1; }
  .promo-view { padding: 28px; }
  .promo-view > div { max-width: 100%; }
  .chat-card { padding: 22px 18px; }
  .chat-header { grid-template-columns: auto 1fr; }
  .option-grid, .contact-step { grid-template-columns: 1fr; }
  .contact-step .consent, .submit-lead { grid-column: auto; }
  .message { max-width: 94%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.ai-composer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4e4e3;
}

.ai-composer__label {
  display: block;
  margin: 0 0 7px;
  color: #686a6e;
  font-size: .7rem;
  font-weight: 700;
}

.ai-composer__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ai-composer input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d5d6d8;
  border-radius: 13px;
  background: white;
  color: #111;
  outline: none;
}

.ai-composer input:focus {
  border-color: #ef1b2d;
  box-shadow: 0 0 0 3px rgba(239, 27, 45, .1);
}

.ai-composer button {
  min-width: 82px;
  padding: 0 16px;
  border: 0;
  border-radius: 13px;
  background: #0d0e10;
  color: white;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.ai-composer button:hover {
  background: #ef1b2d;
}

.ai-composer input:disabled,
.ai-composer button:disabled {
  opacity: .55;
  cursor: wait;
}

.ai-composer__status {
  min-height: 16px;
  margin: 6px 2px 0;
  color: #7b7d81;
  font-size: .67rem;
}

.chat-transcript {
  max-height: 285px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.message--assistant.is-error {
  background: #fff0f2;
}

.message--assistant.is-error p {
  color: #8d0d1a;
}

@media (max-width: 540px) {
  .ai-composer__controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ai-composer button {
    min-width: 70px;
    padding-inline: 11px;
  }
}

.quick-path-heading {
  margin: 0 0 12px;
}

.quick-path-heading > span {
  display: block;
  margin-bottom: 3px;
  color: #ef1b2d;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.quick-path-heading p {
  margin: 0 0 9px;
  color: #77797d;
  font-size: .72rem;
  line-height: 1.45;
}

.quick-path-heading strong {
  display: block;
  color: #25272a;
  font-size: .84rem;
  font-weight: 800;
}

.ai-composer {
  margin-bottom: 15px;
}

.chat-options {
  padding-top: 14px;
  border-top: 1px solid #e4e4e3;
}

.chat-options {
  position: relative;
  margin-top: 18px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #dedfe1;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #fafafa 0%, #f3f3f2 100%);
  box-shadow:
    0 12px 30px rgba(13, 14, 16, .06),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.chat-options::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 58px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #ef1b2d;
}

.quick-path-heading {
  margin: 0 0 15px;
}

.quick-path-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #c80d1e;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quick-path-heading > span::before {
  content: "⚡";
  font-size: .72rem;
}

.quick-path-heading p {
  max-width: 500px;
  margin: 0 0 12px;
  color: #717378;
  font-size: .72rem;
  line-height: 1.45;
}

.quick-path-heading strong {
  display: block;
  color: #17181b;
  font-size: .9rem;
  line-height: 1.3;
  font-weight: 850;
}

.chat-options .option-button {
  background: rgba(255, 255, 255, .92);
  border-color: #d7d8db;
}

.quick-path-heading.is-contact > span,
.quick-path-heading.is-contact > p {
  display: none;
}

.quick-path-heading.is-contact {
  margin-bottom: 12px;
}

@media (max-width: 540px) {
  .chat-options {
    padding: 18px 15px;
    border-radius: 17px;
  }
}