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

:root {
  --navy: #10135a;
  --crimson: #a61e37;
  --gold: #f4a346;
  --white: #ffffff;
  --beige: #faf6f1;
  --dark-navy: #1a2744;
  --footer-bg: #2c3e5a;
  --text-dark: #2d2d2d;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 48px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.header-nav a:hover { color: var(--crimson); }
.header-nav .btn-consult {
  background: var(--crimson);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px;
}
.header-nav .btn-consult:hover { background: #8b1a2e; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1f6a 50%, var(--dark-navy) 100%);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(244,163,70,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 .accent { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ── QUIZ CONTAINER ── */
.quiz-section {
  background: var(--beige);
  padding: 60px 24px 80px;
}
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

/* ── PROGRESS ── */
.progress-wrapper { margin-bottom: 40px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.progress-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.progress-count { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.progress-bar {
  background: rgba(16,19,90,0.1);
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
}
.progress-fill {
  background: linear-gradient(90deg, var(--navy), var(--crimson));
  height: 100%;
  border-radius: 20px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}

/* ── QUESTION CARD ── */
.question-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  animation: cardIn 0.45s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.question-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--crimson);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.question-text {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.4;
}

/* ── ANSWER OPTIONS ── */
.options-list { display: flex; flex-direction: column; gap: 12px; }
.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  width: 100%;
}
.option-btn:hover {
  border-color: var(--navy);
  background: rgba(16,19,90,0.03);
  transform: translateX(4px);
}
.option-btn.selected {
  border-color: var(--navy);
  background: rgba(16,19,90,0.06);
}
.option-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  transition: var(--transition);
}
.option-btn:hover .option-indicator,
.option-btn.selected .option-indicator {
  background: var(--navy);
  color: var(--white);
}
.option-label { font-weight: 500; line-height: 1.4; }

/* ── NAV BUTTONS ── */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}
.btn {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-back {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border-light);
}
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.btn-next {
  background: var(--crimson);
  color: var(--white);
  margin-left: auto;
}
.btn-next:hover { background: #8b1a2e; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-restart {
  background: var(--navy);
  color: var(--white);
}
.btn-restart:hover { background: #0d1048; }

/* ── RESULT CARD ── */
.result-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: cardIn 0.5s cubic-bezier(0.4,0,0.2,1);
}
.result-header {
  background: linear-gradient(135deg, var(--navy), #1a1f6a);
  padding: 36px 40px;
  text-align: center;
}
.result-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}
.result-header h2 {
  font-family: 'Lora', serif;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 6px;
}
.result-header p { color: rgba(255,255,255,0.7); font-size: 15px; }
.result-body { padding: 36px 40px; }

.contact-block {
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.contact-block:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-block.primary {
  border-color: var(--navy);
  background: rgba(16,19,90,0.03);
}
.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--crimson);
  margin-bottom: 8px;
}
.contact-title {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.contact-info a {
  color: var(--crimson);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.contact-info a:hover { text-decoration: underline; }
.contact-details { margin-top: 14px; }
.contact-details li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  list-style: none;
}
.contact-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.reminder-box {
  background: linear-gradient(135deg, rgba(244,163,70,0.08), rgba(244,163,70,0.04));
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-top: 24px;
}
.reminder-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.reminder-box p { font-size: 13px; color: var(--text-muted); }

.result-actions { text-align: center; margin-top: 28px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark-navy);
  color: rgba(255,255,255,0.7);
  padding: 50px 24px 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--crimson), var(--gold));
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .question-card { padding: 28px 24px; }
  .result-header, .result-body { padding: 28px 24px; }
  .header-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .quiz-nav { flex-direction: column; }
  .btn-next { width: 100%; justify-content: center; }
}
