/* ============================================
   KARFI Landing Page — Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-light: #F7F5F0;
  --bg-dark: #000000;
  --text-dark: #000000;
  --text-light: #FFFFFF;
  --accent: #FFF8D9;
  --accent-hover: #f5ecb8;
  --gray-subtle: #b5b5b5;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.script-text {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.6;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 999;
}

.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-menu a {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-instagram {
  margin-top: 8px;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.mobile-menu-instagram:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .burger { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.9) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
  max-width: 800px;
}

.hero-content .script-text {
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.hero-brand-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  letter-spacing: 2px;
}

.hero-content h1 { margin-bottom: 20px; }

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 48px;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 248, 217, 0.3);
  background: var(--accent-hover);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  opacity: 0.5;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator .arrow {
  width: 1px;
  height: 40px;
  background: var(--text-light);
  position: relative;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.product-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-images .img-main {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.product-images .img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-images .img-main:hover img { transform: scale(1.03); }

.product-images .img-detail {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-images .img-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-images .img-detail:hover img { transform: scale(1.05); }

.product-info { max-width: 520px; }

.product-info .section-label { color: var(--text-dark); }

.product-info h2 { margin-bottom: 20px; }

.product-info p {
  margin-bottom: 16px;
  opacity: 0.7;
  font-size: 1rem;
}

.product-features-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}

.product-features-list li .icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-feature-content strong {
  display: block;
  margin-bottom: 2px;
}

.product-feature-desc {
  font-size: 0.85rem;
  opacity: 0.55;
  font-weight: 400;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.benefits-section .section-label { color: var(--gray-subtle); }
.benefits-section h2 { margin-bottom: 60px; }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 248, 217, 0.2);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 { margin-bottom: 12px; font-size: 1.3rem; }

.benefit-card p { opacity: 0.6; font-size: 0.95rem; }

.benefits-image {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 500px;
}

.benefits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  padding: 100px 0;
  background: var(--bg-light);
  text-align: center;
}

.video-section h2 { margin-bottom: 16px; }

.video-section .subtitle {
  opacity: 0.6;
  margin-bottom: 50px;
  font-size: 1.05rem;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
  width: 100%;
  display: block;
  background: #000;
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.ba-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.ba-section h2 { margin-bottom: 16px; }
.ba-section .subtitle { opacity: 0.6; margin-bottom: 50px; }

.ba-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16/9;
}

.ba-slider .ba-image {
  position: absolute;
  inset: 0;
}

.ba-slider .ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider .ba-image.ba-after {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 10;
}

.ba-handle::after {
  content: '⟵ ⟶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.ba-labels {
  display: flex;
  justify-content: space-between;
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testimonial-name { font-weight: 700; font-size: 1rem; }
.testimonial-city { font-size: 0.8rem; opacity: 0.5; }

.testimonial-stars {
  color: #d4a017;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonials-instagram {
  text-align: center;
  margin-top: 48px;
}

.testimonials-instagram a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}

.testimonials-instagram a:hover {
  opacity: 1;
  color: #c13584;
}

.testimonials-instagram svg {
  flex-shrink: 0;
}

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

/* ============================================
   ORDER FORM
   ============================================ */
.order-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.order-info h2 { margin-bottom: 16px; }

.order-info .script-text {
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.order-info p { opacity: 0.6; margin-bottom: 24px; }

.order-image {
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
}

.order-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-form { max-width: 520px; }

/* Product Card */
.order-product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}

.order-product-card img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.order-product-info { flex: 1; }
.order-product-info .product-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.order-product-info .product-price { color: var(--accent); font-size: 1.1rem; font-weight: 700; }

.qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.qty-btn:hover { background: rgba(255,255,255,0.2); }

.qty-value {
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* Payment Options */
.payment-options {
  margin-bottom: 24px;
}

.payment-options label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
  display: block;
}

.payment-radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-radio label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
  font-weight: 400;
}

.payment-radio label:hover { border-color: rgba(255,248,217,0.3); }

.payment-radio input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.payment-radio input[type="radio"]:checked + span { font-weight: 600; }

.payment-radio label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255,248,217,0.06);
}

/* Order Total */
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.order-total-label { font-size: 0.9rem; opacity: 0.6; }
.order-total-value { font-size: 1.3rem; font-weight: 700; color: var(--accent); }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.form-group input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 248, 217, 0.25);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.active { display: block; }
.form-success .check-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { margin-bottom: 12px; color: var(--accent); }
.form-success p { opacity: 0.6; }

@media (min-width: 768px) {
  .order-grid { grid-template-columns: 1fr 1fr; }
  .order-image { display: block; }
}

/* ============================================
   FAQ SECTION — Native details/summary accordion
   ============================================ */
.faq-section {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  list-style: none;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color 0.3s;
  -webkit-user-select: none;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-question:hover { color: #555; }

/* Icon: + / × rotation */
.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.35s ease;
}

.faq-icon::before {
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Answer panel — smooth open/close with grid trick */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  overflow: hidden;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > p {
  overflow: hidden;
  padding: 0 0 0;
  opacity: 0.65;
  font-size: 0.95rem;
  line-height: 1.7;
  transition: padding 0.4s ease;
}

.faq-item[open] .faq-answer > p {
  padding: 0 0 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-dark);
  color: var(--text-light);
}

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

.footer-logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto 12px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-tagline { opacity: 0.4; font-size: 0.85rem; }

.footer-contacts h3 { margin-bottom: 16px; font-size: 1.1rem; }

.footer-contacts p {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.footer-qr img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.footer-qr p {
  font-size: 0.8rem;
  opacity: 0.4;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.3;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }
  .footer-logo img { margin: 0 0 12px; }
  .footer-social { justify-content: flex-start; }
  .footer-qr img { margin: 0; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Page loading animation */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-light);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
