/* ===========================================================
   Roina Tours — Stylesheet
   Design language: passport / postcard / travel-journal
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root{
  --ink: #212B36;
  --ink-soft: #4B5563;
  --paper: #F3ECDD;
  --paper-deep: #E8DCC0;
  --paper-line: #D8C9A3;
  --seal: #A63D2F;
  --jade: #3E6259;
  --gold: #BE9B45;
  --white: #FFFCF5;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max-width: 1600px;
  --radius: 2px;
}

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

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }

.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible{
  outline: 2px solid var(--seal);
  outline-offset: 3px;
}

/* ---------- Placeholder media block (swap with real photos) ---------- */
.placeholder{
  background:
    repeating-linear-gradient(135deg, rgba(33,43,54,0.06) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #cbb98e, #8f9c85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(33,43,54,0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}

/* ---------- Top ticker bar ---------- */
.ticker{
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
}

/* ---------- Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.logo-mark{
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a{
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

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

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

.lang-toggle{
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid var(--ink);
  padding: 5px 10px;
  border-radius: var(--radius);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 0;
}

.hero-media{
  height: 62vh;
  min-height: 380px;
  position: relative;
}

.hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,43,54,0.15) 0%, rgba(33,43,54,0.55) 100%);
}

.hero-copy{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.hero-copy h1{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  font-style: italic;
  margin: 0 0 12px;
  max-width: 14ch;
}

.hero-copy p{
  font-size: 17px;
  max-width: 46ch;
  color: rgba(255,252,245,0.88);
  margin: 0;
}

/* Perforated ticket strip beneath hero */
.perf-strip{
  display: flex;
  background: var(--paper-deep);
  border-bottom: 1px dashed var(--paper-line);
}

.perf-item{
  flex: 1;
  padding: 30px 28px;
  border-left: 1px dashed var(--paper-line);
  position: relative;
}

.perf-item:first-child{ border-left: none; }

.perf-item .num{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--seal);
  display: block;
  margin-bottom: 8px;
}

.perf-item h3{
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 8px;
}

.perf-item p{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Section shell ---------- */
.section{
  padding: 88px 0;
}

.section-deep{ background: var(--paper-deep); }

.section-head{
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head .eyebrow{ color: var(--seal); }

.section-head h2{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 14px;
}

.section-head p{
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* ---------- Destination / postcard cards ---------- */
.destinations{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Force all four destination cards onto a single row (Products page) */
.destinations-row{
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px){
  .destinations-row{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px){
  .destinations-row{ grid-template-columns: 1fr; }
}

.postcard{
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--paper-line);
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.postcard:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -18px rgba(33,43,54,0.35);
}

.postcard-media{
  height: 220px;
}

.img-xian{
  background-image: url("../images/XIAN-photo.png");
  background-size: cover;
  background-position: center 30%;
}

.img-shanghai{
  background-image: url("../images/SHA-photo.png");
  background-size: cover;
  background-position: center 60%;
}

.img-beijing{
  background-image: url("../images/BEIJING-photo.png");
  background-size: cover;
  background-position: center 20%;
}

.img-chongqing{
  background-image: url("../images/CHQ-photo.png");
  background-size: cover;
  background-position: center 40%;
}

.postcard-body{
  padding: 26px 26px 28px;
  position: relative;
}

.postcard-body h3{
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
}

.postcard-body p{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.postcard-body .explore{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jade);
  border-bottom: 1px solid var(--jade);
  padding-bottom: 2px;
}

/* Stamp badge — the signature element */
.stamp{
  position: absolute;
  top: -22px;
  right: 20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px dashed var(--seal);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--seal);
  transform: rotate(8deg);
  box-shadow: 0 4px 10px rgba(33,43,54,0.12);
}

.stamp .cn{
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.stamp .en{
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---------- CTA / boarding pass ---------- */
.boarding-pass{
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
  max-width: 720px;
  margin: 0 auto;
}

.bp-main{
  flex: 1;
  padding: 36px 32px;
}

.bp-main .eyebrow{ color: var(--gold); }

.bp-main h2{
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  margin: 8px 0 6px;
}

.bp-main p{
  font-size: 14px;
  color: rgba(243,236,221,0.75);
  margin: 0;
}

.bp-stub{
  width: 160px;
  border-left: 1px dashed rgba(243,236,221,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.btn-apply{
  display: inline-block;
  background: var(--seal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-apply:hover{ background: #8c3225; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 0;
  margin-top: 88px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px dashed rgba(243,236,221,0.25);
}

.footer-brand .logo{ color: var(--paper); margin-bottom: 12px; }

.footer-brand p{
  font-size: 13px;
  color: rgba(243,236,221,0.6);
  max-width: 30ch;
}

.footer-col h4{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}

.footer-col li{ margin-bottom: 10px; }

.footer-col a{
  font-size: 14px;
  color: rgba(243,236,221,0.8);
}

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

.footer-bottom{
  padding: 22px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(243,236,221,0.5);
  display: flex;
  justify-content: space-between;
}

/* ---------- Generic inner-page hero (About / Products / etc) ---------- */
.page-hero{
  padding: 64px 0 40px;
  border-bottom: 1px dashed var(--paper-line);
}

.page-hero .eyebrow{ color: var(--seal); }

.page-hero h1{
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 10px 0 0;
}

/* ---------- Policy rows (Privacy Policy / Terms — label + content) ---------- */
.policy-row{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px dashed var(--paper-line);
}

.policy-row:first-of-type{ border-top: none; }

.policy-row h2{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.policy-row .policy-content p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.policy-row .policy-content p:last-child{ margin-bottom: 0; }

.policy-content ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-content li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.policy-content li::before{
  content: "—";
  position: absolute;
  left: 0;
  color: var(--seal);
}

.policy-content li:last-child{ margin-bottom: 0; }

.policy-content ul + p,
.policy-content p + ul{ margin-top: 14px; }

/* ---------- About page: tagline + "Our Aim" PDF button ---------- */
.about-tagline{
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-tagline .big-quote{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 32px;
}

.about-tagline .btn-apply{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius);
}

.about-tagline .btn-apply svg{ flex-shrink: 0; }

/* ---------- About page: Our Culture ---------- */
.culture-block{
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.culture-block p{
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- About page: Our Team (six-across row) ---------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.team-card{
  position: relative;
  text-align: center;
}

.team-card .team-photo{
  aspect-ratio: 3 / 4;
  margin-bottom: 14px;
  border: 1px solid var(--paper-line);
  width: 100%;
  object-fit: cover;
}

.team-card h3{
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 2px;
}

.team-card p{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .nav-links{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--paper-line);
    display: none;
  }
  .nav-links.open{ display: flex; }
  .nav-links a{ padding: 14px 28px; width: 100%; border-top: 1px solid var(--paper-line); }
  .nav-toggle{ display: block; }
  .lang-toggle{ margin-right: 10px; }

  .perf-strip{ flex-direction: column; }
  .perf-item{ border-left: none; border-top: 1px dashed var(--paper-line); }
  .perf-item:first-child{ border-top: none; }

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

  .boarding-pass{ flex-direction: column; }
  .bp-stub{ border-left: none; border-top: 1px dashed rgba(243,236,221,0.4); }

  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-bottom{ flex-direction: column; gap: 8px; }

  .team-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px){
  .policy-row{ grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px){
  .team-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
}