@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --black: #dfd1bb;
  --graphite: #cab79b;
  --gold: #c9a24d;
  --gold-light: #b7862d;
  --gold-deep: #a67a2f;
  --btn-fill: linear-gradient(135deg, #8f6321, #a9782f);
  --btn-fill-hover: #7b531a;
  --btn-text: #1b120a;
  --gold-glow: rgba(230, 199, 123, 0.45);
  --cream: #eee3d2;
  --white: #211a14;
  --white-soft: rgba(33, 26, 20, 0.94);
  --border: rgba(136, 101, 58, 0.34);
  --shadow: 0 24px 60px rgba(52, 38, 23, 0.3);
  --shadow-soft: 0 16px 38px rgba(52, 38, 23, 0.24);
  --surface: rgba(241, 230, 213, 0.66);
  --surface-strong: rgba(243, 233, 218, 0.8);
  --stroke: rgba(112, 89, 62, 0.3);
  --nav-bg: var(--card-bg);
  --card-bg: linear-gradient(155deg, rgba(248, 239, 223, 0.58), rgba(201, 162, 77, 0.18), rgba(68, 50, 29, 0.22));
  --page-bg: radial-gradient(circle at 10% 10%, rgba(201, 162, 77, 0.16), transparent 45%),
    radial-gradient(circle at 70% 0%, rgba(255, 255, 255, 0.26), transparent 45%),
    linear-gradient(180deg, #ede3d2 0%, #d9c9b0 45%, #c9b59a 100%);
  --nav-shadow: 0 12px 26px rgba(52, 38, 23, 0.42);
  --overlay-bg: radial-gradient(circle at 15% 20%, rgba(201, 162, 77, 0.2), transparent 45%),
    linear-gradient(120deg, rgba(237, 226, 206, 0.76), rgba(212, 190, 160, 0.55) 55%, rgba(237, 226, 206, 0.72));
  --hero-overlay: linear-gradient(120deg, rgba(236, 224, 205, 0.74) 10%, rgba(205, 180, 148, 0.34) 55%, rgba(216, 196, 171, 0.72) 100%);
  --categories-bg: radial-gradient(circle at 15% 20%, rgba(201, 162, 77, 0.22), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(241, 230, 213, 0.88), rgba(216, 196, 171, 0.9));
  --input-bg: rgba(244, 234, 217, 0.74);
  --footer-bg: var(--nav-bg);
  --menu-bg: rgba(234, 220, 200, 0.95);
  --video-filter: brightness(0.78) saturate(1.08);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --black: #0b0b0b;
  --graphite: #121212;
  --cream: #f6f1e5;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.85);
  --border: rgba(201, 162, 77, 0.35);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.35);
  --surface: rgba(12, 12, 12, 0.7);
  --surface-strong: rgba(18, 18, 18, 0.88);
  --stroke: rgba(255, 255, 255, 0.16);
  --nav-bg: linear-gradient(120deg, rgba(20, 12, 2, 0.96), rgba(6, 6, 6, 0.92) 55%, rgba(18, 10, 2, 0.95));
  --card-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(201, 162, 77, 0.08), rgba(0, 0, 0, 0.45));
  --page-bg: radial-gradient(circle at 10% 10%, rgba(201, 162, 77, 0.12), transparent 40%),
    radial-gradient(circle at 70% 0%, rgba(246, 241, 229, 0.08), transparent 45%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 40%, #070707 100%);
  --nav-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  --overlay-bg: radial-gradient(circle at 15% 20%, rgba(201, 162, 77, 0.2), transparent 45%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.75));
  --hero-overlay: linear-gradient(120deg, rgba(0, 0, 0, 0.55) 10%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.65) 100%);
  --categories-bg: radial-gradient(circle at 15% 20%, rgba(201, 162, 77, 0.22), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(6, 6, 6, 0.98));
  --input-bg: rgba(10, 10, 10, 0.6);
  --footer-bg: var(--nav-bg);
  --menu-bg: rgba(0, 0, 0, 0.95);
  --video-filter: brightness(0.6) saturate(1.1);
  --btn-fill: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
  --btn-fill-hover: var(--gold-deep);
  --btn-text: #2a1f11;
  color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page-bg);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

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

/* =========================
   NAV BAR
========================= */
.nav-bar {
  width: 100%;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: var(--nav-shadow);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
}

.logo img,
.brand img,
.auth-logo {
  height: 120px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  padding: 10px 16px;
  border-radius: 26px;
  background: var(--card-bg);
  border: 1px solid rgba(201, 162, 77, 0.4);
  box-shadow: 0 18px 40px rgba(69, 55, 40, 0.28), 0 0 0 1px rgba(201, 162, 77, 0.25) inset;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links li a {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 10px 0;
  transition: color 0.3s ease;
  position: relative;
}

:root:not([data-theme="dark"]) .nav-links li a {
  color: #6f471b;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold-light);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  width: 44px;
  height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
  align-self: flex-end;
}

/* =========================
   HERO VIDEO
========================= */
.site-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: var(--video-filter);
}

.site-bg-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: -1;
  pointer-events: none;
}

.intro-vid {
  width: 100%;
  height: clamp(560px, 90vh, 860px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.intro-vid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: clamp(32px, 8vw, 96px);
  z-index: 2;
  max-width: 980px;
  animation: fadeUp 1.2s ease both;
}

.hero-panel {
  max-width: 680px;
  width: min(92%, 680px);
  padding: clamp(22px, 3.5vw, 34px);
  border-radius: 26px;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  box-shadow: 0 26px 50px rgba(69, 55, 40, 0.2);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 18px;
}

.hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-shadow: 0 10px 24px rgba(69, 55, 40, 0.2);
}

.hero-copy {
  font-size: 1.02rem;
  color: var(--white-soft);
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  color: var(--gold-light);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 900px) {
  .btn {
    min-height: 42px;
    padding: 11px 20px;
    font-size: 0.82rem;
    letter-spacing: 1.1px;
  }
}

.btn.primary {
  background: var(--gold-light);
  color: #2b2620;
  box-shadow: 0 18px 40px rgba(239, 200, 117, 0.35), 0 0 0 1px rgba(250, 205, 107, 0.5);
}

.btn.primary:hover {
  background: var(--gold-light);
  color: #2b2620;
  transform: none;
}

.btn.ghost {
  background: var(--card-bg);
  border: 1px solid rgba(201, 162, 77, 0.28);
  color: var(--white);
}

.btn.ghost:hover {
  background: var(--card-bg);
  border-color: rgba(201, 162, 77, 0.28);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 6px;
  color: var(--white);
}

.hero-stats .stat {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
}

.hero-stats .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white-soft);
}

/* =========================
   SECTIONS
========================= */
section {
  padding: clamp(70px, 8vw, 110px) 20px;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 77, 0.35), transparent);
  opacity: 0.6;
}

.about,
.showcase,
.categories,
.process,
.order,
.contact {
  max-width: 1100px;
  margin: auto;
}

.about h2,
.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--white-soft);
  max-width: 700px;
}

/* =========================
   ABOUT
========================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.about-copy p {
  font-size: 1rem;
  color: var(--white-soft);
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  gap: 16px;
}

.highlight-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid rgba(166, 122, 47, 0.18);
  box-shadow: var(--shadow-soft);
}

.highlight-card h3 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.highlight-card p {
  color: var(--white-soft);
  font-size: 0.95rem;
}

/* =========================
   SHOWCASE
========================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid rgba(166, 122, 47, 0.2);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(69, 55, 40, 0.25);
  border-color: rgba(230, 199, 123, 0.5);
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(230, 199, 123, 0.55), rgba(201, 162, 77, 0.08), rgba(230, 199, 123, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.showcase-media {
  height: clamp(280px, 35vw, 420px);
  border-radius: 18px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(166, 122, 47, 0.2);
  background-color: rgba(255, 255, 255, 0.04);
}

.showcase-body h3 {
  font-size: 1.15rem;
  color: var(--white);
}

.showcase-body p {
  font-size: 0.95rem;
  color: var(--white-soft);
}

/* =========================
   CATEGORIES
========================= */
.categories {
  background: var(--card-bg);
  border-radius: 34px;
  padding: clamp(80px, 9vw, 120px) clamp(18px, 4vw, 40px);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 77, 0.12), 0 30px 80px rgba(69, 55, 40, 0.2);
}

.categories::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 30px;
  border: 1px solid rgba(201, 162, 77, 0.18);
  pointer-events: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid rgba(166, 122, 47, 0.2);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(18px);
}

.category-card::before {
  content: none;
}

.category-card::after {
  content: none;
}

.category-card h3 {
  font-size: 1.15rem;
  color: var(--white);
}

.category-card p {
  color: var(--white-soft);
  font-size: 0.96rem;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 199, 123, 0.5);
  box-shadow: 0 26px 60px rgba(69, 55, 40, 0.25);
}

.category-card:hover::after {
  content: none;
}

.category-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2b2620;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.category-features {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-left: 0;
  color: var(--white-soft);
  font-size: 0.9rem;
}

.category-features li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.category-features li::before {
  content: none;
}

.category-link {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #2b2620;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-link::after {
  content: "->";
  transition: transform 0.3s ease;
}

.category-link:hover {
  color: #2b2620;
}

.category-link:hover::after {
  transform: none;
}

.categories.reveal.visible .category-card {
  animation: cardRise 0.85s ease both;
}

.categories.reveal.visible .category-card:nth-child(1) { animation-delay: 0.05s; }
.categories.reveal.visible .category-card:nth-child(2) { animation-delay: 0.12s; }
.categories.reveal.visible .category-card:nth-child(3) { animation-delay: 0.19s; }
.categories.reveal.visible .category-card:nth-child(4) { animation-delay: 0.26s; }
.categories.reveal.visible .category-card:nth-child(5) { animation-delay: 0.33s; }
.categories.reveal.visible .category-card:nth-child(6) { animation-delay: 0.4s; }

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

/* =========================
   PROCESS
========================= */
.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 77, 0.28);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(230, 199, 123, 0.45), rgba(201, 162, 77, 0.1), rgba(230, 199, 123, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
}

.step span {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--white-soft);
  font-size: 0.95rem;
}

/* =========================
   ORDER
========================= */
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.order-info h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.order-info p {
  color: var(--white-soft);
  margin-bottom: 16px;
}

.order-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-left: 0;
  color: var(--white-soft);
  font-size: 0.95rem;
}

.order-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.18);
}

/* =========================
   ORDER FORM
========================= */
.order-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

.order-form input,
.order-form textarea {
  background: var(--input-bg);
  border: 1px solid rgba(166, 122, 47, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: rgba(201, 162, 77, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.18);
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: var(--white-soft);
}

.form-note {
  font-size: 0.8rem;
  color: var(--white-soft);
  text-align: center;
}

/* =========================
   CONTACT
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 77, 0.25);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  color: var(--gold-light);
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--white-soft);
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 40px 20px 30px;
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.footer-links a[href="dashboard/login.html"] {
  color: var(--gold-deep);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1.4px;
  transition: color 0.3s ease;
}

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

.footer-links a[href="dashboard/login.html"]:hover {
  color: var(--gold-light);
  text-decoration: none;
}

/* =========================
   REVEAL ANIMATION
========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .site-bg-video {
    display: none;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
  .hero-content {
    padding: clamp(28px, 7vw, 70px);
  }

  .hero-panel {
    max-width: 100%;
  }

  .about-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid,
  .category-grid,
  .process-track,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 54px;
    right: 0;
    width: min(88vw, 260px);
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--menu-bg);
    border: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 16px;
  }

  .nav-links.show {
    max-height: 520px;
    padding: 12px 16px;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    padding: 12px 0;
    font-size: 12px;
  }

  .intro-vid {
    height: auto;
    min-height: 520px;
  }

  .hero-content {
    max-width: 100%;
    position: relative;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .theme-toggle {
    font-size: 0.64rem;
    letter-spacing: 0.9px;
    padding: 7px 11px;
  }

  section {
    padding: 70px 18px;
  }
}

@media (max-width: 640px) {
  .intro-vid {
    min-height: 0;
    padding-top: 20px;
  }
}

.theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 162, 77, 0.45);
  box-shadow: 0 10px 22px rgba(69, 55, 40, 0.18);
}

@media (max-width: 520px) {
  .logo img,
  .brand img,
  .auth-logo {
    height: 95px;
    padding: 8px 12px;
    border-radius: 22px;
  }

  .hero-content {
    padding: 26px 18px;
  }

  .hero-panel {
    border-radius: 20px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    min-height: 44px;
    width: auto;
    max-width: 240px;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .nav-container {
    padding: 10px 12px;
  }

  nav {
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }

  .nav-links {
    top: 48px;
    right: 0;
  }
}


/* Centered button alignment overrides */
.hero-actions {
  justify-content: center;
}

.order-form .btn,
.order-form button {
  justify-self: center;
  margin-inline: auto;
}
