/* ==========================================================================
   Digitiffin — Andheri Tiffin Service — demo site
   Design language: energetic modern food-delivery app. Mango orange + fresh
   lime + warm cream, Calistoga display for human warmth against Inter's
   crisp tabular numerals, and a "delivery route" divider — a nod to their
   real Andheri-to-Vile-Parle delivery run.
   ========================================================================== */

:root {
  --font-display: "Calistoga", ui-serif, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;

  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 28px; --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(28,25,23,.1);
  --shadow-md: 0 12px 30px rgba(28,25,23,.14);
  --shadow-lg: 0 30px 64px rgba(28,25,23,.2);

  --ink: #1C1917;
  --paper: #FFF8EE;
  --panel: #FFEDD5;
  --panel-2: #FFFFFF;
  --mango: #EA580C;
  --mango-d: #C2410C;
  --lime: #65A30D;
  --muted: #6b6156;
  --muted-2: #a89a8b;
  --line: rgba(28,25,23,.12);
  --wa-green: #22C55E;
  --wa-green-d: #16A34A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.js [data-reveal], html.js [data-hero-el] { opacity: 0; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 400; }

.tag-label {
  font: 800 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mango-d); display: inline-flex; align-items: center; gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
}
.tag-label::before { content: "●"; color: var(--lime); font-size: .6em; }

.lede { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }

/* Solid "app badge" stat pill — App Store-rating energy, not glassy */
.stat-pill {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: var(--radius-pill);
  font: 700 .95rem/1 var(--font-body); font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-sm);
}
.stat-pill .stars { color: #FBBF24; letter-spacing: 1px; font-size: .9em; }
.stat-pill b { font-weight: 800; color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius-pill);
  font: 700 1rem/1 var(--font-body); text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s ease;
}
.btn:focus-visible { outline: 2px solid var(--mango-d); outline-offset: 3px; }
.btn-wa { background: var(--wa-green); color: #06210f; box-shadow: 0 10px 26px rgba(34,197,94,.3); }
.btn-wa:hover { background: var(--wa-green-d); color: #fff; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

header.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,248,238,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px,5vw,48px); }
.brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--mango-d); }

/* Delivery-route divider — dashed line with stop markers, unique to this
   site's real multi-neighbourhood delivery story */
.divider { height: 34px; background: var(--ink); position: relative; display: flex; align-items: center; }
.divider svg { width: 100%; height: 100%; display: block; }

.hero { position: relative; padding: clamp(48px,7vw,88px) 0 clamp(56px,8vw,96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
h1.hero-title { font-size: clamp(2.5rem, 5.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.01em; margin: var(--sp-4) 0 var(--sp-5); color: var(--ink); }
h1.hero-title em { font-style: italic; color: var(--mango); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--sp-6); }

.hero-photo-wrap { position: relative; }
[data-parallax] { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
[data-parallax] img { width: 100%; height: 130%; object-fit: cover; object-position: 50% 15%; will-change: transform; }
.hero-badge-float { position: absolute; left: -14px; bottom: -18px; z-index: 3; }
@media (max-width: 640px) { .hero-badge-float { left: 8px; bottom: -14px; } }

.feature-photo { position: relative; }
.feature-photo figure { margin: 0; position: relative; overflow: hidden; }
.feature-photo img { width: 100%; height: clamp(360px, 62vw, 640px); object-fit: cover; object-position: 50% 20%; }
.feature-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px,5vw,56px) clamp(20px,5vw,48px); background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 70%); }
.feature-caption p { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: #fff; max-width: 42ch; margin: 0; }

.about { padding: clamp(64px,9vw,120px) 0; background: var(--panel); }
.about .wrap { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,6vw,72px); align-items: start; }
.about h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); margin-bottom: var(--sp-4); }
.about p.body { color: var(--muted); max-width: 56ch; margin: 0 0 var(--sp-4); }

.pull-quote {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4;
  color: var(--mango-d); background: var(--panel-2); border-radius: var(--radius-lg);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  position: sticky; top: 100px;
}
.pull-quote cite { display: block; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--muted-2); margin-top: var(--sp-4); }

.showcase-list { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.showcase-list li { font-weight: 600; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: var(--sp-3); }

.gallery { padding: clamp(64px,9vw,120px) 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(120px, auto); gap: clamp(12px, 2vw, 20px); }
.gallery-grid .g1 { grid-column: span 4; grid-row: span 2; }
.gallery-grid .g2 { grid-column: span 2; grid-row: span 1; }
.gallery-grid .g3 { grid-column: span 2; grid-row: span 1; }
[data-tilt] { perspective: 1000px; }
[data-tilt-inner] { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; transform-style: preserve-3d; will-change: transform; height: 100%; }
[data-tilt]:hover [data-tilt-inner] { box-shadow: var(--shadow-md); }
[data-tilt-inner] img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }

.info { padding: clamp(64px,9vw,120px) 0; background: var(--panel); }
.info .wrap { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(24px,4vw,40px); }
.info-hours { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,40px); box-shadow: var(--shadow-sm); }
.info-hours h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: var(--sp-4); }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hours-table td:first-child { color: var(--ink); font-weight: 700; width: 40%; }
.hours-table tr.today td { color: var(--mango-d); }
.hours-table tr:last-child td { border-bottom: none; }
.info-side { display: flex; flex-direction: column; gap: var(--sp-5); }
.info-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,30px); box-shadow: var(--shadow-sm); }
.info-card h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 800; color: var(--ink); margin-bottom: var(--sp-2); }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a.wa { color: var(--wa-green-d); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

.footer-cta { padding: clamp(72px,10vw,120px) 0; text-align: center; background: var(--ink); color: var(--paper); }
.footer-cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: #fff; margin-bottom: var(--sp-3); }
.footer-cta p { color: #d8cfc4; max-width: 46ch; margin: 0 auto var(--sp-6); }

footer.site { padding: 26px 0; text-align: center; font-size: .8rem; color: var(--muted-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mango-d); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; }
  .about .wrap { grid-template-columns: 1fr; }
  .pull-quote { position: static; }
  .info .wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g1 { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-grid .g2, .gallery-grid .g3 { grid-column: span 1; aspect-ratio: 1/1; }
}
@media (max-width: 480px) { .hero-cta .btn { width: 100%; justify-content: center; } }
