/* =========================================================
   ARIGATU CHOCOLATE & CARDAMOM — GLOBAL DESIGN SYSTEM
   ========================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --chocolate-dark:    #1a0a00;
  --chocolate-deep:    #2d1200;
  --chocolate-rich:    #4b1f00;
  --chocolate-warm:    #7b3f1e;
  --chocolate-mid:     #a0522d;
  --chocolate-light:   #d4874a;
  --cocoa-cream:       #f5e6d3;
  --cocoa-pale:        #fdf6ee;

  --cardamom-dark:     #0a2510;
  --cardamom-deep:     #133a1c;
  --cardamom-rich:     #1e5c2c;
  --cardamom-mid:      #2e8b45;
  --cardamom-light:    #52c068;
  --cardamom-pale:     #d4f0da;

  --gold:              #c9a84c;
  --gold-light:        #e8cb7a;
  --gold-pale:         #fdf3d8;

  --text-primary:      #1a0a00;
  --text-secondary:    #5a3a22;
  --text-muted:        #9a7055;
  --text-light:        #fdf6ee;

  --bg-primary:        #fdf6ee;
  --bg-dark:           #1a0a00;

  --shadow-sm:  0 2px 8px rgba(74,31,0,.12);
  --shadow-md:  0 8px 30px rgba(74,31,0,.18);
  --shadow-lg:  0 20px 60px rgba(74,31,0,.25);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --transition: .35s cubic-bezier(.4,0,.2,1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cocoa-pale); }
::-webkit-scrollbar-thumb { background: var(--chocolate-warm); border-radius: 4px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,10,0,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,.25);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.4); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.nav-brand span { color: var(--cocoa-cream); font-size: .75rem; font-family: var(--font-body); display: block; letter-spacing: .12em; text-transform: uppercase; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  position: relative;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem;
  color: var(--cocoa-cream);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: none;
}
.nav-link:hover,
.nav-link.active { color: var(--gold); background: rgba(201,168,76,.12); }

.nav-link .arrow {
  font-size: .65rem;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-item:hover > .nav-link .arrow { transform: rotate(180deg); }

/* Level 2 Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,10,0,.97);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-md);
  padding: .5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  list-style: none;
  backdrop-filter: blur(20px);
}
.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item { position: relative; }
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  color: var(--cocoa-cream);
  font-size: .88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.dropdown-link:hover { color: var(--gold); background: rgba(201,168,76,.12); }

/* Level 3 Dropdown */
.dropdown-sub {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  background: rgba(30,15,0,.98);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-md);
  padding: .5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  list-style: none;
}
.dropdown-item:hover > .dropdown-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.dropdown-sub-link {
  display: block;
  padding: .55rem 1rem;
  color: var(--cocoa-cream);
  font-size: .85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown-sub-link:hover { color: var(--gold); background: rgba(201,168,76,.12); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cocoa-cream);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(20,8,0,.98);
  z-index: 999;
  overflow-y: auto;
  max-height: calc(100vh - 70px);
  border-top: 1px solid rgba(201,168,76,.2);
}
.mobile-nav.open { display: block; }
.mobile-nav-item { border-bottom: 1px solid rgba(201,168,76,.1); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  color: var(--cocoa-cream);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active-mobile { color: var(--gold); background: rgba(201,168,76,.08); }
.mobile-sub {
  display: none;
  background: rgba(10,4,0,.6);
}
.mobile-sub.open { display: block; }
.mobile-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 2.5rem;
  color: #d4c4b0;
  font-size: .9rem;
  cursor: pointer;
  border-top: 1px solid rgba(201,168,76,.08);
  transition: color var(--transition);
}
.mobile-sub-link:hover { color: var(--gold); }
.mobile-deep {
  display: none;
  background: rgba(5,2,0,.5);
}
.mobile-deep.open { display: block; }
.mobile-deep-link {
  display: block;
  padding: .7rem 4rem;
  color: #b4a090;
  font-size: .85rem;
  border-top: 1px solid rgba(201,168,76,.06);
  transition: color var(--transition);
}
.mobile-deep-link:hover { color: var(--gold-light); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,10,0,.85) 0%,
    rgba(45,18,0,.6) 50%,
    rgba(19,58,28,.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1.2rem;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 100px;
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown .8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s .2s ease both;
}
.hero h1 .accent { color: var(--gold); }
.hero h1 .accent-green { color: var(--cardamom-light); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.8);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp .8s .35s ease both;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp .8s .5s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.4);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gold);
  color: var(--chocolate-dark);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 8px 25px rgba(201,168,76,.4); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-green {
  background: var(--cardamom-mid);
  color: #fff;
  border-color: var(--cardamom-mid);
}
.btn-green:hover { background: var(--cardamom-rich); box-shadow: 0 8px 25px rgba(46,139,69,.4); transform: translateY(-2px); }

.btn-dark {
  background: var(--chocolate-deep);
  color: var(--cocoa-cream);
  border-color: var(--chocolate-rich);
}
.btn-dark:hover { background: var(--chocolate-rich); transform: translateY(-2px); }

.btn-sm { padding: .55rem 1.3rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* =========================================================
   SECTIONS LAYOUT
   ========================================================= */
.section {
  padding: 5rem 2rem;
}
.section-alt { background: var(--cocoa-pale); }
.section-dark {
  background: var(--chocolate-deep);
  color: var(--cocoa-cream);
}
.section-green {
  background: var(--cardamom-dark);
  color: var(--cocoa-cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-eyebrow.green { color: var(--cardamom-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-dark .section-title,
.section-green .section-title { color: var(--cocoa-cream); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-dark .section-subtitle,
.section-green .section-subtitle { color: rgba(253,246,238,.7); }

/* =========================================================
   CARDS
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(180,140,100,.12);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(201,168,76,.15);
  color: var(--cocoa-cream);
}
.card-green {
  background: rgba(30,92,44,.6);
  border-color: rgba(82,192,104,.2);
  color: var(--cocoa-cream);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.card-tag.green { color: var(--cardamom-light); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.card-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}
.card-dark .card-text,
.card-green .card-text { color: rgba(253,246,238,.7); }

.card-price {
  font-size: .85rem;
  font-weight: 600;
  color: var(--chocolate-warm);
  margin-bottom: 1rem;
}
.card-dark .card-price { color: var(--gold-light); }
.card-green .card-price { color: var(--cardamom-light); }

.card-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(0,0,0,.06); display: flex; gap: .75rem; align-items: center; }
.card-dark .card-footer { border-color: rgba(255,255,255,.08); }

/* Feature icon card */
.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.12);
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(201,168,76,.08);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,.3);
}
.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
.feature-desc {
  font-size: .88rem;
  color: rgba(253,246,238,.6);
  line-height: 1.6;
}

/* =========================================================
   PRODUCT GALLERY STRIP
   ========================================================= */
.products-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* =========================================================
   HERO IMAGE SPLIT
   ========================================================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =========================================================
   ACCORDION
   ========================================================= */
.accordion { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(201,168,76,.2); }
.accordion-item { border-bottom: 1px solid rgba(201,168,76,.12); }
.accordion-item:last-child { border-bottom: none; }
.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: rgba(201,168,76,.04);
  transition: background var(--transition);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cocoa-cream);
}
.accordion-head:hover { background: rgba(201,168,76,.1); }
.accordion-head .acc-icon {
  font-size: .8rem;
  transition: transform var(--transition);
  color: var(--gold);
}
.accordion-item.open .acc-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding var(--transition);
}
.accordion-item.open .accordion-body { max-height: 600px; }
.accordion-content {
  padding: .75rem 1.5rem 1.5rem;
  color: rgba(253,246,238,.75);
  font-size: .93rem;
  line-height: 1.75;
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 1.75rem 1.2rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,168,76,.15);
  counter-increment: step;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover { background: rgba(201,168,76,.08); transform: translateY(-4px); }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .75rem;
}
.step-icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.step-title { font-weight: 600; font-size: .95rem; color: var(--cocoa-cream); margin-bottom: .4rem; }
.step-desc { font-size: .82rem; color: rgba(253,246,238,.55); line-height: 1.5; }

/* =========================================================
   FORMS
   ========================================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: .45rem;
  letter-spacing: .02em;
}
.form-control {
  width: 100%;
  padding: .85rem 1.1rem;
  background: #fff;
  border: 1.5px solid rgba(160,82,45,.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-primary);
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-control::placeholder { color: #bba890; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0522d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,168,76,.2);
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================================
   ADMIN
   ========================================================= */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  padding-top: 70px;
}
.admin-sidebar {
  background: var(--chocolate-dark);
  border-right: 1px solid rgba(201,168,76,.15);
  padding: 2rem 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}
.admin-sidebar-title {
  padding: 0 1.5rem 1rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(201,168,76,.6);
  font-weight: 600;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  color: rgba(253,246,238,.7);
  font-size: .93rem;
  transition: all var(--transition);
  cursor: pointer;
}
.admin-nav-link:hover,
.admin-nav-link.active { color: var(--gold); background: rgba(201,168,76,.1); border-left: 3px solid var(--gold); }
.admin-main { padding: 2.5rem; background: var(--cocoa-pale); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table th {
  background: var(--chocolate-deep);
  color: var(--gold);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .83rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .92rem;
}
.admin-table tr:hover td { background: rgba(201,168,76,.04); }
.admin-table input {
  width: 100%;
  padding: .5rem .75rem;
  border: 1.5px solid rgba(160,82,45,.2);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
}
.admin-table input:focus { border-color: var(--gold); }

.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.badge-available { background: rgba(46,139,69,.15); color: #1e5c2c; }
.badge-unavailable { background: rgba(180,50,50,.12); color: #8b1a1a; }

/* =========================================================
   MODAL / POPUP
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 460px;
  width: calc(100% - 2rem);
  text-align: center;
  transform: scale(.92);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-icon { font-size: 4rem; margin-bottom: 1rem; }
.modal-title { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: .75rem; color: var(--chocolate-deep); }
.modal-text { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.65; }

/* =========================================================
   LOGIN
   ========================================================= */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chocolate-dark);
  background-image: radial-gradient(circle at 30% 50%, rgba(75,31,0,.5) 0%, transparent 70%),
                    radial-gradient(circle at 70% 80%, rgba(19,58,28,.4) 0%, transparent 60%);
  padding: 2rem;
  padding-top: 90px;
}
.login-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
}
.login-logo {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}
.login-logo span { display: block; font-size: .8rem; font-family: var(--font-body); color: rgba(253,246,238,.6); letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.login-card .form-label { color: rgba(253,246,238,.8); }
.login-card .form-control { background: rgba(255,255,255,.06); border-color: rgba(201,168,76,.2); color: var(--cocoa-cream); }
.login-card .form-control:focus { border-color: var(--gold); background: rgba(255,255,255,.1); }
.login-card .form-control::placeholder { color: rgba(253,246,238,.3); }
.login-error { color: #e57373; font-size: .88rem; margin-top: .5rem; display: none; }
.login-error.show { display: block; }

/* =========================================================
   BANNER / CTA STRIP
   ========================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--chocolate-rich), var(--chocolate-deep) 50%, var(--cardamom-dark));
  padding: 4rem 2rem;
  text-align: center;
}
.cta-strip h2 { font-family: var(--font-display); font-size: 2.2rem; color: #fff; margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,.7); max-width: 550px; margin: 0 auto 2rem; }

/* =========================================================
   STATISTIC COUNTER
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item { padding: 1.5rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label { font-size: .85rem; color: rgba(253,246,238,.6); text-transform: uppercase; letter-spacing: .1em; }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--chocolate-dark);
  color: rgba(253,246,238,.7);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {}
.footer-brand-name { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); margin-bottom: .5rem; }
.footer-tagline { font-size: .88rem; line-height: 1.65; margin-bottom: 1.5rem; }
.footer-col-title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: .83rem;
  color: rgba(253,246,238,.4);
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
}

/* =========================================================
   PAGE HEADER BANNER
   ========================================================= */
.page-header {
  padding: 8rem 2rem 4rem;
  background: var(--chocolate-deep);
  background-image: linear-gradient(135deg, var(--chocolate-dark) 0%, var(--chocolate-rich) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.1) 0%, transparent 70%);
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; margin-bottom: .75rem; }
.page-header p { color: rgba(253,246,238,.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .84rem;
  color: rgba(253,246,238,.5);
  margin-bottom: 1.5rem;
}
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb span::before { content: '/'; margin-right: .5rem; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   KNOWLEDGE PORTAL
   ========================================================= */
.knowledge-tab-bar {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid rgba(201,168,76,.2);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.knowledge-tab {
  padding: .85rem 1.75rem;
  font-weight: 600;
  font-size: .93rem;
  color: rgba(253,246,238,.6);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.knowledge-tab:hover { color: var(--gold); background: rgba(201,168,76,.06); }
.knowledge-tab.active { color: var(--gold); border-color: var(--gold); }
.knowledge-pane { display: none; }
.knowledge-pane.active { display: block; animation: fadeIn .5s ease; }

.journey-timeline {
  position: relative;
  padding-left: 2.5rem;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  left: .85rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--cardamom-mid));
}
.journey-step {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}
.journey-step::before {
  content: '';
  position: absolute;
  left: -1.7rem;
  top: .4rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--chocolate-dark);
}
.journey-step h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold); margin-bottom: .4rem; }
.journey-step p { font-size: .9rem; color: rgba(253,246,238,.7); line-height: 1.7; }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  animation: pop 2.5s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =========================================================
   AVAILABILITY TOGGLE
   ========================================================= */
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: .5rem;
}
.toggle-switch input { display: none; }
.toggle-track {
  width: 44px; height: 24px;
  background: #ccc;
  border-radius: 12px;
  position: relative;
  transition: background var(--transition);
}
.toggle-switch input:checked + .toggle-track { background: var(--cardamom-mid); }
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle-switch input:checked + .toggle-track .toggle-thumb { left: 22px; }
.toggle-label { font-size: .85rem; font-weight: 500; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse { direction: ltr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 1.25rem; }
  .page-header { padding: 7rem 1.25rem 3rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat-number { font-size: 2.2rem; }
  .btn { padding: .7rem 1.5rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .admin-main { padding: 1.25rem; }
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--cardamom-light); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Colored section dividers */
.divider-gold { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto; max-width: 120px; border: none; border-radius: 2px; }
.divider-green { height: 3px; background: linear-gradient(90deg, transparent, var(--cardamom-mid), transparent); margin: 0 auto; max-width: 120px; border: none; border-radius: 2px; }
