:root {
  --dot-red: #E3000B;
  --dot-yellow: #FFD500;
  --dot-blue: #89CFF0;
  --dot-green: #00AF4D;
  --dot-orange: #FF7E14;
  --dot-pink: #FF69B4;
  --dot-magenta: #C71585;
  --dot-skin: #D2956A;
  --dot-skin-light: #E8B88A;
  --dot-brown: #6B3A2A;
  --dot-dark: #2C1810;
  --dot-white: #F0EDE8;
  --bg-dark: #1A1A1E;
  --bg-card: #222228;
  --text-main: #F0EDE8;
  --text-muted: #B0B0B4;
  --dot-green-a11y: #007A36;
  --dot-red-a11y: #FF8B84;
}

/* Fallback font matching to reduce CLS from font swap */
@font-face {
  font-family: 'Press Start 2P Fallback';
  src: local('Courier New'), local('Courier');
  size-adjust: 130%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
picture { display: block; }

html, body { overflow-x: hidden; }

html { overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background: var(--bg-dark);
}

.dot-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle, var(--text-main) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26,26,30,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(255,255,255,0.06);
}

.logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  color: var(--dot-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}
.logo .art {
  color: var(--dot-red);
  margin-left: -10px;
}

.logo-dots {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(3, 10px);
  gap: 2px;
}
.logo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.logo-dots .empty { background: transparent !important; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dot-white); }

.nav-links .btn-order {
  background: var(--dot-red);
  color: #FFFFFF !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 9px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}
.nav-links .btn-order:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(227,0,11,0.4); }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  gap: 60px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-content { z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,213,0,0.12);
  border: 1px solid rgba(255,213,0,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dot-yellow);
  margin-bottom: 28px;
  animation: slideIn 0.6s ease-out;
}

.hero h1 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.5;
  color: var(--dot-white);
  margin-bottom: 24px;
  animation: slideIn 0.6s ease-out 0.1s both;
}

.hero h1 .accent-dots {
  background: linear-gradient(135deg, var(--dot-red), var(--dot-pink), var(--dot-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  animation: slideIn 0.6s ease-out 0.2s both;
}

.hero-seo-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: slideIn 0.6s ease-out 0.3s both;
}

.btn-primary {
  background: var(--dot-red);
  color: white;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  display: inline-block;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 6px 30px rgba(227,0,11,0.4); }

.btn-ghost {
  color: var(--text-muted);
  padding: 16px 28px;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 60px;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: white; }

.hero-photo-container {
  position: relative;
  z-index: 2;
  animation: mosaicFade 1s ease-out 0.4s both;
  max-width: 520px;
  justify-self: center;
}

.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  display: block;
}

.hero-photo-label {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 10px 24px;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 9px;
  color: var(--text-muted);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.floating-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.dot-separator {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 32px 0;
}

.dot-separator .sep-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.dot-separator .sep-dot:hover { transform: scale(1.5); }

.section {
  padding: 100px 60px;
  position: relative;
  z-index: 2;
}

.section-label {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  color: var(--dot-blue);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: clamp(18px, 3vw, 30px);
  line-height: 1.5;
  margin-bottom: 60px;
  color: var(--dot-white);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}
.step-card:nth-child(1)::before { background: var(--dot-blue); }
.step-card:nth-child(2)::before { background: var(--dot-yellow); }
.step-card:nth-child(3)::before { background: var(--dot-pink); }
.step-card:nth-child(4)::before { background: var(--dot-green); }

.step-number {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 52px;
  position: absolute;
  top: 12px; right: 20px;
  opacity: 0.04;
  color: white;
}

.step-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--dot-white);
}

.step-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.showcase-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #12121A 100%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.showcase-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}

.showcase-text h3 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
  color: var(--dot-white);
}

.showcase-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dot-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.dot-stat { text-align: center; }

.dot-stat .stat-number {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 24px;
  color: var(--dot-yellow);
}

.dot-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.gallery-section { overflow: hidden; }

.gallery-item picture {
  width: 100%;
  height: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  border-radius: 0 0 16px 16px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }

.pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  display: grid;
  grid-template-rows: 280px auto auto auto auto auto auto;
  align-items: start;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.price-card.popular {
  border-color: var(--dot-red);
  box-shadow: 0 0 40px rgba(227,0,11,0.15);
}

.popular-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--dot-red);
  color: white;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 8px;
  padding: 6px 20px;
  border-radius: 50px;
}

.size-dots {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  display: grid;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}
.size-dots .sd {
  border-radius: 50%;
  background: var(--dot-skin-light);
  opacity: 0.7;
}

.size-preview {
  width: 100%;
  max-width: 200px;
  height: 200px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
  align-self: center;
}

.size-preview-portrait {
  height: 260px;
  object-fit: contain;
  background: rgba(0,0,0,0.2);
}

.price-card:hover .size-preview {
  border-color: var(--dot-blue);
  box-shadow: 0 8px 24px rgba(137, 207, 240, 0.15);
}

.price-card .size-label {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--dot-white);
}

.price-card .dimensions {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-card .price {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 32px;
  color: var(--dot-yellow);
  margin-bottom: 4px;
}

.price-card .price-currency {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-card .features {
  text-align: left;
  margin-bottom: 28px;
}

.price-card .features li {
  list-style: none;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  width: 20px; height: 20px;
  background: var(--dot-green-a11y);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  flex-shrink: 0;
}

.btn-card {
  background: white;
  color: var(--bg-dark);
  padding: 14px 0;
  border-radius: 50px;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
  width: 100%;
  text-align: center;
  border: none;
}
.btn-card:hover { transform: scale(1.03); box-shadow: 0 4px 20px rgba(255,255,255,0.15); }

.price-card.popular .btn-card {
  background: var(--dot-red);
  color: white;
}
.price-card.popular .btn-card:hover { box-shadow: 0 4px 20px rgba(227,0,11,0.4); }

.about-section {
  background: linear-gradient(135deg, rgba(137,207,240,0.08) 0%, rgba(227,0,11,0.05) 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.about-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-avatar {
  width: 200px; height: 200px;
  border-radius: 24px;
  background: var(--bg-card);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.about-text h3 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.6;
  color: var(--dot-white);
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.order-section {
  background: linear-gradient(180deg, var(--bg-dark), #0f0f14);
}

.order-form {
  max-width: 560px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  background: var(--bg-card);
  color: var(--dot-white);
  transition: all 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--dot-blue);
  box-shadow: 0 0 0 3px rgba(137,207,240,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #8A8A90; }

.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.size-option {
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-card);
}
.size-option:hover { border-color: rgba(255,255,255,0.2); }
.size-option.selected {
  background: var(--dot-red);
  border-color: var(--dot-red);
}
.size-option .opt-name {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  margin-bottom: 4px;
  color: var(--dot-white);
}
.size-option .opt-price {
  font-size: 13px;
  color: var(--text-muted);
}
.size-option.selected .opt-price { color: #FFFFFF; }
.size-option.selected .opt-name { color: #FFFFFF; }

.btn-submit {
  background: var(--dot-red);
  color: white;
  padding: 20px;
  border-radius: 60px;
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover { transform: scale(1.02); box-shadow: 0 6px 30px rgba(227,0,11,0.4); }

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

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.faq-q {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dot-white);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--dot-blue); }

.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 12px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: rgba(137,207,240,0.15); color: var(--dot-blue); }

footer {
  background: #0a0a0e;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px;
  text-align: center;
}

footer .logo { justify-content: center; margin-bottom: 20px; }
footer .logo .art { color: #FF1A1A; }
footer p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--dot-yellow); }

.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mosaicFade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* === FOCUS & A11Y === */
*:focus-visible {
  outline: 3px solid var(--dot-blue);
  outline-offset: 2px;
}

.btn-primary:focus-visible,
.btn-order:focus-visible,
.btn-card:focus-visible,
.btn-ghost:focus-visible,
.btn-submit:focus-visible {
  outline: 3px solid var(--dot-yellow);
  outline-offset: 3px;
}

.faq-item { cursor: pointer; }
.faq-item:focus-visible { outline: 3px solid var(--dot-blue); outline-offset: -2px; border-radius: 8px; }

/* Ensure min touch target 44px */
.nav-links a, .btn-order, .footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.size-option { min-height: 56px; }

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--dot-yellow);
  color: var(--bg-dark);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 200;
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus { top: 16px; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 48px;
    gap: 32px;
  }
  .hero-photo-container { order: -1; }
  .hero-photo { max-width: 100%; }
  .hero h1 { font-size: 22px; min-height: 132px; }
  .hero p { font-size: 16px; }
  .hero-photo-label { font-size: 7px; padding: 8px 14px; }
  .section { padding: 56px 20px; }
  .section-title { font-size: 16px; margin-bottom: 36px; }
  nav { padding: 12px 16px; }
  .nav-links a:not(.btn-order) { display: none; }
  .logo { font-size: 16px; }
  .about-content { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 28px; }
  .about-avatar { width: 150px; height: 150px; }
  .about-text h3 { font-size: 14px; }
  .about-text p { font-size: 15px; }
  .size-options { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { text-align: center; }
  .showcase-grid { grid-template-columns: 1fr; gap: 28px; }
  .showcase-text h3 { font-size: 14px; }
  .showcase-text p { font-size: 15px; }
  .dot-stats { justify-content: center; gap: 20px; }
  .dot-stat .stat-number { font-size: 18px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 28px 22px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .price-card { padding: 32px 24px; grid-template-rows: 220px auto auto auto auto auto auto; }
  .size-preview { max-width: 160px; height: 160px; }
  .size-preview-portrait { height: 200px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .faq-q { font-size: 14px; }
  .faq-a { font-size: 14px; }
  .order-form { padding: 0 4px; }
  .assembly-options { grid-template-columns: 1fr; }
  .pricing-note { flex-direction: column; gap: 8px; font-size: 13px; }
  footer { padding: 40px 20px; }
  .dot-separator { gap: 8px; padding: 20px 0; }
  .dot-separator .sep-dot { width: 10px; height: 10px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
  .whatsapp-float img { width: 28px; height: 28px; }
}

@media (max-width: 400px) {
  .hero { padding: 90px 16px 40px; }
  .hero h1 { font-size: 18px; }
  .section { padding: 44px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-rows: 200px auto auto auto auto auto auto; }
  .price-card .price { font-size: 26px; }
  .size-preview { max-width: 140px; height: 140px; }
  .size-preview-portrait { height: 180px; }
  .btn-submit { font-size: 10px; padding: 18px 12px; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float img { width: 26px; height: 26px; }
  .nav-links .btn-order { padding: 8px 16px; font-size: 7px; }
}

/* === PRICING NOTE === */
.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(137,207,240,0.07);
  border: 1px solid rgba(137,207,240,0.18);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 28px auto 0;
  max-width: 860px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.pricing-note-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.pricing-note strong { color: var(--dot-white); }

/* === ASSEMBLY OPTIONS (2-col variant) === */
.assembly-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.opt-detail {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.size-option.selected .opt-detail { color: #FFFFFF; }

/* === FRAME OPTION CARD === */
.frame-option-card {
  display: block;
  padding: 14px 18px;
  border: 2px solid rgba(255,213,0,0.15);
  border-radius: 16px;
  background: rgba(255,213,0,0.04);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.frame-option-card:hover {
  border-color: rgba(255,213,0,0.35);
  background: rgba(255,213,0,0.07);
}
.frame-option-card input[type="checkbox"] { display: none; }
.frame-option-card:has(input:checked) {
  border-color: var(--dot-green-a11y);
  background: rgba(0,122,54,0.08);
}
.frame-option-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.frame-option-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dot-white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.frame-option-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
  padding-left: 34px; /* 22px checkbox + 12px gap */
}

/* === CUSTOM CHECKBOX === */
.checkbox-custom {
  width: 22px; height: 22px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: transparent;
}
.frame-option-card:has(input:checked) .checkbox-custom {
  background: var(--dot-green-a11y);
  border-color: var(--dot-green-a11y);
}
.frame-option-card:has(input:checked) .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.addon-price {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 9px;
  color: var(--dot-green-a11y);
  background: rgba(0,122,54,0.12);
  border: 1px solid rgba(0,122,54,0.25);
  padding: 4px 10px;
  border-radius: 50px;
}

/* === SHIPPING NOTE === */
.shipping-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

/* === ORDER SUMMARY === */
.order-summary {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
}
.summary-title {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  color: var(--dot-blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.summary-rows { display: flex; flex-direction: column; gap: 10px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}
.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 0;
}
.summary-total {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 13px;
  color: var(--dot-yellow);
  margin-top: 4px;
}

/* === LANDING PAGES === */
.landing-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  z-index: 1;
}
.landing-hero h1 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: clamp(20px, 3.5vw, 36px);
  line-height: 1.5;
  margin-bottom: 20px;
}
.landing-hero .hero-subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.landing-hero .hero-badge {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  color: var(--dot-yellow);
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.landing-hero-img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-top: 40px;
  object-fit: contain;
}
.landing-breadcrumb {
  position: relative;
  z-index: 1;
  padding: 100px 40px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.landing-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.landing-breadcrumb a:hover { color: var(--dot-white); }
.landing-breadcrumb span { margin: 0 6px; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.benefit-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.benefit-card h3 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.occasions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.occasion-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.occasion-card:hover { border-color: var(--dot-red); }
.occasion-icon { font-size: 28px; margin-bottom: 8px; }
.occasion-card h3 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: 10px;
  line-height: 1.6;
}

.landing-cta-section {
  text-align: center;
  padding: 60px 40px 80px;
  position: relative;
  z-index: 1;
}
.landing-cta-section h2 {
  font-family: 'Press Start 2P', 'Press Start 2P Fallback', monospace;
  font-size: clamp(14px, 2.5vw, 24px);
  line-height: 1.5;
  margin-bottom: 12px;
}
.landing-cta-section p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 16px;
}

.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.landing-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
}
.landing-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .landing-hero { padding: 120px 20px 56px; min-height: 60vh; }
  .landing-breadcrumb { padding: 80px 20px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .occasions-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-cta-section { padding: 40px 20px 60px; }
}
@media (max-width: 400px) {
  .occasions-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   LA MÁQUINA DE DOTS  (#probar)  —  vista previa en el navegador
   ========================================================================== */

[hidden] { display: none !important; }

.tryit-section {
  background: linear-gradient(180deg, #131318 0%, var(--bg-dark) 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tryit-intro {
  max-width: 62ch;
  margin: -36px auto 44px;
  text-align: center;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}
.tryit-intro strong { color: var(--dot-white); font-weight: 600; }

.dotmachine {
  max-width: 1060px;
  margin: 0 auto;
  background: linear-gradient(180deg, #212129 0%, #1B1B21 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

.dotmachine-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(0,0,0,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dm-lights { display: flex; gap: 7px; flex-shrink: 0; }
.dm-lights i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dm-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.dm-status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 5px 14px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.dm-status.is-busy { color: var(--dot-yellow); border-color: rgba(255,213,0,0.3); background: rgba(255,213,0,0.09); }
.dm-status.is-ok    { color: #6BE39A; border-color: rgba(107,227,154,0.3); background: rgba(107,227,154,0.09); }
.dm-status.is-error { color: var(--dot-red-a11y); border-color: rgba(255,139,132,0.3); background: rgba(255,139,132,0.09); }

.dotmachine-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  padding: 32px;
  align-items: start;
}

.dm-panel { min-width: 0; }

.dm-panel-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.dm-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(137,207,240,0.16);
  color: var(--dot-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

/* --- zona para soltar la foto --- */
.dropzone {
  position: relative;
  aspect-ratio: 1;
  border: 2px dashed rgba(255,255,255,0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(240,237,232,0.07) 1.5px, transparent 1.5px) 0 0 / 18px 18px,
    rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.dropzone:hover { border-color: rgba(137,207,240,0.55); }
.dropzone.is-over {
  border-color: var(--dot-yellow);
  border-style: solid;
  transform: scale(1.015);
}
.dropzone.has-photo { border-style: solid; border-color: rgba(255,255,255,0.12); cursor: default; }

.dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.dropzone-icon { font-size: 34px; opacity: 0.9; }
.dropzone-title { font-size: 16px; font-weight: 700; color: var(--dot-white); }
.dropzone-hint { font-size: 13px; color: var(--text-muted); }

.dropzone-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.dm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn-mini {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: 50px;
  border: none;
  background: var(--dot-blue);
  color: #10161A;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-mini:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(137,207,240,0.28); }
.btn-mini-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.16);
}
.btn-mini-ghost:hover { color: var(--dot-white); border-color: rgba(255,255,255,0.4); box-shadow: none; }

.dm-error {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dot-red-a11y);
  background: rgba(255,139,132,0.08);
  border: 1px solid rgba(255,139,132,0.25);
  border-radius: 12px;
  padding: 10px 14px;
}

.photo-tips {
  list-style: none;
  margin: 18px 0 0;
  display: grid;
  gap: 9px;
}
.photo-tips li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.tip-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.dm-privacy {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0.85;
}

/* --- flechita de dots entre los dos paneles --- */
.dm-flow {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-self: center;
  padding-top: 60px;
}
.dm-flow i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: block;
  opacity: 0.35;
  animation: dmFlow 1.6s ease-in-out infinite;
}
.dm-flow i:nth-child(2) { animation-delay: 0.18s; }
.dm-flow i:nth-child(3) { animation-delay: 0.36s; }

@keyframes dmFlow {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(5px); }
}

/* --- tablero de salida --- */
.board-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #17171C;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.board { display: block; width: 100%; }

.board-idle {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle, rgba(240,237,232,0.055) 2px, transparent 2px) 0 0 / 20px 20px;
}
.board-idle-text {
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(23,23,28,0.92);
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.07);
}

.dm-sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.dm-size {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  padding: 12px 6px;
  min-height: 52px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.dm-size small {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  opacity: 0.85;
}
.dm-size:hover { border-color: rgba(255,255,255,0.24); color: var(--dot-white); }
.dm-size.is-on {
  background: var(--dot-red);
  border-color: var(--dot-red);
  color: #FFFFFF;
}

.dm-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.dm-facts b { color: var(--dot-white); font-weight: 700; }
.dm-facts span { display: inline-flex; align-items: center; gap: 5px; }
.dm-facts span + span::before {
  content: '·';
  color: rgba(255,255,255,0.3);
  margin-right: 13px;
}

.dotmachine-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.16);
}
button.btn-ghost { background: transparent; }
.btn-primary:disabled,
.btn-ghost:disabled,
.btn-mini:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-primary:disabled:hover,
.btn-ghost:disabled:hover,
.btn-mini:disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255,255,255,0.15);
}

.dm-foot-note {
  max-width: 64ch;
  margin: 22px auto 0;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.step-link {
  color: var(--dot-blue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.step-link:hover { text-decoration: underline; }

/* ==========================================================================
   PEDIDO GUIADO  (#pedir)
   ========================================================================== */

.order-resume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  background: rgba(255,213,0,0.07);
  border: 1px solid rgba(255,213,0,0.22);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 28px;
}
.order-resume-text { font-size: 14px; color: var(--dot-white); line-height: 1.5; }
.order-resume-actions { display: flex; gap: 16px; flex-shrink: 0; }

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dot-blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--dot-white); }
.link-btn-quiet { color: var(--text-muted); font-weight: 500; }

/* --- pasos --- */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0 0 36px;
  position: relative;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: rgba(255,255,255,0.09);
}
.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.stepper-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--text-muted);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.stepper-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.stepper-item.is-current .stepper-dot {
  background: var(--dot-red);
  border-color: var(--dot-red);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(227,0,11,0.35);
}
.stepper-item.is-current .stepper-label { color: var(--dot-white); font-weight: 700; }

.stepper-item.is-done { cursor: pointer; }
.stepper-item.is-done .stepper-dot {
  background: var(--dot-green-a11y);
  border-color: var(--dot-green-a11y);
  color: #FFFFFF;
}
.stepper-item.is-done .stepper-dot span { display: none; }
.stepper-item.is-done .stepper-dot::after { content: '✓'; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; }
.stepper-item.is-done:hover .stepper-dot { transform: scale(1.06); }

.order-step { animation: stepIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-head {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dot-white);
  margin-bottom: 12px;
}
.step-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 60ch;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
}
.btn-step {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 28px;
  min-height: 48px;
  border-radius: 50px;
  border: none;
  background: var(--dot-red);
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn-step:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(227,0,11,0.35); }
.btn-step-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.14);
  color: var(--text-muted);
}
.btn-step-ghost:hover { border-color: rgba(255,255,255,0.4); color: var(--dot-white); box-shadow: none; }

.step-skip {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-skip .link-btn { font-size: 13.5px; }

/* --- la foto dentro del pedido --- */
.order-photo {
  border: 2px dashed rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  background: rgba(0,0,0,0.16);
  transition: border-color 0.25s, background 0.25s;
}
.order-photo.has-preview {
  border-style: solid;
  border-color: rgba(0,175,77,0.35);
  background: rgba(0,175,77,0.05);
}
.order-photo-icon { font-size: 30px; display: block; margin-bottom: 10px; }
.order-photo-copy { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.order-photo-thumb {
  width: 200px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,0.4);
}
.order-photo-canvas { display: block; width: 100%; }
.order-photo-meta {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #6BE39A;
}

/* --- campos --- */
fieldset.form-group { border: none; padding: 0; margin: 0 0 24px; }
.group-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-muted);
  padding: 0;
}
.label-optional {
  font-weight: 400;
  font-size: 12.5px;
  color: #8A8A90;
  margin-left: 6px;
}

/* las opciones ahora son <label> con radio real: teclado y lectores de pantalla gratis */
.form-group .size-option {
  display: block;
  position: relative;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: 400;
  color: var(--text-main);
}
.size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
  pointer-events: none;
}
.size-option .opt-name,
.size-option .opt-detail,
.size-option .opt-price { display: block; }
.size-option:has(input:checked) { background: var(--dot-red); border-color: var(--dot-red); }
.size-option:has(input:checked) .opt-name,
.size-option:has(input:checked) .opt-price,
.size-option:has(input:checked) .opt-detail { color: #FFFFFF; }
.size-option.selected .opt-detail { color: #FFFFFF; }
.size-option:has(input:focus-visible) {
  outline: 3px solid var(--dot-yellow);
  outline-offset: 3px;
}

.field-error {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dot-red-a11y);
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--dot-red-a11y);
  box-shadow: 0 0 0 3px rgba(255,139,132,0.13);
}

/* --- refuerzos de confianza --- */
.order-reassure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 18px 0 0;
}
.order-reassure li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.reassure-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.summary-pending {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

/* --- confirmación --- */
.order-done {
  text-align: center;
  animation: stepIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  outline: none;
}
.done-badge {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.done-badge i {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: block;
  animation: donePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.done-badge i:nth-child(2) { animation-delay: 0.05s; }
.done-badge i:nth-child(3) { animation-delay: 0.1s; }
.done-badge i:nth-child(4) { animation-delay: 0.15s; }
.done-badge i:nth-child(5) { animation-delay: 0.2s; }
.done-badge i:nth-child(6) { animation-delay: 0.25s; }
@keyframes donePop {
  from { opacity: 0; transform: scale(0.2); }
  to   { opacity: 1; transform: scale(1); }
}

.done-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dot-white);
  margin-bottom: 14px;
}
.done-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }

.done-next {
  background: rgba(255,213,0,0.07);
  border: 1px solid rgba(255,213,0,0.24);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.done-next-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--dot-yellow);
  margin-bottom: 10px;
}
.done-next-copy { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin-bottom: 14px; }

.done-timeline {
  list-style: none;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 28px;
  display: grid;
  gap: 14px;
}
.done-timeline li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.done-timeline b { color: var(--dot-white); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }

.done-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .tryit-intro { font-size: 15.5px; margin: -20px auto 32px; }
  .dotmachine { border-radius: 20px; }
  .dotmachine-head { padding: 14px 18px; }
  .dm-title { font-size: 7px; }
  .dm-status { font-size: 11px; padding: 4px 11px; }
  .dotmachine-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 18px;
  }
  .dm-flow {
    flex-direction: row;
    justify-content: center;
    padding-top: 0;
  }
  .dm-flow i { animation-name: dmFlowH; }
  .dropzone-title { font-size: 15px; }
  .dropzone-icon { font-size: 30px; }
  .dotmachine-foot { padding: 20px 18px 24px; flex-direction: column; align-items: stretch; }
  .dotmachine-foot .btn-primary,
  .dotmachine-foot .btn-ghost { text-align: center; width: 100%; }
  .dm-foot-note { font-size: 13px; }
  .dm-size { font-size: 7px; padding: 10px 4px; }
  .dm-size small { font-size: 10px; }

  .stepper { margin-bottom: 28px; }
  .stepper-dot { width: 36px; height: 36px; font-size: 10px; }
  .stepper::before { top: 17px; }
  .stepper-label { font-size: 11.5px; }
  .step-head { font-size: 12px; }
  .step-sub { font-size: 14px; margin-bottom: 22px; }
  .step-nav { flex-direction: column-reverse; align-items: stretch; }
  .step-nav .btn-step { width: 100%; }
  .step-nav span:empty { display: none; }
  .order-resume { flex-direction: column; align-items: flex-start; }
  .done-title { font-size: 12px; }
  .done-actions { flex-direction: column; }
  .done-actions .btn-step { width: 100%; }
}

@media (max-width: 400px) {
  .dotmachine-body { padding: 18px 14px; }
  .dm-sizes { gap: 6px; }
  .dm-size { min-height: 48px; }
  .stepper-label { font-size: 10.5px; }
  .order-photo-thumb { width: 160px; }
}

@keyframes dmFlowH {
  0%, 100% { opacity: 0.25; transform: translateX(0); }
  50%      { opacity: 1;    transform: translateX(5px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Páginas legales — prosa larga (aviso legal, privacidad, condiciones)
   ========================================================================== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 96px;
}
.legal-page h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
}
.legal-updated {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--dot-yellow);
  letter-spacing: .5px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 21px;
  color: var(--text-main);
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(240, 237, 232, .10);
}
.legal-page h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  margin: 26px 0 8px;
}
.legal-page p,
.legal-page li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.legal-page p { margin-bottom: 15px; }
.legal-page ul { margin: 0 0 18px; padding-left: 22px; }
.legal-page li { margin-bottom: 9px; }
.legal-page strong { color: var(--text-main); font-weight: 600; }
.legal-page a { color: var(--dot-blue); text-decoration: underline; }
.legal-page a:hover { color: var(--dot-yellow); }

/* Datos que aún faltan por rellenar: se marcan en pantalla para que no
   pasen desapercibidos si la página se publica antes de tiempo. */
.legal-tbd {
  background: rgba(227, 0, 11, .14);
  border: 1px dashed var(--dot-red);
  border-radius: 4px;
  padding: 1px 7px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .9em;
  color: var(--text-main);
  white-space: nowrap;
}
.legal-nota {
  background: var(--bg-card);
  border-left: 3px solid var(--dot-yellow);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 26px 0;
}
.legal-nota p:last-child { margin-bottom: 0; }
.legal-toc {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 44px;
}
.legal-toc ul { margin: 0; padding-left: 20px; }
.legal-toc li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .legal-page { padding: 116px 20px 72px; }
}

/* --- Consentimiento e información precontractual del formulario --- */
.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(240, 237, 232, .10);
  border-radius: 12px;
}
.consent-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.consent-row .checkbox-custom { margin-top: 2px; }
.consent-text { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }
.consent-text a { color: var(--dot-blue); text-decoration: underline; }
.consent-row.has-error {
  border-color: var(--dot-red);
  background: rgba(227, 0, 11, .08);
}
.consent-row input[type="checkbox"]:focus-visible ~ .checkbox-custom {
  outline: 3px solid var(--dot-yellow);
  outline-offset: 2px;
}
.desistimiento-aviso {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  background: rgba(255, 213, 0, .07);
  border-left: 3px solid var(--dot-yellow);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 0 20px;
}
.desistimiento-aviso strong { color: var(--text-main); }

/* --- Espaciado del símbolo de euro ---------------------------------------
   La tipografía española pide un espacio entre la cifra y el €, pero
   Press Start 2P es monoespaciada y ese espacio ocupa un carácter entero:
   "89 €" se lee como "89   €". Lo estrechamos sin quitar el espacio, para
   que al copiar el precio siga saliendo bien formado. */
.price-card .price,
.size-option .opt-price,
.addon-price {
  word-spacing: -0.45em;
}
