/* ============================================
   Morocco Rooftent - Modern Mobile-First CSS
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-2: #eef0f3;
  --border: #dfe1e6;
  --text: #1a1d26;
  --text-secondary: #5c6070;
  --primary: #1e9e6b;
  --primary-hover: #178a5c;
  --primary-soft: rgba(30, 158, 107, 0.08);
  --accent: #2f6fb0;
  --danger: #d84f4f;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --max-w: 1120px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-secondary); font-size: 0.875rem; }
.full-width { width: 100%; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-intro {
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  background: var(--surface-2);
  color: var(--text);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn:hover { background: #e4e6eb; transform: translateY(-1px); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-hover); }
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn.ghost:hover { background: var(--surface-2); border-color: var(--text-secondary); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header:not(.menu-open) {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; border-radius: 8px; }

/* Hamburger */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--text);
  z-index: 110;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.menu-toggle.active .hamburger { background: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Mobile Nav */
.nav {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1.2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 105;
}
.nav.active { transform: translateX(0); }
.nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition);
}
.nav a:hover, .nav a.active { background: var(--surface-2); color: var(--primary); }
.nav .cta { background: var(--primary); color: #fff; }
.nav .cta:hover { background: var(--primary-hover); }

/* Desktop Nav */
@media (min-width: 860px) {
  .brand-logo { height: 52px; }
  .menu-toggle { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    background: transparent;
    transform: none;
    gap: 6px;
    font-size: 0.9375rem;
  }
  .nav a { padding: 8px 14px; }
}

/* ============================================
   HERO (index)
   ============================================ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 85vh;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 20px 40px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.hero-desc {
  max-width: 600px;
  color: #d0d0d0;
  font-size: 1rem;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.hero-actions .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}
@media (min-width: 600px) {
  .hero-content { padding-bottom: 80px; }
}

/* ============================================
   RENT HERO (rent.html)
   ============================================ */
.rent-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.rent-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rent-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rent-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}
.rent-hero-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 32px;
}
.rent-hero-content h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.rent-hero-content p {
  max-width: 640px;
  color: #d0d0d0;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.rent-intro {
  padding: 32px 20px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 800px;
}
.rent-intro strong { color: var(--primary); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.section h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
}

/* ============================================
   TEASER CARDS (Homepage)
   ============================================ */
.teaser-grid {
  display: grid;
  gap: 20px;
}
.teaser-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.teaser-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.teaser-body {
  padding: 20px;
}
.teaser-body h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.teaser-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}
.teaser-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}
@media (min-width: 720px) {
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-card img { height: 260px; }
}

/* ============================================
   ADVANTAGES / BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  gap: 16px;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--transition);
}
.benefit:hover { transform: translateY(-2px); }
.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-bottom: 12px;
}
.benefit h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.benefit p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
@media (min-width: 520px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   ABOUT US
   ============================================ */
.about-banner {
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.about-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
  max-height: 380px;
}
.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.05) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px 0;
}
.about-banner-overlay h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0;
}
.about-story {
  margin-bottom: 48px;
}
.about-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 720px;
}
.about-story-columns p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}
@media (min-width: 860px) {
  .about-banner { min-height: 340px; }
  .about-banner-img { max-height: 420px; }
  .about-banner-overlay { padding: 48px 0; }
  .about-story-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .about-story-columns p { margin-bottom: 0; }
}

.about-columns {
  display: grid;
  gap: 24px;
}
.about-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.about-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.about-block p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.about-block .btn { margin-top: 8px; }
.about-block.highlight-card {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--surface) 50%);
}

.icon-list, .check-list {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.icon-list li, .check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.icon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 4px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.207 4.793a1 1 0 010 1.414l-5.5 5.5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 111.414-1.414L7 9.586l4.793-4.793a1 1 0 011.414 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.207 4.793a1 1 0 010 1.414l-5.5 5.5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 111.414-1.414L7 9.586l4.793-4.793a1 1 0 011.414 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

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

/* ============================================
   PARTNERS
   ============================================ */
.partners-section { text-align: center; }
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 32px 0;
}
.partner-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 180px;
  height: 100px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.partner-logo img {
  max-height: 60px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.social-cta {
  margin-top: 24px;
}
.social-cta p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  gap: 32px;
}
/* Advantages Hero */
.advantages-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
}
.advantages-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
  max-height: 380px;
}
.advantages-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px 0;
}
.advantages-hero-overlay h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 10px;
}
.advantages-hero-overlay p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.6;
  max-width: 680px;
}
@media (min-width: 860px) {
  .advantages-hero { min-height: 340px; }
  .advantages-hero-img { max-height: 420px; }
  .advantages-hero-overlay { padding: 48px 0; }
}
.contact-info h2 {
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.contact-item a {
  color: var(--primary);
  font-weight: 500;
}
.contact-item a:hover { text-decoration: underline; }
.map-link { font-size: 0.875rem; }

.contact-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background var(--transition), border-color var(--transition);
}
.chip:hover { background: #e4e6eb; border-color: var(--text-secondary); }
.chip.whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.chip.whatsapp:hover { background: #20bd5a; }

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ============================================
   FORM
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 14px; }
.form h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.form-row { display: grid; gap: 6px; }
.form-row.group { grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.terms-check .checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.terms-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.terms-check a {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================
   TENT CARDS (rent.html)
   ============================================ */
.tent-card {
  display: grid;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.tent-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.tent-details { padding: 0 24px 24px; }
.tent-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.tent-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.tent-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.tent-details > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Videos */
.tent-videos { margin-bottom: 20px; }
.tent-videos h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.video-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: #cc0000;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition);
}
.video-link:hover { background: var(--surface-2); }

/* Pricing Table */
.tent-pricing { margin-bottom: 20px; }
.tent-pricing h4,
.tent-specs h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.price-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row span { color: var(--text-secondary); }
.price-row strong { color: var(--text); }
.price-row.highlight {
  background: var(--primary-soft);
}
.price-row.highlight strong { color: var(--primary); font-size: 1.125rem; }
.price-row.fee {
  background: var(--surface-2);
  font-size: 0.8125rem;
}

/* Specs */
.specs-grid {
  display: grid;
  gap: 8px;
}
.spec {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-xs);
  font-size: 0.9375rem;
}
.spec-label { color: var(--text-secondary); }
.spec-value { font-weight: 500; }
@media (min-width: 520px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tent actions */
.tent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (min-width: 860px) {
  .tent-card {
    grid-template-columns: 1fr 1.4fr;
  }
  .tent-gallery img { height: 100%; min-height: 400px; }
  .tent-details { padding: 24px; }
}

/* ============================================
   ACCESSORIES (rent.html)
   ============================================ */
.accessories-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.accessory-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.accessory-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.accessory-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #fff;
}
.accessory-body {
  padding: 12px 16px;
}
.accessory-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.accessory-price {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}
@media (min-width: 520px) {
  .accessories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 860px) {
  .accessories-grid { grid-template-columns: repeat(4, 1fr); }
  .accessory-card img { height: 180px; }
}

.accessories-cta {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.accessories-cta p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-brand .brand-logo { height: 160px; width: auto; }
.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 8px; }
.insta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.875rem;
  transition: background var(--transition);
}
.insta:hover { background: #e4e6eb; }
.copyright {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

@media (min-width: 860px) {
  .site-footer { padding: 48px 0 32px; }
  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px 48px;
    text-align: left;
    align-items: start;
  }
  .footer-brand {
    grid-row: 1 / 4;
    align-items: flex-start;
  }
  .footer-brand .brand-logo { height: 180px; }
  .footer-links {
    justify-content: flex-start;
    gap: 10px 24px;
    padding-top: 8px;
  }
  .footer-social { justify-self: start; }
  .copyright { justify-self: start; }
}

/* ============================================
   TERMS PAGE
   ============================================ */
.terms-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.terms-content p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.terms-content ul {
  margin: 8px 0 16px;
  padding-left: 20px;
}
.terms-content li {
  color: var(--text-secondary);
  margin-bottom: 4px;
  list-style: disc;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Lightbox --- */
img[data-lightbox] {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.3s ease;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 12px;
  border-radius: var(--radius);
  transition: background 0.2s;
  z-index: 10;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
