/* =========================================================
   FAONA LEGACY  -  Master Stylesheet
   Clean, professional, banded light/dark sections
   Palette: warm brown + cream + solid gold accent
   ========================================================= */

:root {
  --brown-950: #1A1008;
  --brown-900: #2E1C0A;
  --brown-800: #3F2810;
  --brown-700: #7A5A3F;
  --brown-600: #9A7A5A;
  --brown-500: #B89878;

  --cream-50:  #faf6ec;
  --cream-100: #f3ead6;
  --cream-200: #e8dcc0;
  --cream-300: #d6c599;

  --gold-500:  #C04818;
  --gold-600:  #D9A23A;
  --gold-400:  #D86530;
  --red-500:   #E63027;

  --ink:       #1a1208;
  --ink-soft:  #5a4a3a;
  --ink-mute:  #8a7c6c;
  --line:      #e2d9c5;
  --line-dark: rgba(243, 234, 214, 0.14);

  --container: min(1180px, 92vw);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-50);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brown-700);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }

p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--gold-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brown-900); }

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

.container { width: var(--container); margin: 0 auto; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0;
  z-index: 100;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: var(--container); margin: 0 auto;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-brand img { height: 75px; width: auto; object-fit: contain; }
.nav-brand-divider {
  display: block;
  width: 1px; height: 50px;
  background: var(--gold-400);
  opacity: 0.6;
  flex-shrink: 0;
}

.nav-links {
  display: flex; gap: 1.9rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold-500);
}

.nav-cta {
  background: var(--red-500);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: #b02020; color: #ffffff; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.4rem;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}
.btn-primary {
  background: var(--red-500);
  color: #ffffff;
}
.btn-primary:hover { background: #b02020; color: #ffffff; }
.btn-gold {
  background: var(--gold-500);
  color: #ffffff;
}
.btn-gold:hover { background: var(--gold-600); color: #ffffff; }
.section-dark .btn-gold { background: #ffffff; color: var(--gold-500); }
.section-dark .btn-gold:hover { background: var(--red-500); color: #ffffff; border-color: var(--red-500); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brown-900); color: var(--brown-900); }
.section-dark .btn-outline { color: var(--cream-50); border-color: var(--line-dark); }
.section-dark .btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--gold-500);
  color: var(--cream-50);
  overflow: hidden;
  min-height: 78vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.82;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,22,16,0.08) 0%, rgba(31,22,16,0.38) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  width: var(--container); margin: 0 auto;
  padding: 5rem 0 4rem;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.hero h1 { color: #ffffff; margin-bottom: 1.2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-sub {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 600px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  background: var(--gold-500);
  color: #ffffff;
  padding: 5rem 0 3.5rem;
  border-bottom: 4px solid var(--red-500);
}
.page-header .container { max-width: 820px; }
.crumbs {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1rem;
}
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: #ffffff; }
.page-header h1 { color: #ffffff; margin-bottom: 0.8rem; }
.page-header p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ===== SECTIONS ===== */
section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-light { background: var(--cream-50); }
.section-cream { background: var(--cream-100); }
.section-paper { background: #ffffff; }
.section-dark {
  background: var(--gold-500);
  color: #ffffff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #ffffff; }
.section-dark p { color: rgba(255, 255, 255, 0.88); }
.section-dark strong { color: #ffffff; }
.section-dark a { color: rgba(255, 255, 255, 0.9); }
.section-dark a:hover { color: #ffffff; }

/* Red band — secondary brand color as a full section */
.section-red {
  background: var(--red-500);
}
.section-red h1, .section-red h2, .section-red h3, .section-red h4 { color: #ffffff; }
.section-red p { color: rgba(255, 255, 255, 0.88); }
.section-red strong { color: #ffffff; }
.section-red a { color: #ffffff; }
.section-red a:hover { color: var(--cream-50); }
.section-red .eyebrow { color: rgba(255, 255, 255, 0.72); }
.section-red .btn-gold { background: #ffffff; color: var(--red-500); }
.section-red .btn-gold:hover { background: var(--cream-50); color: var(--red-500); }
.section-red .btn-outline { color: #ffffff; border-color: rgba(255,255,255,0.5); background: transparent; }
.section-red .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #ffffff; }

/* Orange band — dominant brand color as a full section */
.section-orange {
  background: var(--gold-500);
}
.section-orange h1, .section-orange h2, .section-orange h3, .section-orange h4 { color: #ffffff; }
.section-orange p { color: rgba(255, 255, 255, 0.88); }
.section-orange strong { color: #ffffff; }
.section-orange a { color: #ffffff; text-decoration: underline; }
.section-orange a:hover { color: var(--cream-50); }
.section-orange .eyebrow { color: rgba(255, 255, 255, 0.72); }
.section-orange .stat-num { color: #ffffff; }
.section-orange .stat-label { color: rgba(255, 255, 255, 0.78); }
.section-orange .card { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); }
.section-orange .card:hover { border-color: rgba(255, 255, 255, 0.55); transform: translateY(-2px); }
.section-orange .card h3, .section-orange .card h4 { color: #ffffff; }
.section-orange .card p { color: rgba(255, 255, 255, 0.85); }
.section-orange .card-icon { background: rgba(255, 255, 255, 0.18); color: #ffffff; }
.section-orange .card-tag { color: rgba(255, 255, 255, 0.72); }
.section-orange .btn-outline { color: #ffffff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.section-orange .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; }
.section-orange .btn-primary { background: var(--red-500); color: #ffffff; }
.section-orange .btn-primary:hover { background: var(--brown-900); }

.section-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.65rem;
}
.section-dark .section-head .eyebrow,
.section-dark .eyebrow { color: rgba(255, 255, 255, 0.78); }
.section-dark h5 { color: #ffffff; }
.section-red .eyebrow,
.section-red h5 { color: rgba(255, 255, 255, 0.78); }
.section-orange .eyebrow,
.section-orange h5 { color: rgba(255, 255, 255, 0.78); }
.page-header .eyebrow,
.page-header h5 { color: rgba(255, 255, 255, 0.78); }
.section-head h2 { margin-bottom: 0.55rem; }
.section-head p { font-size: 1.02rem; }

/* ===== GRID ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4-force { grid-template-columns: repeat(4, 1fr); }

/* ===== CARD ===== */
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.card-tag {
  display: inline-block;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.card h3, .card h4 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

.section-dark .card {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.32);
}
.section-dark .card:hover { border-color: rgba(255, 255, 255, 0.7); }
.section-dark .card-tag { color: rgba(255, 255, 255, 0.75); }
.section-dark .card p { color: rgba(255, 255, 255, 0.85); }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--cream-100);
  color: var(--brown-900);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}
.section-dark .card-icon { background: rgba(255, 255, 255, 0.18); color: #ffffff; }
.card-icon svg { width: 22px; height: 22px; }

/* List inside cards */
.card-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.7rem; }
.card-list li {
  font-size: 0.93rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 1.1rem;
}
.card-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
}
.section-dark .card-list li { color: rgba(255, 255, 255, 0.88); }

/* ===== STATS ===== */
.stats {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-dark .stat-label { color: rgba(255, 255, 255, 0.78); }

/* ===== TWO COL (image + text) ===== */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: center; }
.split-image {
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
  background-size: cover; background-position: center;
  border-radius: var(--radius-md);
}
.split-text h2 { margin-bottom: 1rem; }
.split-text p + p { margin-top: 1rem; }

/* ===== TABLE ===== */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
}
.table-responsive .rate-table {
  margin-bottom: 0 !important;
}
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.rate-table th, .rate-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.rate-table th {
  background: var(--brown-900);
  color: var(--cream-100);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rate-table td { color: var(--ink); }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table .price { font-weight: 600; color: var(--brown-900); }
.rate-table tr:hover td { background: var(--cream-50); }

/* ===== ITINERARY (vertical timeline) ===== */
.itinerary { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; }
.day {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background: rgba(250, 246, 236, 0.04);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
}
.day-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.day-num small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(250, 246, 236, 0.55);
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.day h4 { color: var(--cream-50); margin-bottom: 0.4rem; }
.day p { color: rgba(250, 246, 236, 0.75); font-size: 0.94rem; }

/* ===== TOUR LIST ===== */
.tour-list { display: grid; gap: 1rem; }
.tour-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s var(--ease);
}
.tour-row:hover { border-color: var(--gold-500); }
.tour-code {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}
.tour-name { font-weight: 600; color: var(--ink); }
.tour-name small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-mute); margin-top: 0.15rem; }
.tour-dur {
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.tour-row .btn { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ===== FORM ===== */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input, .form-field select, .form-field textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.form-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.form-block h3 { margin: 0 0 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.form-block h3:not(:first-child) { margin-top: 2.2rem; }
.checkbox-grid {
  display: grid; gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.checkbox-grid label {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.checkbox-grid label:hover { background: var(--cream-100); border-color: var(--gold-500); }
.checkbox-grid input[type="checkbox"] { accent-color: var(--gold-500); }

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-700);
  color: #ffffff;
  padding: 2.5rem 0 1.2rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 2rem;
}
.footer h5 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}
.footer-brand { font-weight: 700; font-size: 1.1rem; color: #ffffff; margin-bottom: 0.8rem; display: block; }
.footer-tagline {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  max-width: 320px;
  margin-bottom: 1.2rem;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer ul a, .footer ul li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer ul a:hover { color: #ffffff; }
.footer h5 { color: #ffffff; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover { border-color: #ffffff; color: #ffffff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 52px; height: 52px;
  background: var(--gold-500);
  color: #ffffff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(242, 106, 31, 0.4);
  z-index: 90;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); background: var(--red-500); color: #ffffff; }
.wa-float svg { width: 24px; height: 24px; }

/* ===== REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].show { opacity: 1; transform: translateY(0); }

/* ===== UTIL ===== */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--ink-mute); font-size: 0.88rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-brand img { height: 58px; }
  .nav-brand-divider { height: 38px; }
  .nav-brand { gap: 0.4rem; }

  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream-50);
    border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 5%; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }

  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tour-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .tour-row .btn { justify-self: start; margin-top: 0.5rem; }
  .day { grid-template-columns: 1fr; gap: 0.7rem; }
  .grid-4-force { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-brand img { height: 48px; }
  .nav-brand-divider { height: 30px; }
  .nav-brand { gap: 0.3rem; }

  .form-block { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 64vh; }
  .hero-inner { padding: 4rem 0 3rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
