@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");

:root {
  --blue-900: #003d82;
  --blue-700: #0056b3;
  --blue-600: #006dcc;
  --blue-500: #1a8cff;
  --blue-100: #e8f2fc;
  --blue-50: #f4f9ff;
  --orange-600: #e8531e;
  --orange-500: #f27a1a;
  --white: #ffffff;
  --gray-900: #1a1a1a;
  --gray-700: #444444;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --shadow-sm: 0 2px 8px rgba(0, 61, 130, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 61, 130, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 61, 130, 0.16);
  --radius: 8px;
  --radius-lg: 12px;
  --container: min(1200px, 94vw);
  --header-h: 72px;
  --anchor-offset: calc(var(--header-h) + 24px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.top-bar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.top-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-bar__links a:hover {
  color: var(--white);
}

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-900);
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s;
}

.nav-main a:hover,
.nav-main a.is-active {
  color: var(--blue-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--orange-600);
  color: var(--white);
  border-color: var(--orange-600);
}

.btn-primary:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.btn-outline {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--blue-700);
}

.btn-outline:hover {
  background: var(--blue-50);
}

.btn-block {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, rgba(0, 61, 130, 0.88), rgba(0, 109, 204, 0.75)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&h=900&fit=crop&q=80") center/cover no-repeat;
  color: var(--white);
  padding: 48px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

.hero__welcome {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 520px;
}

.booking-card {
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.booking-card__head {
  background: var(--blue-700);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 1rem;
}

.booking-tabs {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
}

.booking-tab {
  flex: 1;
  padding: 12px;
  border: 0;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.booking-tab.is-active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: inset 0 -2px 0 var(--blue-700);
}

.booking-form {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-field select,
.form-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

.form-field select:focus,
.form-field input:focus {
  outline: 2px solid rgba(0, 109, 204, 0.25);
  border-color: var(--blue-500);
}

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

.booking-form [hidden] {
  display: none !important;
}

.quick-links {
  background: var(--blue-50);
  padding: 24px 0;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}

.quick-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-link__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quick-link strong {
  display: block;
  font-size: 1rem;
  color: var(--blue-900);
}

.quick-link span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.section {
  padding: 56px 0;
  scroll-margin-top: var(--anchor-offset);
}

.newsletter[id] {
  scroll-margin-top: var(--anchor-offset);
}

#cases {
  scroll-margin-top: var(--anchor-offset);
}

.section--alt {
  background: var(--gray-100);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--blue-900);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--gray-500);
}

.route-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.route-picker button {
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
}

.route-picker button.is-active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
}

.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
}

.date-chip {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 10px 8px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  font-size: 0.82rem;
}

.date-chip strong {
  display: block;
  font-size: 1rem;
  color: var(--blue-900);
}

.date-chip.is-active {
  border-color: var(--blue-700);
  background: var(--blue-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-grid h2 {
  font-size: 1.7rem;
  color: var(--blue-900);
  margin-bottom: 14px;
}

.about-grid p {
  color: var(--gray-700);
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-item__img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.card-item__body {
  padding: 16px;
}

.card-item__body h3 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.card-item__body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.card-item__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-700);
}

.newsletter {
  background: var(--blue-900);
  color: var(--white);
  padding: 40px 0;
}

.newsletter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.newsletter form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.newsletter input {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
}

.site-footer {
  background: #0f2744;
  color: rgba(255, 255, 255, 0.88);
  padding: 48px 0 24px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-offices {
  display: grid;
  gap: 16px;
}

.footer-office {
  padding-bottom: 16px;
}

.footer-office strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-700);
}

.mobile-dock a span:first-child {
  font-size: 1.1rem;
}

.mobile-dock a.is-primary {
  color: var(--orange-600);
}

@media (max-width: 960px) {
  .nav-main {
    display: none;
  }

  .nav-main.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .quick-links__grid {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .mobile-dock {
    display: grid;
  }

  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .top-bar__links {
    display: none;
  }

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

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

.top-bar__links a.is-active {
  color: var(--white);
  font-weight: 700;
}

.legal-page {
  padding: 32px 0 56px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--gray-300);
}

.breadcrumb a {
  color: var(--blue-700);
  font-weight: 600;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue-900);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 1.05rem;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-section ul {
  margin: 8px 0 0 20px;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--blue-700);
  font-weight: 600;
}

.legal-note {
  margin-top: 12px;
  padding: 14px;
  background: var(--blue-50);
  border-radius: var(--radius);
}

.thank-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.thank-modal[hidden] {
  display: none;
}

.thank-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 61, 0.55);
  backdrop-filter: blur(4px);
}

.thank-modal__dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 36px 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: thankModalIn 0.28s ease;
}

@keyframes thankModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.thank-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
}

.thank-modal__close:hover {
  background: var(--gray-200);
}

.thank-modal__close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.thank-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), #d4e8ff);
  color: var(--blue-700);
}

.thank-modal__icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.thank-modal__dialog h2 {
  font-size: 1.35rem;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.thank-modal__dialog p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 22px;
}

.thank-modal__btn {
  min-width: 140px;
}
