/* ============================================================
   Part of the World Travel — brand styles
   Palette drawn from the logo: deep navy, teal, gold, cream,
   with a coral (mermaid) accent.
   ============================================================ */
:root {
  --navy:       #123a5b;
  --navy-deep:  #0d2c46;
  --navy-soft:  #1f4d70;
  --teal:       #2e8b8b;
  --teal-light: #5bb3ae;
  --gold:       #e0a93b;
  --gold-soft:  #f0c874;
  --coral:      #e76f51;
  --cream:      #f6f1e7;
  --cream-deep: #efe7d6;
  --ink:        #1c2b36;
  --muted:      #5a6b78;
  --white:      #ffffff;
  --line:       #e6ddca;
  --shadow:     0 18px 40px -18px rgba(18, 58, 91, 0.35);
  --shadow-sm:  0 8px 22px -14px rgba(18, 58, 91, 0.4);
  --radius:     20px;
  --radius-sm:  12px;
  --maxw:       640px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(1100px 460px at 82% -8%, rgba(91, 179, 174, 0.20), transparent 60%),
    radial-gradient(900px 420px at 6% 4%, rgba(224, 169, 59, 0.16), transparent 55%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

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

/* ---------- Header / brand ---------- */
.site-header { padding: 30px 0 8px; text-align: center; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: min(340px, 82vw); height: auto; display: block; }
.brand-mark { /* CSS/SVG emblem fallback when no logo.png present */
  width: 84px; height: 84px; display: grid; place-items: center;
}
.wordmark { text-align: center; }
.wordmark .part { font-family: 'Fredoka', sans-serif; font-weight: 600; letter-spacing: .12em;
  color: var(--navy); font-size: 15px; text-transform: uppercase; }
.wordmark .world { font-family: 'Fredoka', sans-serif; font-weight: 600; letter-spacing: .04em;
  color: var(--navy); font-size: 34px; line-height: .95; text-transform: uppercase; }
.wordmark .travel { font-family: 'Fredoka', sans-serif; font-weight: 500; letter-spacing: .42em;
  color: var(--teal); font-size: 14px; text-transform: uppercase; padding-left: .42em; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 18px 0 26px; }
.hero .eyebrow {
  display: inline-block; background: rgba(46, 139, 139, 0.12); color: var(--teal);
  font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(28px, 6.4vw, 42px); }
.hero p { color: var(--muted); font-size: 17px; max-width: 480px; margin: 12px auto 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  margin: 0 0 22px;
}
.card h2 { font-size: 22px; margin-bottom: 4px; }
.card .sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

.step-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.step-badge b { background: var(--gold); color: var(--white); width: 22px; height: 22px;
  border-radius: 50%; display: grid; place-items: center; font-size: 12px; }

/* ---------- Star rating ---------- */
.stars { display: flex; gap: 6px; justify-content: center; margin: 6px 0 4px; }
.star {
  font-size: 42px; line-height: 1; cursor: pointer; color: var(--cream-deep);
  transition: transform .12s ease, color .12s ease; background: none; border: 0; padding: 0;
}
.star:hover { transform: scale(1.12); }
.star.on { color: var(--gold); }
.stars-label { text-align: center; color: var(--muted); font-size: 14px; min-height: 20px; font-weight: 700; }

/* ---------- Form fields ---------- */
.field { margin: 16px 0 0; }
.field label { display: block; font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field .hint { font-weight: 600; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=password], textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 139, 139, 0.14);
}

/* ---------- Chips (trip type) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  background: var(--cream); color: var(--navy-soft);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px;
  transition: all .14s ease;
}
.chip:hover { border-color: var(--teal-light); }
.chip.on { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Consent ---------- */
.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 18px;
  background: var(--cream); border-radius: var(--radius-sm); padding: 13px 14px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.consent label { font-weight: 700; font-size: 13.5px; color: var(--navy-soft); }

/* ---------- Photo ---------- */
.photo-drop {
  margin-top: 8px; border: 1.6px dashed var(--teal-light); border-radius: var(--radius-sm);
  background: rgba(46,139,139,.05); padding: 16px; text-align: center; cursor: pointer;
  color: var(--teal); font-weight: 700; font-size: 14px;
}
.photo-drop:hover { background: rgba(46,139,139,.1); }
.photo-preview { margin-top: 12px; display: none; }
.photo-preview img { max-width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.photo-preview button { margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  font: inherit; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px;
  cursor: pointer; border: 0; border-radius: 999px; padding: 14px 26px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow-sm); width: 100%; }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn-secondary { background: transparent; color: var(--navy-soft); border: 1.5px solid var(--line); }
.btn-secondary:hover { border-color: var(--navy-soft); }
.btn-ghost { background: transparent; color: var(--muted); font-size: 15px; padding: 8px 4px; }
.btn-teal { background: var(--teal); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-teal:hover { transform: translateY(-2px); background: var(--teal-light); }

.btn-row { display: flex; gap: 10px; margin-top: 20px; }
.btn-row .btn { flex: 1; }

.err { color: var(--coral); font-size: 13.5px; font-weight: 700; margin-top: 6px; min-height: 0; }

/* ---------- Referral section ---------- */
.reward-banner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 4px;
}
.reward-banner .gift { font-size: 30px; flex: none; }
.reward-banner .amt { font-family: 'Fredoka', sans-serif; color: var(--gold-soft); font-weight: 600; }
.reward-banner small { display: block; color: rgba(255,255,255,.8); font-size: 12.5px; font-weight: 700; }

.referral-row {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; margin-top: 12px; position: relative; background: var(--cream);
}
.referral-row .row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.referral-row .row-head span { font-weight: 800; color: var(--navy); font-size: 13px; }
.referral-row .remove { background: none; border: 0; color: var(--coral); cursor: pointer; font-weight: 800; font-size: 13px; }
.referral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.referral-grid .full { grid-column: 1 / -1; }
.add-row { margin-top: 12px; }

.kind-note {
  font-size: 13px; color: var(--muted); font-weight: 700; background: rgba(231,111,81,.08);
  border-radius: var(--radius-sm); padding: 11px 13px; margin-top: 14px;
}

/* ---------- Thank you ---------- */
.thanks { text-align: center; padding: 8px 0; }
.thanks .emoji { font-size: 54px; }
.thanks h2 { font-size: 26px; margin: 6px 0 8px; }
.thanks p { color: var(--muted); font-size: 16px; margin: 0 auto 20px; max-width: 420px; }
.share-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Wall of love ---------- */
.wall { margin: 34px 0 20px; }
.wall h2 { text-align: center; font-size: 24px; margin-bottom: 4px; }
.wall .sub { text-align: center; color: var(--muted); margin: 0 0 20px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 18px 18px 16px; margin-bottom: 14px; }
.review-card .rc-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.review-card .rc-text { margin: 8px 0 10px; font-size: 15.5px; color: var(--ink); }
.review-card .rc-meta { font-size: 13px; color: var(--muted); font-weight: 800; }
.review-card .rc-meta .dot { color: var(--line); margin: 0 6px; }
.review-card img.rc-photo { width: 100%; border-radius: 10px; margin: 4px 0 10px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 20px 40px; }
.site-footer a { color: var(--teal); font-weight: 800; text-decoration: none; }
.site-footer .tag { font-family: 'Fredoka', sans-serif; color: var(--navy); font-size: 15px; margin-bottom: 6px; }

.hidden { display: none !important; }
.fade-in { animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 480px) {
  .card { padding: 22px 18px; }
  .star { font-size: 38px; }
  .referral-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
}

/* ============================================================
   SITE (home / about / blog) — shared nav, sections, footer
   ============================================================ */
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,241,231,0.85);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18,58,91,.5); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 800; font-size: 15px; transition: color .15s; white-space: nowrap; }
.nav-links a:not(.nav-cta):hover { color: var(--teal); }
.nav-cta { color: var(--navy-deep) !important; padding: 10px 18px; font-family: 'Fredoka',sans-serif; font-weight: 600; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; line-height: 1; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 0; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .28s ease; }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav-links a:first-child { border-top: 0; }
  .nav-cta { margin: 10px 24px; text-align: center; border-radius: 999px; }
}

/* ---------- Home hero ---------- */
.home-hero { padding: 54px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { display: inline-block; background: rgba(46,139,139,.12); color: var(--teal);
  font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; }
.hero-copy h1 .accent { color: var(--teal); }
.hero-copy p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 18px 0 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { font-size: 18px; padding: 15px 28px; width: auto; }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 26px; border: 4px solid #fff; box-shadow: var(--shadow); display: block;
  aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.hero-photo::before { content: ''; position: absolute; inset: -14px -14px 22px 22px; border: 3px solid var(--gold);
  border-radius: 30px; z-index: -1; }
.float-badge { position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.float-badge .stars { color: var(--gold); font-size: 18px; letter-spacing: 1px; }
.float-badge b { color: var(--navy); font-family: 'Fredoka',sans-serif; font-size: 20px; }
.float-badge small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head .eyebrow { display: inline-block; background: rgba(224,169,59,.15); color: var(--gold);
  font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 10px 0 0; }
.section-cream { background: linear-gradient(180deg, transparent, rgba(46,139,139,.05)); }

/* Specialties */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .16s, box-shadow .16s; }
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-card .ico { font-size: 34px; }
.spec-card h3 { font-size: 20px; margin: 12px 0 6px; }
.spec-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { text-align: center; padding: 10px; }
.value .ico { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(46,139,139,.12); font-size: 28px; }
.value h3 { font-size: 17px; margin: 0 0 6px; }
.value p { color: var(--muted); font-size: 14px; margin: 0; }

/* Reviews carousel */
.carousel { position: relative; max-width: 760px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-slide { min-width: 100%; padding: 6px; }
.rev-quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 30px 30px 26px; text-align: center; }
.rev-quote .rc-stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; }
.rev-quote .rc-text { font-size: 19px; color: var(--ink); line-height: 1.5; margin: 14px 0 16px; font-family: 'Fredoka',sans-serif; font-weight: 400; }
.rev-quote .rc-meta { font-weight: 800; color: var(--teal); font-size: 15px; }
.rev-quote .rc-meta span { color: var(--muted); font-weight: 700; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.carousel-dots button.on { background: var(--gold); transform: scale(1.25); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-sm); color: var(--navy); font-size: 18px; }
.carousel-arrow:hover { color: var(--teal); }
.carousel-arrow.prev { left: -10px; } .carousel-arrow.next { right: -10px; }
@media (max-width: 820px) { .carousel-arrow { display: none; } }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.about-teaser .photo img { width: 100%; border-radius: 22px; border: 4px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.about-teaser h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.about-teaser p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); border-radius: 28px; padding: 46px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 17px; margin: 12px 0 24px; }
.cta-band .btn-secondary { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Rich footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.8); margin-top: 40px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 46px 24px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand img { height: 74px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer-brand p { font-family: 'Fredoka',sans-serif; color: var(--gold-soft); margin: 14px 0 0; font-size: 15px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; display: block; margin-bottom: 9px; font-size: 15px; font-weight: 700; }
.footer a:hover { color: var(--gold-soft); }
.footer-legal { max-width: 1120px; margin: 0 auto; padding: 18px 24px 34px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: center; padding: 50px 0 30px; }
.about-hero .photo img { width: 100%; border-radius: 24px; border: 4px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 3/4; object-fit: cover; object-position: 50% 28%; }
.about-hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.05; }
.about-hero .eyebrow { display: inline-block; background: rgba(46,139,139,.12); color: var(--teal);
  font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--ink); font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.prose p.lead { font-size: 20px; color: var(--navy); font-family: 'Fredoka',sans-serif; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.pill { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 700; color: var(--navy-soft); font-size: 14px; }

/* ---------- Blog (coming soon) ---------- */
.coming { text-align: center; padding: 70px 0 40px; max-width: 620px; margin: 0 auto; }
.coming .emoji { font-size: 60px; }
.coming h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 10px; }
.coming p { color: var(--muted); font-size: 18px; margin: 0 auto 26px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 16px; box-shadow: var(--shadow-sm); }
.topic .ico { font-size: 30px; } .topic h3 { font-size: 16px; margin: 10px 0 4px; } .topic p { font-size: 13.5px; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .hero-grid, .about-teaser, .about-hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .spec-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .float-badge { left: 8px; }
}
