/* ═══════════════════════════════════════════════════════════
   JAYDURGA FURNISHINGS · Design System v4 · Wireframe edition
   Warm cream shell · Inter typeface · Pill-first components
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
.shell > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; }

/* ─── Tokens ────────────────────────────────────── */
:root {
  --page:      #EEE9DC;
  --shell:     #FCFAF4;
  --panel:     #F7F3EA;
  --ink:       #171310;
  --ink-soft:  #3A322A;
  --mute:      #7A7266;
  --line:      #E5DED0;
  --divider:   #D9D2C2;
  --rust:      #A9522C;
  --chip:      #EDE6D4;
  --chip-hover:#E3DBC5;
  --dark:      #0F0B08;
  --dark-hover:#000000;

  --radius-sm: 14px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --pill:      999px;

  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1400px;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Shell ─────────────────────────────────────── */
.shell {
  max-width: var(--container);
  margin: 24px auto;
  padding: 24px clamp(24px, 3.4vw, 44px) 32px;
  background: var(--shell);
  border-radius: var(--radius-xl);
}

/* ═════════════════════════════════════════
   HEADER · Brand · Nav · Tools
   ═════════════════════════════════════════ */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 4px 2px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__logo {
  display: block;
  height: 64px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin: 0 auto;
}
.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .18s ease;
  position: relative;
}
.icon-btn:hover { background: var(--chip); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__badge::after {
  content: "0";
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-direction: column;
  gap: 4px;
  transition: background .18s ease;
}
.nav-toggle:hover { background: var(--chip); }
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ═════════════════════════════════════════
   BUTTONS · Pills only
   ═════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease;
  white-space: nowrap;
  letter-spacing: 0.005em;
  cursor: pointer;
}
.btn--dark {
  background: var(--dark);
  color: #FBF6EA;
}
.btn--dark:hover {
  background: var(--dark-hover);
  transform: translateY(-1px);
}
.btn--light {
  background: var(--chip);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--chip-hover);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--divider);
}
.btn--ghost:hover {
  background: var(--chip);
  transform: translateY(-1px);
}
.btn__arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: grid;
  place-items: center;
}
.btn__arrow svg { width: 12px; height: 12px; }

.btn--light .btn__arrow,
.btn--ghost .btn__arrow {
  background: rgba(23,19,16,.08);
}

/* ═════════════════════════════════════════
   TYPOGRAPHY
   ═════════════════════════════════════════ */
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 22px;
}
.eyebrow--muted { color: var(--mute); }
.eyebrow--light { color: rgba(251,246,234,.7); }

.display {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
  margin: 0;
}
.display--xl { font-size: clamp(46px, 5.6vw, 90px); }
.display--lg { font-size: clamp(38px, 4.4vw, 70px); }
.display--md { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
.display--sm { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.025em; }
.display--light { color: #FBF6EA; }

.lede {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ═════════════════════════════════════════
   PAGE HERO · Reusable page opener
   ═════════════════════════════════════════ */
.page-hero {
  margin-top: 40px;
  padding: clamp(28px, 3vw, 40px) 0 clamp(20px, 3vw, 32px);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}
.page-hero__title {
  font-size: clamp(40px, 5.2vw, 82px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  color: var(--ink);
}
.page-hero__lede {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 46ch;
}
.page-hero__meta {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--divider);
}
.page-hero__meta > div { display: flex; flex-direction: column; gap: 4px; }
.page-hero__meta dt {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.page-hero__meta strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ═════════════════════════════════════════
   SECTION HELPERS
   ═════════════════════════════════════════ */
.section {
  padding: clamp(40px, 5vw, 80px) 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: clamp(28px, 3vw, 44px);
  max-width: 60ch;
}
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }

/* ═════════════════════════════════════════
   PANEL · Rounded content block
   ═════════════════════════════════════════ */
.panel {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
.panel--card {
  background: var(--shell);
  border: 1px solid var(--line);
}

/* ═════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════ */
.site-footer {
  margin-top: 32px;
  padding: clamp(36px, 4vw, 56px) 0 24px;
  border-top: 1px solid var(--divider);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 36px;
}
.site-footer__logo {
  display: block;
  height: 96px;
  width: auto;
  margin: 0 0 16px;
}
.site-footer__brand p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 12px;
}
.site-footer__brand a { color: var(--ink); font-weight: 500; }
.site-footer__brand a:hover { color: var(--rust); }
.site-footer__brand em {
  font-style: normal;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 16px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .18s ease;
}
.site-footer ul a:hover { color: var(--ink); }
.site-footer__rail {
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__rail small { font-size: 12px; color: var(--mute); }
.site-footer__rail ul { flex-direction: row; gap: 20px; }
.site-footer__rail a { font-size: 12.5px; color: var(--mute); font-weight: 500; }

/* ═════════════════════════════════════════
   VISIT-CTA · Dark closing band
   ═════════════════════════════════════════ */
.visit-cta {
  margin-top: 32px;
  background: var(--dark);
  color: #FBF6EA;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: end;
}
.visit-cta h2 { color: #FBF6EA; }
.visit-cta p {
  color: rgba(251,246,234,.72);
  font-size: 16px;
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 46ch;
}
.visit-cta__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.visit-cta .btn--light {
  background: #FBF6EA;
  color: var(--ink);
}
.visit-cta .btn--light:hover { background: #fff; }
.visit-cta .link-arrow--light {
  color: rgba(251,246,234,.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.visit-cta .link-arrow--light:hover { color: #fff; }

/* ═════════════════════════════════════════
   LINK-ARROW · Inline arrow link
   ═════════════════════════════════════════ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color .18s ease;
}
.link-arrow:hover { color: var(--rust); }

/* ═════════════════════════════════════════
   ARROW CIRCLES (reusable)
   ═════════════════════════════════════════ */
.circle-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #FBF6EA;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.circle-arrow svg { width: 16px; height: 16px; }
.circle-arrow--light { background: #FDFBF6; color: var(--ink); }

/* ═════════════════════════════════════════
   FORMS
   ═════════════════════════════════════════ */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════ */
@media (max-width: 1180px) {
  .nav__menu { gap: 22px; }
  .nav__menu a { font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .nav { flex-wrap: wrap; }
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    background: var(--panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
  }
  .nav__menu.is-open a {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
  }
  .nav__menu.is-open a:hover { background: var(--chip); color: var(--ink); }
  .nav__menu.is-open a.is-active {
    background: var(--chip);
    font-weight: 700;
  }
  .nav__menu.is-open a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .visit-cta { grid-template-columns: 1fr; gap: 28px; }
  .visit-cta__actions { justify-content: flex-start; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .shell { margin: 12px; padding: 20px; border-radius: var(--radius-lg); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand__logo { height: 48px; }
  .nav__tools .btn { padding: 11px 18px; font-size: 13px; }
  .site-footer__rail { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .nav__tools .icon-btn { display: none; }
}

/* ═════════════════════════════════════════
   ENQUIRE · unified form (rendered by js/enquiry-form.js)
   Dark island · works on cream and dark pages alike.
   ═════════════════════════════════════════ */
.enquire {
  background: var(--dark);
  color: #FBF6EA;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 60px);
  background-image: radial-gradient(120% 60% at 0% 0%, rgba(169,82,44,.16) 0%, rgba(169,82,44,0) 55%);
}
.enquire__intro h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 18px;
  color: #FBF6EA;
  max-width: 16ch;
}
.enquire__intro p {
  color: rgba(251,246,234,.75);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 40ch;
}
.enquire__intro strong { color: #FBF6EA; font-weight: 600; }
.enquire__ways { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.enquire__way {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: #FBF6EA;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.enquire__way:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.24);
  transform: translateY(-2px);
}
.enquire__way-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  display: grid;
  place-items: center;
  color: #FBF6EA;
  flex-shrink: 0;
}
.enquire__way-ic svg { width: 18px; height: 18px; }
.enquire__way small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(251,246,234,.6);
  margin-top: 2px;
  letter-spacing: normal;
  text-transform: none;
}

.enquire__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.enquire__form label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(251,246,234,.85);
  margin-bottom: 2px;
  display: block;
}
.enquire__form input,
.enquire__form select,
.enquire__form textarea {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  color: #FBF6EA;
  font-family: inherit;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.enquire__form input::placeholder,
.enquire__form textarea::placeholder { color: rgba(251,246,234,.55); }
.enquire__form input:focus,
.enquire__form select:focus,
.enquire__form textarea:focus {
  outline: none;
  border-color: rgba(251,246,234,.6);
  background: rgba(0,0,0,.4);
}
.enquire__form textarea { resize: vertical; min-height: 96px; }
.enquire__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enquire__submit {
  background: #FBF6EA;
  color: var(--ink);
  padding: 14px 22px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .2s ease, background .2s ease;
  cursor: pointer;
  align-self: flex-start;
}
.enquire__submit:hover:not(:disabled) { background: #fff; transform: translateY(-1px); }
.enquire__submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.enquire__status {
  font-size: 13px;
  color: rgba(251,246,234,.75);
  min-height: 20px;
  margin: 4px 0 0;
}
.enquire__status.is-error   { color: #ffb894; }
.enquire__status.is-success { color: #a8e0b8; }
.enquire__banner {
  background: rgba(255, 184, 148, .12);
  border: 1px solid rgba(255, 184, 148, .3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: #ffd6bd;
  margin: 0 0 4px;
  line-height: 1.5;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 960px) {
  .enquire { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .enquire { padding: 28px 22px; }
  .enquire__row { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════
   MOTION
   ═════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
