/* =========================================================
   Cumilla Travels — Stylesheet
   Palette: ink teal #123A34, brass gold #C08A28, ivory #FBF7EF
   Type: Tiro Bangla (BN display) / Playfair Display (EN display)
         Hind Siliguri (BN body) / Inter (EN body)
   ========================================================= */

:root {
  --ink: #123A34;
  --ink-2: #0A211D;
  --gold: #C08A28;
  --gold-light: #DCAE5C;
  --ivory: #FBF7EF;
  --paper: #F1EADA;
  --text: #23322D;
  --text-soft: #55635C;
  --text-invert: #F3EEE2;
  --text-invert-soft: #BFCFC9;
  --line: rgba(18, 58, 52, 0.14);
  --line-invert: rgba(243, 238, 226, 0.18);
  --shadow: 0 20px 40px -20px rgba(10, 33, 29, 0.25);
  --radius: 4px;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.lang-en { font-family: 'Inter', 'Hind Siliguri', sans-serif; }

h1, h2, h3, .display {
  font-family: 'Tiro Bangla', 'Playfair Display', serif;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
  line-height: 1.25;
}
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en .display {
  font-family: 'Playfair Display', 'Tiro Bangla', serif;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section-dark .eyebrow { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  letter-spacing: 0.01em;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--text-invert);
}
.btn-primary:hover { background: var(--ink-2); box-shadow: var(--shadow); }

.btn-gold {
  background: var(--gold);
  color: var(--ink-2);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--text-invert); }

.section-dark .btn-outline {
  border-color: var(--text-invert);
  color: var(--text-invert);
}
.section-dark .btn-outline:hover { background: var(--text-invert); color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand svg { height: 34px; width: auto; }
.brand-word {
  font-family: 'Tiro Bangla', 'Playfair Display', serif;
  font-size: 21px;
  color: var(--ink);
  line-height: 1.1;
}
.brand-word small {
  display: block;
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 4px;
  gap: 2px;
  background: transparent;
  cursor: pointer;
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
}
.lang-toggle span {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}
.lang-toggle span.active {
  background: var(--ink);
  color: var(--text-invert);
}

.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}
@media (min-width: 900px) {
  .nav-burger { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--ivory);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 899px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero-watermark {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  opacity: 0.07;
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero-watermark { right: -220px; width: 460px; height: 460px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
}
.trust-item .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Section framing ---------- */
.section {
  padding: 92px 0;
}
.section-header {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}
.section-paper { background: var(--paper); }
.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-invert);
}
.section-dark h2, .section-dark h3 { color: var(--text-invert); }
.section-dark p { color: var(--text-invert-soft); }

.arc-divider {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc-divider svg { width: 120px; height: 26px; opacity: 0.55; }

/* ---------- Services: challan-stub cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.stub-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.stub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.stub-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background-image: radial-gradient(circle, var(--paper) 2.6px, transparent 2.7px);
  background-size: 14px 14px;
  background-position: 4px 0;
  background-repeat: repeat-x;
}
.section-paper .stub-card::before { background-image: radial-gradient(circle, var(--ivory) 2.6px, transparent 2.7px); }

.stub-serial {
  font-family: 'Hind Siliguri', 'Inter', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.stub-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--ink);
}
.stub-icon svg { width: 100%; height: 100%; }
.stub-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.stub-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0;
}

.stub-card.coming-soon {
  border-style: dashed;
  background: transparent;
  opacity: 0.85;
}
.coming-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 860px) {
  .process-list { grid-template-columns: 1fr; gap: 34px; }
}
.process-step {
  position: relative;
  padding: 0 20px 0 0;
}
.process-step:not(:last-child) {
  border-right: 1px dashed var(--line-invert);
}
@media (max-width: 860px) {
  .process-step:not(:last-child) { border-right: none; border-bottom: 1px dashed var(--line-invert); padding: 0 0 28px 0; }
}
.process-num {
  font-family: 'Tiro Bangla', 'Playfair Display', serif;
  font-size: 40px;
  color: var(--gold-light);
  margin-bottom: 14px;
  line-height: 1;
}
.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px 34px;
}
.why-item {
  display: flex;
  gap: 16px;
}
.why-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.why-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.why-item p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info-item .ic {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-item h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 4px;
  font-weight: 700;
}
.contact-info-item p { margin: 0; color: var(--text); }
.contact-info-item small { color: var(--text-soft); }

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-error {
  color: #A3372E;
  font-size: 12.5px;
  margin-top: 6px;
  display: none;
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #A3372E;
}
.form-row.has-error .form-error { display: block; }

.form-note {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  color: var(--text-invert-soft);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-invert);
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand svg { height: 30px; width: auto; }
.footer-brand span {
  font-family: 'Tiro Bangla', 'Playfair Display', serif;
  font-size: 19px;
  color: var(--text-invert);
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a { text-decoration: none; color: var(--text-invert-soft); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-invert-soft);
  opacity: 0.8;
}

/* ---------- Reveal on scroll ----------
   Progressive enhancement: content is visible by default so the
   page works with CSS only. The opening inline script adds
   .has-js to <html> before paint; only then do reveal elements
   start hidden, to be faded in by script.js. If JS fails to run
   for any reason, content simply stays fully visible. */
.reveal {
  opacity: 1;
  transform: none;
}
.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.has-js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--text-invert);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--ink-2); }
.wa-float svg { width: 26px; height: 26px; }
