:root {
  --maroon: #5a0f1b;
  --maroon-dark: #350811;
  --gold: #c9a24d;
  --gold-light: #e7cc82;
  --ivory: #fff8e7;
  --brown: #3b2416;
  --champagne: #e8d7b8;
  --paper: #fffdf5;
  --muted: #735c48;
  --line: rgba(90, 15, 27, 0.18);
  --shadow: 0 18px 50px rgba(59, 36, 22, 0.15);
  --shadow-strong: 0 26px 70px rgba(38, 10, 14, 0.35);
  --radius: 8px;
  --max: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at top left, rgba(201, 162, 77, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--ivory), #f7ecd5 44rem, var(--ivory));
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand strong,
.eyebrow {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--ivory);
  font-size: 4rem;
  line-height: 1.04;
}

h2 {
  color: var(--maroon);
  font-size: 2.6rem;
  line-height: 1.12;
}

h3 {
  color: var(--maroon);
  font-size: 1.3rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--maroon);
  background: var(--ivory);
  border: 1px solid var(--gold);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  color: var(--ivory);
  background: rgba(90, 15, 27, 0.95);
  border-bottom: 1px solid rgba(201, 162, 77, 0.28);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(53, 8, 17, 0.97);
  box-shadow: 0 12px 40px rgba(40, 7, 12, 0.28);
}

.nav-shell {
  width: min(100% - 2rem, var(--max));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 2px solid rgba(255, 248, 231, 0.78);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 800;
}

.brand strong {
  display: block;
  color: var(--ivory);
  font-size: 1.14rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 248, 231, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 0.85rem 0.65rem;
  color: rgba(255, 248, 231, 0.84);
  font-size: 0.93rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0.65rem;
  bottom: 0.52rem;
  left: 0.65rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ivory);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn svg,
.icon-btn svg,
.wa-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.36) 42%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 540ms ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(59, 36, 22, 0.18);
}

.btn-gold {
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: rgba(255, 248, 231, 0.42);
}

.btn-maroon {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-color: rgba(201, 162, 77, 0.48);
}

.btn-outline {
  color: var(--maroon);
  background: rgba(255, 248, 231, 0.84);
  border-color: rgba(201, 162, 77, 0.8);
}

.btn-outline:hover {
  background: var(--ivory);
}

.btn-whatsapp {
  color: #ffffff;
  background: #15803d;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-small {
  min-height: 40px;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
}

.full-btn {
  width: 100%;
}

.nav-cta {
  flex: 0 0 auto;
  margin-left: 0.25rem;
}

.icon-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: currentColor;
  background: rgba(255, 248, 231, 0.09);
  border: 1px solid rgba(201, 162, 77, 0.4);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  color: var(--ivory);
  background-color: var(--maroon);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(53, 8, 17, 0.93), rgba(90, 15, 27, 0.7) 42%, rgba(53, 8, 17, 0.34)),
    var(--hero-image, none);
  background-position: center;
  background-size: cover;
}

.hero::after,
.royal-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201, 162, 77, 0.5) 1px, transparent 0),
    linear-gradient(45deg, transparent 47%, rgba(201, 162, 77, 0.18) 48%, rgba(201, 162, 77, 0.18) 52%, transparent 53%);
  background-size: 28px 28px, 54px 54px;
  animation: royalPattern 18s linear infinite;
}

.home-hero {
  --hero-image: url("../img/hero-mithai-supply.png");
}

.page-hero {
  min-height: 430px;
}

.page-hero.packaging {
  --hero-image: url("../img/premium-packaging.png");
}

.page-hero.products {
  --hero-image: url("../img/product-assortment.png");
}

.page-hero.festival {
  --hero-image: url("../img/festival-bulk-supply.png");
}

.page-hero.default {
  --hero-image: url("../img/hero-mithai-supply.png");
}

.hero-shell,
.section-shell,
.footer-shell,
.footer-bottom {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero-shell {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.76fr);
  align-items: center;
  gap: 2.2rem;
  padding: 5rem 0 3.5rem;
}

.hero-copy {
  position: relative;
  animation: fadeUp 720ms ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero p {
  max-width: 710px;
  margin-top: 1.25rem;
  color: rgba(255, 248, 231, 0.88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
  color: rgba(255, 248, 231, 0.86);
  font-weight: 750;
}

.trust-line span {
  padding: 0.45rem 0.65rem;
  background: rgba(255, 248, 231, 0.08);
  border: 1px solid rgba(201, 162, 77, 0.34);
  border-radius: 6px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-visual-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 440px);
  padding: 1rem;
  background: rgba(255, 248, 231, 0.1);
  border: 1px solid rgba(201, 162, 77, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(9px);
  animation: fadeUp 920ms ease 160ms both;
}

.hero-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 77, 0.55);
  border-radius: 6px;
}

.hero-note {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  max-width: 260px;
  padding: 0.85rem;
  color: var(--ivory);
  background: rgba(53, 8, 17, 0.82);
  border: 1px solid rgba(201, 162, 77, 0.55);
  border-radius: 6px;
}

.hero-note strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--gold-light);
  animation: sparkle 2.8s ease-in-out infinite;
}

.sparkle.one {
  top: 16%;
  right: 26%;
}

.sparkle.two {
  top: 44%;
  right: 8%;
  animation-delay: 0.9s;
}

.sparkle.three {
  bottom: 21%;
  right: 42%;
  animation-delay: 1.5s;
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.8rem 0;
}

.section-maroon {
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(53, 8, 17, 0.96), rgba(90, 15, 27, 0.98)),
    var(--maroon);
}

.section-champagne {
  background: linear-gradient(180deg, var(--champagne), #f2e5cb);
}

.section-ivory {
  background: rgba(255, 248, 231, 0.72);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-header.center {
  display: block;
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-header.center .eyebrow::before {
  display: none;
}

.section-maroon h2,
.section-maroon h3,
.section-maroon .eyebrow {
  color: var(--gold-light);
}

.section-maroon p {
  color: rgba(255, 248, 231, 0.82);
}

.section-maroon .card h3,
.section-maroon .partner-card h3,
.section-maroon .trust-card h3,
.section-maroon .feature-card h3,
.section-maroon .stat-card h3,
.section-maroon .form-panel h3 {
  color: var(--maroon);
}

.section-maroon .card p,
.section-maroon .partner-card p,
.section-maroon .trust-card p,
.section-maroon .feature-card p,
.section-maroon .stat-card p,
.section-maroon .form-panel p,
.section-maroon .business-strip span {
  color: var(--muted);
}

.section-header p {
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.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,
.partner-card,
.trust-card,
.feature-card,
.product-card,
.stat-card,
.form-panel {
  border-radius: var(--radius);
}

.card,
.partner-card,
.trust-card,
.feature-card,
.stat-card {
  position: relative;
  min-height: 100%;
  padding: 1.25rem;
  background: rgba(255, 248, 231, 0.93);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(59, 36, 22, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover,
.partner-card:hover,
.trust-card:hover,
.feature-card:hover,
.stat-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 77, 0.8);
  box-shadow: var(--shadow);
}

.trust-card {
  border-top: 3px solid var(--gold);
}

.card-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--maroon);
  background: linear-gradient(135deg, rgba(201, 162, 77, 0.35), rgba(255, 248, 231, 0.88));
  border: 1px solid rgba(201, 162, 77, 0.75);
  border-radius: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.card p,
.partner-card p,
.trust-card p,
.feature-card p,
.stat-card p {
  margin-top: 0.55rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.92fr);
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.content-stack .hero-actions {
  margin-top: 0.55rem;
}

.gold-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.gold-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.gold-list li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.64rem;
  height: 0.64rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.16);
}

.section-maroon .gold-list li {
  color: rgba(255, 248, 231, 0.84);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--maroon);
  border: 1px solid rgba(201, 162, 77, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

.image-caption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  max-width: 280px;
  padding: 0.8rem;
  color: var(--ivory);
  background: rgba(53, 8, 17, 0.82);
  border: 1px solid rgba(201, 162, 77, 0.6);
  border-radius: 6px;
}

.image-caption strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat-card strong {
  display: block;
  color: var(--maroon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.product-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(90, 15, 27, 0.16);
  box-shadow: 0 10px 25px rgba(59, 36, 22, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card[hidden] {
  display: none;
}

.product-image {
  height: 180px;
  background-image: url("../img/product-assortment.png");
  background-repeat: no-repeat;
  background-size: 230%;
  border-bottom: 1px solid rgba(201, 162, 77, 0.38);
  transition: transform 280ms ease, filter 280ms ease;
}

.product-card:hover .product-image {
  filter: saturate(1.12) contrast(1.05);
  transform: scale(1.035);
}

.product-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.mini-label {
  display: inline-flex;
  width: max-content;
  padding: 0.28rem 0.5rem;
  color: var(--maroon);
  background: rgba(201, 162, 77, 0.22);
  border: 1px solid rgba(201, 162, 77, 0.45);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  color: var(--maroon);
  background: rgba(255, 248, 231, 0.9);
  border: 1px solid rgba(201, 162, 77, 0.7);
  border-radius: 6px;
  font-weight: 800;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: var(--ivory);
  background: var(--maroon);
  border-color: var(--gold);
}

.form-panel {
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid rgba(201, 162, 77, 0.65);
  box-shadow: var(--shadow);
}

.section-maroon .form-panel {
  background: rgba(255, 248, 231, 0.96);
}

.form-panel h3 {
  margin-bottom: 0.35rem;
}

.form-panel > p {
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid.compact {
  gap: 0.65rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--maroon);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  color: var(--brown);
  background: #ffffff;
  border: 1px solid rgba(90, 15, 27, 0.22);
  border-radius: 6px;
  outline: none;
  padding: 0.78rem 0.82rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.22);
  transform: translateY(-1px);
}

.full {
  grid-column: 1 / -1;
}

.form-grid + .btn,
.form-grid + .full-btn {
  margin-top: 1rem;
}

.royal-band {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  isolation: isolate;
}

.cta-band {
  text-align: center;
}

.cta-band h2 {
  color: var(--gold-light);
}

.cta-band p {
  max-width: 780px;
  margin: 0.85rem auto 0;
  color: rgba(255, 248, 231, 0.86);
  font-size: 1.08rem;
}

.cta-band .hero-actions {
  justify-content: center;
}

.site-footer {
  color: rgba(255, 248, 231, 0.84);
  background: #2b090f;
  border-top: 1px solid rgba(201, 162, 77, 0.35);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  padding: 3.4rem 0;
}

.footer-brand p {
  margin: 1rem 0 1.1rem;
  color: rgba(255, 248, 231, 0.72);
}

.brand-footer {
  min-width: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-grid h3 {
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 248, 231, 0.72);
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: rgba(255, 248, 231, 0.62);
  border-top: 1px solid rgba(201, 162, 77, 0.22);
  font-size: 0.88rem;
}

.wa-bot {
  position: fixed;
  z-index: 950;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  justify-items: end;
  gap: 0.85rem;
  pointer-events: none;
}

.wa-launcher,
.wa-panel {
  pointer-events: auto;
}

.wa-launcher {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  filter: drop-shadow(0 18px 34px rgba(14, 87, 44, 0.35));
  font-weight: 850;
  isolation: isolate;
}

.wa-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.34), transparent 20px),
    linear-gradient(135deg, #1aa34a, #087030);
  border: 2px solid rgba(255, 248, 231, 0.92);
  border-radius: 50%;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.18),
    0 0 0 7px rgba(201, 162, 77, 0.16),
    0 14px 30px rgba(9, 88, 41, 0.38);
  animation: waPulse 1.8s ease-in-out infinite;
}

.ai-orb-core {
  position: relative;
  z-index: 2;
}

.ai-orb-core svg {
  width: 1.58rem;
  height: 1.58rem;
}

.ai-orb-core b {
  position: absolute;
  right: 0.45rem;
  bottom: 0.4rem;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  font-size: 0.62rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(53, 8, 17, 0.28);
}

.orb-ripple,
.orb-ring,
.orb-spark {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-ripple {
  inset: 0;
  border: 1px solid rgba(201, 162, 77, 0.64);
  animation: orbRipple 2.4s ease-out infinite;
}

.orb-ring {
  inset: 8px;
  border: 2px solid transparent;
  border-top-color: var(--gold-light);
  border-right-color: rgba(255, 248, 231, 0.85);
  border-bottom-color: rgba(201, 162, 77, 0.38);
  animation: orbRing 7s linear infinite;
}

.orb-spark {
  z-index: 3;
  width: 9px;
  height: 9px;
  background: var(--gold-light);
  box-shadow: 0 0 18px var(--gold-light);
  animation: sparkleDrift 3.2s ease-in-out infinite;
}

.orb-spark.one {
  top: 7px;
  right: 18px;
}

.orb-spark.two {
  bottom: 12px;
  left: 16px;
  animation-delay: 1.1s;
}

.ai-orb-label {
  position: absolute;
  right: 82px;
  bottom: 30px;
  width: max-content;
  max-width: 170px;
  padding: 0.5rem 0.75rem;
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 248, 231, 0.68);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(53, 8, 17, 0.22);
  font-size: 0.78rem;
  transform-origin: right center;
  animation: labelBreathe 3.6s ease-in-out infinite;
}

.wa-panel {
  position: relative;
  display: none;
  width: min(440px, calc(100vw - 1.25rem));
  max-height: min(78vh, 760px);
  overflow: auto;
  color: var(--brown);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(250, 239, 215, 0.98)),
    var(--ivory);
  border: 1px solid rgba(201, 162, 77, 0.88);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(35, 9, 13, 0.38);
  transform-origin: bottom right;
}

.wa-bot.is-open .wa-panel {
  display: block;
  animation: panelMorph 320ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.wa-panel-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.95rem;
  color: var(--ivory);
  background:
    radial-gradient(circle at 78% 8%, rgba(201, 162, 77, 0.38), transparent 120px),
    linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-bottom: 1px solid rgba(201, 162, 77, 0.42);
  overflow: hidden;
}

.wa-panel-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 248, 231, 0.12), transparent);
  transform: translateX(-100%);
  animation: panelShimmer 5.5s ease-in-out infinite;
}

.ai-head-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 2px solid rgba(255, 248, 231, 0.78);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ai-head-avatar svg {
  width: 1.35rem;
  height: 1.35rem;
}

.wa-panel-head strong,
.wa-panel-head span {
  position: relative;
  z-index: 1;
  display: block;
}

.wa-panel-head span {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.18rem;
  color: rgba(255, 248, 231, 0.72);
  font-size: 0.82rem;
}

.wa-panel-head span i {
  width: 8px;
  height: 8px;
  background: #46e07d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(70, 224, 125, 0.12);
  animation: statusPulse 1.6s ease-in-out infinite;
}

.wa-close {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.ai-panel-shine {
  position: absolute;
  inset: auto -20% 0 auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 162, 77, 0.22), transparent 64%);
  pointer-events: none;
}

.ai-chat-log {
  display: grid;
  max-height: 300px;
  gap: 0.7rem;
  padding: 1rem;
  overflow: auto;
  scroll-behavior: smooth;
}

.ai-message {
  display: flex;
  animation: messageIn 240ms ease both;
}

.ai-message span {
  display: block;
  max-width: 86%;
  padding: 0.72rem 0.82rem;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.ai-message.bot span {
  color: var(--brown);
  background: #ffffff;
  border: 1px solid rgba(201, 162, 77, 0.45);
  border-bottom-left-radius: 6px;
  box-shadow: 0 10px 22px rgba(59, 36, 22, 0.08);
}

.ai-message.user {
  justify-content: flex-end;
}

.ai-message.user span {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 1px solid rgba(201, 162, 77, 0.5);
  border-bottom-right-radius: 6px;
}

.ai-message.typing span {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  min-width: 64px;
}

.ai-message.typing i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: typingDot 1s ease-in-out infinite;
}

.ai-message.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.ai-message.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.ai-suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
  padding: 0 1rem 0.9rem;
}

.ai-quick-orb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  min-width: 0;
  min-height: 52px;
  padding: 0.54rem 0.66rem;
  overflow: hidden;
  color: var(--maroon);
  background:
    linear-gradient(135deg, rgba(255, 253, 245, 0.98), rgba(232, 215, 184, 0.88)),
    var(--ivory);
  border: 1px solid rgba(201, 162, 77, 0.7);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(59, 36, 22, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ai-quick-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.ai-quick-orb::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 162, 77, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.ai-quick-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--maroon);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.72), transparent 16px),
    linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(90, 15, 27, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.35),
    0 8px 16px rgba(201, 162, 77, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74rem;
  font-weight: 900;
}

.ai-quick-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ai-quick-orb:hover {
  color: var(--ivory);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 162, 77, 0.28), transparent 58px),
    linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-color: rgba(201, 162, 77, 0.9);
  box-shadow: 0 15px 30px rgba(90, 15, 27, 0.22);
  transform: translateY(-3px);
}

.ai-quick-orb:hover::before {
  transform: translateX(120%);
}

.ai-quick-orb:hover .ai-quick-icon {
  color: var(--maroon);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.42),
    0 0 0 5px rgba(201, 162, 77, 0.14),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.ai-chat-input {
  display: flex;
  gap: 0.55rem;
  padding: 0 1rem 0.75rem;
}

.ai-chat-input input {
  min-height: 48px;
  border-radius: 999px;
  padding-right: 1rem;
}

.ai-send {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(90, 15, 27, 0.14);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(201, 162, 77, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ai-send:hover {
  transform: translateY(-2px) rotate(-8deg);
  box-shadow: 0 14px 26px rgba(201, 162, 77, 0.34);
}

.ai-send svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-action-row {
  padding: 0 1rem 0.85rem;
}

.ai-soft-action {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  color: #ffffff;
  background: linear-gradient(135deg, #16883f, #0f6d34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(14, 87, 44, 0.24);
  font-weight: 850;
}

.ai-soft-action svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-lead-card {
  margin: 0 1rem 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(201, 162, 77, 0.55);
  border-radius: 18px;
}

.ai-lead-card summary {
  padding: 0.78rem 0.9rem;
  color: var(--maroon);
  background: rgba(201, 162, 77, 0.13);
  font-weight: 900;
  cursor: pointer;
}

.wa-form {
  padding: 0.9rem;
}

.wa-form textarea {
  min-height: 76px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.business-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 77, 0.42);
  border-radius: var(--radius);
  background: rgba(201, 162, 77, 0.42);
}

.business-strip div {
  padding: 1rem;
  background: rgba(255, 248, 231, 0.92);
}

.business-strip strong {
  display: block;
  color: var(--maroon);
}

.notice {
  padding: 1rem;
  color: var(--maroon);
  background: rgba(201, 162, 77, 0.16);
  border: 1px solid rgba(201, 162, 77, 0.55);
  border-radius: var(--radius);
  font-weight: 800;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes royalPattern {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 108px 108px;
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.7);
  }
  45% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 18px rgba(255, 255, 255, 0.18),
      0 0 0 7px rgba(201, 162, 77, 0.16),
      0 14px 30px rgba(9, 88, 41, 0.38);
  }
  50% {
    box-shadow:
      inset 0 0 24px rgba(255, 255, 255, 0.24),
      0 0 0 13px rgba(201, 162, 77, 0.04),
      0 16px 36px rgba(9, 88, 41, 0.45);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes orbRipple {
  0% {
    opacity: 0.72;
    transform: scale(0.74);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@keyframes orbRing {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sparkleDrift {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(0, 0) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(4px, -6px) scale(1.18);
  }
}

@keyframes labelBreathe {
  0%,
  100% {
    opacity: 0.88;
    transform: translateX(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-4px) scale(1.02);
  }
}

@keyframes panelMorph {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelShimmer {
  0%,
  65% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (max-width: 1100px) {
  .nav-shell {
    width: min(100% - 1.4rem, var(--max));
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-nav.is-open {
    position: absolute;
    top: var(--header-height);
    right: 0.7rem;
    left: 0.7rem;
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem;
    background: rgba(53, 8, 17, 0.98);
    border: 1px solid rgba(201, 162, 77, 0.4);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
  }

  .site-nav.is-open .nav-link {
    padding: 0.85rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual-card {
    position: relative;
    width: 100%;
  }

  .hero-note {
    right: 1.5rem;
    bottom: 1.5rem;
  }

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

  .footer-shell,
  .section-header,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding: 3.6rem 0 2.8rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .hero-actions,
  .trust-line {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .section-tight {
    padding: 3rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .product-grid,
  .stat-grid,
  .business-strip,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 230px;
    background-size: 170%;
  }

  .footer-bottom {
    display: grid;
  }

  .wa-bot {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .wa-launcher {
    width: 82px;
    height: 82px;
  }

  .wa-icon {
    width: 58px;
    height: 58px;
  }

  .ai-orb-label {
    display: none;
  }

  .wa-panel {
    max-height: min(76vh, 720px);
  }

  .ai-chat-log {
    max-height: 260px;
  }

  .ai-suggestions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .ai-quick-orb {
    min-height: 48px;
    font-size: 0.78rem;
  }

  .ai-quick-icon {
    width: 31px;
    height: 31px;
    font-size: 0.68rem;
  }
}

@media (max-width: 520px) {
  .hero-shell,
  .section-shell,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 1.1rem, var(--max));
  }

  .nav-shell {
    width: min(100% - 1rem, var(--max));
  }

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

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-note,
  .image-caption {
    position: static;
    max-width: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .hero-visual-card {
    padding: 0.65rem;
  }

  .wa-panel {
    width: min(380px, calc(100vw - 1rem));
    max-height: 74vh;
    border-radius: 20px;
  }

  .wa-launcher {
    width: 74px;
    height: 74px;
  }

  .wa-icon {
    width: 52px;
    height: 52px;
  }

  .ai-orb-core svg {
    width: 1.32rem;
    height: 1.32rem;
  }

  .ai-orb-core b {
    width: 20px;
    height: 20px;
    font-size: 0.56rem;
  }

  .ai-chat-log {
    max-height: 205px;
    padding: 0.85rem;
  }

  .ai-message span {
    max-width: 92%;
    font-size: 0.86rem;
  }

  .wa-panel-head {
    padding: 0.85rem;
  }

  .ai-head-avatar {
    width: 42px;
    height: 42px;
  }

  .ai-suggestions {
    padding: 0 0.85rem 0.75rem;
  }

  .ai-quick-orb {
    min-height: 46px;
    padding: 0.48rem 0.56rem;
    border-radius: 14px;
    font-size: 0.74rem;
  }

  .ai-quick-icon {
    width: 29px;
    height: 29px;
    font-size: 0.64rem;
  }

  .ai-chat-input,
  .ai-action-row {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .ai-lead-card {
    margin-right: 0.85rem;
    margin-left: 0.85rem;
  }
}

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