:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --bg-deep: #eef3fb;
  --text: #0b1b2b;
  --muted: #4b5a6b;
  --accent: #0b4aa2;
  --accent-dark: #073b83;
  --accent-soft: #d8e6ff;
  --card: #ffffff;
  --border: rgba(11, 27, 43, 0.12);
  --shadow: 0 30px 80px rgba(11, 27, 43, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 15%, rgba(11, 74, 162, 0.12), transparent 48%),
    radial-gradient(circle at 85% 5%, rgba(11, 74, 162, 0.08), transparent 52%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 74, 162, 0.16), transparent 65%);
  z-index: 0;
}

body::before {
  top: -120px;
  left: -120px;
}

body::after {
  bottom: -140px;
  right: -140px;
}

h1,
h2,
h3,
.logo {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 120px;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 40px 7vw 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.85));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(11, 27, 43, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.lang-toggle {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(11, 27, 43, 0.12);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
  max-width: var(--max);
  margin: 48px auto 96px;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 3.4vw, 3.9rem);
  margin: 16px 0;
  line-height: 1.05;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: #ffffff;
}

.btn:focus-visible,
.nav-link:focus-visible,
.lang-toggle:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.hero-card {
  background: linear-gradient(160deg, #ffffff 0%, #f2f7ff 100%);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 74, 162, 0.16);
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--accent);
}

.card-title {
  font-size: 1.8rem;
  margin: 16px 0 10px;
}

.card-body {
  color: var(--muted);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 7vw;
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-sub {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.service-card,
.testimonial,
.profile-card,
.info-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(11, 27, 43, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.testimonial:hover,
.profile-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(11, 27, 43, 0.14);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-card p,
.testimonial p,
.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.about-list li {
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
}

.profile {
  display: flex;
  justify-content: flex-end;
}

.profile-card {
  width: min(360px, 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 242, 255, 0.88));
}

.profile-title {
  font-weight: 600;
  margin-bottom: 14px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--border);
  padding: 10px 0;
  font-size: 0.95rem;
}

.testimonials {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.testimonial span {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent-dark);
}

.contact {
  margin-bottom: 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(11, 74, 162, 0.5);
  box-shadow: 0 10px 24px rgba(11, 74, 162, 0.16);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.info-card h3 {
  margin-bottom: 8px;
}

.map-container {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 27, 43, 0.12);
}

.map-container iframe {
  display: block;
}

.faq-list {
  display: grid;
  gap: 20px;
  max-width: 800px;
}

.method-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.method-cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
  scrollbar-width: none;
}

.method-cards::-webkit-scrollbar {
  display: none;
}

.method-cards .service-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent-dark);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 27, 43, 0.16);
}

.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 74, 162, 0.3);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-dot.is-active {
  background: var(--accent);
  transform: scale(1.1);
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(11, 27, 43, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(11, 27, 43, 0.12);
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-dark);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 32px 7vw 44px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-dark);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-content,
.section {
  animation: fadeUp 0.8s ease forwards;
}

.hero-text {
  animation: fadeUp 0.9s ease forwards;
}

.hero-card {
  animation: fadeUp 0.9s ease 0.12s forwards;
  opacity: 0;
}

.section-head {
  animation: fadeIn 0.7s ease forwards;
}

.cards > *,
.faq-list > * {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.cards > *:nth-child(1),
.faq-list > *:nth-child(1) {
  animation-delay: 0.05s;
}

.cards > *:nth-child(2),
.faq-list > *:nth-child(2) {
  animation-delay: 0.12s;
}

.cards > *:nth-child(3),
.faq-list > *:nth-child(3) {
  animation-delay: 0.2s;
}

.cards > *:nth-child(4),
.faq-list > *:nth-child(4) {
  animation-delay: 0.28s;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-content {
    margin: 28px auto 52px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page {
    gap: 96px;
  }

  .section {
    padding: 24px 7vw;
  }

  .cards {
    gap: 22px;
  }

  .split {
    gap: 28px;
  }

  .method-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .slider-dots {
    margin-top: 12px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
