/* ============================================================
   PICO'S TACOS — site styles
   Colours from confirmed brand palette (Master Brief, July 2026)
   Fonts: free Google Fonts substitutes for the paid brand kit
   ============================================================ */

:root {
  --yellow: #F6C44F;   /* Pico Yellow — primary background */
  --red:    #EA533B;   /* Pico Red — primary accent */
  --blue:   #7FB0CB;   /* Sky Blue — secondary accent */
  --green:  #1B8151;   /* Leaf Green — secondary accent */
  --cream:  #E8E9D8;   /* Off-White — neutral background */
  --ink:    #2b2118;   /* warm near-black for body text */
  --white:  #ffffff;

  --font-display: 'Archivo Black', sans-serif;  /* subs for Axis ExtraBold */
  --font-sub:     'Baloo 2', sans-serif;        /* subs for Steradian Bold */
  --font-script:  'Pacifico', cursive;          /* subs for Shelby Bold — use sparingly */
  --font-body:    'Work Sans', sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 33, 24, 0.12);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3 { line-height: 1.15; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

h3 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}

.script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
}

.kicker {
  font-family: var(--font-sub);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--red);
  display: block;
  margin-bottom: 0.8em;
}

.lead { font-size: 1.15rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-red    { background: var(--red);    color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost  { background: transparent;   color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--yellow);
  border-bottom: 3px solid var(--red);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-logo img { height: 82px; width: auto; }
@media (max-width: 780px) {
  .site-logo img { height: 64px; }
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
}
.site-nav a:hover { color: var(--red); }
.site-nav .btn { padding: 9px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yellow);
    flex-direction: column;
    padding: 18px 24px 26px;
    border-bottom: 3px solid var(--red);
    gap: 18px;
  }
  .site-nav.open { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(30, 20, 12, 0.45), rgba(30, 20, 12, 0.6));
}
.hero .wrap { position: relative; padding-top: 70px; padding-bottom: 70px; }

.hero .script {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--yellow);
  display: block;
  margin-bottom: 0.4em;
}
.hero p.lead {
  max-width: 620px;
  margin: 1.2em auto 1.8em;
  font-size: 1.2rem;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 80px 0; }

.section-yellow { background: var(--yellow); }
.section-cream  { background: var(--cream); }
.section-red    { background: var(--red);   color: var(--white); }
.section-green  { background: var(--green); color: var(--white); }
.section-blue   { background: var(--blue); }
.section-white  { background: var(--white); }

.section-red .kicker, .section-green .kicker { color: var(--yellow); }

.center { text-align: center; }
.center .lead { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- two-column splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > .split-img { order: 2; }
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > .split-img { order: 0; }
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; flex: 1; }
.card-body p { font-size: 0.98rem; }

/* ---------- location hours ---------- */
.hours {
  list-style: none;
  margin: 14px 0 18px;
  font-size: 0.92rem;
  text-align: left;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(43, 33, 24, 0.15);
}
.hours li:last-child { border-bottom: none; }
.hours .day { font-family: var(--font-sub); font-weight: 600; }
.hours-note { font-size: 0.8rem; opacity: 0.7; margin-bottom: 16px; }
.btn-sm { padding: 10px 24px; font-size: 0.95rem; }

/* ---------- suppliers ---------- */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 820px) {
  .supplier-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
.supplier {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px 28px;
  text-align: center;
}
.supplier .s-name {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  display: block;
}
.supplier .s-what {
  font-size: 0.82rem;
  color: rgba(43, 33, 24, 0.65);
  display: block;
  margin-top: 2px;
}
.supplier-logo { padding: 12px; display: flex; align-items: center; justify-content: center; }
.supplier-logo img { width: 100%; max-width: 180px; height: 100px; object-fit: contain; border-radius: 8px; }

/* gallery images inside links */
.gallery a { display: block; }
.gallery a:hover img { opacity: 0.88; }

/* hero bullet list (catering) */
.hero-points {
  list-style: none;
  margin: 0 auto 1.8em;
  max-width: 520px;
  text-align: center;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1.05rem;
}
.hero-points li { padding: 3px 0; }
.hero-points li::before { content: "★ "; color: var(--yellow); }

/* FAQ */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 4px 26px;
}
.faq summary {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; font-size: 0.98rem; }

/* ---------- banner strip (gluten-free USP) ---------- */
.banner {
  padding: 44px 0;
  text-align: center;
}
.banner .big {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  display: block;
  margin-bottom: 8px;
}
.banner p { max-width: 700px; margin: 0 auto; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.gallery img {
  border-radius: 12px;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ---------- menu (catering) ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 40px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 30px 34px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--red);
}
.menu-card.alt-green  { border-top-color: var(--green); }
.menu-card.alt-blue   { border-top-color: var(--blue); }
.menu-card.alt-yellow { border-top-color: var(--yellow); }
.menu-card h3 { color: var(--red); }
.menu-card ul { list-style: none; margin-top: 12px; }
.menu-card li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.98rem;
  border-bottom: 1px dashed rgba(43, 33, 24, 0.15);
}
.menu-card li:last-child { border-bottom: none; }
.menu-card li::before {
  content: "•";
  color: var(--red);
  font-weight: 700;
  position: absolute;
  left: 8px;
}
.menu-note {
  margin-top: 34px;
  text-align: center;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1.05rem;
}

.diet-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cream);
  border-radius: 999px;
  padding: 4px 12px;
}
.tag.green { background: var(--green); color: var(--white); }

/* ---------- facts strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 40px;
  text-align: center;
}
.fact {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.fact .num {
  font-family: var(--font-display);
  font-size: 2rem;
  display: block;
  color: var(--yellow);
}
.fact p { font-size: 0.95rem; margin-top: 6px; }

/* ---------- testimonials ---------- */
.testimonials { position: relative; max-width: 780px; margin: 40px auto 0; }
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px 46px 34px;
  text-align: center;
  display: none;
}
.quote-card.active { display: block; }
.quote-card .stars { color: var(--yellow); font-size: 1.3rem; letter-spacing: 4px; margin-bottom: 14px; -webkit-text-stroke: 1px var(--ink); }
.quote-card blockquote { font-size: 1.12rem; font-style: italic; }
.quote-card cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.95rem;
}
.quote-dots { text-align: center; margin-top: 22px; }
.quote-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
}
.quote-dots button.active { background: var(--white); }

/* ---------- form ---------- */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 46px;
  max-width: 860px;
  margin: 44px auto 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-field.full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 30px 22px; }
}

label {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 6px;
}
label .req { color: var(--red); }
.hint { font-size: 0.82rem; color: rgba(43, 33, 24, 0.65); margin-top: 4px; }

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid rgba(43, 33, 24, 0.2);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}
textarea { resize: vertical; min-height: 100px; }

.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { font-size: 1.15rem; padding: 16px 48px; border: none; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.site-footer img { height: 92px; }
.site-footer a { color: var(--yellow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-sub); font-weight: 600; }
.footer-small { margin-top: 34px; font-size: 0.85rem; opacity: 0.7; text-align: center; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
