/* =========================================
   ASADORES FRONTERA — STYLESHEET v2
   Redesigned 2026-03-29
   Palette: #0c0b0a | Ember #B8311F | Gold #C09B3A
   ========================================= */

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

:root {
  --black:       #0c0b0a;
  --black-light: #141210;
  --black-mid:   #1c1916;
  --black-card:  #181614;
  --ember:       #B8311F;
  --ember-dark:  #8a2215;
  --ember-glow:  rgba(184, 49, 31, 0.15);
  --gold:        #C09B3A;
  --gold-light:  #d4b04f;
  --gold-dim:    rgba(192, 155, 58, 0.18);
  --white:       #f4f0eb;
  --white-dim:   rgba(244, 240, 235, 0.55);
  --white-faint: rgba(244, 240, 235, 0.07);
  --radius:      3px;
  --transition:  0.22s ease;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.12;
  font-weight: 700;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.gold  { color: var(--gold); }
.ember { color: var(--ember); }

/* ---- UTILITIES ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-header h2 { margin-bottom: 14px; }

.section-sub {
  color: var(--white-dim);
  font-size: 1rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ember);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--ember-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(184, 49, 31, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244, 240, 235, 0.2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--ember);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.75rem;
}
.btn-nav:hover { background: var(--ember-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--transition), padding var(--transition);
}

/* Mexico tricolor accent stripe */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #006847 33.3%, #fff 33.3% 66.6%, #CE1126 66.6%);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav.scrolled::after { opacity: 1; }

.nav.scrolled {
  background: rgba(12, 11, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-bottom: 3px;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo with flame icon */
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

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

.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(184,49,31,0.32) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 30% 60%, rgba(192,155,58,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #0f0d0b 0%, #12100e 60%, #0c0b0a 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 140px 24px 100px;
  margin-left: calc((100vw - 1160px) / 2);
  padding-left: 24px;
}

@media (max-width: 1200px) {
  .hero-content { margin-left: 0; padding: 140px 32px 100px; }
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-headline .red { color: var(--ember); }

.hero-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
}

.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--transition);
}
.hero-watch::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-watch:hover { color: var(--white); }

.hero-sub {
  font-size: 1rem;
  color: var(--white-dim);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 8px;
}

.hero-stats {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  border: 1px solid rgba(244, 240, 235, 0.15);
  padding: 18px 24px;
  min-width: 110px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.03);
}

.hero-stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  line-height: 1.3;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50%       { opacity: 0.9;  transform: scaleY(1.1); }
}

/* =========================================
   PRODUCTS
   ========================================= */
.products {
  padding: 120px 0;
  background: var(--black-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.04);
}

.product-card {
  background: var(--black-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition);
}

.product-card--featured {
  background: #191510;
  box-shadow: inset 0 0 0 1px rgba(192, 155, 58, 0.25);
}

.product-card:hover { transform: translateY(-3px); z-index: 2; }

.product-img {
  height: 260px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-img--clasica {
  background-image: url('../images/la-clasica.jpg');
  background-color: #1a1210;
}
.product-img--disco {
  background-image: url('../images/el-disco.jpg');
  background-color: #171410;
}
.product-img--cocina {
  background-image: url('../images/la-cocina.jpg');
  background-color: #121518;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ember);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}
.product-badge--gold {
  background: var(--gold);
  color: var(--black);
}

.product-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.product-desc {
  color: var(--white-dim);
  font-size: 0.88rem;
  line-height: 1.68;
  margin-bottom: 20px;
}

.product-specs {
  list-style: none;
  margin-bottom: 28px;
}
.product-specs li {
  font-size: 0.82rem;
  color: var(--white-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--white-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-specs li::before {
  content: '';
  display: block;
  width: 3px;
  height: 3px;
  background: var(--gold);
  flex-shrink: 0;
  border-radius: 50%;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price { display: flex; flex-direction: column; }

.price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-note {
  font-size: 0.7rem;
  color: var(--white-dim);
  margin-top: 4px;
}

.shipping-note {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: rgba(192,155,58,0.05);
  border-left: 2px solid var(--gold);
}
.shipping-icon {
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.shipping-note strong {
  color: var(--white);
  display: block;
  margin-bottom: 2px;
  font-size: 0.88rem;
}
.shipping-note span {
  color: var(--white-dim);
  font-size: 0.82rem;
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 120px 0;
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-ember-block {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ember-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(192, 155, 58, 0.18);
  animation: slowSpin 22s linear infinite;
}
.ember-ring::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(184, 49, 31, 0.12);
}
.ember-ring::after {
  content: '';
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(184,49,31,0.22) 0%,
    rgba(192,155,58,0.04) 50%,
    transparent 70%);
}

.ember-core {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(192,155,58,0.45) 0%,
    rgba(184,49,31,0.28) 40%,
    transparent 70%);
  box-shadow:
    0 0 60px rgba(184,49,31,0.28),
    0 0 20px rgba(192,155,58,0.18);
  animation: emberPulse 3.2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes emberPulse {
  0%, 100% { transform: scale(1);    opacity: 0.75; }
  50%       { transform: scale(1.1); opacity: 1; }
}

.about-text p {
  color: var(--white-dim);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text h2 { margin-bottom: 28px; }

.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--white-faint);
  flex-wrap: wrap;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
  padding: 120px 0;
  background: var(--black-light);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step { flex: 1; padding: 0 28px; }

.step-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  align-self: stretch;
  flex-shrink: 0;
  margin-top: 16px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--ember);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}
.step-body h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.step-body p {
  color: var(--white-dim);
  font-size: 0.88rem;
  line-height: 1.72;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  padding: 120px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse at center top,
    rgba(184,49,31,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }

/* ---- FORM ---- */
.order-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--black-mid);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 48px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  border: 1px solid rgba(244,240,235,0.1);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group select {
  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 fill='%23C09B3A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option {
  background: var(--black-mid);
  color: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(244,240,235,0.2);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(184,49,31,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.88rem;
  margin-top: 8px;
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--white-dim);
  margin-top: 12px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #07060504;
  background-color: #080706;
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand { text-align: center; }
.footer-logo {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.77rem;
  color: var(--white-dim);
  margin-top: 5px;
  font-style: italic;
}
.footer-domain {
  font-size: 0.7rem;
  color: rgba(192,155,58,0.45);
  font-style: italic;
  margin-top: 3px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(244,240,235,0.25);
}

/* =========================================
   CHECKOUT
   ========================================= */
.checkout-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: var(--black);
}
.checkout-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 16px 24px;
  background: rgba(12,11,10,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
}
.checkout-nav a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.checkout-nav a:hover { color: var(--white); }
.checkout-nav .nav-logo {
  margin-left: auto;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.checkout-container {
  width: 100%;
  max-width: 480px;
  margin-top: 40px;
}
.checkout-summary {
  background: var(--black-mid);
  border: 1px solid rgba(192,155,58,0.18);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.checkout-summary h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--white);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--white-faint);
  color: var(--white-dim);
}
.checkout-line:last-of-type { border-bottom: none; }
.checkout-line.total {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
}
.checkout-form-box {
  background: var(--black-mid);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
}
.checkout-form-box h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--white);
  margin-bottom: 20px;
}
#payment-request-button { margin-bottom: 16px; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--white-dim);
  font-size: 0.8rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
#payment-element { margin-bottom: 20px; }
#payment-message {
  color: var(--ember);
  font-size: 0.85rem;
  margin-bottom: 12px;
  min-height: 20px;
}
#submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}
#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--white-dim);
}

/* =========================================
   PRODUCT IMAGE — ZOOM HINT
   ========================================= */
.product-img[data-lightbox] {
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.product-img-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.8);
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.product-img[data-lightbox]:hover .product-img-zoom {
  opacity: 1;
  transform: translateY(0);
}
.product-img[data-lightbox]:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,6,4,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  width: 100%;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.lightbox.is-open .lightbox-inner {
  transform: scale(1) translateY(0);
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  font-size: 1.5rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.lightbox-img-wrap {
  width: 100%;
  max-height: calc(90vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.05);
}
#lightbox-img {
  width: 100%;
  height: 100%;
  max-height: calc(90vh - 70px);
  object-fit: contain;
  display: block;
  border-radius: 3px;
  user-select: none;
  transition: opacity 0.12s ease;
}
.lightbox-title {
  margin-top: 14px;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

/* Gallery nav */
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.lightbox-arrow:hover {
  background: rgba(192,155,58,0.22);
  border-color: rgba(192,155,58,0.55);
  color: var(--gold);
}
.lightbox-arrow--prev { left: -58px; }
.lightbox-arrow--next { right: -58px; }
.lightbox-arrow[hidden] { display: none; }
.lightbox-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.lightbox-dots { display: flex; gap: 8px; align-items: center; }
.lightbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .product-card:hover { transform: none; }
  .product-img { height: 280px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { order: -1; }
  .about-ember-block { width: 220px; height: 220px; }

  .steps { flex-direction: column; gap: 32px; }
  .step-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
    align-self: auto;
    margin: 0;
  }
  .step { padding: 0; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12,11,10,0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 190;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--white);
  }
  .nav-toggle { display: block; z-index: 210; position: relative; }

  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 12px; }
  .hero-stat { padding: 14px 18px; min-width: 90px; }

  .about-stats { flex-wrap: wrap; gap: 24px; }

  .order-form { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .lightbox-close { top: -44px; right: 0; }
  .lightbox-inner { max-width: 96vw; }
  .lightbox-arrow--prev { left: 8px; }
  .lightbox-arrow--next { right: 8px; }

  /* Zoom hint always visible on touch */
  .product-img-zoom {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .hero-stat-num { font-size: 1.4rem; }
  .product-body { padding: 22px 20px 26px; }
  .products { padding: 80px 0; }
  .about, .how-it-works, .contact { padding: 80px 0; }
}
