/* Shell & Sole Camino Tours — design system */

:root {
  --parchment: #f7f2e8;
  --terracotta: #b85c38;
  --sage: #5c6b52;
  --trail-brown: #3d2c24;
  --gold: #c9a227;
  --white: #fffdf9;
  --shadow: rgba(61, 44, 36, 0.12);
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max-width: 72rem;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--trail-brown);
  background: var(--parchment);
}

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

a {
  color: var(--terracotta);
}

a:hover {
  color: var(--trail-brown);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--trail-brown);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-top: 0;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* Header & nav */

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(61, 44, 36, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--trail-brown);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.nav-links a {
  color: var(--trail-brown);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--trail-brown);
  border-radius: var(--radius);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--trail-brown);
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(61, 44, 36, 0.08);
    box-shadow: 0 8px 24px var(--shadow);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
  }
}

/* Hero */

.hero {
  position: relative;
  margin: 0 -1.25rem 2.5rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.25rem;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(61, 44, 36, 0.78) 0%,
    rgba(61, 44, 36, 0.28) 50%,
    rgba(61, 44, 36, 0.12) 100%
  );
}

.hero h1,
.hero .hero-lead,
.hero .availability-banner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 1.15rem;
  margin: 0;
  opacity: 0.95;
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-cta .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.hero-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--trail-brown);
}

.site-footer a {
  color: var(--gold);
}

/* Sections */

section {
  margin-bottom: 3rem;
}

.intro p {
  max-width: 42rem;
  font-size: 1.1rem;
}

/* Pricing */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(61, 44, 36, 0.08);
}

.pricing-table th {
  background: var(--sage);
  color: var(--white);
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr.trip-sold-out td {
  color: rgba(61, 44, 36, 0.55);
}

.pricing-table tr.trip-sold-out .availability--sold-out {
  color: var(--trail-brown);
}

.availability {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.availability--sold-out {
  color: var(--trail-brown);
}

.availability--open {
  color: var(--terracotta);
}

.availability-banner {
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.hero .availability-banner {
  color: var(--white);
  opacity: 0.9;
}

@media (max-width: 640px) {
  .pricing-table {
    font-size: 0.85rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.65rem 0.5rem;
  }
}

/* Included / excluded */

.included-excluded {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .included-excluded {
    grid-template-columns: 1fr;
  }
}

.included-excluded ul {
  padding-left: 1.25rem;
}

.included-excluded li {
  margin-bottom: 0.4rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  color: var(--terracotta);
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Payments placeholder (Stripe Phase 2) */

.payments-teaser {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 16px var(--shadow);
}

.payments-teaser p {
  margin: 0 0 0.5rem;
}

.payments-teaser .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.booking-steps {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .booking-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-steps:has(#docusign-card:not([hidden])) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .booking-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.booking-note {
  font-size: 0.95rem;
  color: var(--sage);
}

.booking-actions {
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--trail-brown);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--trail-brown);
  color: var(--parchment);
  margin-top: 2rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Hero variants */

.hero--compact {
  min-height: auto;
  margin-bottom: 2rem;
  padding: 2.5rem 1.25rem;
  background: linear-gradient(135deg, var(--sage) 0%, var(--trail-brown) 100%);
}

.hero--compact h1,
.hero--compact .hero-lead,
.hero--compact .hero-subtitle {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin: 0;
  opacity: 0.95;
}

.hero:not(:has(.hero-bg)) {
  background: linear-gradient(135deg, var(--sage) 0%, var(--trail-brown) 100%);
}

.hero:not(:has(.hero-bg)) h1,
.hero:not(:has(.hero-bg)) .hero-lead,
.hero:not(:has(.hero-bg)) .hero-subtitle {
  color: var(--white);
}

/* Content sections */

.content-section {
  margin-bottom: 2.5rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.training-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--shadow);
  font-size: 0.9rem;
}

.training-table th,
.training-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(61, 44, 36, 0.08);
  text-align: left;
}

.training-table th {
  background: var(--trail-brown);
  color: var(--parchment);
}

.training-note {
  font-style: italic;
  color: var(--sage);
}

.packing-grid .packing-list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.25rem;
}

@media (max-width: 640px) {
  .packing-grid .packing-list {
    columns: 1;
  }
}

.card--highlight {
  border-left: 4px solid var(--gold);
}

.emergency-list {
  font-size: 1.1rem;
  font-weight: 600;
}

.emergency-list li {
  margin-bottom: 0.5rem;
}

/* Journey — comfort zone spiral */

.spiral-section {
  padding: 2rem 0;
  text-align: center;
}

.spiral {
  position: relative;
  width: min(36rem, 92vw);
  aspect-ratio: 1;
  margin: 2rem auto;
}

.spiral-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  padding: 1.25rem;
  background: var(--parchment);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.spiral-center blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-style: italic;
  line-height: 1.4;
}

.spiral-step {
  position: absolute;
  width: 7.5rem;
  padding: 0.6rem 0.5rem;
  background: var(--sage);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px var(--shadow);
}

.spiral-step::after {
  content: "→";
  position: absolute;
  font-size: 1rem;
  color: var(--terracotta);
  opacity: 0.7;
}

.spiral-step:nth-child(2) { top: 6%; left: 50%; }
.spiral-step:nth-child(2)::after { top: 110%; left: 50%; transform: translateX(-50%) rotate(90deg); }
.spiral-step:nth-child(3) { top: 18%; left: 82%; }
.spiral-step:nth-child(3)::after { top: 50%; left: 108%; transform: translateY(-50%); }
.spiral-step:nth-child(4) { top: 50%; left: 94%; }
.spiral-step:nth-child(4)::after { top: 108%; left: 50%; transform: translateX(-50%) rotate(90deg); }
.spiral-step:nth-child(5) { top: 82%; left: 82%; }
.spiral-step:nth-child(5)::after { top: 50%; left: -12%; transform: translateY(-50%) rotate(180deg); }
.spiral-step:nth-child(6) { top: 94%; left: 50%; }
.spiral-step:nth-child(6)::after { top: -18%; left: 50%; transform: translateX(-50%) rotate(-90deg); }
.spiral-step:nth-child(7) { top: 82%; left: 18%; }
.spiral-step:nth-child(7)::after { top: 50%; left: -12%; transform: translateY(-50%) rotate(180deg); }
.spiral-step:nth-child(8) { top: 50%; left: 6%; }
.spiral-step:nth-child(8)::after { top: -18%; left: 50%; transform: translateX(-50%) rotate(-90deg); }

.spiral-step--highlight {
  background: var(--terracotta);
}

.spiral-cycle-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--sage);
}

.theme-map-table {
  width: 100%;
  max-width: 36rem;
  margin: 2rem auto;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
}

.theme-map-table th,
.theme-map-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(61, 44, 36, 0.08);
}

.theme-map-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--terracotta);
  background: rgba(201, 162, 39, 0.12);
}

/* Day themes */

.day-theme {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px var(--shadow);
  border-top: 4px solid var(--sage);
}

.day-theme h3 {
  color: var(--terracotta);
  margin-top: 0;
}

#release.day-theme { border-top-color: #8b6f5c; }
#experience.day-theme { border-top-color: #c9a227; }
#grow.day-theme { border-top-color: #5c6b52; }
#listen.day-theme { border-top-color: #6b7f9e; }
#arrive.day-theme { border-top-color: #b85c38; }
#begin.day-theme { border-top-color: #7a5c8a; }

/* Route pages */

.route-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.route-stats li {
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
  font-weight: 600;
}

.route-timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}

.route-day {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px var(--shadow);
}

.route-day-boat {
  border-left: 4px solid var(--terracotta);
}

.route-day-header {
  margin-bottom: 0.75rem;
}

.route-day-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sage);
}

.route-day-distance {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terracotta);
}

.route-variant {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.route-highlights {
  padding-left: 1.25rem;
  margin: 0.75rem 0 0;
}

.route-lodging {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(61, 44, 36, 0.15);
  font-size: 0.95rem;
}

.logistics,
.trail-notes,
.lodging-note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px var(--shadow);
}

@media (max-width: 480px) {
  .spiral-step {
    width: 5.5rem;
    font-size: 0.62rem;
    padding: 0.45rem 0.35rem;
  }
}

/* Trust bar */

.trust-bar {
  margin-bottom: 3rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-stats li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  border-top: 3px solid var(--gold);
}

.trust-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--terracotta);
  line-height: 1.2;
}

.trust-stats span {
  display: block;
  font-size: 0.88rem;
  color: var(--sage);
  margin-top: 0.25rem;
}

/* Founder story */

.founder-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 3rem;
}

.founder-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--sage) 0%, var(--trail-brown) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--parchment);
  font-size: 0.85rem;
  font-style: italic;
}

.founder-story h2 {
  margin-top: 0;
}

.founder-tagline {
  font-weight: 600;
  color: var(--sage);
  margin: 0.25rem 0 1rem;
}

.founder-cta {
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .founder-story {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-height: 14rem;
    aspect-ratio: auto;
  }
}

/* Pillars / difference */

.section-lead {
  max-width: 40rem;
  font-size: 1.05rem;
  margin: -0.5rem 0 1.5rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 4px 16px var(--shadow);
  border-left: 4px solid var(--sage);
}

.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--terracotta);
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
}

/* Pace promise */

.pace-promise,
.pretrip-community {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 16px var(--shadow);
  margin-bottom: 3rem;
}

.pace-promise ul,
.pretrip-community ul {
  padding-left: 1.25rem;
}

.pace-promise li,
.pretrip-community li {
  margin-bottom: 0.45rem;
}

/* Testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px var(--shadow);
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sage);
}

.testimonial--invite {
  border: 2px dashed rgba(92, 107, 82, 0.35);
  background: rgba(255, 253, 249, 0.8);
  font-style: normal;
  text-align: center;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--trail-brown);
  list-style-position: outside;
}

.faq-list details[open] summary {
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.faq-list p {
  margin: 0;
  font-size: 0.98rem;
}

.faq-cta {
  margin-top: 1.25rem;
}

/* CTA banner */

.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, var(--sage) 0%, var(--trail-brown) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
}

.cta-banner h2 {
  color: var(--white);
  margin-top: 0;
}

.cta-banner p {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  opacity: 0.95;
}

.cta-banner .btn-primary {
  margin: 0 0.35rem 0.5rem;
}

.cta-banner .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.cta-banner .btn-secondary:hover {
  background: var(--white);
  color: var(--trail-brown);
}

/* Footer nav */

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Legal pages */

.legal-page h2 {
  margin-top: 2rem;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--sage);
  font-style: italic;
}

