/* =============================================
   JaResume - Jamaica Resume Builder
   style.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --gold: #F5A623;
  --gold-light: #FFC85A;
  --gold-dark: #C9841A;
  --green-ja: #009B3A;
  --green-dark: #007A2E;
  --black-ja: #1a1a1a;
  --bg: #F0F4FF;
  --surface: #ffffff;
  --surface-2: #f8f9ff;
  --border: #e0e6f0;
  --text: #1e2a3a;
  --text-muted: #6b7a8d;
  --blue: #1565C0;
  --blue-light: #E8F0FE;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.13);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input,
textarea,
select {
  font-family: var(--font);
}

/* ---------- Utility ---------- */
.no-print {}

.print-only {
  display: none;
}

/* ---------- HEADER ---------- */
.site-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2rem;
}

.logo-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.logo-tagline {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
}

.btn-primary.small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--gold-light);
  color: #1a1a1a;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-success {
  background: linear-gradient(135deg, var(--green-ja), var(--green-dark));
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 15px rgba(0, 155, 58, 0.4);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 155, 58, 0.5);
}

.btn-add {
  background: var(--blue-light);
  color: var(--blue);
  border: 2px dashed var(--blue);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 12px;
}

.btn-add:hover {
  background: var(--blue);
  color: white;
}

.btn-print {
  background: linear-gradient(135deg, var(--green-ja), var(--green-dark));
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-print:hover {
  transform: translateY(-2px);
}

/* ---------- ADS ---------- */
.ad-banner {
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-top {
  margin-bottom: 0;
}

.ad-bottom {
  margin-top: 0;
}

.ad-sidebar {
  margin-top: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 50px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5A623' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: white;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-accent {
  color: var(--gold-light);
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-step span {
  background: var(--gold);
  color: #1a1a1a;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.hero-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: bold;
}

/* ---------- APP LAYOUT ---------- */
.app-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 28px;
}

@media (max-width: 1050px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- FORM PANEL ---------- */
.form-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Step Tabs */
.step-tabs {
  display: flex;
  overflow-x: auto;
  background: #f4f7ff;
  border-bottom: 2px solid var(--border);
  padding: 0 4px;
  gap: 2px;
  scrollbar-width: none;
}

.step-tabs::-webkit-scrollbar {
  display: none;
}

.step-tab {
  background: transparent;
  border: none;
  padding: 14px 14px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  margin-bottom: -2px;
}

.step-tab:hover {
  color: var(--blue);
}

.step-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: white;
}

/* Form Steps */
.form-step {
  display: none;
  padding: 28px;
  animation: fadeIn 0.25s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.step-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

/* Fields */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface-2);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px var(--blue-light);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.char-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Suggestions / Chips */
.ai-starters {
  margin-top: 16px;
}

.ai-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.starter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid #c5d8f8;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* Skill Tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  min-height: 32px;
}

.skill-tag {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-tag button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  opacity: 0.6;
  padding: 0;
}

.skill-tag button:hover {
  opacity: 1;
}

.skill-input-row {
  display: flex;
  gap: 8px;
}

.skill-input-row input {
  flex: 1;
}

.skill-suggestions {
  margin-top: 16px;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Step Nav */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Education / Experience Cards */
.dynamic-card {
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
  position: relative;
}

.dynamic-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dynamic-card-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.btn-remove-card {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-remove-card:hover {
  background: #dc2626;
  color: white;
}

/* ---------- PREVIEW PANEL ---------- */
.preview-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-toolbar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.preview-label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  flex: 1;
}

.template-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.template-picker label {
  font-weight: 600;
  color: var(--text-muted);
}

.template-picker select {
  padding: 6px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.resume-wrapper {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-height: 600px;
  overflow: auto;
  display: flex;
  justify-content: center;
}

/* ============ RESUME DOCUMENT STYLES ============ */
#resumeDoc {
  width: 750px;
  min-height: 1000px;
  font-family: 'Inter', sans-serif;
  background: white;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

/* Empty state */
.resume-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.resume-empty-state h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 8px;
}

.resume-empty-state p {
  font-size: 0.9rem;
  max-width: 280px;
}

/* ---- TEMPLATE: classic ---- */
.resume.classic .resume-header {
  background: #1e2a3a;
  color: white;
  padding: 32px 36px;
}

.resume.classic .resume-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.resume.classic .resume-jobtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
  font-weight: 400;
}

.resume.classic .resume-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.resume.classic .resume-body {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
}

.resume.classic .resume-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1e2a3a;
  border-bottom: 2px solid #1e2a3a;
  padding-bottom: 5px;
  margin-bottom: 12px;
}

/* ---- TEMPLATE: modern ---- */
.resume.modern .resume-header {
  background: linear-gradient(135deg, var(--blue) 0%, #1976D2 100%);
  color: white;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.resume.modern .resume-name {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
}

.resume.modern .resume-jobtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
}

.resume.modern .resume-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.resume.modern .resume-body {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
}

.resume.modern .resume-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  border-left: 4px solid var(--blue);
  padding-left: 10px;
  margin-bottom: 12px;
}

/* ---- TEMPLATE: elegant ---- */
.resume.elegant .resume-header {
  padding: 36px 40px;
  border-bottom: 3px solid var(--gold);
}

.resume.elegant .resume-name {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a1a;
}

.resume.elegant .resume-jobtitle {
  font-size: 1rem;
  color: var(--gold-dark);
  margin-top: 3px;
  font-weight: 600;
}

.resume.elegant .resume-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.resume.elegant .resume-body {
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 28px;
}

.resume.elegant .resume-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 5px;
  margin-bottom: 12px;
}

/* ---- TEMPLATE: bold ---- */
.resume.bold .resume-header {
  background: var(--green-ja);
  color: white;
  padding: 32px 36px;
}

.resume.bold .resume-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
}

.resume.bold .resume-jobtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3px;
}

.resume.bold .resume-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.resume.bold .resume-body {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 24px;
}

.resume.bold .resume-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  background: #e8f5e9;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Shared resume body styles */
.resume-main {}

.resume-sidebar {}

.resume-section {
  margin-bottom: 22px;
}

.resume-objective {
  font-size: 0.86rem;
  line-height: 1.7;
  color: #333;
}

.resume-entry {
  margin-bottom: 14px;
}

.resume-entry-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
}

.resume-entry-sub {
  font-size: 0.82rem;
  color: #555;
  font-weight: 500;
}

.resume-entry-date {
  font-size: 0.78rem;
  color: #888;
  margin: 2px 0;
}

.resume-entry-bullets {
  margin-top: 6px;
  padding-left: 16px;
}

.resume-entry-bullets li {
  font-size: 0.83rem;
  color: #444;
  margin-bottom: 3px;
  line-height: 1.5;
}

.resume-skill-list {
  list-style: none;
  padding: 0;
}

.resume-skill-list li {
  font-size: 0.83rem;
  padding: 5px 0;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.resume-skill-list li::before {
  content: '•';
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.resume-ref-entry {
  margin-bottom: 12px;
}

.resume-ref-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
}

.resume-ref-dep {
  font-size: 0.8rem;
  color: #555;
}

.resume-ref-contact {
  font-size: 0.78rem;
  color: #777;
}

.resume-refs-available {
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
}

/* ---------- TIPS SECTION ---------- */
.tips-section {
  padding: 60px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.tips-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tips-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
}

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

.tip-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.tip-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 24px;
  text-align: center;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.site-footer p {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--gold-light);
  margin: 0 6px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy a {
  color: var(--gold-light);
}

/* ---------- HEADER BLOG LINK ---------- */
.header-blog-link {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(245, 200, 90, 0.35);
  padding: 7px 16px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.header-blog-link:hover {
  background: rgba(245, 200, 90, 0.15);
  text-decoration: none;
}

/* ---------- BLOG PROMO BAR ---------- */
.blog-promo-bar {
  background: linear-gradient(90deg, #0f3460 0%, #1565C0 50%, #0f3460 100%);
  border-bottom: 1px solid rgba(245, 166, 35, 0.3);
}

.blog-promo-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-promo-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.blog-promo-brand {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-light);
}

.blog-promo-brand:hover {
  text-decoration: none;
  color: white;
}

.blog-promo-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
}

.blog-promo-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}

.blog-promo-cta {
  background: var(--gold);
  color: #1a1a1a;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  margin-left: auto;
}

.blog-promo-cta:hover {
  background: var(--gold-light);
  text-decoration: none;
  transform: translateX(2px);
}

/* ---------- TIP CARD BLOG ---------- */
.tip-card-blog {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, #fffdf0, #fff8e1);
}

.tip-blog-btn {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.tip-blog-btn:hover {
  text-decoration: none;
  transform: translateX(3px);
  box-shadow: 0 3px 12px rgba(245, 166, 35, 0.4);
}

/* ---------- FOOTER BRAND ---------- */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-light);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-howjamaica {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-howjamaica:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.25);
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  body {
    background: white;
    margin: 0;
    padding: 0;
  }

  #resumeDoc {
    width: 100%;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .resume-wrapper {
    box-shadow: none;
    padding: 0;
  }

  .app-layout {
    display: block;
  }

  .form-panel {
    display: none;
  }

  .preview-toolbar {
    display: none !important;
  }

  .preview-panel {
    width: 100% !important;
  }

  .resume-body {
    break-inside: avoid;
  }

  @page {
    margin: 15mm;
    size: A4;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .app-layout {
    padding: 16px;
    gap: 16px;
  }

  .form-panel {
    border-radius: var(--radius-sm);
  }

  .form-step {
    padding: 20px 16px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .resume-wrapper {
    padding: 8px;
  }

  #resumeDoc {
    width: 100%;
    transform-origin: top left;
    transform: scale(0.75);
  }

  .resume.classic .resume-body,
  .resume.modern .resume-body,
  .resume.elegant .resume-body,
  .resume.bold .resume-body {
    grid-template-columns: 1fr;
  }

  .resume.classic .resume-header,
  .resume.modern .resume-header,
  .resume.elegant .resume-header,
  .resume.bold .resume-header {
    padding: 20px;
  }

  .resume-name {
    font-size: 1.6rem !important;
  }
}