/* ================================================================
   TACOFLEUR.COM — Global Styles
   ================================================================ */

/* ----------------------------------------------------------------
   TOKENS
   ---------------------------------------------------------------- */
:root {
  --amber: #d97706;
  --amber-light: #f59e0b;
  --amber-dark: #b45309;
  --green: #16a34a;
  --dark: #111827;
  --dark-800: #1f2937;
  --dark-700: #374151;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ----------------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding: 96px 24px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--gray-600);
}
.btn-outline:hover { border-color: var(--gray-400); background: rgba(255,255,255,0.04); }
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-300);
}
.btn-outline-dark:hover { border-color: var(--amber); color: var(--amber); }
.btn-white {
  background: var(--white);
  color: var(--amber-dark);
  font-weight: 700;
  white-space: nowrap;
}
.btn-white:hover { background: var(--gray-100); }

/* ----------------------------------------------------------------
   NAV
   ---------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--amber); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta {
  background: var(--amber);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber-dark) !important; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger svg { stroke: var(--white); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links li:last-child { border-bottom: none; margin-top: 8px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-cta { text-align: center; border-radius: 8px; padding: 14px 20px !important; }
  .nav-hamburger { display: block; }
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials {
  display: flex;
  gap: 20px;
}
.footer-socials a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.85rem;
}
.footer-socials a:hover { color: var(--amber); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   CARDS
   ---------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   STATS STRIP
   ---------------------------------------------------------------- */
.stats {
  background: var(--dark-800);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; } }
@media (max-width: 480px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------------------
   CERTIFICATIONS STRIP
   ---------------------------------------------------------------- */
.certs-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 24px;
}
.certs-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-700);
  white-space: nowrap;
}
.cert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   FEATURED IN
   ---------------------------------------------------------------- */
.featured-in {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 56px 24px;
}
.featured-logos {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.featured-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.featured-logo:hover { opacity: 0.8; }
.featured-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.featured-logo-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ----------------------------------------------------------------
   REVIEWS
   ---------------------------------------------------------------- */
.reviews-section { background: var(--dark); color: var(--white); }
.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-header .section-title { color: var(--white); }
.reviews-summary {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.8;
}
.reviews-summary em {
  color: var(--amber-light);
  font-style: normal;
  font-weight: 500;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 24px;
}
.review-stars {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.review-source {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 2px;
}

@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   HERO (home)
   ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { color: var(--white); }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-tagline {
  font-size: 1.2rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-tagline strong { color: var(--white); font-weight: 600; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.hero-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 160px;
  height: 160px;
  border: 3px solid var(--amber);
  border-radius: 12px;
  z-index: -1;
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 300px; margin: 0 auto; }
  .hero-image-accent { display: none; }
}

/* ----------------------------------------------------------------
   PAGE HERO (inner pages)
   ---------------------------------------------------------------- */
.page-hero {
  background: var(--dark);
  padding: 140px 24px 80px;
  color: var(--white);
}
.page-hero .section-inner { max-width: 800px; }
.page-hero .section-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero .section-desc {
  color: var(--gray-400);
  max-width: 600px;
}

/* ----------------------------------------------------------------
   BOOKS
   ---------------------------------------------------------------- */
.books-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.book-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}
.book-card:hover { transform: translateY(-4px); }
.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--dark-800), var(--dark-700));
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--gray-200);
}
.book-cover-text {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
}
.book-cover-text .series {
  display: block;
  font-size: 0.65rem;
  color: var(--amber);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.book-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.book-meta { font-size: 0.78rem; color: var(--gray-500); }

@media (max-width: 768px) { .books-preview-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------------------
   NEWSLETTER
   ---------------------------------------------------------------- */
.newsletter {
  background: linear-gradient(135deg, var(--amber-dark), var(--amber));
  color: var(--white);
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter .section-eyebrow { color: rgba(255,255,255,0.7); }
.newsletter .section-title { color: var(--white); }
.newsletter .section-desc { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.7); }

@media (max-width: 480px) { .newsletter-form { flex-direction: column; } }

/* ----------------------------------------------------------------
   PROSE (content pages)
   ---------------------------------------------------------------- */
.prose {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.prose h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 12px;
}
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--dark); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--amber);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--gray-50);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-600);
}

/* ----------------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-32 { margin-top: 32px; }
