@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #1a3c5e;
  --navy-light: #254d78;
  --gold: #c9a84c;
  --gold-light: #e0c06a;
  --bg: #f0f4f8;
  --white: #ffffff;
  --gray-100: #f7f9fc;
  --gray-200: #e8edf3;
  --gray-400: #94a3b8;
  --gray-600: #4a5568;
  --gray-800: #1e2a38;
  --success: #22c55e;
  --error: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--gray-800);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Header ── */
.header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { font-size: 32px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.logo-name { display: block; font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -.5px; }
.logo-tag  { display: block; font-size: 11px; font-weight: 400; color: var(--gold-light); letter-spacing: .5px; text-transform: uppercase; }
.header-badge {
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: .4px;
}

/* ── Container ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ── Page Title ── */
.page-title { text-align: center; padding: 48px 0 36px; }
.page-title h1 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.page-title p  { color: var(--gray-600); font-size: 16px; }

/* ── Form Sections ── */
.form-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.form-section:hover { box-shadow: var(--shadow-lg); }

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
}
.section-number {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.section-header h2 { font-size: 18px; font-weight: 700; color: var(--navy); }

/* ── Form Grid ── */
.form-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.form-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Form Groups ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.form-group label .hint { font-weight: 400; text-transform: none; color: var(--gray-400); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,60,94,.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Radio Group (Operación) ── */
.radio-group { display: flex; gap: 12px; }
.radio-option input { display: none; }
.radio-btn {
  display: block;
  padding: 11px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all .2s;
  white-space: nowrap;
}
.radio-option input:checked + .radio-btn {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.radio-btn:hover { border-color: var(--navy-light); }

/* ── Amenities Grid ── */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all .2s;
  position: relative;
}
.amenity-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.amenity-icon { font-size: 24px; }
.amenity-item:hover { border-color: var(--gold); background: #fffdf5; }
.amenity-item:has(input:checked) {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf0, #fff8e1);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(201,168,76,.2);
}
.amenity-item:has(input:checked) .amenity-icon { transform: scale(1.15); }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 32px;
  text-align: center;
  background: var(--gray-100);
  cursor: pointer;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.upload-zone:hover { border-color: var(--navy); background: #f0f5fb; }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.upload-zone p { font-size: 14px; color: var(--gray-600); }
.upload-zone strong { color: var(--navy); }
.upload-hint { font-size: 12px; color: var(--gray-400); margin-top: 6px; display: block; }
.upload-preview { width: 100%; max-height: 280px; object-fit: cover; border-radius: var(--radius-sm); }
.extras-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.extras-preview-grid img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-sm); }

/* ── Submit ── */
.submit-section { text-align: center; padding: 16px 0 48px; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  padding: 18px 48px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(201,168,76,.45);
  transition: all .25s;
  letter-spacing: -.2px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,168,76,.55); }
.btn-submit:active { transform: translateY(0); }
.btn-icon { font-size: 22px; }
.submit-hint { margin-top: 12px; font-size: 13px; color: var(--gray-400); }

/* ── Loading Overlay ── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(15,25,40,.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.loading-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}
.loading-spinner {
  width: 56px; height: 56px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .9s linear infinite;
  margin: 0 auto 22px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.loading-card p  { color: var(--gray-600); margin-bottom: 24px; }
.loading-steps { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.step {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--gray-400);
  background: var(--gray-100);
  border-left: 3px solid var(--gray-200);
  transition: all .4s;
}
.step.active {
  color: var(--navy);
  background: #f0f5fb;
  border-left-color: var(--gold);
  font-weight: 600;
}
.step.done { color: var(--success); background: #f0fff4; border-left-color: var(--success); }

/* ── Results Page ── */
.results-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 40px 0;
  margin-bottom: 36px;
}
.results-hero h1 { color: var(--white); font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.results-hero p  { color: rgba(255,255,255,.7); font-size: 15px; }
.results-hero .badge {
  display: inline-block;
  background: rgba(201,168,76,.25);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.results-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.results-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.results-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  border-radius: 1px;
}

.description-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
  background: var(--gray-100);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.social-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all .2s;
}
.social-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.social-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.social-card-header.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-card-header.facebook  { background: #1877f2; color: white; }
.social-card-header.tiktok    { background: #010101; color: white; }
.social-card-header.whatsapp  { background: #25d366; color: white; }

.social-card-body { padding: 16px; background: var(--white); }
.social-card-body pre {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--gray-800);
  line-height: 1.7;
  max-height: 160px;
  overflow-y: auto;
}
.social-card-body pre::-webkit-scrollbar { width: 4px; }
.social-card-body pre::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; text-decoration: none; white-space: nowrap; }
.btn-copy    { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.btn-copy:hover { background: var(--navy); color: white; }
.btn-copy.copied { background: var(--success); color: white; }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: white; box-shadow: 0 4px 14px rgba(26,60,94,.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,60,94,.4); }
.btn-gold    { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); font-weight: 700; box-shadow: 0 4px 14px rgba(201,168,76,.35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,.45); }
.btn-danger  { background: #fee2e2; color: var(--error); border: 1px solid #fecaca; }
.btn-danger:hover { background: var(--error); color: white; }

/* ── Action Bar ── */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  align-items: center;
}
.action-bar h3 { font-size: 15px; font-weight: 700; color: var(--navy); width: 100%; margin-bottom: 4px; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery-grid img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .2s; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.03); }
.gallery-cover { grid-column: 1 / -1; height: 280px !important; }

/* ── Stats ── */
.stats-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.stat-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.stat-chip .stat-icon { font-size: 18px; }

/* ── Amenity Tags ── */
.amenity-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-tag {
  background: linear-gradient(135deg, #fffdf0, #fff8e1);
  border: 1px solid rgba(201,168,76,.4);
  color: #7a5c1a;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── Progress Bar (Video) ── */
.progress-bar { background: var(--gray-200); border-radius: 10px; height: 8px; overflow: hidden; margin-top: 10px; }
.progress-fill { height: 100%; background: linear-gradient(to right, var(--navy), var(--gold)); border-radius: 10px; transition: width .5s; }

/* ── Toast Notification ── */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--gray-800);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s cubic-bezier(.175,.885,.32,1.275);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--error); }

/* ── Images Download Grid ── */
.images-download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.image-download-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all .2s;
}
.image-download-card:hover { border-color: var(--gold); }
.image-download-card img { width: 100%; height: 130px; object-fit: cover; }
.image-download-card .card-info {
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 600; color: var(--gray-600);
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .form-grid.cols-2,
  .form-grid.cols-3,
  .form-grid.cols-4 { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .form-section { padding: 22px 18px; }
  .page-title h1 { font-size: 24px; }
  .action-bar { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
