:root {
  --paper: #ffffff;
  --ink: #141414;
  --ink-2: #475569;
  --line: #e2e8f0;
  --blue: #1d4ed8;
  --blue-deep: #0b2545;
  --wash: #f8fafc;
  --danger: #dc2626;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header: 4.5rem;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
::selection { background: #dbe6fe; color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: 1rem; top: 0; transform: translateY(-120%); background: var(--blue-deep); color: white; padding: 0.6rem 0.8rem; z-index: 30; }
.skip:focus { transform: none; }
.wrap { width: min(1140px, 100%); margin-inline: auto; padding-inline: 1.5rem; }
.folio { padding: 5rem 0 3.5rem; }
.block { padding: 5rem 0; }
h1, h2, h3, h4 { text-wrap: balance; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.75rem; }
.section-head h2 { margin: 0 auto 0.75rem; font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.18; color: var(--blue-deep); }
.section-head .deck { margin: 0 auto; font-size: 1.05rem; color: var(--ink-2); line-height: 1.6; }
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { width: 100%; max-width: none; padding-inline: clamp(1rem, 2.5vw, 2.25rem); height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--blue-deep); text-decoration: none; }
.brand-dot { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.langs { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: #94a3b8; }
.lang-link { color: #94a3b8; text-decoration: none; transition: color 0.15s ease; }
.lang-link:hover, .lang-link.active, .lang-link[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }
.lang-divider { color: #cbd5e1; font-weight: 400; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.6rem 1.45rem; border-radius: 6px; background: var(--blue); color: white; border: 1px solid var(--blue); text-decoration: none; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.15s ease; box-shadow: 0 1px 2px rgba(11, 37, 69, 0.12); }
.btn:hover { background: #1e40af; border-color: #1e40af; box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25); transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-secondary { background: white; color: var(--blue-deep); border: 1px solid #cbd5e1; box-shadow: 0 1px 2px rgba(11, 37, 69, 0.04); }
.btn-secondary:hover { background: var(--wash); border-color: #94a3b8; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.header-actions .btn { min-height: 2.45rem; padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.badge-tag { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 0.65rem; background: none; border: none; padding: 0; }
.badge-tag.green { color: #047857; }
.hero { position: relative; min-height: calc(100vh - var(--header)); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border-bottom: 1px solid var(--line); padding: 0; }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); gap: 3rem; align-items: center; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.kicker { display: inline-block; color: var(--blue); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.65rem; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 3.8vw, 3.15rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--blue-deep); }
.hero .lede { margin: 0 0 1.5rem; max-width: 36rem; font-size: 1.08rem; color: var(--ink-2); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.reassure { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.15rem; color: var(--ink-2); font-size: 0.88rem; font-weight: 500; }
.reassure span { display: inline-flex; align-items: center; }
.hero-preview { width: 100%; display: flex; justify-content: center; }
.preview-card { width: 100%; background: white; border: 1px solid #cbd5e1; border-radius: 8px; box-shadow: 0 24px 48px -12px rgba(11, 37, 69, 0.14), 0 4px 10px rgba(0,0,0,0.04); overflow: hidden; }
.preview-head { padding: 1.15rem 1.35rem; background: #f8fafc; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rate-label { font-size: 0.95rem; font-weight: 700; color: var(--blue-deep); line-height: 1.3; cursor: pointer; }
.rate-box { display: inline-flex; align-items: center; background: white; border: 2px solid var(--blue); border-radius: 6px; padding: 0.35rem 0.75rem; box-shadow: 0 2px 6px rgba(29, 78, 216, 0.1); flex-shrink: 0; }
.rate-box input { width: 4.2ch; border: 0; background: transparent; padding: 0; font: 800 1.35rem/1 var(--sans); color: var(--blue-deep); text-align: right; outline: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.rate-box input::-webkit-outer-spin-button, .rate-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rate-euro { font-size: 1.15rem; font-weight: 800; color: var(--blue); margin-left: 0.2rem; }
.preview-split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.preview-col { padding: 1.25rem 1.35rem; display: flex; flex-direction: column; align-items: flex-start; }
.preview-col.ota { background: #ffffff; border-right: 1px solid var(--line); }
.preview-col.direct { background: #f0f7ff; }
.p-chan { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 0.2rem; }
.p-chan img { width: 1.1rem; height: 1.1rem; border-radius: 3px; flex-shrink: 0; }
.p-sub { font-size: 0.76rem; color: var(--ink-2); margin-bottom: 0.65rem; }
.p-net { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 0.5rem; color: #334155; }
.p-pct { display: inline-block; font-size: 0.76rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.p-loss { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.text-blue { color: var(--blue); }
.text-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.savings-banner { padding: 1.15rem 1.35rem; background: linear-gradient(135deg, #0b2545 0%, #1d4ed8 100%); color: white; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.savings-kicker { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #93c5fd; margin-bottom: 0.2rem; }
.savings-figure { display: flex; align-items: baseline; gap: 0.35rem; }
.savings-figure strong { font-size: 1.85rem; font-weight: 800; color: #4ade80; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.savings-figure span { font-size: 0.85rem; color: #e2e8f0; font-weight: 600; }
.savings-cta { display: inline-flex; align-items: center; background: white; color: var(--blue-deep); font-size: 0.88rem; font-weight: 700; text-decoration: none; padding: 0.6rem 1.1rem; border-radius: 6px; white-space: nowrap; transition: all 0.15s ease; }
.savings-cta:hover { background: #f1f5f9; transform: translateY(-1px); }
.metrics-band { width: 100%; border-bottom: 1px solid var(--line); background: #ffffff; }
.metrics-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric-cell { padding: 2rem 2.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.metric-cell:first-child { padding-left: 0; }
.metric-cell:last-child { padding-right: 0; }
.metric-cell:not(:last-child) { border-right: 1px solid var(--line); }
.metric-cell strong { font-size: clamp(2.1rem, 3.4vw, 2.85rem); font-weight: 800; color: #486581; line-height: 1; letter-spacing: -0.04em; }
.metric-cell span { font-size: 0.92rem; color: #627d98; line-height: 1.45; font-weight: 500; }
.marquee-wrap { padding: 2.5rem 0; width: 100%; overflow: hidden; background: var(--wash); border-bottom: 1px solid var(--line); }
.marquee-title { text-align: center; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); margin: 0 0 1.25rem; }
.marquee-track { display: flex; overflow: hidden; user-select: none; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; gap: 1rem; min-width: 100%; animation: scroll-marquee 28s linear infinite; }
.marquee-track:hover .marquee-group { animation-play-state: paused; }
@keyframes scroll-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.m-badge { display: inline-flex; align-items: center; gap: 0.55rem; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 0.45rem 0.95rem; font-size: 0.85rem; color: var(--ink-2); box-shadow: 0 1px 3px rgba(11, 37, 69, 0.04); white-space: nowrap; transition: all 0.15s ease; }
.m-badge:hover { border-color: var(--blue); transform: translateY(-1px); }
.m-badge img { width: 1.25rem; height: 1.25rem; border-radius: 3px; flex-shrink: 0; object-fit: contain; }
.m-badge strong { color: var(--blue-deep); font-weight: 700; font-size: 0.9rem; }
.stepper-layout { max-width: 62rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 2.5rem; align-items: stretch; }
.stepper-timeline { position: relative; display: flex; }
.timeline-track { display: none; }
.milestones-list { position: relative; z-index: 2; list-style: none; padding: 0; margin: 0; display: grid; grid-template-rows: repeat(4, 1fr); gap: 1rem; width: 100%; }
.step-milestone { position: relative; display: flex; gap: 1.1rem; align-items: center; padding: 0.9rem 1.15rem; border-radius: 8px; cursor: pointer; background: white; border: 1px solid var(--line); transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.step-milestone:hover { border-color: #cbd5e1; background: #f8fafc; }
.step-milestone.is-active { background: white; border-color: var(--blue); box-shadow: 0 4px 12px rgba(11, 37, 69, 0.06); }
.milestone-bullet { position: relative; z-index: 2; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: white; color: #64748b; font-weight: 700; font-size: 0.88rem; display: flex; align-items: center; justify-content: center; transition: background 0.25s ease, color 0.25s ease; }
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.ring-bg { fill: none; stroke: #cbd5e1; stroke-width: 2.5; }
.ring-fg { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.bullet-num, .bullet-check { position: relative; z-index: 1; line-height: 1; }
.bullet-check { display: none; font-size: 1.05rem; font-weight: 800; }
.step-milestone.is-active .milestone-bullet { color: var(--blue); }
.step-milestone.is-done .milestone-bullet { background: var(--blue); color: white; }
.step-milestone.is-done .ring-bg, .step-milestone.is-done .ring-fg { stroke: var(--blue); }
.step-milestone.is-done .bullet-num { display: none; }
.step-milestone.is-done .bullet-check { display: inline-block; }
.step-connector { position: absolute; left: calc(2.525rem - 1px); top: calc(50% + 1.375rem); height: calc(100% + 1rem - 2.75rem); width: 2px; background: #cbd5e1; z-index: 3; overflow: hidden; pointer-events: none; }
.step-connector-fill { display: block; width: 100%; height: 0%; background: var(--blue); }
.step-milestone h3 { margin: 0 0 0.25rem; font-size: 1.02rem; font-weight: 700; color: var(--blue-deep); }
.step-milestone p { margin: 0; font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; }
.stepper-stage { display: grid; grid-template-columns: 1fr; }
.step-panel, .step-panel[hidden] { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(11, 37, 69, 0.05); transition: opacity 0.2s ease; }
.step-panel[hidden] { visibility: hidden; opacity: 0; pointer-events: none; }
.panel-head { padding: 1.75rem 1.75rem 1.15rem; }
.step-panel h4 { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 800; color: var(--blue-deep); letter-spacing: -0.025em; line-height: 1.2; }
.step-panel p { color: var(--ink-2); font-size: 0.94rem; line-height: 1.55; margin: 0; }
.panel-ledger { margin: 0 1.75rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.ledger-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.ledger-row span { color: var(--ink-2); font-weight: 500; }
.ledger-row strong { color: var(--blue-deep); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage-pms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; padding: 0 1.75rem; margin: 0 0 0.75rem; }
.stage-pms-grid span { display: flex; align-items: center; justify-content: flex-start; gap: 0.5rem; background: var(--wash); border: 1px solid var(--line); border-radius: 5px; padding: 0.42rem 0.65rem; font-size: 0.82rem; font-weight: 600; color: var(--blue-deep); white-space: nowrap; }
.stage-pms-grid span img { width: 1rem; height: 1rem; border-radius: 2px; flex-shrink: 0; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.75rem; background: var(--wash); border-top: 1px solid var(--line); margin-top: auto; }
.panel-foot strong { font-size: 1.45rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.panel-foot span { font-size: 0.84rem; color: var(--blue-deep); font-weight: 600; line-height: 1.35; text-align: right; }
#faq { border-top: 1px solid var(--line); }
.faq { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 0 1.4rem; box-shadow: 0 1px 3px rgba(11, 37, 69, 0.03); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.faq details:hover { border-color: #cbd5e1; }
.faq details[open] { border-color: var(--blue); box-shadow: 0 4px 14px rgba(29, 78, 216, 0.07); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.15rem 0; cursor: pointer; font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--blue-deep); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 0.45rem; height: 0.45rem; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { margin: 0 0 1.15rem; padding-top: 0.85rem; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.65; max-width: 64ch; }
#candidatura, #apply { background: var(--wash); }
.application, .newsletter { max-width: 40rem; margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 1.75rem; }
.newsletter { margin-top: 1.5rem; }
.fields { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 600; }
input { width: 100%; border: 1px solid var(--line); background: white; color: var(--ink); font: 500 1rem/1.4 var(--sans); padding: 0.65rem 0.75rem; border-radius: 6px; transition: border-color 0.15s ease; }
input[data-valid="true"] { border-color: #047857; }
input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.86rem; font-weight: 600; }
label.news { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.35rem; font-weight: 500; }
label.news input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--blue); flex-shrink: 0; }
.wa-direct-note { margin: 0.85rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.wa-direct-note a, .wa-status-link { color: #047857; font-weight: 600; text-decoration: underline; }
.form-status { margin: 0.9rem 0 0; font-weight: 600; }
.newsletter p { margin: 0; line-height: 1.55; }
.signup { display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 0.7rem; margin-top: 0.85rem; }
.signup .btn { margin-top: 1.62rem; }
.fine { text-align: center; margin: 1.5rem auto 0; max-width: 40rem; color: var(--ink-2); font-size: 0.9rem; }
.site-footer { background: var(--blue-deep); color: white; padding: 2.25rem 0 2.5rem; }
.site-footer p { margin: 0 0 0.7rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem; }
.footer-links a { color: #d5deee; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: white; }
.prose { padding: 3.5rem 1.5rem 5rem; max-width: 52rem; min-height: calc(100vh - var(--header) - 6.5rem); }
.prose h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; color: var(--blue-deep); }
.prose h2 { margin: 2rem 0 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--blue-deep); letter-spacing: -0.02em; }
.prose p { margin: 0; color: var(--ink-2); }
.prose p + p { margin-top: 0.9rem; }
.prose a { color: var(--blue); font-weight: 600; }
@media (max-width: 1024px) {
  .hero-grid, .stepper-layout, .metrics-strip { grid-template-columns: 1fr; }
  .hero-content { align-items: center; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .reassure { justify-content: center; }
  .metric-cell { padding: 1.25rem 0; text-align: center; align-items: center; }
  .metric-cell:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
  .stepper-stage { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 1rem; }
  .folio, .block { padding: 3rem 0; }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 1.75rem; padding-bottom: 2rem; gap: 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .reassure { gap: 0.5rem 1rem; font-size: 0.82rem; }
  .header-actions { gap: 0.85rem; }
  .header-actions .btn { min-height: 2.3rem; padding: 0.45rem 1rem; font-size: 0.85rem; }
  .preview-head, .savings-banner { padding: 1rem; }
  .preview-col { padding: 1rem; }
  .p-net { font-size: 1.55rem; }
  .panel-head { padding: 1.25rem 1.25rem 0.9rem; }
  .panel-ledger, .stage-pms-grid { margin-inline: 0; padding-inline: 1.25rem; }
  .ledger-row { font-size: 0.82rem; gap: 0.5rem; }
  .panel-foot { padding: 0.9rem 1.25rem; }
  .panel-foot strong { font-size: 1.25rem; }
  .faq details { padding: 0 1.1rem; }
  .faq summary { font-size: 0.96rem; padding: 1rem 0; }
  .application, .newsletter { padding: 1.25rem; }
  .signup { grid-template-columns: 1fr; }
  .signup .btn { margin-top: 0; }
  .application .btn, .newsletter .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress-fill { transition: none; }
  .marquee-group { animation: none; overflow-x: auto; }
}
