/* Wander Without Limits Travel — design system (plain CSS) */

:root {
  --radius: 4px;

  --background: #fdfcf9;
  --foreground: #2b3446;

  --card: #ffffff;
  --secondary: #f5f3ee;
  --muted-foreground: #6d7686;
  --border: #e2e2e0;
  --input: #d7d7d5;

  --navy: #3d5372;
  --navy-deep: #263449;
  --gold: #d9b168;
  --gold-soft: #ecd6a4;
  --on-navy: #fbfaf7;
  --on-gold: #33405a;

  --gradient-hero: linear-gradient(180deg, rgba(38, 52, 73, 0.2) 0%, rgba(38, 52, 73, 0.62) 65%, rgba(38, 52, 73, 0.9) 100%);
  --gradient-gold: linear-gradient(100deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  --shadow-elegant: 0 22px 60px -24px rgba(38, 52, 73, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(38, 52, 73, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Karla", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

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

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

ul,
ol {
  list-style: none;
}

/* ---------- helpers ---------- */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  font-weight: 900;
}
h3.eyebrow {
  font-size: 0.85rem;
}

.gold {
  color: var(--gold);
}
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rule-gold {
  display: block;
  height: 1px;
  width: 4rem;
  background: var(--gradient-gold);
}
.muted {
  color: var(--muted-foreground);
}
.section {
  padding: 96px 0;
}
.section--tight {
  padding: 80px 0;
}
.section--secondary {
  background: var(--secondary);
}
.center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 16px 32px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn--gold {
  background: var(--gold);
  color: var(--on-gold);
}
.btn--navy {
  background: var(--navy);
  color: var(--on-navy);
}
.btn--gold:hover,
.btn--navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}
.btn--ghost {
  border-color: rgba(251, 250, 247, 0.4);
  color: var(--on-navy);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--outline {
  border-color: var(--input);
  padding: 12px 24px;
  letter-spacing: 0.2em;
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--lg {
  width: 28px;
  height: 28px;
  stroke-width: 1.4;
  color: var(--gold);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-rise {
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(38, 52, 73, 0.45), transparent);
  transition: all 0.5s ease;
}
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(253, 252, 249, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  transition: all 0.5s ease;
}
.is-scrolled .brand img {
  width: 44px;
  height: 44px;
  filter: none;
}
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--on-navy);
  transition: color 0.5s ease;
}
.brand-sub {
  display: block;
  font-family: "Karla", sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.is-scrolled .brand-name {
  color: var(--foreground);
}
.is-scrolled .brand-sub {
  color: var(--muted-foreground);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-link {
  position: relative;
  padding: 4px 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(251, 250, 247, 0.8);
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--on-navy);
}
.is-scrolled .nav-link {
  color: var(--muted-foreground);
}
.is-scrolled .nav-link:hover,
.is-scrolled .nav-link.is-active {
  color: var(--foreground);
}
.nav-cta {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

.nav-toggle {
  display: inline-flex;
  padding: 8px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--on-navy);
  cursor: pointer;
}
.is-scrolled .nav-toggle {
  color: var(--foreground);
}
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(253, 252, 249, 0.97);
  backdrop-filter: blur(16px);
}
.nav-mobile.is-open {
  display: block;
  animation: rise-in 0.4s ease both;
}
.nav-mobile .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
}
.nav-mobile a {
  padding: 12px 8px;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  border-radius: var(--radius);
}
.nav-mobile a.is-active {
  color: var(--foreground);
}
.nav-mobile .nav-cta {
  margin-top: 8px;
  text-align: center;
  color: var(--on-gold);
  padding: 14px 20px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero__inner {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  padding: 112px 20px 80px;
  text-align: center;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  color: var(--on-navy);
}
.hero h1 span {
  display: block;
  margin-top: 4px;
}
.hero__lead {
  max-width: 34rem;
  margin: 24px auto 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(251, 250, 247, 0.85);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251, 250, 247, 0.6);
}

/* page hero (about / book) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 144px 0 80px;
  text-align: center;
  background: var(--navy-deep);
}
.page-hero__inner {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: var(--on-navy);
}
.page-hero p {
  max-width: 34rem;
  margin: 20px auto 0;
  line-height: 1.7;
  color: rgba(251, 250, 247, 0.85);
}

/* ---------- content blocks ---------- */
.section-head {
  max-width: 42rem;
}
.section-head h2 {
  margin-top: 24px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.section-head p {
  margin-top: 16px;
  color: var(--muted-foreground);
}

.grid-3 {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}
.card h3 {
  margin-top: 24px;
  font-size: 1.5rem;
}
.card p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}
.split img {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-elegant);
}
.split h2 {
  margin-top: 24px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.split p {
  margin-top: 20px;
  line-height: 1.75;
  color: var(--muted-foreground);
}
.tick-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
}
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tick-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--gold);
}
.split .btn {
  margin-top: 36px;
}

.prose > p + p {
  margin-top: 16px;
}
.prose p {
  line-height: 1.8;
  color: var(--muted-foreground);
}

.stats {
  display: grid;
  gap: 24px;
}
.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 32px;
  text-align: center;
}
.stat .icon {
  margin: 0 auto;
  width: 24px;
  height: 24px;
  color: var(--gold);
}
.stat strong {
  display: block;
  margin-top: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 400;
}
.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

.cta-band {
  background: var(--navy-deep);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--on-navy);
}
.cta-band p {
  margin-top: 16px;
  color: rgba(251, 250, 247, 0.75);
}
.cta-band .btn {
  margin-top: 32px;
}

.cta-light h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}
.cta-light p {
  margin-top: 16px;
  color: var(--muted-foreground);
}
.cta-light .btn {
  margin-top: 32px;
}

/* ---------- form ---------- */
.book-layout {
  display: grid;
  gap: 48px;
}
.form-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.form-panel h2 {
  margin-top: 24px;
  font-size: 1.85rem;
}
.enquiry-form {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.enquiry-form label {
  display: block;
}
.enquiry-form label > span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  font-family: inherit;
  font-size: 0.9rem;
  color: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.enquiry-form textarea {
  resize: vertical;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--gold);
}
.form-success {
  padding: 40px 0;
  text-align: center;
}
.form-success .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--gold);
}
.form-success h2 {
  margin-top: 20px;
  font-size: 1.85rem;
}
.form-success p {
  max-width: 28rem;
  margin: 12px auto 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.form-success a {
  color: var(--navy);
  text-decoration: underline;
}
.form-success .btn {
  margin-top: 32px;
}
.is-hidden {
  display: none !important;
}
.aside-card-alt {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.aside-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.aside-card--filled {
  background: var(--secondary);
}
.aside-card h3 {
  color: var(--navy);
}
.aside-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  word-break: break-word;
}
.aside-card a:hover {
  color: var(--navy);
}
.aside-card a .icon {
  color: var(--gold);
  width: 16px;
  height: 16px;
}
.steps {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}
.steps b {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--foreground);
}
.aside-card .fineprint {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.aside-stack {
  display: grid;
  gap: 24px;
  align-content: start;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-navy);
}
.footer-grid {
  display: grid;
  gap: 48px;
  padding: 64px 20px;
  max-width: 1152px;
  margin: 0 auto;
}
.footer-grid img {
  width: 80px;
  height: 80px;
}
.footer-grid p {
  max-width: 20rem;
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(251, 250, 247, 0.7);
}
.footer-grid h3 {
  color: var(--gold);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.9rem;
}
.footer-links a,
.footer-contact a {
  color: rgba(251, 250, 247, 0.85);
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.9rem;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}
.footer-contact .icon {
  width: 16px;
  height: 16px;
}
.footer-fine {
  margin-top: 24px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(251, 250, 247, 0.6);
}
.footer-bar {
  border-top: 1px solid rgba(251, 250, 247, 0.15);
}
.footer-bar p {
  max-width: 1152px;
  margin: 0 auto;
  padding: 24px 20px;
  font-size: 0.75rem;
  color: rgba(251, 250, 247, 0.6);
}

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .enquiry-form {
    grid-template-columns: 1fr 1fr;
  }
  .enquiry-form .span-2 {
    grid-column: span 2;
  }
  .form-panel {
    padding: 40px;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .book-layout {
    grid-template-columns: 1.4fr 1fr;
  }
}
