/* ============================================================
   Philippines Travel — Main Stylesheet
   style.css | Reusable, mobile-first, CSS custom properties
   Replace https://example.com/ with final domain sitewide.
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES (Design Tokens) ───────────────────── */
:root {
  /* Colors */
  --color-blue:       #5AA8D0;  /* soft sky blue */
  --color-teal:       #1A6B7A;  /* deep teal */
  --color-green:      #2E9E7A;  /* sea green */
  --color-sand:       #F5EDD8;  /* warm sand */
  --color-white:      #FFFFFF;
  --color-charcoal:   #2C3038;
  --color-gray:       #6B7280;
  --color-light-gray: #F3F4F6;
  --color-border:     #E5E7EB;

  /* Brand semantic roles */
  --brand-primary:    var(--color-teal);
  --brand-accent:     var(--color-green);
  --brand-highlight:  var(--color-blue);
  --brand-bg-soft:    var(--color-sand);
  --text-base:        var(--color-charcoal);
  --text-muted:       var(--color-gray);

  /* Typography */
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.09);

  /* Layout */
  --container-max: 1200px;
  --container-text: 760px;
  --container-pad: var(--space-6);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-primary); text-decoration: underline; }
a:hover { color: var(--brand-accent); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
main { flex: 1; }

/* ── 3. SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--brand-primary);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ── 4. LAYOUT PRIMITIVES ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--text {
  max-width: var(--container-text);
}
.section {
  padding-block: var(--space-16);
}
.section--sm { padding-block: var(--space-10); }
.section--lg { padding-block: var(--space-24); }
.section--sand { background: var(--color-sand); }
.section--teal { background: var(--brand-primary); color: var(--color-white); }
.section--charcoal { background: var(--color-charcoal); color: var(--color-white); }
.section--light { background: var(--color-light-gray); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex helpers */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── 5. TYPOGRAPHY ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-sans);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-charcoal);
}
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; }

p { margin-bottom: var(--space-4); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-white { color: var(--color-white); }
.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--charcoal h1,
.section--charcoal h2,
.section--charcoal h3 { color: var(--color-white); }

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-3);
  display: block;
}
.section-title {
  margin-bottom: var(--space-4);
}
.section-desc {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
}
.section-header {
  margin-bottom: var(--space-12);
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc,
.section-header.center p {
  margin-inline: auto;
}

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible {
  outline: 3px solid var(--brand-highlight);
  outline-offset: 2px;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-primary);
  color: var(--color-white);
  border-color: var(--brand-primary);
}
.btn--primary:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--brand-accent);
  color: var(--color-white);
  border-color: var(--brand-accent);
}
.btn--accent:hover {
  background: #228060;
  color: var(--color-white);
  border-color: #228060;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn--outline:hover {
  background: var(--brand-primary);
  color: var(--color-white);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--brand-primary);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* ── 7. HEADER & NAVIGATION ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header .container { padding-block: var(--space-4); }
.site-header .flex-between { gap: var(--space-4); }

.site-logo {
  text-decoration: none;
  color: var(--brand-primary);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.site-logo span { color: var(--brand-accent); }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: var(--space-6); align-items: center; }
.site-nav a {
  text-decoration: none;
  color: var(--color-charcoal);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.site-nav a:hover { color: var(--brand-primary); }
.site-nav .btn { font-size: var(--text-sm); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.nav-toggle:hover { background: var(--color-light-gray); }
.nav-toggle:focus-visible {
  outline: 3px solid var(--brand-highlight);
  outline-offset: 2px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-6);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-nav a {
  text-decoration: none;
  color: var(--color-charcoal);
  font-size: var(--text-lg);
  font-weight: 500;
  display: block;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: var(--space-4); width: 100%; }

@media (min-width: 768px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}

/* ── 8. BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumb {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: center;
  list-style: none;
  font-size: var(--text-sm);
}
.breadcrumb li + li::before {
  content: '›';
  color: var(--text-muted);
  margin-right: var(--space-1);
}
.breadcrumb a {
  color: var(--brand-primary);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-muted); }

/* ── 9. HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  color: var(--color-white);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { color: var(--color-white); margin-bottom: var(--space-6); }
.hero__lead {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  opacity: 0.92;
  max-width: 56ch;
}
.hero--centered { text-align: center; }
.hero--centered .hero__lead,
.hero--centered p { margin-inline: auto; }
.hero--centered .btn-group { justify-content: center; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--color-light-gray);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero p { color: var(--text-muted); font-size: var(--text-lg); max-width: 64ch; }

/* ── 10. CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}
.card__img svg { width: 48px; height: 48px; opacity: 0.5; }
.card__body { padding: var(--space-6); }
.card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-2);
}
.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-charcoal);
  line-height: 1.3;
}
.card__title a {
  text-decoration: none;
  color: inherit;
}
.card__title a:hover { color: var(--brand-primary); }
.card__desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.card__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-light-gray);
}

/* Destination card */
.destination-card .card__img-wrap {
  position: relative;
  overflow: hidden;
}
.destination-card .card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--brand-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

/* ── 11. FORMS ──────────────────────────────────────────────── */
.form-field {
  margin-bottom: var(--space-5);
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-charcoal);
}
.form-label .required { color: #DC2626; margin-left: var(--space-1); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  line-height: 1.5;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(26,107,122,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.form-checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-primary);
}

/* ── 12. QUIZ ───────────────────────────────────────────────── */
.quiz-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin-inline: auto;
}
.quiz-progress-bar {
  background: var(--color-light-gray);
  border-radius: var(--radius-full);
  height: 6px;
  margin-bottom: var(--space-8);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--brand-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.quiz-question {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.quiz-options {
  display: grid;
  gap: var(--space-3);
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-charcoal);
  background: var(--color-white);
  text-align: left;
  width: 100%;
}
.quiz-option:hover,
.quiz-option.is-selected {
  border-color: var(--brand-primary);
  background: rgba(26,107,122,.05);
  color: var(--brand-primary);
}
.quiz-option:focus-visible {
  outline: 3px solid var(--brand-highlight);
  outline-offset: 2px;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-8);
  gap: var(--space-4);
}
.quiz-step-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.quiz-result { display: none; }
.quiz-result.is-visible { display: block; }
.quiz-result__card {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  margin-bottom: var(--space-8);
}
.quiz-result__label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: var(--space-3);
  display: block;
}
.quiz-result__destination {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--color-white);
}
.quiz-result__desc {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 50ch;
  margin-inline: auto;
}

/* ── 13. COMPARISON TABLE ───────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: var(--text-sm);
}
.comparison-table th {
  background: var(--brand-primary);
  color: var(--color-white);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 700;
  font-size: var(--text-sm);
}
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--color-light-gray); }
.comparison-table .table-label {
  font-weight: 600;
  color: var(--color-charcoal);
}
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); }

/* ── 14. CTA BLOCKS ─────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
}
.cta-block h2,
.cta-block h3 { color: var(--color-white); margin-bottom: var(--space-4); }
.cta-block p {
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 56ch;
  margin-inline: auto;
  font-size: var(--text-lg);
}
.cta-block .btn-group { justify-content: center; }

.cta-inline {
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-left: 4px solid var(--brand-accent);
}
.cta-inline h3 { margin-bottom: var(--space-3); }
.cta-inline p { margin-bottom: var(--space-5); }

/* ── 15. TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: var(--color-light-gray);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: center;
  align-items: center;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
}
.trust-strip__icon {
  width: 24px;
  height: 24px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

/* ── 16. TESTIMONIALS ───────────────────────────────────────── */
/* TODO: replace placeholder testimonials with real customer proof */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.testimonial-card__quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-charcoal);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}
.testimonial-card__quote::before { content: '\201C'; color: var(--brand-accent); font-size: 2em; line-height: 0; vertical-align: -0.4em; margin-right: var(--space-1); }
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}
.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── 17. HOW IT WORKS ───────────────────────────────────────── */
.steps-list {
  display: grid;
  gap: var(--space-8);
  counter-reset: steps;
}
@media (min-width: 768px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); }
}
.step-item {
  position: relative;
  padding-left: var(--space-2);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.step-desc { color: var(--text-muted); }

/* ── 18. ITINERARY DAY BLOCKS ───────────────────────────────── */
.itinerary-days { display: flex; flex-direction: column; gap: var(--space-6); }
.itinerary-day {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
}
.itinerary-day__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.itinerary-day__dot {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xs);
  flex-shrink: 0;
}
.itinerary-day__line {
  width: 2px;
  flex: 1;
  background: var(--color-border);
  margin-top: var(--space-2);
}
.itinerary-day:last-child .itinerary-day__line { display: none; }
.itinerary-day__content { padding-bottom: var(--space-6); }
.itinerary-day__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

/* ── 19. PRICING CARD ───────────────────────────────────────── */
.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.pricing-card.is-featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xl);
}
.pricing-card__badge {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.pricing-card__price {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
  line-height: 1;
}
.pricing-card__price sup { font-size: var(--text-2xl); vertical-align: super; }
.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.pricing-card__features {
  text-align: left;
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.pricing-card__feature-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 20. FAQ STYLE BLOCKS ───────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--space-4); }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}
.faq-item h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-charcoal);
}
.faq-item p { color: var(--text-muted); margin-bottom: 0; }

/* ── 21. RELATED GUIDES BLOCK ───────────────────────────────── */
.related-guides {
  background: var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.related-guides h2,
.related-guides h3 { margin-bottom: var(--space-6); }
.related-guides-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.related-guide-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: var(--color-charcoal);
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.related-guide-link:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.related-guide-link-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}
.related-guide-link-text { font-weight: 600; font-size: var(--text-sm); }
.related-guide-link-meta { font-size: var(--text-xs); color: var(--text-muted); }

/* ── 22. FILTER / JUMP LINKS ────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  background: var(--color-white);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.filter-tag:hover,
.filter-tag.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--color-white);
}

/* ── 23. BUDGET ESTIMATOR ───────────────────────────────────── */
.budget-calc {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.budget-result {
  background: var(--brand-bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin-top: var(--space-6);
  display: none;
}
.budget-result.is-visible { display: block; }
.budget-result__total {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

/* ── 24. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.75);
  padding: var(--space-16) 0 var(--space-8);
}
.site-footer h3,
.site-footer h4 { color: var(--color-white); margin-bottom: var(--space-4); font-size: var(--text-base); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand .site-logo { font-size: var(--text-2xl); }
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 36ch;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: var(--text-xs); margin-bottom: 0; max-width: none; }
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--color-white); }

/* ── 25. CONTENT ARTICLE STYLES ─────────────────────────────── */
.content-body h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); }
.content-body h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); }
.content-body p { margin-bottom: var(--space-5); }
.content-body ul, .content-body ol {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}
.content-body ol { list-style: decimal; }
.content-body li { margin-bottom: var(--space-2); }
.content-body a { color: var(--brand-primary); }
.content-body strong { font-weight: 700; color: var(--color-charcoal); }

/* ── 26. HIGHLIGHT BOXES ────────────────────────────────────── */
.highlight-box {
  border-left: 4px solid var(--brand-accent);
  background: rgba(46,158,122,.06);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: var(--space-6);
}
.highlight-box p { margin-bottom: 0; }
.highlight-box.tip { border-color: var(--color-blue); background: rgba(90,168,208,.07); }
.highlight-box.warning { border-color: #F59E0B; background: rgba(245,158,11,.07); }

/* ── 27. STAT BLOCKS ────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (min-width: 900px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item { text-align: center; }
.stat-item__value {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 600;
}

/* ── 28. RESPONSIVE UTILITIES ───────────────────────────────── */
@media (min-width: 768px) {
  :root { --container-pad: var(--space-8); }
}
@media (min-width: 1024px) {
  :root { --container-pad: var(--space-10); }
}

/* ── 29. FOCUS & ACCESSIBILITY ──────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--brand-highlight);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 30. PRINT ──────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cta-block, .nav-toggle, .mobile-nav { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ── 31. PAIN CARDS & HERO MICROCOPY ──────────────────────── */
.hero__microcopy {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--color-border, #e6e6e6);
  border-radius: var(--radius-lg, 12px);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.pain-card__icon {
  font-size: 2rem;
  line-height: 1;
}
.pain-card__title {
  font-size: var(--text-lg, 1.125rem);
  font-weight: 700;
  margin: 0;
}
.pain-card p {
  margin: 0;
  color: var(--color-text-muted, #555);
  font-size: var(--text-sm, 0.95rem);
  line-height: 1.55;
}
