:root {
  --bg: #0d1422;
  --panel: #121c2d;
  --panel-2: #162235;
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef3fb;
  --muted: #a9b6ca;
  --accent: #4f8df7;
  --accent-dark: #3d77dc;
  --max-width: 1180px;
  --radius: 16px;
  --soft-shadow: 0 10px 28px rgba(3, 8, 16, 0.32);
  --panel-shadow: 0 18px 46px rgba(2, 8, 20, 0.42);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-soft: rgba(255, 255, 255, 0.024);
  --card-border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(79, 141, 247, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #0b1320 0%, #0d1422 100%);
  color: var(--text);
  line-height: 1.68;
  letter-spacing: 0.01em;
}

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

.visually-hidden {
  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(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 18, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.66rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #eef3fb;
  text-rendering: geometricPrecision;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  transform: translateY(-1px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 3px rgba(79, 141, 247, 0.1),
    0 10px 22px rgba(4, 10, 20, 0.42);
}

.brand span {
  color: #69a0ff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.82em;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(0.08em);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switcher a {
  color: var(--muted);
  transition: color 0.18s ease;
}

.lang-switcher a:hover,
.lang-switcher a[aria-current="true"] {
  color: var(--text);
}

.lang-switcher span {
  color: rgba(255, 255, 255, 0.26);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.98rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links .nav-contact-link {
  color: #d3e1f8;
  font-weight: 500;
}

.nav-links .nav-contact-link:hover {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  font-weight: 600;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
  border: none;
  cursor: pointer;
  text-wrap: balance;
}

.btn {
  background: linear-gradient(180deg, #5794fa 0%, #4f8df7 100%);
  color: #ffffff;
  border: 1px solid rgba(126, 173, 255, 0.32);
  box-shadow: 0 8px 18px rgba(26, 74, 155, 0.28);
}

.btn:hover {
  background: #4b87ee;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 68, 142, 0.3);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.88;
  transform: none;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.btn:active,
.btn-outline:active {
  transform: translateY(0);
}

.nav-right > .btn {
  min-height: 48px;
  padding-inline: 26px;
}

.form-card .btn {
  width: 100%;
  min-height: 50px;
  justify-content: center;
}

section {
  padding: 84px 0;
}

.hero {
  padding: 98px 0 76px;
}

.hero-grid,
.about-grid,
.contact-grid,
.page-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.hero-grid > div:first-child {
  max-width: 620px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #9bbcf1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 3.9vw, 4.05rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero h1 {
  max-width: 8.6ch;
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 50ch;
  line-height: 1.72;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
}

.hero-actions .btn,
.hero-actions .btn-outline {
  min-width: 168px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-notes span::before {
  content: "\2022";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 700;
}

.hero-panel,
.card,
.about-panel,
.contact-card,
.form-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.hero-panel {
  background: linear-gradient(
    180deg,
    rgba(24, 37, 58, 0.88),
    rgba(13, 22, 35, 0.96)
  );
  border-color: rgba(255, 255, 255, 0.12);
  padding: 36px;
  min-height: 466px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
  max-width: 500px;
  margin-left: auto;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.55;
}

.hero-panel::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -40px;
  background: radial-gradient(
    circle,
    rgba(79, 141, 247, 0.34),
    transparent 70%
  );
}

.hero-panel::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -90px;
  background: radial-gradient(
    circle,
    rgba(79, 141, 247, 0.18),
    transparent 70%
  );
}

.panel-top,
.panel-bottom {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  color: #b4caf1;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.panel-top h3 {
  font-size: 1.66rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  max-width: 13ch;
}

.panel-top p {
  color: var(--muted);
  max-width: 34ch;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 16px 15px;
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head.block {
  margin-bottom: 0;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  text-wrap: balance;
}

.section-head p,
.text-muted {
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

.credibility {
  padding: 26px 0 14px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 17px 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.trust-item strong {
  color: var(--text);
  font-size: 0.95rem;
}

.services-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.about-panel,
.contact-card,
.form-card {
  background: linear-gradient(
    180deg,
    var(--card-bg),
    var(--card-bg-soft)
  );
  padding: 32px;
  box-shadow:
    var(--soft-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-tag {
  display: inline-block;
  font-size: 0.76rem;
  color: #b6cdf5;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid rgba(155, 188, 241, 0.28);
  border-radius: 999px;
  background: rgba(155, 188, 241, 0.08);
}

.card h3,
.contact-card h3,
.form-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.panel-title {
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.66;
  max-width: 56ch;
}

.card p + p {
  margin-top: 10px;
}

.card-cta {
  margin-top: auto;
  padding-top: 14px;
}

.card-cta .btn,
.card-cta .btn-outline {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.section-cta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.section-cta p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-cta-actions .btn,
.section-cta-actions .btn-outline {
  min-width: 156px;
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.about-grid {
  grid-template-columns: 1fr 0.9fr;
  align-items: stretch;
  gap: 26px;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.about-list li {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-hero {
  padding: 82px 0 28px;
}

.page-shell {
  padding-top: 20px;
}

.faq-compact {
  padding: 18px 0 6px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.022)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 18px 18px 16px;
}

.faq-item h3 {
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 48ch;
}

.page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-block {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.contact-block div strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.contact-block div span {
  color: var(--muted);
}

.contact-block a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
}

.contact-block a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.services-grid .card,
.why-grid .card,
.about-grid .about-panel,
.contact-grid .contact-card,
.contact-grid .form-card {
  height: 100%;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

#contact-form {
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  line-height: 1.45;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 165px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8fa1bb;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8fa1bb 50%),
    linear-gradient(135deg, #8fa1bb 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #c6d4e9;
  letter-spacing: 0.01em;
}

#contact-form .btn {
  margin-top: 4px;
}

#contact-form .form-status {
  margin-top: 6px;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  line-height: 1.55;
  letter-spacing: 0.005em;
}

#contact-form .form-status[hidden] {
  display: none;
}

#contact-form .form-status-success {
  color: #d4f2dc;
  background: rgba(48, 114, 73, 0.26);
  border-color: rgba(132, 209, 156, 0.34);
}

#contact-form .form-status-error {
  color: #ffd7d7;
  background: rgba(136, 59, 59, 0.24);
  border-color: rgba(227, 134, 134, 0.38);
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: none;
  border-color: rgba(79, 141, 247, 0.72);
  box-shadow: 0 0 0 3px rgba(79, 141, 247, 0.2);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 999px;
  background: #1faa59;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 26px rgba(8, 25, 18, 0.38);
}

.whatsapp-float:hover {
  background: #1c9f53;
  transform: translateY(-1px);
}

.whatsapp-float__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  .hero-grid,
  .services-grid,
  .why-grid,
  .faq-grid,
  .about-grid,
  .contact-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: auto;
    max-width: none;
  }
}

@media (max-width: 760px) {
  section {
    padding: 52px 0;
  }

  .hero {
    padding: 54px 0 40px;
  }

  .page-hero {
    padding: 50px 0 18px;
  }

  .page-shell {
    padding-top: 14px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    gap: 14px;
  }

  .nav-right {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .lang-switcher {
    justify-content: flex-start;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.95rem;
  }

  .nav-right > .btn {
    width: 100%;
    min-height: 46px;
  }

  .nav-links a[aria-current="page"]::after {
    bottom: -4px;
  }

  .hero h1 {
    font-size: clamp(1.98rem, 8.4vw, 2.65rem);
    line-height: 1.1;
    max-width: 100%;
  }

  .hero p,
  .page-hero p {
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 20px;
  }

  .hero-actions {
    margin-bottom: 20px;
  }

  .hero-actions .btn,
  .hero-actions .btn-outline {
    width: 100%;
  }

  .hero-notes {
    gap: 10px 14px;
    font-size: 0.9rem;
  }

  .hero-panel {
    border-radius: 18px;
    padding: 20px;
  }

  .panel-top h3 {
    font-size: 1.45rem;
    max-width: none;
  }

  .panel-grid {
    margin-top: 18px;
  }

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

  .section-head {
    margin-bottom: 18px;
    align-items: flex-start;
  }

  .section-head h2 {
    margin-bottom: 8px;
  }

  .card,
  .about-panel,
  .contact-card,
  .form-card {
    padding: 20px;
  }

  .card-cta .btn,
  .card-cta .btn-outline {
    width: 100%;
  }

  .section-cta {
    align-items: flex-start;
  }

  .section-cta-actions {
    width: 100%;
  }

  .section-cta-actions .btn,
  .section-cta-actions .btn-outline {
    width: 100%;
  }

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

  .trust-item {
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  form {
    gap: 12px;
  }

  input,
  select,
  textarea {
    padding: 12px 13px;
  }

  textarea {
    min-height: 130px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    padding: 18px 0 24px;
  }

  .footer-row {
    flex-direction: column;
    gap: 6px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.85rem;
  }

  .whatsapp-float__label {
    display: none;
  }
}
