:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #dbe3ec;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --brand: #f7b500;
  --brand-deep: #d99d00;
  --blue: #12617a;
  --blue-dark: #0b3f52;
  --success: #177245;
  --danger: #b42318;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-muted { background: var(--surface-2); }
.section-dark { background: var(--ink); color: white; }
.section-blue { background: var(--blue-dark); color: white; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 14px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--brand); border-radius: 999px; }
.section-dark .eyebrow, .section-blue .eyebrow { color: #d6eef5; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 760px; }
.section-dark .lead, .section-blue .lead { color: #d9e1e8; }
.muted { color: var(--muted); }

.topbar { background: var(--ink); color: #d7dee7; font-size: .84rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 227, 236, .88);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand img { width: 138px; height: 62px; object-fit: cover; border-radius: 8px; box-shadow: 0 5px 18px rgba(15, 23, 42, .12); }
.brand-copy { display: none; }
.brand-copy strong { display: block; line-height: 1.05; }
.brand-copy small { color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; font-weight: 700; font-size: .94rem; color: var(--ink-soft); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -8px; height: 3px; width: 0; background: var(--brand); transition: width .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #101827; box-shadow: 0 12px 30px rgba(247, 181, 0, .3); }
.btn-primary:hover { background: #ffc21c; }
.btn-dark { background: var(--ink); color: white; }
.btn-outline { border-color: var(--line); background: white; color: var(--ink); }
.btn-outline:hover { box-shadow: var(--shadow-sm); }
.btn-light { background: white; color: var(--ink); }
.btn-block { width: 100%; }
.btn svg { width: 19px; height: 19px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 46%, rgba(255,255,255,.28) 100%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(18,97,122,.09) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(18,97,122,.09) 47px 48px),
    #f2f8fa;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% 44%;
  height: 620px;
  background: linear-gradient(140deg, rgba(18,97,122,.95), rgba(11,63,82,.97));
  transform: rotate(-8deg);
  border-radius: 60px;
}
.hero-inner { position: relative; z-index: 2; min-height: 700px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 54px; padding: 70px 0; }
.hero-copy { max-width: 720px; }
.hero h1 span { color: var(--blue); }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: .55rem .8rem; border-radius: 999px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 700; }
.hero-badge svg { width: 18px; height: 18px; color: var(--blue); }
.hero-visual { position: relative; z-index: 3; }
.hero-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-card img { width: 100%; aspect-ratio: 1.58; object-fit: cover; border-radius: 20px; }
.hero-note { position: absolute; left: -48px; bottom: 34px; max-width: 230px; background: var(--ink); color: white; padding: 18px 20px; border-radius: 16px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.hero-note strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.hero-note small { color: #cbd5e1; }

.trust-strip { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.trust-item:last-child { border-right: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.align-center { align-items: center; }

.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(15,23,42,.04); }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fff7d9; color: var(--ink); margin-bottom: 22px; }
.card-icon svg { width: 27px; height: 27px; }
.service-card { position: relative; overflow: hidden; min-height: 300px; }
.service-card::before { content: ""; position: absolute; top: 0; right: 0; width: 90px; height: 90px; background: var(--brand); border-bottom-left-radius: 90px; opacity: .9; }
.service-card .card-icon, .service-card h3, .service-card p, .service-card a { position: relative; z-index: 1; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); }
.text-link:hover { gap: 10px; }

.feature-panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(rgba(11,63,82,.84), rgba(11,63,82,.92)),
    url('../img/logo2.png') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: flex-end;
  padding: 42px;
}
.feature-panel::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.28); border-radius: 22px; }
.feature-panel-content { position: relative; z-index: 2; max-width: 500px; }
.check-list { display: grid; gap: 13px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }

.process { counter-reset: step; }
.process-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-item::before { counter-increment: step; content: "0" counter(step); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--brand); font-weight: 900; }
.process-item:last-child { border-bottom: 0; }
.process-item p { color: var(--muted); margin-bottom: 0; }

.cta-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 50px; background: var(--brand); color: var(--ink); }
.cta-panel::after { content: "BTR"; position: absolute; right: -28px; bottom: -48px; font-size: 12rem; font-weight: 900; line-height: 1; opacity: .09; letter-spacing: -.08em; }
.cta-panel-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-panel h2 { max-width: 720px; margin-bottom: 8px; }

.page-hero { padding: 86px 0 64px; background: linear-gradient(135deg, #edf6f9, #fff 55%); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 820px; }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue); }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.form-shell { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.form-progress { height: 8px; background: #e9eef3; }
.form-progress-bar { height: 100%; width: 25%; background: var(--brand); transition: width .3s ease; }
.form-head { padding: 28px 32px 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.form-step-label { color: var(--muted); font-size: .88rem; font-weight: 700; }
.form-body { padding: 18px 32px 32px; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: formIn .25s ease both; }
@keyframes formIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.field { margin-bottom: 24px; }
.field > label, .field legend { display: block; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.field small { display: block; margin-top: 7px; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: white;
  padding: .86rem .95rem;
  color: var(--ink);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,97,122,.12); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.choice-grid.compact { grid-template-columns: repeat(3, minmax(0,1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; min-height: 54px; gap: 10px; padding: .8rem .9rem; border: 1px solid #cbd5e1; border-radius: 12px; background: white; cursor: pointer; transition: .2s ease; }
.choice label::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid #94a3b8; border-radius: 50%; }
.choice input[type="checkbox"] + label::before { border-radius: 5px; }
.choice input:checked + label { border-color: var(--blue); background: #edf7fa; box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + label::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px white; }
.choice input[type="checkbox"]:checked + label::before { box-shadow: inset 0 0 0 3px white; }
.choice input:focus-visible + label { outline: 3px solid rgba(18,97,122,.22); outline-offset: 2px; }
.upload-box { border: 1.5px dashed #9fb1bf; border-radius: 14px; padding: 22px; background: #f9fbfc; }
.upload-box input { width: 100%; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.form-error { display: none; color: var(--danger); background: #fff1f0; border: 1px solid #f7c1bb; padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; }
.form-error.is-visible { display: block; }
.form-status { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; display: none; }
.form-status.success { display: block; background: #ecfdf3; color: var(--success); border: 1px solid #a6e2c5; }
.form-status.error { display: block; background: #fff1f0; color: var(--danger); border: 1px solid #f7c1bb; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sticky-card { position: sticky; top: 120px; }
.summary-card { background: var(--ink); color: white; border-radius: var(--radius); padding: 26px; }
.summary-card h3 { font-size: 1.3rem; }
.summary-card dl { margin: 20px 0 0; }
.summary-card dt { color: #94a3b8; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-top: 14px; }
.summary-card dd { margin: 4px 0 0; font-weight: 700; }
.form-note { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .9rem; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; }
.privacy-check input { margin-top: 5px; }
.privacy-check a { text-decoration: underline; color: var(--blue); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.contact-item strong { display: block; }
.contact-item a { color: var(--blue); }
.contact-form { background: var(--surface-2); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); }

.legal { max-width: 850px; }
.legal h2 { margin-top: 46px; font-size: 1.8rem; }
.legal h3 { margin-top: 30px; font-size: 1.25rem; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue); text-decoration: underline; }

.site-footer { background: #0c111b; color: #d6dee8; padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 44px; padding-bottom: 46px; }
.footer-brand img { width: 230px; border-radius: 12px; margin-bottom: 18px; }
.footer-brand p { color: #9eabb9; max-width: 420px; }
.footer-title { color: white; font-size: 1rem; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b7c2ce; }
.footer-links a:hover { color: white; }
.footer-data { color: #b7c2ce; }
.footer-data strong { color: white; }
.footer-bottom { border-top: 1px solid #253043; min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #8e9baa; font-size: .85rem; }

.cookie-note { position: fixed; z-index: 1100; right: 18px; bottom: 18px; width: min(390px, calc(100% - 36px)); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; display: none; }
.cookie-note.is-visible { display: block; }
.cookie-note p { font-size: .9rem; color: var(--ink-soft); }
.cookie-actions { display: flex; gap: 10px; align-items: center; }
.cookie-actions a { color: var(--blue); text-decoration: underline; font-size: .9rem; }

.notice { border-left: 4px solid var(--brand); background: #fffbeb; padding: 18px 20px; border-radius: 0 12px 12px 0; }

@media (max-width: 980px) {
  .topbar { display: none; }
  .header-inner { min-height: 74px; }
  .brand img { width: 112px; height: 50px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 74px 0 auto; display: none; padding: 22px 16px 28px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 10px; }
  .nav a:not(.btn)::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 90px; }
  .hero { min-height: auto; }
  .hero::after { inset: auto -20% -22% 18%; }
  .hero-visual { max-width: 720px; }
  .hero-note { left: 18px; bottom: -28px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 1px solid var(--line); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quote-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 64px 0; }
  .section-tight { padding: 42px 0; }
  h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.85rem, 10vw, 2.8rem); }
  .hero-inner { gap: 34px; padding-top: 42px; }
  .hero-note { position: relative; left: 0; bottom: auto; margin: -14px 16px 0; max-width: none; transform: none; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: .82rem; }
  .trust-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-item { border-right: 1px solid var(--line); }
  .feature-panel { min-height: 440px; padding: 28px; }
  .cta-panel { padding: 34px 26px; }
  .cta-panel-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 58px 0 44px; }
  .form-head, .form-body { padding-left: 20px; padding-right: 20px; }
  .choice-grid, .choice-grid.compact { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
}

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