:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #f1ffe9, #ffffff 45%);
  color: #0f172a;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

html[lang="en"] body [data-lang="es"] {
  display: none;
}

html[lang="es"] body [data-lang="en"] {
  display: none;
}

.language-switcher [data-lang] {
  display: inline-flex !important;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  padding-top: max(12px, env(safe-area-inset-top, 0px));
  padding-bottom: 12px;
}

.nav {
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 48px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand .logo-image {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 40px;
  flex-wrap: wrap;
  flex: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 4px;
}

.nav-cta {
  margin-left: auto;
  background: #059669;
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.28);
}

.nav-cta:active {
  transform: translateY(0);
}

/* Promo Bar */
.promo-bar {
  background: linear-gradient(90deg, #022c22 0%, #065f46 45%, #059669 100%);
  color: #f8fafc;
  padding: 10px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 40%, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 86% 62%, rgba(255, 255, 255, 0.12), transparent 26%);
  pointer-events: none;
}

.promo-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.promo-bar-text {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  line-height: 1.4;
  color: #f8fafc;
}

.promo-bar-text strong {
  color: #fef9c3;
}

.promo-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-copy-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.promo-copy-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.promo-copy-btn:active {
  transform: translateY(0);
}

.promo-copy-btn.copied {
  background: #dcfce7;
  color: #065f46;
  border-color: #bbf7d0;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.24);
}

.promo-copy-btn--inline {
  background: #ebfff3;
  color: #065f46;
  border-color: #c4f0d9;
  box-shadow: none;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
  line-height: 1.2;
}

.promo-copy-btn--inline:hover {
  background: #d5f6e5;
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(5, 150, 105, 0.18);
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #059669;
}

.language-switcher {
  display: flex;
  gap: 4px;
  background: #f1ffe9;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  margin-left: 12px;
}

.desktop-lang {
  display: flex !important;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.mobile-lang {
  display: none !important;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.lang-btn.active {
  background: #059669;
  color: white;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.create-main {
  max-width: 1040px;
  margin: 32px auto 80px;
  padding: 0 clamp(16px, 5vw, 32px);
  display: grid;
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #059669;
  font-weight: 600;
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}

.subtitle {
  color: #475569;
  margin-bottom: 24px;
}


.step-intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 12px 0;
  background: rgba(248, 250, 252, 0.8);
}

.step-intro h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.step-intro p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.step-pill {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-intro.active {
  border-color: rgba(5, 150, 105, 0.4);
  background: rgba(236, 253, 245, 0.9);
}

.step-intro.done {
  border-color: rgba(5, 150, 105, 0.3);
  opacity: 0.85;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-grid--stack {
  grid-template-columns: 1fr;
}

.field-note {
  margin: 0 0 12px;
  color: #475569;
  font-size: 14px;
}

label span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.label-heading {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.input-hint {
  display: none;
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
}

.input-hint.visible {
  display: block;
}

.input-note {
  display: block;
  margin-top: 6px;
  color: #475569;
  font-size: 14px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin: 12px 0 6px;
}

.required-mark {
  color: #dc2626;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
input[type="file"] {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.input-inline {
  max-width: 360px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .scene-grid {
    grid-template-columns: 1fr;
  }
}

.people-count-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.people-count-option {
  flex: 1 1 220px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.people-count-option input {
  margin-top: 4px;
}

.people-count-option strong {
  display: block;
  font-size: 15px;
}

.people-count-option small {
  display: block;
  color: #64748b;
}

.people-count-option:has(input:checked) {
  border-color: #059669;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.18);
}

.scene-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.scene-card[hidden] {
  display: none !important;
}

.scene-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scene-card-body {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 16px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.scene-card-body:hover {
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25);
}

.scene-card img {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .scene-card-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .scene-card img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
  }
}

.scene-card strong {
  display: block;
  margin-bottom: 4px;
}

.scene-description {
  display: block;
  color: #475569;
  font-size: 15px;
}

.scene-card input:checked + .scene-card-body {
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.6);
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.6);
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(15, 23, 42, 0.25);
  border-radius: 18px;
  padding: 24px 18px;
  cursor: pointer;
  background: rgba(248, 250, 252, 0.9);
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 8px;
  text-align: center;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.file-label:hover {
  border-color: rgba(5, 150, 105, 0.7);
  background: rgba(236, 253, 245, 0.8);
}

.file-label input {
  display: none;
}

.file-label-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.file-label-icon {
  font-size: 48px;
}

.file-label-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.file-label-text strong {
  display: block;
  font-size: 18px;
}

.file-label-text small {
  color: #475569;
  display: block;
}

.photo-filename {
  margin-top: 6px;
  color: #475569;
}

.file-label.dragover {
  border-color: rgba(5, 150, 105, 0.8);
  background: rgba(236, 253, 245, 0.65);
}

.disclaimer {
  color: #475569;
}

.upload-disclaimer {
  max-width: 640px;
  margin: 6px auto 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 4px solid #059669;
  border-radius: 14px;
  color: #1f2937;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: center;
}

.upload-disclaimer p {
  margin: 0;
  line-height: 1.5;
}

.upload-disclaimer-icon {
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
}

.checkbox-card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
}

.checkbox-card input[type="checkbox"] {
  margin: 0;
}

.checkbox-card strong {
  display: block;
  margin-bottom: 2px;
}

.checkbox-copy span {
  color: #475569;
  font-size: 15px;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.price-line > div:first-child {
  flex: 1;
}

.price-line .primary-btn {
  margin-left: auto;
  margin-top: 8px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.price-note {
  font-size: 16px;
  font-weight: 500;
}

.price-promo {
  margin-top: 10px;
  background: #ecfdf3;
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.08);
}

.price-promo-badge {
  align-self: flex-start;
  background: linear-gradient(120deg, #065f46, #047857);
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.18);
}

.price-promo-text {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.primary-btn {
  background: #059669;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.primary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.secondary-btn {
  background: #0f172a;
  color: #fff;
}

.ghost-btn {
  background: transparent;
  color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.feedback {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
}

.status-card {
  border: 2px dashed rgba(148, 163, 184, 0.6);
}

.status-confirmation {
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
}

.status-confirmation h3 {
  margin: 4px 0 8px;
}

.gratitude-callout {
  text-align: center;
  margin-bottom: 16px;
}

.gratitude-callout h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 5vw, 36px);
  color: #065f46;
}

.gratitude-stars {
  font-size: 24px;
  letter-spacing: 4px;
  color: #fbbf24;
}

.status-error {
  background: #fef2f2;
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.status-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.status-error h2 {
  margin: 8px 0 12px;
  color: #b91c1c;
}

.error-icon {
  font-size: 32px;
  color: #dc2626;
}

.retry-btn {
  margin-top: 8px;
}

.support-note {
  margin-top: 12px;
  font-size: 14px;
  color: #475569;
}

.support-note a {
  color: inherit;
  font-weight: 600;
}

.confirmation-list {
  margin: 0;
  padding-left: 18px;
  color: #0f172a;
}

.confirmation-list li {
  margin-bottom: 4px;
}

.status-progress {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.status-label {
  margin: 0;
  color: #64748b;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  font-weight: 600;
}

.downloads ul,
.log ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.downloads li {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.downloads a {
  text-decoration: none;
  color: #059669;
  font-weight: 600;
}

.log li {
  border-left: 3px solid rgba(148, 163, 184, 0.6);
  padding: 8px 12px;
  margin-bottom: 8px;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  font-size: 14px;
}

.status-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .price-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-progress {
    flex-direction: column;
    align-items: flex-start;
  }
}
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
  color: #475569;
}

.terms-row a {
  color: #059669;
  text-decoration: underline;
}

.terms-row input[type="checkbox"] {
  margin-top: 2px;
}

.legal-link-footer {
  text-align: center;
  padding: 32px 16px 60px;
  color: #475569;
  font-size: 14px;
}

.legal-link-footer a {
  color: #059669;
  font-weight: 600;
}

.footer {
  padding: 40px 0;
  background: #1a1a1a;
  color: white;
}

.footer-brand .logo-image {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}

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

.footer-brand p {
  color: #64748b;
  font-size: 14px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .promo-bar {
    padding: 12px 0;
  }

  .promo-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .promo-bar-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .promo-bar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .promo-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .price-promo .promo-copy-btn {
    width: auto;
    align-self: flex-start;
  }

  .header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
    padding-bottom: 16px;
  }

  .nav {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 12px;
  }

  .nav-brand {
    flex: 0 0 auto;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 8px;
  }

  .nav-cta {
    order: 2;
    width: auto;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
  }

  .nav-links {
    width: 100%;
    order: 4;
    margin-left: 0;
    justify-content: flex-start;
    gap: 12px;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    display: none;
    z-index: 900;
  }

  .nav.nav-open .nav-links {
    display: flex !important;
  }

  .desktop-lang {
    display: none !important;
  }

  .mobile-lang {
    display: flex !important;
    order: 5;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    background: transparent;
    border: none;
  }

  .nav-link {
    font-size: 15px;
    padding: 4px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .container {
    padding: 0 16px;
  }
}
