:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #edf3fa;
  --text: #16202d;
  --muted: #586474;
  --line: #dbe4ef;
  --brand: #163b63;
  --brand-2: #2d7b57;
  --shadow: 0 18px 48px rgba(18, 38, 63, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--brand);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #214b78 60%, var(--brand-2));
  color: #fff;
  font-family: "Sora", "Inter", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title,
.footer-brand {
  font-family: "Sora", "Inter", Arial, sans-serif;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a,
.nav-cta {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-cta {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: 0;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font-size: 1.1rem;
}

.hero {
  padding: 5.3rem 0 2.8rem;
  background:
    radial-gradient(circle at top left, rgba(45, 123, 87, 0.14), transparent 30%),
    radial-gradient(circle at right center, rgba(22, 59, 99, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 70%, #eef4fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(45, 123, 87, 0.1);
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1,
.section h2,
.modal-panel h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1,
.section h2,
.modal-panel h2,
.cta-contact h3 {
  font-family: "Sora", "Inter", Arial, sans-serif;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  max-width: 13ch;
  color: var(--brand);
}

.hero-text,
.section-heading p,
.info-card p,
.faq-answer p,
.cta-panel p,
.site-footer p,
.modal-copy,
.hero-card-note,
.carousel-intro,
.contact-note {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  margin: 1.15rem 0 1.5rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.btn,
.text-link,
.carousel-side,
.modal-close,
.menu-toggle,
.nav-cta {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover,
.text-link:hover,
.carousel-side:hover,
.modal-close:hover,
.menu-toggle:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}

.btn-full {
  width: 100%;
}

.hero-points,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: grid;
  gap: 0.75rem;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.hero-points li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-2);
  font-weight: 800;
}

.hero-card,
.info-card,
.cta-panel,
.modal-panel,
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.8rem;
}

.card-label,
.tag {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(22, 59, 99, 0.08);
  color: var(--brand);
}

.card-label {
  margin: 0 0 0.95rem;
  padding: 0.45rem 0.75rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero-card-note {
  margin: 1rem 0 0;
}

.highlights {
  padding: 0 0 1.8rem;
}

.highlights-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #173b63, #204f84);
  color: #fff;
  box-shadow: 0 16px 34px rgba(18, 38, 63, 0.16);
}

.highlights-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.4rem 0.6rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.section {
  padding: 5.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(237, 243, 250, 0.82), rgba(237, 243, 250, 0.4));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section h2,
.modal-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand);
  margin-bottom: 0.8rem;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-intro {
  margin: 0;
}

.carousel-shell {
  position: relative;
  padding: 0 4rem;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(22, 59, 99, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(18, 38, 63, 0.2);
}

.carousel-side::before {
  content: "";
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 3px solid var(--brand);
  border-right: 3px solid var(--brand);
}

.carousel-side-left::before {
  transform: rotate(-135deg);
  margin-left: 0.16rem;
}

.carousel-side-right::before {
  transform: rotate(45deg);
  margin-right: 0.16rem;
}

.carousel-side.is-disabled,
.carousel-side:disabled {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%);
  box-shadow: 0 10px 20px rgba(18, 38, 63, 0.12);
}

.carousel-side-left {
  left: 0;
}

.carousel-side-right {
  right: 0;
}

.service-track {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
  width: max-content;
}

.card-grid {
  display: grid;
  gap: 1.15rem;
}

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

.info-card {
  padding: 1.45rem;
}

.service-card {
  flex: 0 0 calc((100vw - 2rem - 8rem - 2rem) / 3);
  width: calc((100vw - 2rem - 8rem - 2rem) / 3);
  max-width: calc((var(--container) - 8rem - 2rem) / 3);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.info-card h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.16rem;
}

.tag {
  padding: 0.4rem 0.7rem;
}

.service-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.service-meta strong {
  display: block;
}

.service-meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.text-link {
  background: transparent;
  border: 0;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.mini-card h3 {
  font-size: 1.03rem;
}

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

.step-card {
  position: relative;
  padding-top: 4.2rem;
}

.step-number {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 59, 99, 0.08);
  color: var(--brand);
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1rem;
  cursor: pointer;
}

.faq-answer p {
  margin: 0;
}

.faq-card.open .faq-answer {
  display: block;
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.cta-section {
  padding-bottom: 5.5rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.4rem;
  padding: 2rem;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  padding: 1.2rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 59, 99, 0.05), rgba(45, 123, 87, 0.06));
}

.cta-contact h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.contact-lines p,
.cta-contact p {
  margin: 0;
}

.contact-note {
  font-size: 0.95rem;
}

.site-footer {
  padding: 1.8rem 0 2.8rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0.3rem 0;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 90;
}

.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 45, 0.55);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 1rem));
  max-height: min(92dvh, calc(100dvh - 1rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
}

@supports not (height: 100dvh) {
  .modal-panel {
    max-height: calc(100vh - 1rem);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
}

.modal-copy {
  margin: 0.4rem 0 1.2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(22, 59, 99, 0.16);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-status {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 600;
}

.form-status-success {
  background: rgba(45, 123, 87, 0.12);
  color: #1d5e40;
  border: 1px solid rgba(45, 123, 87, 0.22);
}

.form-status-error {
  background: rgba(175, 39, 39, 0.1);
  color: #8d2020;
  border: 1px solid rgba(175, 39, 39, 0.18);
}

.form-status-info {
  background: rgba(22, 59, 99, 0.08);
  color: var(--brand);
  border: 1px solid rgba(22, 59, 99, 0.16);
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

@media (max-width: 1080px) {
  .hero-grid,
  .cta-panel,
  .card-grid-4,
  .steps-grid,
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .cta-panel,
  .card-grid-4,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-basis: calc((100vw - 2rem - 8rem - 1rem) / 2);
    width: calc((100vw - 2rem - 8rem - 1rem) / 2);
    max-width: calc((var(--container) - 8rem - 1rem) / 2);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-close {
    display: none;
}

  .site-nav {
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .highlights-strip {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .carousel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-shell {
    padding: 0 3rem;
  }

  .carousel-side {
    width: 2.8rem;
    height: 2.8rem;
  }

  .carousel-side::before {
    width: 0.62rem;
    height: 0.62rem;
    border-top-width: 2.5px;
    border-right-width: 2.5px;
  }

  .service-card {
    flex-basis: calc(100vw - 2rem - 6rem);
    width: calc(100vw - 2rem - 6rem);
    max-width: none;
  }

  .footer-wrap {
    display: flex;
  }

  .modal.open {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  .modal-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    max-height: none;
    height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
    padding: 0.9rem 0.9rem calc(6.6rem + env(safe-area-inset-bottom));
  }

  @supports not (height: 100dvh) {
    .modal-panel {
      height: 100vh;
    }
  }

  .modal-copy {
    margin-bottom: 0.9rem;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-bottom: 0.5rem;
  }

  .contact-form textarea {
    min-height: 110px;
  }

  .form-status {
    order: 98;
    margin-bottom: 5.8rem;
  }

  .form-actions {
    order: 99;
    position: fixed;
    left: max(0.9rem, env(safe-area-inset-left));
    right: max(0.9rem, env(safe-area-inset-right));
    bottom: 0;
    z-index: 12;
    background: #fff;
    padding-top: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgba(18, 38, 63, 0.08);
  }

  .form-actions .btn {
    flex: 1 1 0;
  }
}
