/* =========================================================
   TACO BRANDS — Site Stylesheet
   ========================================================= */

:root {
  --black: #0c0c0c;
  --near-black: #141414;
  --charcoal: #1c1c1c;
  --grey-800: #2a2a2a;
  --grey-600: #6b6b6b;
  --grey-400: #9a9a9a;
  --grey-200: #d9d9d9;
  --cream: #f3f0e4;
  --white: #ffffff;

  --smpl-black: #111111;
  --playa-orange-1: #ffb143;
  --playa-orange-2: #ff7a2f;
  --playa-orange-3: #f2521c;
  --grn-cream: #f3f0e4;
  --grn-green: #233b2a;
  --crumbs-black: #0d0d0d;
  --crumbs-pink: #ec1e79;
  --crumbs-yellow: #f5c400;
  --dabubu-green: #153726;
  --dabubu-green-2: #1d4a32;
  --dabubu-gold: #d8ae63;

  --gold: #d7a24a;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --max-width: 1200px;

  --shadow-soft: 0 20px 45px rgba(0,0,0,0.12);
  --shadow-hard: 0 30px 60px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: clamp(22px, 3vw, 28px); }
p { color: var(--grey-600); font-size: 17px; }
.lead { font-size: 20px; color: var(--grey-600); max-width: 680px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: rgba(0,0,0,0.4); }
.btn-outline-dark:hover { background: rgba(0,0,0,0.06); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(12,12,12,0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 26px 0;
}
.site-header.scrolled {
  background: rgba(12,12,12,0.96);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  padding: 16px 0;
  backdrop-filter: blur(6px);
}
.site-header.solid { background: rgba(12,12,12,1); padding: 18px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 22px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.current { opacity: 1; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav-cta { background: var(--white); color: var(--black) !important; padding: 10px 22px; border-radius: 40px; opacity: 1 !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: var(--white); font-size: 24px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.mobile-menu .close-menu { position: absolute; top: 30px; right: 30px; background: none; border: none; color: var(--white); font-size: 30px; cursor: pointer; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 62% 42%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.88) 30%, rgba(8,8,8,0.45) 55%, rgba(8,8,8,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 110px; }
.hero-content h1 { color: var(--white); max-width: 780px; margin-top: 18px; }
.hero-content .lead { color: #d8d8d8; margin-top: 26px; }

/* ---------- Generic section spacing ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark p { color: var(--grey-400); }
.section-cream { background: var(--cream); }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Brand grid (home) ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.brand-chip {
  background: var(--white);
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.brand-chip:hover { transform: translateY(-6px); box-shadow: var(--shadow-hard); }
.brand-chip img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Stats row ---------- */
.stats-row { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 50px; }
.stat b { display: block; font-size: 34px; font-weight: 700; }
.stat span { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-400); }
.section-cream .stat b, .grn-block .stat b { color: var(--grn-green); }
.section-cream .stat span { color: var(--grey-600); }

/* ---------- Cards / pills ---------- */
.pill {
  display: inline-flex;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 8px 8px 0;
}
.pill-light { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.pill-dark { background: var(--black); color: var(--white); }

.product-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 46px; }
.pcard {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  width: 190px;
  height: 210px;
  display: flex; align-items: center; justify-content: center;
}
.pcard img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.pcard.tight img { object-fit: cover; width: 100%; height: 100%; border-radius: 12px; }
.pcard.tight { padding: 0; overflow: hidden; }

/* ---------- Brand sections (brands.html) ---------- */
.brand-section { padding: 130px 0; scroll-margin-top: 90px; }
.brand-flex { display: flex; align-items: flex-start; gap: 70px; flex-wrap: wrap; }
.brand-copy { flex: 1 1 460px; }
.brand-visual { flex: 1 1 420px; }
.brand-logo-img { height: 58px; margin-bottom: 30px; }

.brand-smpl { background: var(--smpl-black); color: var(--white); }
.brand-smpl p { color: var(--grey-400); }
.brand-smpl .stat b { color: var(--white); }

.brand-playa { background: linear-gradient(150deg, var(--playa-orange-1) 0%, var(--playa-orange-2) 45%, var(--playa-orange-3) 100%); color: var(--white); }
.brand-playa p { color: rgba(255,255,255,0.92); }
.brand-playa .stat b { color: var(--white); }

.brand-grn { background: var(--grn-cream); color: var(--grn-green); }
.brand-grn p { color: #4b4b46; }
.brand-grn h2 { color: var(--grn-green); }

.brand-crumbs { background: var(--crumbs-black); color: var(--white); overflow: hidden; }
.brand-crumbs p { color: #cfcfcf; }

.brand-dabubu { background: radial-gradient(circle at 15% 10%, var(--dabubu-green-2) 0%, var(--dabubu-green) 60%); color: #f6efdd; }
.brand-dabubu p { color: #cddac9; }
.brand-dabubu h2 { color: #f6efdd; }
.brand-dabubu .accent { color: var(--dabubu-gold); }

.fan-gallery { position: relative; height: 420px; }
.fan-gallery .pcard { position: absolute; width: 190px; height: 240px; }

/* ---------- Founders / services (about.html) ---------- */
.services-list { margin-top: 50px; }
.service-row {
  display: flex;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  align-items: flex-start;
}
.section-dark .service-row { border-bottom-color: rgba(255,255,255,0.12); }
.service-num { font-size: 22px; font-weight: 700; color: var(--gold); width: 46px; flex-shrink: 0; }
.service-title { font-weight: 600; font-size: 20px; width: 220px; flex-shrink: 0; }
.section-dark .service-title { color: var(--white); }
.service-desc { color: var(--grey-600); flex: 1; }
.section-dark .service-desc { color: var(--grey-400); }

/* ---------- Timeline / story ---------- */
.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 30px;
  margin: 40px 0;
  font-size: 22px;
  font-style: italic;
  color: var(--near-black);
  max-width: 720px;
}
.section-dark .quote-block { color: #e6e6e6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-400); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--grey-600); }
.form-note { font-size: 13px; color: var(--grey-600); margin-top: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
.contact-info-item .ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item b { display: block; color: var(--white); }
.contact-info-item span, .contact-info-item a { color: var(--grey-400); }

.form-success { display: none; background: rgba(60,180,110,0.15); border: 1px solid rgba(60,180,110,0.4); color: #7be0a6; padding: 16px 20px; border-radius: var(--radius-sm); margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--grey-400); padding: 70px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: var(--white); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; color: var(--grey-400); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-logo img { height: 24px; margin-bottom: 18px; }
.footer-tagline { color: var(--grey-600); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 13px; color: var(--grey-600); flex-wrap: wrap; gap: 10px; }

/* ---------- Utility ---------- */
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.mt-0 { margin-top: 0 !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
  .brand-flex { gap: 40px; }
  .footer-top { flex-direction: column; gap: 34px; }
}
@media (max-width: 600px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .brand-section { padding: 90px 0; }
  .stats-row { gap: 30px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
