/* Camino Coaching — Funnel Design System (2026/2027) */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/Inter-Variable.woff2') format('woff2');
}

:root {
  --ink: #0a0e17;
  --ink-soft: #0e1422;
  --field: #121a2c;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
  --teal: #00ffd1;
  --teal-dim: rgba(0, 255, 209, 0.10);
  --teal-border: rgba(0, 255, 209, 0.35);
  --white: #ffffff;
  --paper: #f3f1ea;
  --muted: #a0aec0;
  --subtle: #718096;
  --line: rgba(255, 255, 255, 0.06);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --content-max: 1160px;
  --gutter: clamp(18px, 4vw, 36px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
p:last-child { margin-bottom: 0; }
p.lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--paper);
}

.teal { color: var(--teal); }

/* ---------- Eyebrow / Pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 1.2rem;
  width: fit-content;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(0, 255, 209, 0.7);
  flex-shrink: 0;
}

/* ---------- Buttons (8px border-radius) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  text-decoration: none;
  line-height: 1.2;
}

.btn-teal {
  background: var(--teal);
  color: #07090a;
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 209, 0.35);
  filter: brightness(1.04);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid var(--card-border);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ---------- Cards (16px border-radius) ---------- */
.card {
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Site Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-nav .nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 28px;
  width: auto;
}
.nav-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- Hero Section ---------- */
.hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.hero-in {
  max-width: 860px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

/* ---------- Three Doors Grid ---------- */
.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2.5rem 0;
}
@media (max-width: 900px) {
  .doors-grid { grid-template-columns: 1fr; }
}

.door-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}
.door-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
}
.door-card .door-body {
  margin-bottom: 1.5rem;
}
.door-card .door-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.door-card .door-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Felt Problem Split Section ---------- */
.felt-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,20,34,0.4), transparent);
}
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
}
.split-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

/* ---------- Review & Proof Strips ---------- */
.proof-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--paper);
  margin-bottom: 1.4rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.review-author .avatar-initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--field);
  border: 1px solid var(--teal-border);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.review-author .meta-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}
.review-author .meta-source {
  font-size: 0.8rem;
  color: var(--subtle);
}

/* ---------- Numbers Banner ---------- */
.numbers-banner {
  background: var(--ink-soft);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  margin: 3rem 0;
  text-align: center;
}
.numbers-headline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.numbers-sub {
  color: var(--teal);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

/* ---------- Request Form ---------- */
.form-card {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.45rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
}
.form-group select option {
  background: #0e1422;
  color: #fff;
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form-msg {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.4rem;
  text-align: center;
}
.form-msg.ok { color: var(--teal); }
.form-msg.bad { color: #ff6b6b; }

/* ---------- Blog Layout ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.post-article {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.post-article h2 { margin-top: 2rem; margin-bottom: 0.8rem; }
.post-article p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.4rem; }

/* ---------- Site Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  background: rgba(7, 9, 10, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--teal);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--subtle);
}

/* ---------- Article / Blog Post ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.article h1 { margin-bottom: 0.8rem; }
.article .dek { font-size: 1.2rem; color: var(--paper); line-height: 1.55; margin-bottom: 1.2rem; }
.article .byline { font-size: 0.9rem; color: var(--subtle); margin-bottom: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.article img { border-radius: 12px; margin: 2rem 0 0.6rem; border: 1px solid var(--card-border); }
.article figcaption { font-size: 0.85rem; color: var(--subtle); margin-bottom: 2rem; }
.article h2 { margin-top: 2.5rem; margin-bottom: 0.8rem; font-size: 1.6rem; }
.article h3 { margin-top: 2rem; margin-bottom: 0.6rem; font-size: 1.3rem; }
.article blockquote { border-left: 3px solid var(--teal); padding-left: 1.2rem; margin: 1.5rem 0; color: var(--paper); font-style: italic; }

.wide-visual { margin: 0; }
.wide-visual img { width: 100%; height: auto; display: block; border-radius: 16px; }

.door-card .door-media { margin: -20px -20px 1.2rem; overflow: hidden; }
.door-card .door-media img { width: 100%; height: 168px; object-fit: cover; display: block; }
@media (max-width: 760px) { .door-card .door-media img { height: 190px; } }
