:root {
  --bg: #fffaf4;
  --paper: #fffdf8;
  --ink: #1d1612;
  --muted: #6f625a;
  --maroon: #8f1d22;
  --maroon-dark: #5d1115;
  --copper: #b96c2f;
  --teal: #0e5b5a;
  --line: #e8d8c8;
  --shadow: 0 20px 55px rgba(52, 32, 20, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(61, 15, 15, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 38px;
  color: #fff;
  background: var(--copper);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  border-color: var(--copper);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 66px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #2f100f;
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(33, 10, 10, 0.9) 0%, rgba(33, 10, 10, 0.62) 43%, rgba(33, 10, 10, 0.12) 100%),
    linear-gradient(0deg, rgba(33, 10, 10, 0.88) 0%, rgba(33, 10, 10, 0.18) 48%, rgba(33, 10, 10, 0.16) 100%);
}

.hero-content {
  width: min(850px, 100%);
  padding: clamp(58px, 12vw, 120px) clamp(20px, 5vw, 64px);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.catalog-top h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.login-section {
  position: relative;
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px, 7vw, 76px) 0;
  background: #24100f;
}

.login-section > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.login-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 10, 10, 0.92) 0%, rgba(28, 10, 10, 0.72) 52%, rgba(14, 91, 90, 0.44) 100%),
    linear-gradient(0deg, rgba(28, 10, 10, 0.9), rgba(28, 10, 10, 0.18));
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}

.login-copy,
.login-panel {
  min-width: 0;
}

.login-copy {
  color: #fff;
}

.login-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.login-copy p:not(.section-kicker) {
  max-width: 570px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.login-panel {
  width: 100%;
  max-width: 430px;
  justify-self: end;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 20px;
}

.form-heading h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.login-panel label:not(.check-label) {
  display: block;
  margin: 16px 0 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.login-panel input[type="tel"],
.login-panel input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.login-panel input:focus-visible {
  outline: 3px solid rgba(14, 91, 90, 0.22);
  border-color: var(--teal);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 20px;
  font-size: 0.9rem;
  font-weight: 750;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.check-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--maroon);
}

.form-row a {
  color: var(--teal);
}

.login-panel .button {
  width: 100%;
}

.login-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-actions,
.contact-actions,
.catalog-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 800;
  line-height: 1.15;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--maroon);
  box-shadow: 0 10px 26px rgba(143, 29, 34, 0.28);
}

.button.secondary {
  color: #fff;
  background: var(--teal);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hero .button.ghost,
.hero .button.secondary {
  color: #fff;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band,
.service-band,
.catalog-hero {
  padding: clamp(42px, 7vw, 76px) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.split,
.catalog-top,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split > *,
.catalog-top > *,
.contact-layout > *,
.catalog-controls > *,
.section-heading > * {
  min-width: 0;
}

.intro-band h2,
.section-heading h2,
.contact-section h2,
.catalog-controls h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-band p:not(.section-kicker),
.catalog-top p,
.service-band p,
.contact-section address {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-section,
.catalog-section {
  padding: clamp(46px, 8vw, 86px) 0;
}

.section-heading,
.catalog-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 22px;
}

.section-heading > a {
  color: var(--maroon);
  font-weight: 800;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(60, 40, 28, 0.08);
}

.product-card button {
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  font: inherit;
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f3e9df;
}

.product-card figcaption,
.card-copy {
  padding: 14px 14px 16px;
}

.product-card h3,
.info-grid h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.product-card p,
.card-copy p,
.info-grid p,
.lightbox p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-band {
  background: #f8efe7;
  border-top: 1px solid var(--line);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-section {
  padding: clamp(50px, 8vw, 88px) 0;
  background: #fff;
}

.contact-section address {
  margin-top: 18px;
  font-style: normal;
}

.contact-actions {
  align-self: center;
  justify-content: flex-start;
  margin-top: 0;
}

.catalog-top {
  align-items: center;
}

.catalog-top h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.8rem);
}

.catalog-top p {
  max-width: 700px;
  margin-top: 18px;
}

.catalog-cta {
  justify-content: flex-start;
  margin-top: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-pills button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-pills button[aria-pressed="true"] {
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.catalog-grid .product-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.item-number {
  color: var(--copper);
  white-space: nowrap;
}

.lightbox {
  width: min(920px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(20, 14, 12, 0.76);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #f5eee6;
}

.lightbox p {
  padding: 12px 16px 16px;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(29, 22, 18, 0.78);
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #27100f;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header,
  .section-heading,
  .catalog-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 28px;
    row-gap: 0;
  }

  .hero {
    min-height: 690px;
  }

  .hero > img {
    object-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(33, 10, 10, 0.9) 0%, rgba(33, 10, 10, 0.58) 58%, rgba(33, 10, 10, 0.2) 100%);
  }

  .split,
  .catalog-top,
  .contact-layout,
  .login-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .login-section {
    min-height: auto;
    align-items: start;
  }

  .login-panel {
    justify-self: start;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-pills {
    justify-content: flex-start;
  }

  .catalog-cta,
  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: 100%;
    max-width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .catalog-hero,
  .intro-band,
  .catalog-section,
  .login-section {
    overflow: hidden;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.86rem;
  }

  .hero-content {
    width: 100%;
    max-width: 100vw;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 15vw, 4.6rem);
  }

  .catalog-top h1 {
    max-width: calc(100vw - 36px);
    font-size: 1.82rem;
    line-height: 1.04;
  }

  .catalog-top p,
  .hero-copy,
  .login-copy p:not(.section-kicker),
  .intro-band h2,
  .intro-band p:not(.section-kicker),
  .service-band p,
  .catalog-cta,
  .hero-actions,
  .filter-pills,
  .catalog-grid {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .catalog-top p,
  .hero-copy,
  .login-copy p:not(.section-kicker) {
    width: auto;
    max-width: 31ch;
  }

  .login-copy h1 {
    max-width: 12ch;
    font-size: 2rem;
  }

  .login-panel {
    max-width: 336px;
    margin-right: 0;
    padding: 22px;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .intro-band h2 {
    width: auto;
    max-width: 15ch;
    font-size: 1.72rem;
  }

  .intro-band p:not(.section-kicker),
  .service-band p {
    width: auto;
    max-width: 31ch;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button,
  .catalog-cta .button,
  .contact-actions .button {
    width: calc(100vw - 54px);
    max-width: 336px;
  }

  .filter-pills,
  .catalog-grid {
    width: calc(100vw - 54px);
    max-width: 336px;
  }

  .hero-actions,
  .catalog-cta,
  .contact-actions {
    align-items: flex-start;
  }

  .featured-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid .product-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}
