:root {
  --blue: #13599a;
  --blue-dark: #08243e;
  --orange: #fba636;

  --bg: #ffffff;
  --text: #081426;
  --muted: rgba(8, 20, 38, 0.68);
  --line: rgba(8, 20, 38, 0.12);
  --line-2: rgba(8, 20, 38, 0.08);

  --radius: 18px;
  --container: 980px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(251, 166, 54, 0.95);
  outline-offset: 4px;
  border-radius: 12px;
}

.page {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  isolation: isolate;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 18% 0%, rgba(19, 89, 154, 0.22), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(251, 166, 54, 0.18), transparent 62%),
    radial-gradient(900px 520px at 50% 110%, rgba(19, 89, 154, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(8, 36, 62, 0.02), rgba(8, 36, 62, 0));
  z-index: -2;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 36, 62, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 36, 62, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(80% 55% at 50% 35%, #000 40%, transparent 72%);
  opacity: 0.25;
  z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
  .page::before {
    animation: drift 14s var(--ease) infinite alternate;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -10px, 0) scale(1.02);
  }
}

.content {
  width: min(100%, var(--container));
  padding: 8px 4px;
}

@media (min-width: 720px) {
  .content {
    padding: 18px 10px;
  }
}

.logo {
  display: block;
  height: 34px;
  width: auto;
}

@media (min-width: 520px) {
  .logo {
    height: 42px;
  }
}

h1 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #07233d;
}

h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(8, 20, 38, 0.82);
}

.muted {
  margin: 0 0 12px;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 18px;
}

.split__col:first-child {
  align-self: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 26px;
  }
  .split__col:nth-child(2) {
    padding-left: 26px;
    border-left: 1px solid var(--line-2);
  }
}

.identity {
  margin-bottom: 8px;
}

.identity .logo {
  margin-bottom: 12px;
}

.company-details {
  margin: 0;
  font-style: normal;
  line-height: 1.9;
  color: rgba(8, 20, 38, 0.84);
}

.details-group {
  margin-top: 14px;
}

.detail-line {
  margin: 0;
  color: rgba(8, 20, 38, 0.84);
  line-height: 1.8;
}

.detail-line + .detail-line {
  margin-top: 6px;
}

.details-group a.link {
  font-weight: 850;
}

.contact-form {
  margin-top: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(8, 36, 62, 0.12);
  box-shadow: 0 20px 50px rgba(8, 36, 62, 0.12);
}

.form-status {
  min-height: 0;
  margin-bottom: 10px;
  font-weight: 700;
  color: rgba(8, 20, 38, 0.8);
}

.form-status.is-success {
  color: rgba(8, 20, 38, 0.88);
}

.form-status.is-error {
  color: rgba(124, 45, 18, 0.95);
}

.form-status.is-success {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 166, 54, 0.22), rgba(19, 89, 154, 0.12));
  border: 1px solid rgba(19, 89, 154, 0.18);
  box-shadow: 0 16px 40px rgba(8, 36, 62, 0.1);
  animation:
    status-in 520ms var(--ease) both,
    status-glow 1600ms var(--ease) 120ms 1;
}

.form-status.is-success::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(19, 89, 154, 0.16);
  border: 1px solid rgba(19, 89, 154, 0.24);
  display: inline-grid;
  place-items: center;
  color: #07233d;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1;
  animation: check-pop 520ms var(--ease) 80ms both;
}

.contact-form.is-sent .field input,
.contact-form.is-sent .field textarea {
  opacity: 0.72;
  filter: saturate(0.9);
}

.contact-form.is-sent .cta {
  pointer-events: none;
  filter: saturate(0.95);
  animation: cta-pop 520ms var(--ease) both;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 750;
  color: rgba(8, 20, 38, 0.82);
  letter-spacing: -0.01em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(8, 36, 62, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #07233d;
  font: inherit;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(7, 35, 61, 0.5);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(19, 89, 154, 0.45);
  box-shadow: 0 0 0 6px rgba(19, 89, 154, 0.12);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.social {
  margin-top: 16px;
}

.social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(8, 36, 62, 0.16);
  background: rgba(255, 255, 255, 0.65);
  color: #07233d;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease),
    border-color 200ms var(--ease),
    background 200ms var(--ease);
}

.social__link:hover {
  transform: translateY(-1px);
  border-color: rgba(19, 89, 154, 0.32);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 34px rgba(8, 36, 62, 0.12);
}

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

.link {
  display: inline-block;
  color: var(--blue-dark);
  font-weight: 800;
  transition:
    color 160ms var(--ease);
}

.link:hover {
  color: #041629;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: none;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fba636, #ffd08a);
  border: 1px solid rgba(251, 166, 54, 0.55);
  box-shadow:
    0 18px 44px rgba(251, 166, 54, 0.22),
    0 0 0 0 rgba(251, 166, 54, 0);
  backdrop-filter: blur(10px);
  font-weight: 850;
  letter-spacing: -0.01em;
  color: #07233d;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease);
}

.contact-form .cta {
  margin-left: auto;
}

.cta__icon {
  font-size: 1.05rem;
  opacity: 0.9;
  transform: translateX(0);
  transition: transform 220ms var(--ease);
}

.cta:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 166, 54, 0.7);
  background: linear-gradient(135deg, #fba636, #ffe1b6);
  box-shadow:
    0 22px 54px rgba(251, 166, 54, 0.26),
    0 0 0 10px rgba(251, 166, 54, 0.18);
}

.cta:hover .cta__icon {
  transform: translateX(2px);
}

@keyframes status-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes status-glow {
  0% {
    box-shadow:
      0 16px 40px rgba(8, 36, 62, 0.1),
      0 0 0 0 rgba(251, 166, 54, 0);
  }
  60% {
    box-shadow:
      0 18px 46px rgba(8, 36, 62, 0.12),
      0 0 0 12px rgba(251, 166, 54, 0.14);
  }
  100% {
    box-shadow:
      0 16px 40px rgba(8, 36, 62, 0.1),
      0 0 0 0 rgba(251, 166, 54, 0);
  }
}

@keyframes check-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(0.92);
  }
}

@keyframes cta-pop {
  0% {
    transform: translateY(0) scale(1);
  }
  60% {
    transform: translateY(-1px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

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