/* ============================================================
   Secure Tours & Travel — Brand Design System
   Colors: Navy #1E2E78 | Gold #B8952A | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1E2E78;
  --navy-dark:   #131d4f;
  --navy-light:  #2a3f99;
  --gold:        #B8952A;
  --gold-light:  #d4af44;
  --gold-pale:   #f5eed8;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --gray-100:    #f3f3f0;
  --gray-300:    #d0cfc9;
  --gray-500:    #8a8880;
  --gray-700:    #4a4845;
  --text:        #1a1917;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Open Sans', system-ui, -apple-system, sans-serif;

  --max-w:       1200px;
  --section-pad: clamp(3rem, 6vw, 5rem);
  --radius:      4px;
  --shadow:      0 2px 20px rgba(30,46,120,0.1);
  --shadow-lg:   0 8px 40px rgba(30,46,120,0.18);

  --transition:  all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--dark {
  background: var(--navy-dark);
  color: var(--white);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  max-width: 640px;
  color: var(--gray-700);
  line-height: 1.8;
}

.section--navy .section-intro,
.section--dark .section-intro {
  color: rgba(255,255,255,0.8);
}

.text-center { text-align: center; }
.text-center .section-intro { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,149,42,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

/* ── Gold Divider ── */
.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.text-center .gold-rule { margin: 1.25rem auto; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(184,149,42,0.2);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.nav-logo {
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  list-style: none;
}

.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.nav-dropdown li a:hover {
  background: rgba(184,149,42,0.12);
  color: var(--gold);
  padding-left: 1.5rem;
}

/* Language toggle */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  margin-left: 0.75rem;
}
.lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: transparent;
  border: 1px solid rgba(184,149,42,0.35);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a3f99 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(184,149,42,0.08) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,149,42,0.4);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-tagline-img {
  margin-top: 3rem;
  max-width: 280px;
  opacity: 0.9;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
.service-card__link:hover { color: var(--navy); }
.service-card__link::after { content: ' →'; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--gold);
  padding: 2.5rem 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  opacity: 0.85;
}

/* ── About Strip ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-features {
  list-style: none;
  margin-top: 1.5rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.about-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-badge {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge__number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}

.about-badge__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
}

/* ── Service Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,149,42,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); }

.page-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin-top: 1rem;
  line-height: 1.8;
}

/* ── Service Detail Content ── */
.service-body {
  padding: var(--section-pad) 0;
}

.service-lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.85;
  max-width: 800px;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-list li {
  background: var(--off-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-list li .icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(184,149,42,0.1) 0%, transparent 70%);
}

.cta-band .container { position: relative; z-index: 1; }

.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-item {
  text-align: center;
}

.why-item__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.why-item p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.25rem; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-detail__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail__icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-detail__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,46,120,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

.footer-lang {
  display: flex;
  gap: 0.5rem;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  list-style: none;
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }

/* ── Service Nav Cards ── */
.service-siblings {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.sibling-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sibling-card:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.sibling-card.current {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem 0;
    border-top: 1px solid rgba(184,149,42,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links > li > a { padding: 0.65rem 1.5rem; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 1rem;
    display: none;
    min-width: auto;
  }
  .nav-links > li.open > .nav-dropdown { display: block; }
  .nav-toggle { display: flex; }
  .lang-switcher { margin-left: auto; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { gap: 1.5rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation-delay: 0.4s; opacity: 0; }

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Chinese font support ── */
:lang(zh) {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
.zh-content h1, .zh-content h2, .zh-content h3, .zh-content h4 {
  font-family: var(--font-serif), 'PingFang SC', 'Microsoft YaHei', serif;
}
