:root {
  --plum: #411e6d;
  --plum-deep: #2a1246;
  --plum-ink: #1c0c30;
  --gold: #c9a04a;
  --gold-deep: #7a5a16;
  --gold-soft: #f3e6c4;
  --ivory: #f6f0e6;
  --paper: #fffcf7;
  --ink: #2a1836;
  --muted: #5c4d68;
  --line: rgba(201, 160, 74, 0.45);
  --shadow: 0 18px 40px rgba(42, 18, 70, 0.08);
  --nav-h: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

header[id],
section[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.9;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.brand-text strong,
.occasion-index,
.step-card span {
  font-family: "El Messiri", "Cairo", serif;
  font-weight: 700;
  line-height: 1.35;
}

h1,
h2,
h3 {
  color: var(--plum);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--plum);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(14px);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
  transition: box-shadow 0.25s ease;
}

.site-nav.is-stuck {
  box-shadow: 0 10px 28px rgba(42, 18, 70, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-inline-end: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--plum);
  font-size: 1.25rem;
}

.brand-text small {
  color: var(--gold-deep);
  font-weight: 700;
}

.nav-link {
  color: var(--plum-deep);
  font-weight: 700;
  padding-inline: 0.85rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--gold-deep);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--plum);
  font-weight: 800;
  text-decoration: none;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-deep);
}

.btn {
  font-weight: 800;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
}

.btn-gold {
  background: linear-gradient(180deg, #e7cb7a 0%, #c9a04a 48%, #a88432 100%);
  color: var(--plum-ink);
  border: 0;
  box-shadow: 0 10px 22px rgba(168, 132, 50, 0.28);
}

.btn-gold:hover,
.btn-gold:focus {
  color: var(--plum-ink);
  filter: brightness(1.05);
}

.btn-plum-outline,
.btn-card {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid var(--plum);
}

.btn-plum-outline:hover,
.btn-card:hover,
.btn-plum-outline:focus,
.btn-card:focus {
  background: var(--plum);
  color: var(--gold-soft);
  border-color: var(--plum);
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline: 0;
  box-shadow: 0 0 0 0.22rem rgba(201, 160, 74, 0.35);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2.2rem) 0 3.2rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 160, 74, 0.2), transparent 32%),
    radial-gradient(circle at 8% 80%, rgba(65, 30, 109, 0.08), transparent 28%),
    var(--ivory);
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -80px;
  bottom: -90px;
  background: url("../images/mark.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.logo-wrap,
.about-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.logo-wrap img,
.about-panel img,
.footer-logo img {
  display: block;
  width: min(100%, 440px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  color: var(--gold-deep);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  margin-bottom: 0.8rem;
  max-width: 14ch;
}

.hero-lead,
.section-head p,
.about-list,
.product-card p,
.occasion-card p,
.step-card p,
.contact-aside p,
.order-form > p,
.site-footer p {
  color: var(--muted);
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1.1rem;
}

.hero-phone {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}

.hero-phone span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-phone strong {
  color: var(--plum);
  font-size: 1.35rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.4rem 0 0;
  position: relative;
}

.hero-facts li {
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--plum);
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.95rem;
}

.marquee {
  overflow: hidden;
  direction: ltr;
  background: var(--plum);
  color: var(--gold-soft);
  border-block: 1px solid rgba(243, 230, 196, 0.25);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: ticker 32s linear infinite;
  font-family: "El Messiri", "Cairo", serif;
  font-size: 1.2rem;
}

.marquee-track span {
  direction: rtl;
}

.marquee-track i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 5rem 0;
}

.section-warm {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.4), rgba(243, 230, 196, 0.28));
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}

.section-head.text-start {
  margin-inline: 0;
  text-align: start;
}

.section-head h2,
.contact-aside h2,
.order-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.6rem;
}

.about-list li {
  position: relative;
  padding-inline-start: 1.7rem;
  margin-bottom: 0.55rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.product-card,
.step-card,
.order-form {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.product-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 1rem;
  color: var(--gold-deep);
  background: var(--gold-soft);
}

.product-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3,
.occasion-card h3,
.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.product-card p {
  flex: 1;
}

.btn-card {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.fine-print {
  margin: 1.6rem 0 0;
  text-align: center;
  color: var(--muted);
}

.band-plum {
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 160, 74, 0.18), transparent 26%),
    var(--plum-deep);
}

.section-head.light h2,
.section-head.light p {
  color: var(--gold-soft);
}

.section-head.light .eyebrow {
  color: var(--gold);
}

.occasion-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 252, 247, 0.08);
  border: 1px solid rgba(243, 230, 196, 0.28);
}

.occasion-index {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 1.4rem;
}

.occasion-card h3 {
  color: white;
}

.occasion-card p {
  color: rgba(246, 240, 230, 0.82);
  margin: 0;
}

.step-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold-soft);
  font-size: 1.3rem;
}

.contact-aside {
  height: 100%;
  padding: 1.7rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 160, 74, 0.22), transparent 34%),
    var(--plum);
  color: var(--gold-soft);
}

.contact-aside h2,
.contact-aside .eyebrow {
  color: white;
}

.contact-aside .eyebrow::before {
  background: var(--gold);
}

.contact-aside p {
  color: rgba(246, 240, 230, 0.86);
}

.aside-mark {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 0.6rem;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  background: rgba(255, 252, 247, 0.08);
  border: 1px solid rgba(243, 230, 196, 0.22);
}

.contact-line span {
  color: var(--gold);
}

.contact-line strong {
  color: white;
}

.contact-aside .btn {
  margin-top: 0.6rem;
}

.order-form h2 {
  margin-bottom: 0.3rem;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.form-label,
fieldset legend {
  float: none;
  width: auto;
  padding: 0;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: 0.9rem;
  border: 1px solid rgba(65, 30, 109, 0.16);
  background: white;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
}

textarea.form-control {
  min-height: 120px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  min-height: 42px;
  padding: 0.35rem 0.7rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid rgba(65, 30, 109, 0.1);
}

.form-check-input {
  float: none;
  margin: 0;
  accent-color: var(--plum);
}

.form-alert {
  margin-bottom: 0.7rem;
  color: #8a1f3a;
  font-weight: 700;
}

.site-footer {
  background: var(--plum-ink);
  color: rgba(246, 240, 230, 0.86);
  padding: 3.2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-logo {
  background: var(--paper);
  border-radius: 1.4rem;
  padding: 0.4rem;
}

.footer-logo img {
  width: min(100%, 230px);
}

.site-footer h2 {
  color: var(--gold-soft);
  font-size: 1.25rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 0.25rem;
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.copyright {
  margin: 1.8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 230, 196, 0.16);
  text-align: center;
  color: rgba(246, 240, 230, 0.68);
}

.wa-float {
  position: fixed;
  z-index: 1040;
  left: 1.1rem;
  bottom: 1.1rem;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1fa855;
  box-shadow: 0 12px 26px rgba(20, 90, 45, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.wa-float.is-away {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

.wa-float svg {
  width: 34px;
  height: 34px;
  fill: white;
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(31, 168, 85, 0.45);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  from { transform: scale(0.86); opacity: 0.8; }
  to { transform: scale(1.18); opacity: 0; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  :root {
    --nav-h: 82px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 1.6rem;
  }

  .logo-wrap {
    padding: 0.35rem;
  }

  .logo-wrap img,
  .about-panel img {
    width: min(100%, 250px);
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section {
    padding: 3.3rem 0;
  }

  .navbar-collapse {
    margin-top: 0.6rem;
    padding: 0.8rem;
    border-radius: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
  }

  .nav-tools {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.6rem;
  }

  .nav-phone {
    justify-content: center;
  }

  .hero-copy,
  .logo-wrap {
    text-align: center;
  }

  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .section-head.text-start {
    text-align: center;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .check-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .order-form .btn-gold {
    width: calc(100% - 4.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .marquee-track,
  .wa-float::after,
  .product-card {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
