:root {
  --bg: #05070b;
  --bg-soft: #080c13;
  --panel: #0a1019;
  --panel-2: #0d1724;
  --line: rgba(255,255,255,.09);
  --line-blue: rgba(39,126,255,.28);
  --text: #f6f8fb;
  --muted: #8e98a8;
  --blue: #287dff;
  --blue-2: #5ba2ff;
  --cyan: #08d1d7;
  --green: #16d79a;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(36,108,222,.13), transparent 28%),
    linear-gradient(180deg, #040609 0%, #060912 48%, #05070b 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.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; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.section-pad { padding: 110px 0; }
.page-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(4,6,10,.82);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
  width: 48px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  position: relative; transform: skew(-8deg); background: #fff; color: #05070b;
  font-size: 23px; font-weight: 950; letter-spacing: -8px; padding-right: 8px;
}
.brand-mark i { color: var(--blue); font-style: normal; }
.brand-mark b { font-weight: 950; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 14px; letter-spacing: .08em; }
.brand-copy small { color: var(--blue-2); font-size: 9px; letter-spacing: .28em; margin-top: 6px; }
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a { color: #adb5c1; font-size: 14px; transition: .2s; }
.main-nav a:hover { color: #fff; }
.nav-actions { display: flex; gap: 8px; }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 0; width: 44px; height: 44px; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: #fff; margin: 6px auto; }

.btn {
  border: 0; border-radius: 999px; min-height: 44px; padding: 0 21px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  color: #fff; cursor: pointer; font-weight: 700; font-size: 14px; transition: .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #1670ee, #2d8dff); box-shadow: 0 12px 35px rgba(31,119,255,.27); }
.btn-primary:hover { box-shadow: 0 15px 40px rgba(31,119,255,.4); }
.btn-dark { background: #0a0e14; border: 1px solid var(--line); }
.btn-outline { background: transparent; border: 1px solid rgba(53,131,255,.55); }
.btn-ghost { background: transparent; color: #bdc4ce; }

.hero { min-height: calc(100vh - 76px); display: flex; align-items: center; padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--blue-2); text-transform: uppercase; letter-spacing: .22em; font-weight: 800; font-size: 11px; }
.hero .eyebrow { display: inline-flex; border: 1px solid var(--line-blue); background: rgba(22,86,174,.12); border-radius: 999px; padding: 7px 13px; }
h1 { margin: 30px 0 25px; font-size: clamp(58px, 6.3vw, 92px); line-height: .87; letter-spacing: -.065em; font-weight: 950; }
h1 span { color: transparent; background: linear-gradient(90deg, #247eff, #66a8ff); -webkit-background-clip: text; background-clip: text; }
.hero-text { max-width: 650px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .btn { min-height: 52px; padding: 0 26px; }
.hero-stats { display: flex; gap: 30px; margin-top: 48px; }
.hero-stats div { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 16px; }
.hero-stats strong { font-size: 18px; }
.hero-stats span { color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.plate { position: absolute; width: 72%; height: 75%; border: 1px solid rgba(255,255,255,.06); background: linear-gradient(145deg, rgba(22,44,78,.44), rgba(3,8,15,.22)); }
.plate-back { transform: rotate(14deg) translate(7%, -3%); }
.plate-mid { transform: rotate(-5deg) translate(-6%, 2%); background: linear-gradient(145deg, rgba(27,59,106,.4), rgba(3,8,15,.32)); }
.logo-card {
  position: relative; z-index: 2; width: 72%; aspect-ratio: .78; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(4,9,16,.97), rgba(3,7,13,.96)); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); transform: rotate(1.5deg);
}
.logo-large { font-size: 120px; line-height: .75; font-weight: 950; letter-spacing: -35px; padding-right: 28px; }
.logo-large i { color: var(--blue); font-style: normal; }
.logo-title { margin-top: 28px; font-weight: 950; letter-spacing: .14em; font-size: 21px; }
.logo-line { width: 44%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); margin: 24px 0; }
.logo-slogan { color: #7f8998; letter-spacing: .35em; font-size: 9px; }
.status-card {
  position: absolute; right: 0; bottom: 13%; z-index: 3; display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; background: rgba(7,12,20,.88); box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.status-card div { display: flex; flex-direction: column; }
.status-card strong { font-size: 12px; }
.status-card small { color: var(--muted); text-transform: uppercase; font-size: 8px; letter-spacing: .09em; }

.section-head { max-width: 730px; margin-bottom: 44px; }
h2 { margin: 14px 0 16px; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.045em; }
.section-head p, .about-panel p, .contact-card p { color: var(--muted); }
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  min-height: 265px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: linear-gradient(145deg, rgba(8,13,21,.92), rgba(5,8,14,.88)); position: relative; overflow: hidden; transition: .25s;
}
.service-card::after { content:""; position:absolute; width:180px; height:180px; border-radius:50%; background:rgba(38,126,255,.1); filter:blur(30px); right:-70px; bottom:-110px; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(54,137,255,.36); }
.service-icon { color: var(--blue-2); font-size: 27px; }
.service-num { position: absolute; right: 26px; top: 25px; color: #313947; font-weight: 900; }
.service-card h3 { font-size: 24px; margin: 38px 0 8px; }
.service-card p { color: var(--muted); max-width: 520px; }
.service-card a, .text-link { color: #70adff; font-weight: 700; display: inline-block; margin-top: 14px; }

.about { background: linear-gradient(180deg, transparent, rgba(10,17,28,.7), transparent); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.about-panel { position: sticky; top: 120px; }
.benefit-list { border-top: 1px solid var(--line); }
.benefit { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.benefit > span { color: var(--blue); font-weight: 900; }
.benefit h3 { margin: 0 0 7px; font-size: 21px; }
.benefit p { margin: 0; color: var(--muted); }

.process-line { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-step { min-height: 240px; padding: 30px; border-right: 1px solid var(--line); background: rgba(5,9,15,.72); }
.process-step:last-child { border-right: 0; }
.process-step > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(34,119,255,.14); border: 1px solid var(--line-blue); color: var(--blue-2); font-weight: 900; }
.process-step h3 { margin-top: 45px; font-size: 20px; }
.process-step p { color: var(--muted); }

.contact-card { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; border: 1px solid var(--line-blue); border-radius: 30px; padding: 56px; background: linear-gradient(135deg, #0b1727, #08101c 45%, #0b2549); box-shadow: var(--shadow); }
.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 30px; font-weight: 800; }
.contact-details a:first-child { font-size: 23px; }
.lead-form, .auth-form { display: grid; gap: 14px; }
.lead-form label, .auth-form label { color: #bac3ce; font-size: 12px; font-weight: 700; display: grid; gap: 8px; }
input, textarea {
  width: 100%; color: #fff; background: rgba(2,6,11,.7); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none; resize: vertical;
}
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,125,255,.12); }
.check { display: flex !important; grid-template-columns: 18px 1fr; align-items: center; }
.check input { width: 16px; height: 16px; }
.form-note { min-height: 20px; margin: 0; color: var(--green) !important; font-size: 12px; }

.footer { border-top: 1px solid var(--line); padding: 38px 0; color: var(--muted); font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand { min-width: 0; }
.footer-links { display: flex; justify-content: flex-end; gap: 20px; }
.footer a:hover { color: #fff; }

.modal {
  width: min(460px, calc(100% - 30px)); color: #fff; border: 1px solid var(--line-blue); border-radius: 22px; padding: 34px; background: #080d16; box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.modal h2 { font-size: 38px; }
.modal-close { position: absolute; right: 16px; top: 13px; border: 0; background: transparent; color: #9ba4b2; font-size: 30px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-actions { display: none; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; display: none; flex-direction: column; gap: 0; padding: 16px 18px 24px; background: rgba(5,8,13,.98); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .hero-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-visual { min-height: 460px; }
  .logo-card { width: 58%; }
  .about-panel { position: static; }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
}

@media (max-width: 680px) {
  .section-pad { padding: 78px 0; }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 12px; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
  .service-grid, .process-line { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .contact-card { padding: 30px 22px; }
  .hero-visual { min-height: 380px; }
  .logo-card { width: 72%; }
  .logo-large { font-size: 84px; letter-spacing: -25px; }
  .logo-title { font-size: 15px; }
  .status-card { right: 2%; bottom: 4%; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Laravel forms and service pages */
.nav-actions form { margin: 0; }
.field-error { display: block; margin-top: -8px; color: #ff7d8c; font-size: 11px; line-height: 1.45; }
.form-success { padding: 11px 13px; border: 1px solid rgba(16, 215, 154, .28); border-radius: 11px; background: rgba(16, 215, 154, .08); }
.check a { color: #66a6ff; text-decoration: underline; text-underline-offset: 3px; }
.check a:hover { color: #9bc4ff; }
.auth-form .btn { margin-top: 4px; }

.legal-shell { min-height: 100vh; padding: 130px 0 80px; }
.legal-card { width: min(900px, calc(100% - 36px)); margin: 0 auto; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(11, 23, 39, .96), rgba(5, 9, 15, .98)); padding: clamp(28px, 5vw, 58px); box-shadow: var(--shadow); }
.legal-card h1 { margin: 14px 0 28px; font-size: clamp(38px, 7vw, 72px); }
.legal-card h2 { margin-top: 34px; font-size: clamp(22px, 4vw, 34px); }
.legal-card p, .legal-card li { color: #aab3bf; line-height: 1.75; }
.legal-card ul { padding-left: 20px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.requisites-grid { display: grid; grid-template-columns: minmax(180px, .55fr) 1fr; gap: 1px; overflow: hidden; margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.requisites-grid dt, .requisites-grid dd { margin: 0; padding: 14px 16px; background: #070c14; }
.requisites-grid dt { color: #7d8897; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.requisites-grid dd { color: #e8edf5; overflow-wrap: anywhere; }
.placeholder-value { color: #7d8897; font-style: italic; }

@media (max-width: 620px) {
  .requisites-grid { grid-template-columns: 1fr; }
  .requisites-grid dt { padding-bottom: 4px; }
  .requisites-grid dd { padding-top: 4px; }
}

/* Phone verification */
.verification-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 64px 18px 90px;
}
.verification-card {
  width: min(680px, 100%);
  border: 1px solid var(--line-blue);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 58px);
  background:
    radial-gradient(circle at 90% 0%, rgba(38,126,255,.18), transparent 34%),
    linear-gradient(145deg, rgba(11,23,39,.98), rgba(5,9,15,.98));
  box-shadow: var(--shadow);
}
.verification-card h1 {
  margin: 24px 0 22px;
  font-size: clamp(46px, 9vw, 78px);
}
.verification-intro { color: var(--muted); max-width: 580px; }
.verification-message {
  margin: 22px 0;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.verification-message.success { color: #55e8b9; border-color: rgba(16,215,154,.3); background: rgba(16,215,154,.08); }
.verification-message.error { color: #ff8996; border-color: rgba(255,92,111,.3); background: rgba(255,92,111,.08); }
.verification-message.warning { color: #ffd981; border-color: rgba(255,194,61,.25); background: rgba(255,194,61,.07); }
.verification-phone-block {
  margin-top: 28px;
  padding: 24px;
  display: grid;
  gap: 8px;
  text-align: center;
  border: 1px solid rgba(54,137,255,.28);
  border-radius: 18px;
  background: rgba(4,10,19,.72);
}
.verification-phone-block > span { color: #aab4c2; font-size: 12px; }
.verification-number {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -.03em;
  color: #70adff;
  overflow-wrap: anywhere;
}
.verification-number:hover { color: #fff; }
.verification-phone-block small { color: #6f7a89; }
.verification-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 8px;
  color: #c5ccd6;
  font-size: 13px;
}
.verification-timer { text-align: center; color: #7f8998; font-size: 12px; }
.verification-timer strong { color: #fff; font-variant-numeric: tabular-nums; }
.verification-check { width: 100%; margin-top: 22px; }
.verification-check:disabled { opacity: .55; cursor: wait; transform: none; }
.verification-change { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.verification-change summary { color: #8f99a7; font-size: 12px; cursor: pointer; }
.verification-change .auth-form { margin-top: 16px; }
.verification-start-form { margin-top: 24px; }
.verification-help {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: #778291;
  font-size: 12px;
}
.verification-help a { color: #6da9ff; }

@media (max-width: 560px) {
  .verification-shell { padding-top: 30px; }
  .verification-card { padding: 27px 21px; border-radius: 22px; }
  .verification-phone-block { padding: 20px 13px; }
}

.modal { max-height: calc(100vh - 30px); overflow-y: auto; }

/* Request and director contacts */
.main-nav { gap: 25px; }
.site-notice { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.site-notice.success { color: #55e8b9; background: rgba(16,215,154,.08); }
.site-notice.error { color: #ff8996; background: rgba(255,92,111,.08); }
.company-contacts { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7,12,20,.25), rgba(11,25,45,.48)); }
.director-contact-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 34px; border: 1px solid rgba(48,132,255,.28); border-radius: 24px;
  background: radial-gradient(circle at 100% 0%, rgba(39,126,255,.16), transparent 40%), #070c14;
  box-shadow: 0 26px 70px rgba(0,0,0,.3);
}
.director-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 19px; color: #fff; background: linear-gradient(135deg, #1574f6, #184a91); font-size: 22px; font-weight: 950; }
.director-copy > span { color: #67a8ff; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
.director-copy h3 { margin: 7px 0 12px; font-size: clamp(24px, 3vw, 36px); }
.director-links { display: flex; flex-wrap: wrap; gap: 9px 24px; }
.director-links a { color: #c4ccd6; font-weight: 700; }
.director-links a:hover { color: #69a9ff; }
.verify-brand { position: absolute; top: 28px; left: 28px; }
.verification-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.form-error { padding: 11px 13px; border: 1px solid rgba(255,92,111,.28); border-radius: 11px; color: #ff8996; background: rgba(255,92,111,.08); }
.verification-page .verification-card p { color: var(--muted); }
.verification-page .verification-card strong { color: #fff; }

@media (max-width: 980px) {
  .director-contact-card { grid-template-columns: auto 1fr; }
  .director-contact-card > .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .director-contact-card { grid-template-columns: 1fr; padding: 25px; }
  .director-contact-card > .btn { grid-column: auto; width: 100%; }
  .director-icon { width: 58px; height: 58px; border-radius: 15px; }
  .verify-brand { position: static; margin: 0 auto 24px; }
  .verification-page .verification-shell { display: flex; flex-direction: column; }
  .verification-actions { align-items: stretch; flex-direction: column; }
  .verification-actions form, .verification-actions .btn { width: 100%; }
}
.form-hint { color: #758091; font-size: 11px; line-height: 1.6; }
