:root {
  --blue: #253469;
  --blue-deep: #111936;
  --blue-soft: #edf0fb;
  --red: #e6332a;
  --orange: #f28c40;
  --orange-soft: #fff2e6;
  --ink: #17213d;
  --muted: #64708a;
  --bg: #f7f8fc;
  --card: #ffffff;
  --line: #e3e7f0;
  --success: #1f7a4c;
  --warning: #9c5b12;
  --danger: #ad2c2c;
  --shadow: 0 24px 70px rgba(24, 33, 61, 0.13);
  --shadow-soft: 0 14px 36px rgba(24, 33, 61, 0.07);
  --radius: 26px;
  --radius-small: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Proxima Nova", Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked-page { min-height: 100vh; background: var(--blue-deep); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.concept-bar {
  background: #fff7df;
  border-bottom: 1px solid #ead9a5;
  color: #624b08;
  font-weight: 800;
  text-align: center;
  padding: 9px 18px;
  font-size: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { width: 205px; }
.menu { display: flex; align-items: center; gap: 25px; font-weight: 800; color: #34405f; font-size: 15px; }
.menu a:hover, .menu a:focus-visible { color: var(--blue); }
.menu-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 52, 105, 0.22);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(37, 52, 105, 0.28); }
.btn:focus-visible { outline: 3px solid rgba(242, 140, 64, 0.45); outline-offset: 3px; }
.btn.secondary { background: #fff; color: var(--blue); border-color: #d7dceb; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--blue); border-color: #cdd4e5; box-shadow: none; }
.btn.orange { background: var(--orange); color: #211b12; box-shadow: 0 10px 22px rgba(242, 140, 64, 0.24); }
.btn.danger { background: var(--danger); }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn.block { width: 100%; }

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 140, 64, 0.34), transparent 28%),
    linear-gradient(135deg, var(--blue), #172247 78%);
  color: #fff;
  padding: 88px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  right: -165px;
  bottom: -245px;
  width: 590px;
  height: 590px;
  border-radius: 50%;
  border: 84px solid rgba(255, 255, 255, 0.055);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: #edf1ff;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.08);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.05em; margin: 0 0 22px; font-weight: 950; }
.lead { font-size: 20px; color: #dce4ff; margin: 0 0 32px; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}
.hero-card-logo { width: 230px; margin-bottom: 26px; }
.hero-facts { display: grid; gap: 13px; }
.hero-fact { display: flex; align-items: flex-start; gap: 12px; color: #f3f6ff; font-weight: 800; }
.fact-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #211b12; display: inline-flex; align-items: center; justify-content: center; font-weight: 950; flex: 0 0 auto; }
.case-box { background: #fff; color: var(--ink); border-radius: 22px; padding: 21px; margin-top: 22px; }
.case-box strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--blue); }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { padding: 23px 18px; text-align: center; border-right: 1px solid var(--line); font-weight: 850; color: #35415f; }
.trust-item:last-child { border-right: 0; }
.trust-item span { display: block; color: var(--orange); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }

section { padding: 82px 0; }
section.compact { padding: 58px 0; }
section.white { background: #fff; }
section.blue-soft { background: var(--blue-soft); }
.section-head { max-width: 790px; margin: 0 auto 40px; text-align: center; }
h2 { font-size: clamp(31px, 4vw, 49px); line-height: 1.08; letter-spacing: -0.038em; margin: 0 0 14px; color: var(--blue); }
h3 { margin: 0 0 10px; color: var(--blue); }
.section-head p, .muted { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { color: var(--orange); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 950; margin-bottom: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 49px; height: 49px; border-radius: 16px; background: rgba(242, 140, 64, 0.16); display: flex; align-items: center; justify-content: center; font-weight: 950; color: var(--blue); margin-bottom: 18px; }
.step-card { position: relative; overflow: hidden; }
.step-card::after { content: attr(data-step); position: absolute; right: 19px; top: 7px; color: rgba(37, 52, 105, 0.07); font-size: 72px; font-weight: 950; }

.split { display: grid; grid-template-columns: 0.93fr 1.07fr; gap: 36px; align-items: start; }
.split.equal { grid-template-columns: 1fr 1fr; }
.panel { background: #fff; border-radius: 32px; padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel.flat { box-shadow: none; }
.list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: #34405f; font-weight: 700; }
.check { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: 0 0 auto; margin-top: 1px; }
.cross { background: #eeeef3; color: #6c7283; }

.calculator-shell { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 26px; align-items: stretch; }
.calculator-input { background: var(--blue); color: #fff; border-radius: 30px; padding: 32px; }
.calculator-input h3 { color: #fff; font-size: 26px; }
.calculator-input p { color: #dce4ff; }
.calculator-input label { color: #fff; }
.calculator-result { border: 2px solid var(--orange); border-radius: 30px; padding: 30px; background: #fff; position: relative; overflow: hidden; }
.calculator-result::after { content: ""; position: absolute; right: -55px; top: -55px; width: 150px; height: 150px; border-radius: 50%; background: var(--orange-soft); }
.result-label { color: var(--muted); font-weight: 800; font-size: 14px; }
.result-price { font-size: clamp(39px, 5vw, 58px); color: var(--blue); font-weight: 950; line-height: 1; margin: 7px 0 8px; }
.result-price small { font-size: 16px; color: var(--muted); font-weight: 750; }
.result-intro { display: inline-flex; margin: 12px 0 18px; background: var(--orange-soft); color: #704118; border-radius: 999px; padding: 8px 12px; font-weight: 900; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.result-stat { border: 1px solid var(--line); border-radius: 16px; padding: 13px; }
.result-stat strong { display: block; color: var(--blue); font-size: 21px; }
.result-stat span { color: var(--muted); font-size: 13px; }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 16px 17px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f2f4fa; color: var(--blue); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcff; }
.price-primary { color: var(--blue); font-weight: 950; font-size: 18px; }
.price-secondary { color: var(--muted); font-size: 13px; }
.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); padding: 6px 10px; font-size: 12px; font-weight: 900; }
.tag.orange { background: var(--orange-soft); color: #734214; }
.tag.green { background: #e7f6ef; color: #16633d; }
.tag.red { background: #fbeaea; color: #8f2929; }

.credit-card { display: flex; flex-direction: column; height: 100%; }
.credit-number { width: 54px; height: 54px; border-radius: 18px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 23px; font-weight: 950; margin-bottom: 17px; }
.credit-card .scope { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 14px; }

.procedure-card { position: relative; }
.procedure-price { font-size: 31px; font-weight: 950; color: var(--blue); margin: 12px 0 3px; }
.procedure-price small { font-size: 14px; color: var(--muted); }
.procedure-meta { color: #4d5a78; font-weight: 850; margin-bottom: 14px; }
.disclaimer { border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 16px 16px 0; padding: 15px 18px; color: #694019; font-size: 14px; }

.faq { display: grid; gap: 13px; max-width: 900px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; box-shadow: 0 8px 22px rgba(24, 33, 61, 0.04); }
summary { cursor: pointer; padding: 19px 0; color: var(--blue); font-weight: 900; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--orange); font-size: 23px; line-height: 1; }
details[open] summary::after { content: "-"; }
details p { color: var(--muted); margin: 0 0 20px; }

form { display: grid; gap: 17px; }
label { font-weight: 850; color: var(--blue); font-size: 14px; display: block; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; border: 1px solid #d3d9e7; border-radius: 15px; padding: 14px 15px;
  background: #fff; color: var(--ink); transition: border 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 52, 105, 0.1); }
textarea { min-height: 126px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-help { color: var(--muted); font-size: 13px; margin-top: 6px; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; }
.checkbox input { width: auto; margin-top: 4px; }
.checkbox label { color: #3d4968; font-weight: 650; margin: 0; }
.form-message { display: none; border-radius: 16px; padding: 15px 17px; font-weight: 750; }
.form-message.show { display: block; }
.form-message.success { background: #e7f6ef; color: #165c3a; }
.form-message.error { background: #fbeaea; color: #8f2929; }
.form-summary { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fafbff; }
.form-summary strong { color: var(--blue); }
.honeypot { position: absolute !important; left: -99999px !important; opacity: 0 !important; pointer-events: none !important; }

.cta { background: linear-gradient(135deg, var(--blue), #172247); color: #fff; border-radius: 36px; padding: 46px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; box-shadow: var(--shadow); }
.cta h2 { color: #fff; }
.cta p { color: #dce4ff; margin: 0; }
.cta .btn.secondary { justify-self: end; }

.site-footer { background: #111936; color: #c8d1ec; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer-logo { width: 170px; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.small { font-size: 13px; color: #98a5c8; }

/* Public teaser */
.teaser {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 12%, rgba(242, 140, 64, 0.35), transparent 30%),
    linear-gradient(135deg, var(--blue), #121a38 75%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}
.teaser::before { content: ""; position: absolute; width: 520px; height: 520px; border: 76px solid rgba(255, 255, 255, 0.05); border-radius: 50%; right: -220px; bottom: -230px; }
.teaser-mark { position: absolute; left: -80px; top: 12%; width: 330px; opacity: 0.055; }
.teaser-card { width: min(960px, calc(100% - 40px)); position: relative; z-index: 1; }
.teaser-logo { width: 265px; margin-bottom: 48px; }
.teaser h1 { max-width: 850px; }
.teaser p { color: #dce4ff; font-size: 21px; max-width: 730px; }
.teaser-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.teaser-badge { border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 9px 13px; font-weight: 800; }
.teaser-footer { margin-top: 50px; color: #9faad0; font-size: 13px; }

/* Login */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; background: #fff; }
.login-brand { background: linear-gradient(145deg, var(--blue), #151f45); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-brand::after { content: ""; position: absolute; right: -170px; bottom: -180px; width: 480px; height: 480px; border: 70px solid rgba(255, 255, 255, 0.06); border-radius: 50%; }
.login-brand img { width: 245px; position: relative; z-index: 1; }
.login-brand-copy { position: relative; z-index: 1; max-width: 540px; }
.login-brand h1 { font-size: clamp(40px, 5vw, 65px); }
.login-brand p { color: #dce4ff; font-size: 19px; }
.login-main { display: grid; place-items: center; padding: 40px; background: var(--bg); }
.login-card { width: min(480px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 34px; box-shadow: var(--shadow); }
.login-card h2 { font-size: 34px; }
.login-error { background: #fbeaea; color: #8f2929; border-radius: 14px; padding: 13px 15px; margin-bottom: 16px; font-weight: 750; }
.login-note { color: var(--muted); font-size: 13px; margin-top: 17px; }

/* Admin */
.admin-body { background: #f3f5fa; }
.admin-header { background: var(--blue-deep); color: #fff; padding: 18px 0; }
.admin-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-nav img { width: 165px; }
.admin-main { padding: 40px 0 70px; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 25px; }
.admin-kpi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.admin-kpi strong { display: block; font-size: 30px; color: var(--blue); }
.admin-kpi span { color: var(--muted); font-size: 13px; }
.admin-table { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: auto; box-shadow: var(--shadow-soft); }
.admin-table table { min-width: 1180px; }
.admin-table td, .admin-table th { padding: 12px 13px; font-size: 13px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status-select { min-width: 145px; padding: 8px 10px; border-radius: 10px; }

.legal-page { max-width: 850px; margin: 0 auto; }
.legal-page h1 { color: var(--blue); font-size: clamp(38px, 6vw, 58px); }
.legal-page h2 { font-size: 28px; margin-top: 38px; }
.legal-page p, .legal-page li { color: #46516d; }

@media (max-width: 980px) {
  .menu { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-grid, .split, .split.equal, .calculator-shell, .cta, .login-shell { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 62px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta .btn.secondary { justify-self: start; }
  .login-brand { min-height: 430px; padding: 40px; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav { height: 72px; }
  .logo { width: 180px; }
  .menu-actions .btn.ghost { display: none; }
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .form-row, .form-row.three, .result-grid { grid-template-columns: 1fr; }
  .panel, .card, .calculator-input, .calculator-result { padding: 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .teaser-logo { width: 220px; margin-bottom: 38px; }
  .teaser p { font-size: 18px; }
  .login-brand { min-height: 360px; padding: 28px; }
  .login-main { padding: 20px; }
  .login-card { padding: 26px; }
  .admin-kpis { grid-template-columns: 1fr 1fr; }
}

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-15 { margin-top: 15px; }
.mt-22 { margin-top: 22px; }
.mt-26 { margin-top: 26px; }
.mt-30 { margin-top: 30px; }

@media (max-width: 980px) {
  .menu.mobile-open {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
}
.admin-header .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.admin-header .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
