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

/* --- CUSTOM VARIABLES --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #faf9f6; /* Warm Alabaster/Ivory */
  --bg-tertiary: #f3f1eb; /* Soft Warm Grey */
  
  --color-gold-light: #ebdcc5;
  --color-gold: #c29f68; /* Champagne Brass */
  --color-gold-dark: #8c6e40;
  
  --color-accent: #1a1a1a; /* Editorial Charcoal */
  --color-accent-light: #5a5a5a;
  
  --color-success: #5f7464; /* Soft Sage Green */
  --color-error: #b25d5d;
  
  --text-primary: #1c1917; /* Off-black */
  --text-secondary: #57534e; /* Dark Warm Grey */
  --text-muted: #a8a29e; /* Light Warm Grey */
  
  --card-border: 1px solid #e7e5e0;
  --card-shadow: 0 4px 20px rgba(28, 25, 23, 0.04);
  --card-shadow-hover: 0 10px 30px rgba(28, 25, 23, 0.08);
  
  --font-ui: 'Outfit', sans-serif;
  --font-display: 'Cinzel', serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --border-radius-lg: 12px;
  --border-radius-md: 8px;
  --border-radius-sm: 4px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1, h2, h3, h4, .font-editorial {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 500;
  color: var(--text-primary);
}

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

li {
  list-style: none;
}

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

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* --- REUSABLE UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--bg-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background-color: var(--color-gold);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 159, 104, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  transform: translateY(-1px);
}

.card-clean {
  background-color: var(--bg-primary);
  border: var(--card-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.card-clean:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--color-gold-light);
}

/* --- NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eae6df;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-symbol {
  width: 28px;
  height: 28px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search {
  position: relative;
  display: none;
}

@media(min-width: 992px) {
  .nav-search {
    display: block;
  }
}

.nav-search input {
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  padding: 8px 16px 8px 36px;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 180px;
  transition: var(--transition-smooth);
}

.nav-search input:focus {
  outline: none;
  width: 240px;
  border-color: var(--color-gold);
  background-color: var(--bg-primary);
}

.nav-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  fill: var(--text-secondary);
  pointer-events: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

@media(max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  #openModalBtn {
    display: none;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding: 160px 0 80px 0;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid #eae6df;
}

.hero-subtitle {
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--color-gold-dark);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

@media(min-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-desc {
  max-width: 600px;
  margin: 0 auto 36px auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 60px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.stat-lbl {
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

@media(max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
}

/* --- CALCULATOR SECTION --- */
.calculator-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 14px;
}

.section-desc {
  max-width: 550px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media(min-width: 992px) {
  .calculator-wrapper {
    grid-template-columns: 1.2fr 1fr;
  }
}

.calculator-card {
  padding: 36px;
}

.calc-group {
  margin-bottom: 32px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.9rem;
}

.calc-val-bubble {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #eae6df;
}

/* Event Type Grid */
.event-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media(min-width: 480px) {
  .event-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.type-option {
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  border-radius: var(--border-radius-md);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.type-option svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: var(--transition-fast);
}

.type-option span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.type-option:hover {
  background-color: var(--bg-tertiary);
}

.type-option.active {
  background-color: #faf6f0;
  border-color: var(--color-gold-dark);
  box-shadow: 0 4px 12px rgba(140, 110, 64, 0.08);
}

.type-option.active svg {
  fill: var(--color-gold-dark);
}

.type-option.active span {
  color: var(--text-primary);
  font-weight: 600;
}

/* Slider */
.slider-container input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  outline: none;
  margin: 15px 0;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--color-gold-dark);
}

/* Toggle Option Switches */
.toggle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media(min-width: 576px) {
  .toggle-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.toggle-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.toggle-option:hover {
  background-color: var(--bg-tertiary);
}

.toggle-info {
  display: flex;
  flex-direction: column;
}

.toggle-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.toggle-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
  pointer-events: none;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1cbc4;
  transition: .2s;
  border-radius: 18px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .2s;
  border-radius: 50%;
}

.toggle-option.active {
  border-color: var(--color-gold-dark);
  background-color: #faf6f0;
  box-shadow: 0 4px 12px rgba(140, 110, 64, 0.08);
}

.toggle-option.active .slider {
  background-color: var(--color-gold);
}

.toggle-option.active .slider:before {
  transform: translateX(18px);
}

/* Results Allocation Card */
.results-card {
  padding: 36px;
  border: 1px solid #e2ded5;
}

.results-header {
  text-align: center;
  border-bottom: 1px solid #eae6df;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.results-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.total-budget-display {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cost-per-guest {
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  font-weight: 500;
}

.itemized-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.breakdown-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.breakdown-name {
  color: var(--text-secondary);
}

.breakdown-val {
  color: var(--text-primary);
  font-weight: 500;
}

.progress-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--text-primary);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar-fill.venue { background-color: var(--color-gold); }
.progress-bar-fill.catering { background-color: #5a5a5a; }
.progress-bar-fill.decor { background-color: #8fa093; }
.progress-bar-fill.admin { background-color: #c9b397; }

.results-cta {
  margin-top: 28px;
  width: 100%;
}

/* --- CHECKLIST SECTION --- */
.checklist-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid #eae6df;
  border-bottom: 1px solid #eae6df;
}

.checklist-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media(min-width: 992px) {
  .checklist-wrapper {
    grid-template-columns: 1fr 1.2fr;
  }
}

.checklist-visual-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.gauge-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-track {
  fill: none;
  stroke: var(--bg-tertiary);
  stroke-width: 8px;
}

.gauge-fill {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  transition: stroke-dashoffset 0.5s ease-out;
}

.gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-percent {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.gauge-lbl {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checklist-status-msg {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.checklist-status-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 260px;
}

.checklist-card {
  padding: 36px;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  padding: 14px 18px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.task-item:hover {
  background-color: var(--bg-tertiary);
}

.task-checkbox-mock {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--text-muted);
  border-radius: 2px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  background: transparent;
  flex-shrink: 0;
}

.task-checkbox-mock svg {
  width: 10px;
  height: 10px;
  fill: #fff;
  display: none;
}

.task-text-container {
  display: flex;
  flex-direction: column;
}

.task-title {
  font-size: 0.88rem;
  font-weight: 500;
}

.task-timeframe {
  font-size: 0.72rem;
  color: var(--color-gold-dark);
  margin-top: 1px;
}

.task-item.completed {
  border-color: var(--color-gold-light);
  background-color: var(--bg-primary);
}

.task-item.completed .task-checkbox-mock {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
}

.task-item.completed .task-checkbox-mock svg {
  display: block;
}

.task-item.completed .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* --- KNOWLEDGE BASE SECTION --- */
.guides-section {
  padding: 80px 0;
}

.guides-filter-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  justify-content: space-between;
  align-items: center;
}

@media(min-width: 768px) {
  .guides-filter-row {
    flex-direction: row;
  }
}

.filter-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--bg-secondary);
  border: 1px solid #eae6df;
  color: var(--text-secondary);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.filter-tab.active {
  background: var(--color-accent);
  color: var(--bg-primary);
  border-color: var(--color-accent);
}

.guides-search {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.guides-search input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  padding: 8px 12px 8px 36px;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.guides-search input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: var(--bg-primary);
}

.guides-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  fill: var(--text-secondary);
}

/* Guides Grid */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media(min-width: 600px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 992px) {
  .guides-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.guide-banner {
  height: 160px;
  position: relative;
  background-color: var(--bg-tertiary);
  overflow: hidden;
}

.guide-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.guide-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #eae6df;
  color: var(--text-primary);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.guide-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-meta {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.guide-meta-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

.guide-meta-item svg {
  width: 10px;
  height: 10px;
  fill: var(--text-muted);
}

.guide-card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--text-primary);
}

.guide-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f3f1eb;
  padding-top: 12px;
}

.guide-read-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.guide-read-btn:hover {
  color: var(--color-gold-dark);
}

.guide-read-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.guide-read-btn:hover svg {
  transform: translateX(2px);
}

.guide-download-icon {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.guide-download-icon:hover {
  fill: var(--color-gold);
}

/* --- ASSETS SECTION --- */
.assets-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid #eae6df;
}

.assets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width: 768px) {
  .assets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.asset-card {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.asset-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--bg-tertiary);
  border: 1px solid #eae6df;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asset-icon-box svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.asset-details {
  flex-grow: 1;
}

.asset-badge {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 2px;
  margin-bottom: 6px;
  display: inline-block;
}

.asset-title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.asset-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.asset-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-size {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-primary);
  padding: 80px 0 30px 0;
  border-top: 1px solid #eae6df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media(min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }
}

.footer-brand-col p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.newsletter-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 6px;
}

.newsletter-form input {
  flex-grow: 1;
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.newsletter-form button {
  background-color: var(--color-accent);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--color-gold);
}

.newsletter-form button svg {
  width: 14px;
  height: 14px;
  fill: var(--bg-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eae6df;
  padding-top: 24px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media(min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #eae6df;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--color-gold);
  color: var(--bg-primary);
  border-color: transparent;
}

.social-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --- MODAL POPUP FORM --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-primary);
  border: 1px solid #e2ded5;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  background-color: var(--bg-secondary);
  border: 1px solid #eae6df;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: var(--bg-primary);
}

/* Success Screen */
.success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
}

.success-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.success-icon-box svg {
  width: 30px;
  height: 30px;
  fill: var(--color-gold-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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