@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&display=swap');

:root {
  --navy: #0a1628;
  --blue: #1a3a6b;
  --blue-mid: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #dbeafe;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-pale: #fef3c7;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --green: #10b981;
  --red: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,158,11,0.2);
  padding: 0 2rem;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--white); letter-spacing: -0.01em;
}
.logo span { color: var(--gold); }
nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  padding: 0.5rem 1rem;
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--white); background: rgba(37,99,235,0.3); }
.nav-cta {
  margin-left: 1rem;
  padding: 0.55rem 1.4rem !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.25s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary { background: var(--blue-mid); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
.btn-outline { background: transparent; color: var(--blue-mid); border: 2px solid var(--blue-mid); }
.btn-outline:hover { background: var(--blue-mid); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--gold); color: var(--navy); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; border-radius: 10px; }

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-blue { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-gold { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--blue-pale); color: var(--blue-mid);
  border-radius: 20px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag-gold {
  background: var(--gold-pale); color: #92400e;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2;
  color: var(--gray-800);
}
.section-title em { font-style: italic; color: var(--blue-mid); }
.section-title-white { color: var(--white); }
.section-title-white em { color: var(--gold); }
.section-sub {
  font-size: 1rem; color: var(--gray-600);
  max-width: 560px; margin: 1rem auto 0;
  line-height: 1.75;
}
.section-sub-white { color: rgba(255,255,255,0.7); }

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-blue { background: var(--blue); color: var(--white); }
.card-navy { background: var(--navy); color: var(--white); }
.card-gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: var(--navy); }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── ICON BOX ── */
.icon-box {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
  background: var(--blue-pale);
}
.icon-box-gold { background: var(--gold-pale); }
.icon-box-navy { background: rgba(255,255,255,0.1); }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gray-600); margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}
.form-input, .form-select {
  width: 100%; padding: 0.75rem 1rem;
  border: 2px solid var(--gray-100);
  border-radius: 8px; font-size: 0.92rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white); color: var(--gray-800);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus { border-color: var(--blue-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── CALCULATOR ── */
.calc-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.calc-result {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  color: var(--white);
  margin-top: 1.5rem;
}
.calc-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.calc-result-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.calc-result-value { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 400; color: var(--gold); }
.range-wrap { position: relative; }
input[type=range] {
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--gray-100); outline: none; cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-mid); cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
}
.range-labels {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--gray-400); margin-top: 0.4rem;
}

/* ── BADGE / RISK ── */
.badge {
  display: inline-block; padding: 0.3rem 0.8rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.badge-low { background: #dcfce7; color: #166534; }
.badge-med { background: #fef3c7; color: #92400e; }
.badge-high { background: #fee2e2; color: #991b1b; }

/* ── STAT ── */
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem; font-weight: 400; color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.4rem; }

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 2rem;
  border-top: 4px solid var(--gold);
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; }
.testimonial-author { font-weight: 700; color: var(--gray-800); font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--gray-400); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq-q {
  width: 100%; padding: 1.2rem 1.5rem;
  background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; text-align: left;
  color: var(--gray-800); display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--gray-50); }
.faq-icon { font-size: 1.2rem; color: var(--blue-mid); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 1.5rem 1.2rem; font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; }

/* ── WHATSAPP ── */
.whatsapp-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer; text-decoration: none;
  animation: pulse-green 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { display: block; margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.75; max-width: 22rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1.2rem; }
.footer-col a { display: block; font-size: 0.85rem; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 0 4rem; color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  border-radius: 50%;
}
.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400;
  line-height: 1.2; margin-bottom: 1rem;
}
.page-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 520px; }
.breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem; display: flex; gap: 0.5rem; align-items: center;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--navy); color: var(--white);
  padding: 1rem 1.2rem; text-align: left;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
}
td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
tr:hover td { background: var(--gray-50); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── UTILITIES ── */
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-mid); }
.text-muted { color: var(--gray-600); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.fw-700 { font-weight: 700; }
.check-list { list-style: none; }
.check-list li { padding: 0.4rem 0; padding-left: 1.6rem; position: relative; font-size: 0.9rem; color: var(--gray-600); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.highlight-box { background: var(--blue-pale); border-left: 4px solid var(--blue-mid); border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { font-size: 0.9rem; color: var(--blue); }
.rate-badge {
  display: inline-block; padding: 0.5rem 1.2rem;
  background: var(--gold-pale); color: #92400e;
  border-radius: 8px; font-weight: 700; font-size: 1.1rem;
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .calc-result-grid { grid-template-columns: 1fr; }
}
