/* ==========================================================================
   Sadguru Dadarwale — catalogue site
   Palette pulled from the printed menu board: the logo red, the cream paper,
   the gold rule, and the pistachio green of the kulfi itself.
   ========================================================================== */

:root {
  /* Core palette */
  --red:        #E8232A;
  --red-deep:   #B3151B;
  --cream:      #FDF6E7;
  --cream-warm: #F7EAD0;
  --ink:        #241A15;
  --ink-soft:   #6B5B50;
  --gold:       #C9972F;
  --gold-soft:  #E8CE8E;
  --pista:      #7FA650;
  --white:      #FFFFFF;

  /* Type */
  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale — fluid, clamps at phone and desktop */
  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.44rem, 1.25rem + 0.95vw, 2rem);
  --step-3:  clamp(1.73rem, 1.4rem + 1.65vw, 2.66rem);
  --step-4:  clamp(2.07rem, 1.5rem + 2.85vw, 3.55rem);
  --step-5:  clamp(2.49rem, 1.5rem + 4.95vw, 4.74rem);

  /* Space */
  --gap: clamp(1rem, 0.6rem + 2vw, 1.75rem);
  --section-y: clamp(3.5rem, 2rem + 7vw, 7rem);
  --shell: 1240px;
  --pad-x: clamp(1rem, 0.4rem + 3vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 2px 4px rgba(36, 26, 21, 0.04), 0 12px 28px -12px rgba(36, 26, 21, 0.16);
  --shadow-lift: 0 6px 12px rgba(36, 26, 21, 0.06), 0 28px 50px -18px rgba(36, 26, 21, 0.28);
}

/* --------------------------------------------------------------- Reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -150%);
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.5rem; border-radius: 0 0 12px 12px;
  z-index: 999; font-weight: 600; text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* -------------------------------------------------------------- Layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--cream { background: var(--cream-warm); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--cream); }

/* Section heading block */
.head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.head--center { margin-inline: auto; text-align: center; }
.head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.section--ink .head p { color: #C9B9AE; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.head--center .eyebrow::after {
  content: ""; width: 26px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.section--ink .eyebrow { color: var(--gold-soft); }

/* -------------------------------------------------------------- Button -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  padding: 0.85em 1.7em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(232, 35, 42, 0.6);
}
.btn--primary:hover { background: var(--red-deep); box-shadow: 0 12px 26px -8px rgba(232, 35, 42, 0.65); }

.btn--wa { background: #1FA855; color: var(--white); box-shadow: 0 6px 18px -6px rgba(31, 168, 85, 0.55); }
.btn--wa:hover { background: #17914a; }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(36, 26, 21, 0.2); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(36, 26, 21, 0.04); }
.section--ink .btn--ghost { color: var(--cream); border-color: rgba(253, 246, 231, 0.3); }
.section--ink .btn--ghost:hover { border-color: var(--cream); background: rgba(253, 246, 231, 0.08); }

.btn--sm { font-size: var(--step--1); padding: 0.6em 1.2em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
/* On narrow screens a long label would otherwise force each button onto its
   own line; let them shrink to share a row instead. */
@media (max-width: 430px) {
  .btn-row .btn { flex: 1 1 auto; padding-inline: 1.1em; }
}

/* -------------------------------------------------------------- Header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 246, 231, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: rgba(201, 151, 47, 0.28);
  box-shadow: 0 8px 24px -18px rgba(36, 26, 21, 0.5);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 42px; width: auto; }

.nav__links {
  display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.6rem);
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.32s var(--ease);
  border-radius: 2px;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--red); }

.nav__cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(36, 26, 21, 0.18);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative;
  transition: background-color 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__cta .btn { display: none; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 0.5rem var(--pad-x) 1.5rem;
    border-bottom: 1px solid rgba(201, 151, 47, 0.3);
    box-shadow: 0 20px 40px -24px rgba(36, 26, 21, 0.6);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid rgba(36, 26, 21, 0.07); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a { display: block; padding: 1rem 0; font-size: var(--step-0); }
  .nav__links a::after { display: none; }
  .nav__links .nav__mobile-cta { padding-top: 1.2rem; }
  .nav__links .nav__mobile-cta .btn { width: 100%; }
}
@media (min-width: 901px) { .nav__mobile-cta { display: none; } }

/* ------------------------------------------------------------- Feature -- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3.2;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--flip .split__media { order: 2; }
@media (max-width: 760px) { .split--flip .split__media { order: 0; } }

.ticks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 0.85rem; }
.ticks li {
  position: relative;
  padding-left: 2.4rem;
  line-height: 1.55;
  min-width: 0;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pista); color: var(--white);
  font-size: 0.8rem; font-weight: 700;
}
.ticks strong { font-weight: 700; }
.section--ink .ticks li::before { background: var(--gold); color: var(--ink); }

/* --------------------------------------------------------------- Steps -- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--gap);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.5rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 1.5rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-2);
  color: var(--gold);
  background: var(--cream-warm);
  border-radius: 100px;
  padding: 0.1em 0.55em;
  line-height: 1.2;
}
.section--ink .step { background: rgba(253, 246, 231, 0.06); box-shadow: none; border: 1px solid rgba(253, 246, 231, 0.14); }
.section--ink .step::before { background: var(--ink); }
.step h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
.section--ink .step p { color: #C9B9AE; }

/* --------------------------------------------------------------- Cards -- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--gap);
  align-items: stretch;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.info-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cream-warm);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
}
.info-card h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.info-card p, .info-card address {
  color: var(--ink-soft); font-size: var(--step--1); line-height: 1.65;
  font-style: normal; margin-bottom: 0.5rem;
}
.info-card a { color: var(--red-deep); font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
/* Phone and email lines are tapped, so give them a full-height row. */
.info-card p > a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 40px;
}
.info-card__foot { margin-top: auto; padding-top: 1rem; }

/* ----------------------------------------------------------------- FAQ -- */

.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.35rem 1.3rem; color: var(--ink-soft); line-height: 1.7; }
.faq details > div a {
  display: inline-flex; align-items: center; min-height: 40px;
  font-weight: 600;
}

/* ------------------------------------------------------------- CTA band -- */

.cta-band {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 1rem + 5vw, 4rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255,255,255,0.16), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 46ch; margin-inline: auto; font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band .btn--primary { background: var(--white); color: var(--red-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--cream); }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* -------------------------------------------------------------- Footer -- */

.site-footer {
  background: var(--ink);
  color: #C9B9AE;
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-bottom: 3rem;
}
.footer__grid > * { min-width: 0; }
@media (min-width: 980px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}
.footer__logo img { height: 40px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.footer__grid p { font-size: var(--step--1); line-height: 1.7; max-width: 34ch; }
.footer__grid h4 {
  color: var(--cream);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer__list li { min-width: 0; }
.footer__list a, .footer__list address {
  color: #C9B9AE; text-decoration: none; font-size: var(--step--1);
  font-style: normal; line-height: 1.6;
  transition: color 0.2s var(--ease);
  overflow-wrap: anywhere;
}
/* Links get a real thumb-sized row rather than a 16px line of text. */
.footer__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.1rem;
}
.footer__list address { padding-block: 0.5rem; }
.footer__list a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(253, 246, 231, 0.12);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.82rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a {
  color: #C9B9AE; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.footer__bottom a:hover { color: var(--white); text-decoration: underline; }

/* ------------------------------------------------------ Floating WhatsApp -- */

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #1FA855; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: var(--step--1);
  padding: 0.85rem 1.3rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 26px -6px rgba(31, 168, 85, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -8px rgba(31, 168, 85, 0.6); }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 560px) {
  .wa-float span { display: none; }
  .wa-float { padding: 1rem; }
}

/* ------------------------------------------------------- Page banner -- */

.banner {
  background: var(--cream-warm);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  border-bottom: 1px solid rgba(201, 151, 47, 0.35);
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; right: -6%; top: -30%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 35, 42, 0.09), transparent 68%);
}
.banner h1 { margin-bottom: 0.3em; max-width: 18ch; position: relative; }
.banner p { color: var(--ink-soft); font-size: var(--step-1); max-width: 48ch; position: relative; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  list-style: none; margin: 0 0 1rem; padding: 0;
  font-size: var(--step--1); color: var(--ink-soft);
  position: relative;
}
.crumbs a {
  color: var(--ink-soft); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.crumbs a:hover { color: var(--red); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }

/* ----------------------------------------------------------------- Form -- */

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step--1); letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(36, 26, 21, 0.12);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.form__note { font-size: var(--step--1); color: var(--ink-soft); }

/* ----------------------------------------------------- Utility layouts -- */

body.dialog-open, body.nav-open { overflow: hidden; }
.banner__actions { margin-top: 1.8rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.map-frame__embed { display: block; border: 0; }
.not-found { max-width: 44rem; text-align: center; }
.not-found__eyebrow { justify-content: center; }
.not-found__copy { max-width: 36rem; margin-inline: auto; color: var(--ink-soft); font-size: var(--step-1); }
.not-found__actions { justify-content: center; margin-top: 2rem; }

/* ------------------------------------------------------------ Reveal -- */

[data-reveal] {
  opacity: 1;
  transform: none;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal].reveal-delay-1 { transition-delay: 60ms; }
.js [data-reveal].reveal-delay-2 { transition-delay: 120ms; }
.js [data-reveal].reveal-delay-3 { transition-delay: 180ms; }
.js [data-reveal].reveal-delay-4 { transition-delay: 240ms; }
.js [data-reveal].reveal-delay-5 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
