:root {
  --wood: #7c3f17;
  --wood-dark: #4a2511;
  --gold: #f59e0b;
  --gold-soft: #ffe8b6;
  --forest: #166534;
  --dark: #1b120d;
  --cream: #fff7ed;
  --line: #eadfd3;
  --muted: #74675d;
  --green: #15803d;
  --red: #b91c1c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(21, 128, 61, 0.12), transparent 24rem),
    #f8f5f0;
  color: var(--dark);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #24150b, #6b3f22);
}

.login-card, .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(31, 22, 15, 0.08);
}

.login-card {
  width: min(440px, 100%);
  padding: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
}

.logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: #fff;
  box-shadow: 0 14px 28px rgba(124, 63, 23, 0.28);
}

.brand-logo {
  display: block;
  width: 150px;
  height: 104px;
  border-radius: 24px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(234, 223, 211, 0.92);
  padding: 8px;
  box-shadow: 0 22px 44px rgba(124, 63, 23, 0.24);
}

.site-header .brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.login-card .brand-logo,
.sidebar .brand-logo {
  width: 78px;
  height: 78px;
  border-radius: 18px;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(234, 223, 211, 0.8);
  background: rgba(255, 250, 244, 0.86);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #3f3026;
  font-weight: 900;
}

.nav-cta {
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  padding: 12px 18px;
  box-shadow: 0 14px 32px rgba(27, 18, 13, 0.18);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 64px clamp(18px, 5vw, 72px);
}

.hero-brand-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 760px;
  margin-bottom: 28px;
  border: 1px solid rgba(234, 223, 211, 0.92);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.26), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,247,237,0.86));
  padding: 20px;
  box-shadow: 0 30px 70px rgba(74, 37, 17, 0.14);
}

.hero-brand-card img {
  width: 100%;
  min-height: 150px;
  object-fit: contain;
  border-radius: 26px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 20px 42px rgba(124, 63, 23, 0.16);
}

.hero-brand-card strong {
  display: block;
  color: var(--wood-dark);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-brand-card span {
  display: block;
  margin-top: 10px;
  color: var(--wood);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-dominance-strip {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin: -28px clamp(18px, 5vw, 72px) 52px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 10% 25%, rgba(245, 158, 11, 0.3), transparent 18rem),
    linear-gradient(135deg, #1b120d, #4a2511, #7c3f17);
  color: #fff;
  padding: 34px;
  box-shadow: 0 34px 90px rgba(27, 18, 13, 0.24);
}

.brand-dominance-strip img {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: 0 28px 58px rgba(0,0,0,0.22);
}

.brand-dominance-strip h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.brand-dominance-strip p:not(.eyebrow) {
  max-width: 780px;
  color: #fff7ed;
  font-size: 20px;
  line-height: 1.6;
}

.brand-dominance-strip .eyebrow {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: #ffe8b6;
}

.hero-copy h1,
.section-heading h2,
.software-section h2,
.contact-panel h2 {
  margin: 0;
  color: #21140d;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.software-section h2,
.contact-panel h2,
.section-heading h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  border: 1px solid rgba(124, 63, 23, 0.18);
  border-radius: 999px;
  background: rgba(255, 232, 182, 0.72);
  color: var(--wood);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-stats div,
.info-grid div {
  border: 1px solid rgba(234, 223, 211, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
  box-shadow: 0 14px 38px rgba(74, 37, 17, 0.07);
}

.hero-stats strong,
.info-grid strong {
  display: block;
  color: var(--wood);
  font-size: 24px;
}

.hero-stats span,
.info-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.hero-visual,
.software-section > div:first-child {
  position: relative;
  perspective: 1200px;
}

.hero-visual img,
.software-section img {
  width: 100%;
  transform: rotateY(-10deg) rotateX(4deg);
  filter: drop-shadow(0 40px 40px rgba(74, 37, 17, 0.22));
}

.floating-showcase {
  position: relative;
  min-height: 620px;
  transform-style: preserve-3d;
}

.floating-showcase::before {
  content: "";
  position: absolute;
  inset: 74px 34px 42px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 28% 22%, rgba(245, 158, 11, 0.34), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.82));
  box-shadow: 0 34px 80px rgba(74, 37, 17, 0.16);
  transform: rotateY(-12deg) rotateX(5deg);
}

.float-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(234, 223, 211, 0.9);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 64px rgba(74, 37, 17, 0.22);
  animation: floatWood 5.5s ease-in-out infinite;
}

.float-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: none;
}

.float-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(27, 18, 13, 0.78);
  color: #fff;
  padding: 9px 12px;
  font-weight: 950;
  text-align: center;
}

.float-card-main {
  top: 58px;
  left: 50px;
  width: min(370px, 74%);
  height: 360px;
  transform: rotateY(-13deg) rotateZ(-3deg);
}

.float-card-bed {
  right: 12px;
  top: 24px;
  width: 220px;
  height: 160px;
  animation-delay: -1.2s;
}

.float-card-sofa {
  right: 22px;
  bottom: 72px;
  width: 280px;
  height: 196px;
  animation-delay: -2.1s;
}

.float-card-table {
  left: 8px;
  bottom: 54px;
  width: 220px;
  height: 176px;
  animation-delay: -3s;
}

.design-orbit {
  position: absolute;
  right: 84px;
  top: 230px;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: #fff;
  text-align: center;
  box-shadow: 0 26px 48px rgba(124, 63, 23, 0.34);
  animation: floatWood 4.8s ease-in-out infinite reverse;
}

.design-orbit strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.design-orbit span {
  display: block;
  max-width: 108px;
  font-size: 12px;
  font-weight: 900;
}

@keyframes floatWood {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.shop-promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: -28px clamp(18px, 5vw, 72px) 48px;
  position: relative;
  z-index: 2;
}

.shop-promise div {
  border: 1px solid rgba(124, 63, 23, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 9rem);
  padding: 24px;
  box-shadow: 0 22px 52px rgba(74, 37, 17, 0.08);
}

.shop-promise strong {
  display: block;
  color: var(--wood);
  font-size: 20px;
}

.shop-promise span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 8px;
}

.site-section {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.feature-grid,
.info-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(234, 223, 211, 0.9);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,247,237,0.86)),
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.18), transparent 14rem);
  padding: 30px;
  box-shadow: 0 22px 60px rgba(74, 37, 17, 0.08);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 190px;
  height: 190px;
  border-radius: 45px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(124, 63, 23, 0.22));
  transform: rotate(18deg);
}

.feature-card span {
  color: var(--gold);
  font-size: 42px;
  font-weight: 950;
}

.feature-card h3 {
  margin: 28px 0 12px;
  font-size: 26px;
}

.feature-card p,
.software-list p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-card a,
.showcase-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--wood);
  font-weight: 950;
}

.feature-card a::after,
.showcase-card a::after {
  content: "->";
  margin-left: 8px;
}

.category-section {
  background:
    radial-gradient(circle at 85% 12%, rgba(245, 158, 11, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 247, 237, 0.86));
}

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

.category-grid article {
  min-height: 190px;
  border: 1px solid rgba(234, 223, 211, 0.92);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 9rem);
  padding: 24px;
  box-shadow: 0 20px 54px rgba(74, 37, 17, 0.08);
}

.category-grid article::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(124, 63, 23, 0.9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 4px, transparent 4px 10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24), 0 16px 28px rgba(124, 63, 23, 0.18);
}

.category-grid strong {
  display: block;
  color: var(--wood);
  font-size: 22px;
}

.category-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 750;
}

.design-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 42px;
  align-items: center;
  margin: 30px clamp(18px, 5vw, 72px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.18), transparent 21rem),
    linear-gradient(135deg, #24150b, #4a2511);
  color: #fff;
  padding: 48px;
  box-shadow: 0 32px 80px rgba(27, 18, 13, 0.2);
}

.media-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(245, 158, 11, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,247,237,0.9));
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.media-grid article {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(234, 223, 211, 0.9);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 66px rgba(74, 37, 17, 0.1);
}

.media-grid img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.media-grid strong,
.media-grid span {
  display: block;
  padding-inline: 20px;
}

.media-grid strong {
  margin-top: 18px;
  color: var(--wood);
  font-size: 22px;
}

.media-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 20px;
}

.video-preview {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(rgba(27, 18, 13, 0.18), rgba(27, 18, 13, 0.74)),
    url("/images/bed.jpg") center/cover;
  color: #fff;
  position: relative;
}

.video-preview strong,
.video-preview span {
  color: #fff;
}

.play-button {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wood);
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.design-section h2 {
  margin: 0;
  color: #fff7ed;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.design-section p:not(.eyebrow) {
  color: rgba(255, 247, 237, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.design-section .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffe8b6;
  border-color: rgba(255, 255, 255, 0.16);
}

.design-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.design-tags span {
  border: 1px solid rgba(255, 232, 182, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe8b6;
  padding: 10px 13px;
  font-weight: 900;
}

.design-gallery-3d {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 18px;
  min-height: 460px;
  perspective: 1200px;
}

.design-tile,
.design-video-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 182, 0.22);
  border-radius: 34px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 30px 58px rgba(0,0,0,0.24);
}

.design-tile {
  min-height: 210px;
  transform: rotateY(-8deg) rotateX(3deg);
}

.design-tile-large {
  grid-row: span 2;
  min-height: 440px;
}

.design-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.design-tile strong,
.design-video-tile strong {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(27,18,13,0.78);
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  font-weight: 950;
}

.design-video-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  background:
    linear-gradient(rgba(27,18,13,0.14), rgba(27,18,13,0.82)),
    url("/images/table.png") center/cover;
}

.design-video-tile span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 74px;
  color: #fff7ed;
  text-align: center;
  font-weight: 800;
}

.design-floating-badge {
  position: absolute;
  right: 32px;
  top: 42%;
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 56px rgba(245,158,11,0.26);
}

.design-floating-badge b {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.design-floating-badge span {
  display: block;
  max-width: 112px;
  font-size: 12px;
  font-weight: 900;
}

.showcase-section {
  padding-top: 52px;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 158, 11, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 247, 237, 0.74));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.showcase-card,
.showcase-empty {
  overflow: hidden;
  border: 1px solid rgba(234, 223, 211, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 66px rgba(74, 37, 17, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(74, 37, 17, 0.16);
}

.showcase-image-wrap {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 232, 182, 0.72), rgba(255, 247, 237, 0.96)),
    repeating-linear-gradient(90deg, rgba(124, 63, 23, 0.08) 0 8px, transparent 8px 18px);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: transparent;
}

.showcase-card div {
  padding: 20px;
}

.showcase-card span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--wood);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.showcase-card h3 {
  margin: 14px 0 8px;
}

.showcase-card p {
  color: var(--muted);
  line-height: 1.6;
}

.project-help {
  background:
    linear-gradient(rgba(36, 21, 11, 0.78), rgba(36, 21, 11, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.5), transparent 22rem),
    linear-gradient(135deg, #7c3f17, #1b120d);
  color: #fff;
}

.project-help .section-heading h2,
.project-help .section-heading p {
  color: #fff7ed;
}

.project-help .eyebrow {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #ffe8b6;
}

.showcase-empty {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  font-weight: 900;
}

.software-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin: 30px clamp(18px, 5vw, 72px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.16), transparent 20rem),
    linear-gradient(135deg, #24150b, #422414);
  color: #fff;
  padding: 48px;
  box-shadow: 0 32px 80px rgba(27, 18, 13, 0.2);
}

.software-section h2,
.software-section .software-list p {
  color: #fff7ed;
}

.software-section .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffe8b6;
  border-color: rgba(255, 255, 255, 0.16);
}

.software-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.company-band {
  background: linear-gradient(180deg, rgba(255,255,255,0.56), rgba(255,247,237,0.92));
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px clamp(18px, 5vw, 72px) 70px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--gold-soft), #fff);
  box-shadow: 0 24px 60px rgba(74, 37, 17, 0.08);
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--dark);
  color: rgba(255, 247, 237, 0.78);
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.footer-legal {
  max-width: 980px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 232, 182, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.footer-legal strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.footer-legal p {
  color: rgba(255, 247, 237, 0.82);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.maker-credit {
  color: rgba(255, 247, 237, 0.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nath-credit {
  max-width: 760px;
  margin: 18px auto 0;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 12rem),
    rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.nath-credit span,
.nath-mini-credit span,
.nath-top-credit {
  color: #ffe8b6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nath-credit strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.nath-credit p {
  color: rgba(255, 247, 237, 0.82);
  font-weight: 800;
  line-height: 1.6;
}

.nath-mini-credit {
  margin-top: 20px;
  border: 1px solid rgba(124, 63, 23, 0.14);
  border-radius: 18px;
  background: var(--cream);
  padding: 14px;
  text-align: center;
}

.nath-mini-credit span {
  color: var(--wood);
}

.nath-mini-credit strong {
  display: block;
  margin-top: 5px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 950;
}

.nath-top-credit {
  margin: 10px 0 0;
  color: var(--wood);
}

.nath-top-credit strong {
  color: var(--dark);
}

.login-card .maker-credit {
  color: var(--muted);
  margin-top: 18px;
  text-align: center;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { font-weight: 800; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d7cabe;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.btn {
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  font-weight: 900;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--wood));
  color: #fff;
  box-shadow: 0 16px 32px rgba(124, 63, 23, 0.22);
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-light { background: #fff; border: 1px solid var(--line); color: var(--dark); }
.btn-danger { background: #fee2e2; color: var(--red); }
.btn-green { background: var(--green); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: var(--dark);
  color: #fff;
}

.nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.nav button {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  text-align: left;
  font-weight: 800;
}
.nav button.active { background: var(--wood); }

.main {
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

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

.card { padding: 22px; }
.stat h3 { margin: 0; font-size: 28px; color: var(--wood); }
.stat p { margin: 8px 0 0; color: var(--muted); font-weight: 700; }

.dashboard-brand-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.3), transparent 18rem),
    linear-gradient(135deg, #1b120d, #4a2511, #7c3f17);
  color: #fff;
  overflow: hidden;
}

.dashboard-brand-hero img {
  width: 100%;
  min-height: 190px;
  max-height: 260px;
  object-fit: contain;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.dashboard-brand-hero h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.dashboard-brand-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.6;
}

.dashboard-brand-hero .eyebrow {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: #ffe8b6;
}

.dashboard-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-heading .eyebrow {
  margin-bottom: 8px;
}

.card-heading h2 {
  margin: 0;
}

.growth-positive,
.growth-negative {
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 20px;
}

.growth-positive {
  background: #dcfce7;
  color: #15803d;
}

.growth-negative {
  background: #fee2e2;
  color: #b91c1c;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 230px;
  overflow-x: auto;
  padding: 16px 4px 4px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.88), rgba(255,255,255,0.88)),
    repeating-linear-gradient(0deg, rgba(124, 63, 23, 0.08) 0 1px, transparent 1px 46px);
}

.bar-item {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  min-width: 48px;
  height: 210px;
  text-align: center;
}

.bar-item span {
  display: block;
  width: 100%;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--gold), var(--wood));
  box-shadow: 0 12px 24px rgba(124, 63, 23, 0.18);
}

.bar-item small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight-list h3 {
  margin: 12px 0 4px;
}

.insight-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  padding: 12px;
}

.insight-row span {
  color: var(--muted);
  font-weight: 800;
}

.insight-row strong {
  color: var(--wood);
}

.section { display: none; }
.section.active { display: block; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }

.table-thumb {
  width: 76px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cream);
}

.image-preview {
  display: none;
  width: 180px;
  max-width: 100%;
  height: 126px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin-top: 10px;
  box-shadow: 0 14px 34px rgba(74, 37, 17, 0.12);
}

.quick-products,
.quick-line-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-line-items {
  margin-bottom: 14px;
}

.quick-products button,
.quick-line-items button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--wood);
  padding: 9px 12px;
  font-weight: 900;
}

.invoice-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.item-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 0.55fr 0.65fr 0.7fr 0.55fr auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
}

.template-detail-box {
  margin: 10px 0 18px;
  border: 1px solid rgba(124, 63, 23, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 232, 182, 0.46), rgba(255, 247, 237, 0.86));
  padding: 16px;
}

.template-detail-box h3 {
  margin: 0 0 12px;
  color: var(--wood);
}

.totals {
  display: grid;
  gap: 12px;
}
.total-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-weight: 800;
}
.grand { font-size: 22px; color: var(--wood); }
.error { color: var(--red); font-weight: 800; }
.success { color: var(--green); font-weight: 800; }

.print-only { display: none; }

.gst-invoice {
  max-width: 980px;
  margin: 0 auto;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.25;
}

.gst-invoice h1,
.gst-invoice h2,
.gst-invoice h3,
.gst-invoice p {
  margin: 0;
}

.invoice-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 0;
}

.invoice-title-row strong {
  font-size: 16px;
}

.invoice-title-row span {
  border: 1px solid #9ca3af;
  color: #6b7280;
  padding: 2px 8px;
  font-weight: 900;
}

.invoice-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  margin-top: 8px;
}

.seller-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 10px;
  border-right: 2px solid #111;
}

.seller-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid #111;
  background: #fff;
}

.seller-block h1 {
  color: #b91c1c;
  font-size: 20px;
}

.seller-block p {
  margin-top: 3px;
  font-weight: 700;
}

.seller-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.75rem;
}

.seller-email-value {
  white-space: nowrap;
}

.ship-same-row {
  margin: 12px 0 4px;
}

.checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.35;
}

.checkbox-inline input {
  margin-top: 3px;
}

.ship-to-fields {
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 247, 237, 0.65);
}

.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invoice-meta-grid div {
  min-height: 54px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 8px;
}

.invoice-meta-grid div:nth-child(3n) {
  border-right: 0;
}

.invoice-meta-grid strong,
.invoice-meta-grid span {
  display: block;
}

.invoice-meta-grid span {
  margin-top: 6px;
  font-weight: 900;
}

.party-grid,
.invoice-bottom-grid,
.terms-sign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid #111;
}

.party-grid > div,
.invoice-bottom-grid > div,
.terms-sign > div {
  min-height: 86px;
  padding: 10px;
  border-right: 2px solid #111;
}

.party-grid > div:last-child,
.invoice-bottom-grid > div:last-child {
  border-right: 0;
}

.gst-invoice h3 {
  margin-bottom: 6px;
  font-size: 13px;
}

.invoice-table,
.tax-summary {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  border-spacing: 0;
  border-radius: 0;
  font-size: 12px;
}

.invoice-table th,
.invoice-table td,
.tax-summary th,
.tax-summary td {
  border: 1px solid #111;
  padding: 7px;
  color: #111;
}

.invoice-table th,
.tax-summary th {
  background: #f4cccc;
  letter-spacing: 0;
}

.invoice-table th:nth-child(1) { width: 9%; }
.invoice-table th:nth-child(2) { width: 27%; }
.invoice-table th:nth-child(3) { width: 9%; }
.invoice-table th:nth-child(4) { width: 17%; }
.invoice-table th:nth-child(5) { width: 14%; }
.invoice-table th:nth-child(6) { width: 11%; }
.invoice-table th:nth-child(7) { width: 13%; }

.tax-summary .tax-hsn { width: 12%; }
.tax-summary .tax-value { width: 20%; }
.tax-summary .tax-rate { width: 11%; }
.tax-summary .tax-amount { width: 17%; }
.tax-summary .tax-total { width: 18%; }

.invoice-table td:last-child,
.invoice-table th:last-child,
.invoice-table td:nth-child(4),
.invoice-table th:nth-child(4),
.invoice-table td:nth-child(5),
.invoice-table th:nth-child(5),
.invoice-table td:nth-child(6),
.invoice-table th:nth-child(6),
.tax-summary td:not(:first-child),
.tax-summary th:not(:first-child) {
  text-align: right;
}

.tax-summary thead tr:first-child th[colspan] {
  text-align: center;
}

.invoice-table tbody td {
  height: 220px;
}

.invoice-table tbody span {
  color: #555;
}

.invoice-table tfoot td,
.tax-summary tfoot td {
  background: #f4cccc;
  font-weight: 950;
}

.amount-words {
  padding: 10px;
  border-bottom: 2px solid #111;
  font-weight: 800;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-top: 4px;
  border: 2px dashed #111;
  font-weight: 950;
}

.qr-image {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid #111;
  background: #fff;
}

.terms-sign {
  border-bottom: 0;
}

.terms-sign > p {
  align-self: end;
  min-height: 110px;
  padding: 10px;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { flex-wrap: wrap; }
  .hero-section,
  .hero-brand-card,
  .brand-dominance-strip,
  .software-section,
  .design-section,
  .feature-grid,
  .info-grid,
  .category-grid,
  .media-grid,
  .shop-promise,
  .hero-stats,
  .showcase-grid { grid-template-columns: 1fr; }
  .hero-section { padding-top: 36px; }
  .hero-brand-card {
    grid-template-columns: 1fr;
  }
  .hero-brand-card img {
    max-height: 240px;
  }
  .brand-dominance-strip {
    margin-top: 0;
    padding: 22px;
  }
  .floating-showcase { min-height: 760px; }
  .float-card-main,
  .float-card-bed,
  .float-card-sofa,
  .float-card-table,
  .design-orbit {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 14px 0;
  }
  .float-card-main,
  .float-card-bed,
  .float-card-sofa,
  .float-card-table {
    height: 220px;
  }
  .design-orbit {
    width: 150px;
    margin-inline: auto;
  }
  .software-section,
  .design-section { padding: 28px; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    padding: 14px;
  }
  .sidebar .brand {
    align-items: center;
  }
  .sidebar .brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  .nav {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .nav button {
    flex: 0 0 auto;
    min-width: 142px;
    text-align: center;
    scroll-snap-align: start;
  }
  .main { padding: 14px; }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .grid-2, .grid-3, .grid-4, .invoice-grid { grid-template-columns: 1fr; }
  .dashboard-brand-hero { grid-template-columns: 1fr; }
  .dashboard-brand-hero img { max-height: 320px; }
  .dashboard-insights { grid-template-columns: 1fr; }
  .item-row { grid-template-columns: 1fr; }
  .card { padding: 16px; border-radius: 18px; }
  table { min-width: 780px; }
  #invoiceTable,
  #productTable,
  #customerTable {
    font-size: 13px;
  }
  .actions .btn {
    flex: 1 1 150px;
  }
  .invoice-head-grid,
  .invoice-meta-grid,
  .party-grid,
  .invoice-bottom-grid,
  .terms-sign {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 116px;
    height: 82px;
  }
  .site-header {
    padding: 14px;
  }
  .site-nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .site-nav a {
    flex: 0 0 auto;
  }
  .hero-section,
  .site-section {
    padding-inline: 14px;
  }
  .hero-copy h1,
  .section-heading h2,
  .design-section h2,
  .contact-panel h2 {
    font-size: clamp(32px, 11vw, 46px);
  }
  .login-card {
    padding: 20px;
  }
  .field input,
  .field select,
  .field textarea,
  .btn {
    min-height: 46px;
  }
}

@media print {
  @page { size: A4; margin: 8mm; }
  body { background: #fff; }
  .sidebar, .topbar, .no-print, .actions, .nav, .report-controls { display: none !important; }
  .app-shell { display: block; }
  .main { padding: 0; }
  .section { display: none !important; }
  #invoicePrintSection { display: block !important; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .print-only { display: block; }
  .gst-invoice { max-width: none; width: 100%; }
}
