:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --emerald-50: #ecfdf5;
  --emerald-200: #a7f3d0;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-700: #b45309;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate-900);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.5;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--sky-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--slate-900);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.site-header.scrolled .brand,
.site-header.menu-open .brand {
  color: var(--slate-900);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-sub {
  font-size: 12px;
  opacity: 0.85;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.main-nav > a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.main-nav > a:not(.btn):hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header.scrolled .main-nav > a:not(.btn),
.site-header.menu-open .main-nav > a:not(.btn) {
  color: var(--slate-700);
}

.site-header.scrolled .main-nav > a:not(.btn):hover,
.site-header.menu-open .main-nav > a:not(.btn):hover {
  color: var(--blue-700);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  color: var(--slate-900);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-open .main-nav {
  display: flex;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 24px 24px;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.menu-open .main-nav > a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-800);
}

.menu-open .main-nav .nav-cta {
  margin-top: 16px;
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 32px;
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

.btn-primary {
  background: var(--blue-700);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
  background: var(--blue-800);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-light {
  background: #ffffff;
  color: var(--blue-800);
}

.btn-light:hover {
  background: var(--sky-200);
}

.btn-dark {
  background: var(--slate-900);
  color: #ffffff;
  margin-top: 24px;
}

.btn-dark:hover {
  background: var(--slate-700);
}

.external-mark {
  font-size: 14px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--slate-900);
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.35) 100%);
}

.hero-content {
  padding-top: 144px;
  padding-bottom: 96px;
}

.hero h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.15;
}

.accent-text {
  color: var(--sky-300);
}

.hero-lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-400);
}

.deadline-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
  margin-top: 56px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-size: 15px;
}

.deadline-card p + p,
.deadline-card strong {
  color: #ffffff;
}

.deadline-title {
  font-weight: 600;
  color: #ffffff;
}

.deadline-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber-300);
  font-weight: 700;
  font-size: 20px;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-white {
  background: #ffffff;
}

.section-muted {
  background: var(--slate-50);
}

.section-head {
  max-width: 680px;
}

.section-head h2,
.split-intro h2,
.contact-info h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 40px);
}

.section-lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-600);
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.eyebrow-light {
  color: #ffffff;
}

.grid {
  display: grid;
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin-top: 24px;
  font-size: 20px;
}

.card p {
  margin-top: 12px;
  color: var(--slate-600);
  line-height: 1.6;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  color: var(--blue-700);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.card:hover .icon-badge {
  background: var(--blue-700);
  color: #ffffff;
}

.grid-2 {
  margin-top: 56px;
  grid-template-columns: 1fr;
}

.timeline-panel {
  margin-top: 64px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--slate-900);
  color: #ffffff;
}

.timeline-panel h3 {
  font-size: 28px;
}

.timeline-note {
  margin-top: 12px;
  max-width: 640px;
  color: #cbd5e1;
  line-height: 1.6;
}

.timeline {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.timeline li {
  position: relative;
  padding-left: 56px;
}

.step-no {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sky-300);
  color: var(--slate-900);
  font-weight: 700;
}

.step-when {
  font-weight: 600;
  color: var(--sky-300);
}

.timeline li p:last-child {
  margin-top: 8px;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Offer */

.split {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}

.note-card {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.note-card h3 {
  font-size: 18px;
}

.note-card p {
  margin-top: 8px;
  color: var(--slate-600);
  line-height: 1.6;
}

.grid-services {
  grid-template-columns: 1fr;
  gap: 20px;
}

.service {
  padding: 28px;
}

.service h3 {
  margin-top: 0;
  font-size: 18px;
}

.service p {
  font-size: 15px;
}

/* Process */

.steps {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.step {
  padding: 32px;
  background: var(--slate-50);
}

.step:hover {
  background: #ffffff;
}

.step-index {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--slate-300);
}

.step h3 {
  margin-top: 24px;
  font-size: 20px;
}

.step p {
  font-size: 15px;
}

.info-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.info-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid;
}

.info-card h3 {
  font-size: 18px;
}

.info-card p {
  margin-top: 12px;
  color: var(--slate-700);
  line-height: 1.6;
}

.info-success {
  background: var(--emerald-50);
  border-color: var(--emerald-200);
}

.info-warning {
  background: var(--amber-50);
  border-color: var(--amber-200);
}

/* Situations */

.grid-3 {
  margin-top: 56px;
  grid-template-columns: 1fr;
}

.situation {
  display: flex;
  flex-direction: column;
}

.situation-no {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-500);
}

.situation h3 {
  margin-top: 16px;
  font-size: 20px;
}

.situation-text {
  margin-top: 12px;
  color: var(--slate-600);
  line-height: 1.6;
}

.check-list {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--emerald-600);
  box-shadow: inset 0 0 0 4px var(--emerald-50);
}

.situation-highlight {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.25);
}

.situation-highlight:hover {
  border-color: var(--blue-700);
}

.situation-highlight .situation-no,
.situation-highlight .situation-text,
.situation-highlight .check-list li {
  color: #ffffff;
}

.situation-highlight .situation-no {
  color: var(--sky-200);
}

.situation-highlight .situation-text {
  color: var(--blue-100);
}

.situation-highlight .check-list {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.situation-highlight .check-list li::before {
  background: var(--sky-200);
  box-shadow: inset 0 0 0 4px var(--blue-700);
}

.situation-highlight .icon-badge {
  display: none;
}

/* Contact */

.contact-layout {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
}

.contact-list {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-list li:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  color: var(--blue-700);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 14px;
  color: var(--slate-500);
}

.contact-value {
  display: block;
  font-weight: 600;
  color: var(--slate-900);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-value:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.contact-sub {
  display: block;
  font-size: 14px;
  color: var(--slate-600);
}

.form-card {
  padding: 32px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  box-shadow: var(--shadow-md);
}

.form-card > h3 {
  font-size: 26px;
}

.form-intro {
  margin-top: 8px;
  color: var(--slate-600);
}

.contact-form {
  margin-top: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.field {
  display: block;
}

.field-full {
  grid-column: 1 / -1;
}

.field > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: #ffffff;
  font: inherit;
  font-size: 16px;
  color: var(--slate-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-400);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.field textarea {
  resize: vertical;
  min-height: 112px;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--rose-600);
}

.form-error {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #fff1f2;
  color: var(--rose-700);
  font-size: 15px;
  font-weight: 600;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.form-hint {
  font-size: 14px;
  color: var(--slate-500);
  text-align: center;
}

.form-success {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  margin-top: 32px;
}

.form-success h4 {
  font-size: 22px;
  color: var(--slate-900);
}

.form-success p {
  margin-top: 8px;
  color: var(--slate-700);
  line-height: 1.6;
}

.form-success .btn-dark {
  margin-top: 24px;
}

/* Footer */

.site-footer {
  background: var(--slate-950);
  color: var(--slate-300);
}

.footer-grid {
  display: grid;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
  grid-template-columns: 1fr;
}

.brand-footer {
  color: #ffffff;
  cursor: default;
}

.footer-lead {
  margin-top: 20px;
  max-width: 420px;
  color: var(--slate-400);
  line-height: 1.6;
}

.footer-address {
  margin-top: 24px;
  color: var(--slate-400);
  font-size: 14px;
  line-height: 1.6;
}

.footer-disclaimer {
  margin-top: 24px;
  max-width: 460px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-400);
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.link-list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.link-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--slate-800);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.link-list a:hover {
  border-color: var(--slate-600);
  background: var(--slate-900);
}

.link-list strong {
  color: #ffffff;
  font-weight: 600;
}

.link-list a:hover strong {
  color: var(--sky-300);
}

.link-list span {
  font-size: 14px;
  color: var(--slate-400);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13px;
  color: var(--slate-400);
}

/* Reveal on scroll */

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

/* Responsive */

@media (min-width: 640px) {
  .grid-services,
  .steps,
  .info-grid,
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form .field-full {
    grid-column: 1 / -1;
  }

  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form-hint {
    text-align: left;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 .situation-highlight {
    grid-column: 1 / -1;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .split {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }

  .split-intro {
    position: sticky;
    top: 120px;
  }

  .grid-services {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-3 .situation-highlight {
    grid-column: auto;
  }

  .contact-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
