/* ================================================================
   RINCÓN TAQUERIA — main.css
   Shared across all pages. Mobile-first, fully responsive.
   Bill Volpe / Volpster — volpster.net
   ================================================================ */

/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  --clay:       #C4572A;
  --clay-dark:  #A04422;
  --ocean:      #1B5C6B;
  --ocean-dark: #144A57;
  --cream:      #FAF5EC;
  --mist:       #EDE8DC;
  --gold:       #E8A020;
  --gold-light: #F2C050;
  --ink:        #1A1410;
  --ink-light:  #4A3728;
  --white:      #FFFFFF;
  --border:     rgba(26,20,16,0.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  --max-width:  1200px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-pill:100px;
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ----------------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-xs);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.section-title--light { color: var(--cream); }
.section-body { font-size: 1.05rem; color: var(--ink-light); max-width: 560px; line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4em; padding: 0.85em 1.8em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn--primary   { background: var(--clay);  color: var(--white);  border-color: var(--clay); }
.btn--primary:hover,  .btn--primary:focus-visible  { background: var(--clay-dark);  border-color: var(--clay-dark); }
.btn--ocean     { background: var(--ocean); color: var(--white);  border-color: var(--ocean); }
.btn--ocean:hover,  .btn--ocean:focus-visible  { background: var(--ocean-dark); border-color: var(--ocean-dark); }
.btn--gold      { background: var(--gold);  color: var(--ink);    border-color: var(--gold); }
.btn--gold:hover,   .btn--gold:focus-visible   { background: var(--gold-light); border-color: var(--gold-light); }
.btn--secondary { background: transparent; color: var(--white);  border-color: rgba(255,255,255,.7); }
.btn--secondary:hover, .btn--secondary:focus-visible { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline   { background: transparent; color: var(--clay);   border-color: var(--clay); }
.btn--outline:hover { background: var(--clay); color: var(--white); }
.btn--lg { font-size: 1.1rem; padding: 1em 2.2em; }
.btn--sm { font-size: 0.85rem; padding: 0.6em 1.3em; }

/* ----------------------------------------------------------------
   SITE HEADER / NAV (shared)
   ---------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,20,16,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--space-md);
  max-width: var(--max-width); margin: 0 auto;
}
.site-logo { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--cream); letter-spacing: -.01em; }
.site-logo span { color: var(--gold); }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: var(--space-lg); align-items: center; }
.site-nav a { font-size: .9rem; font-weight: 500; color: rgba(250,245,236,.8); letter-spacing: .04em; transition: color .2s; }
.site-nav a:hover { color: var(--cream); }
.site-nav .nav-cta { background: var(--clay); color: var(--white); padding: .5em 1.2em; border-radius: var(--radius-pill); font-weight: 600; transition: background .2s; }
.site-nav .nav-cta:hover { background: var(--clay-dark); }
.site-nav a.nav-active { color: var(--gold); }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; background: var(--ink); padding: var(--space-md); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { display: block; font-size: 1.05rem; font-weight: 500; color: rgba(250,245,236,.85); padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); transition: color .2s; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-cta { display: block; margin-top: var(--space-md); background: var(--clay); color: var(--white); text-align: center; padding: .9rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 1.05rem; }

/* ----------------------------------------------------------------
   INNER PAGE HERO (used on all non-home pages)
   ---------------------------------------------------------------- */
.page-hero {
  padding-top: 80px; /* nav offset */
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}
.page-hero__content {
  position: relative; z-index: 2;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  max-width: var(--max-width); margin: 0 auto;
}
.page-hero__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .5rem; }
.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--cream);
}
.page-hero__sub { font-size: 1.05rem; color: rgba(250,245,236,.75); margin-top: var(--space-sm); max-width: 540px; line-height: 1.65; }

/* ----------------------------------------------------------------
   TRUST BAR
   ---------------------------------------------------------------- */
.trust-bar { background: var(--ocean); color: var(--cream); text-align: center; padding: .8rem var(--space-md); }
.trust-bar__text { font-size: .85rem; font-weight: 500; letter-spacing: .03em; line-height: 1.5; }
.trust-bar__text em { font-style: italic; color: var(--gold-light); }
.trust-bar__text strong { font-weight: 700; color: var(--white); }

/* ----------------------------------------------------------------
   INFO STRIP (hours / location)
   ---------------------------------------------------------------- */
.info-strip { background: var(--ink); color: var(--cream); padding: var(--space-md); }
.info-strip__inner { display: flex; flex-direction: column; gap: var(--space-md); max-width: var(--max-width); margin: 0 auto; }
.info-item { display: flex; align-items: flex-start; gap: .75rem; }
.info-item__icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; opacity: .8; }
.info-item__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .15rem; }
.info-item__value { font-size: .92rem; color: rgba(250,245,236,.85); line-height: 1.5; }
.info-item__value a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(232,160,32,.5); }
.info-item__value a:hover { text-decoration-color: var(--gold); }

/* ----------------------------------------------------------------
   SECTION DIVIDER
   ---------------------------------------------------------------- */
.section-divider { height: 4px; background: linear-gradient(to right, var(--clay), var(--gold), var(--ocean)); }

/* ----------------------------------------------------------------
   SITE FOOTER (shared)
   ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--cream); padding: var(--space-xl) var(--space-md) var(--space-lg); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); max-width: var(--max-width); margin: 0 auto; }
.footer-brand__name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--cream); margin-bottom: .4rem; }
.footer-brand__name span { color: var(--gold); }
.footer-brand__tagline { font-family: var(--font-heading); font-style: italic; font-size: 1rem; color: rgba(250,245,236,.6); margin-bottom: var(--space-md); }
.footer-brand__salud { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.footer-col__heading { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; display: block; }
.footer-col p, .footer-col address { font-style: normal; font-size: .9rem; color: rgba(250,245,236,.75); line-height: 1.7; }
.footer-col a { color: rgba(250,245,236,.75); text-decoration: underline; text-decoration-color: rgba(232,160,32,.4); transition: color .2s; }
.footer-col a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.footer-nav ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-nav a { font-size: .9rem; color: rgba(250,245,236,.7); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--cream); }
.social-links { display: flex; gap: var(--space-sm); margin-top: var(--space-sm); }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(250,245,236,.2); border-radius: 50%; font-size: 1rem; text-decoration: none; transition: border-color .2s, background .2s; }
.social-link:hover { border-color: var(--gold); background: rgba(232,160,32,.12); }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: .5rem; max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.footer-bottom p { font-size: .78rem; color: rgba(250,245,236,.4); line-height: 1.5; }

/* ----------------------------------------------------------------
   RESPONSIVE — TABLET 640+
   ---------------------------------------------------------------- */
@media (min-width: 640px) {
  .info-strip__inner { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-lg) var(--space-xl); }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
}

/* ----------------------------------------------------------------
   RESPONSIVE — DESKTOP 900+
   ---------------------------------------------------------------- */
@media (min-width: 900px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .info-strip__inner { justify-content: space-around; }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ----------------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
