/* ============================================================
   Izracunaj.net — Global Stylesheet
   ============================================================ */

:root {
  --blue:       #1a56db;
  --blue-dark:  #1343b0;
  --blue-light: #e8f0fd;
  --green:      #057a55;
  --green-light:#ecfdf5;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --white:      #ffffff;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.13);
  --transition: .2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Utility ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: var(--gray-100);
  color: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
}

.nav-toggle svg { display: block; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 10px 14px; display: block; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f2d6b 0%, #1a56db 60%, #1565c0 100%);
  padding: 72px 0 60px;
  text-align: center;
  color: #fff;
  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='%23ffffff' fill-opacity='0.03'%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") repeat;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.hero h1 span { color: #93c5fd; }

.hero p {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  opacity: .85;
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-search {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.hero-search input {
  width: 100%;
  padding: 16px 56px 16px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1rem;
  color: var(--gray-900);
  background: #fff;
  box-shadow: var(--shadow-lg);
  outline: none;
  transition: border-color var(--transition);
}

.hero-search input:focus { border-color: #93c5fd; }

.hero-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
}

.hero-search button:hover { background: var(--blue-dark); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
}

.stat-label {
  font-size: .8rem;
  opacity: .7;
  margin-top: 2px;
  display: block;
}

/* ============================================================
   SEARCH RESULTS OVERLAY
   ============================================================ */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 50;
  display: none;
  border: 1px solid var(--gray-200);
}

.search-results.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--gray-900);
  transition: background var(--transition);
  text-align: left;
}

.search-result-item:hover { background: var(--gray-50); }

.result-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.result-cat { font-size: .75rem; color: var(--gray-500); }
.result-name { font-weight: 600; font-size: .9rem; }

.no-results {
  padding: 20px;
  text-align: center;
  color: var(--gray-500);
  font-size: .9rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content { padding: 60px 0 80px; }

/* Category section */
.category-section { margin-bottom: 52px; }

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cat-health .category-icon { background: #fee2e2; }
.cat-finance .category-icon { background: #fef9c3; }

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.category-subtitle {
  font-size: .85rem;
  color: var(--gray-500);
  margin-top: 1px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

/* Calculator Card */
.calc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.calc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.calc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.calc-card:hover::after { opacity: 1; }

.calc-card:hover .card-icon,
.calc-card:hover .card-name,
.calc-card:hover .card-desc,
.calc-card:hover .card-arrow {
  position: relative;
  z-index: 1;
  color: #fff;
}

.calc-card:hover .card-icon {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
}

.calc-card:hover .card-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background var(--transition), color var(--transition);
}

.card-name {
  font-size: .975rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: color var(--transition);
  line-height: 1.3;
}

.card-desc {
  font-size: .82rem;
  color: var(--gray-500);
  transition: color var(--transition);
  line-height: 1.5;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.card-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  transition: background var(--transition), color var(--transition);
}

.card-arrow {
  color: var(--gray-400);
  font-size: 1rem;
  transition: color var(--transition), transform var(--transition);
}

.calc-card:hover .card-arrow { transform: translateX(3px); }

/* Coming soon card */
.calc-card.coming-soon {
  opacity: .65;
  pointer-events: none;
}

.calc-card.coming-soon::after { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo .logo-icon { background: var(--blue); }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .3px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: .85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.breadcrumb ol li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--gray-400); }
.breadcrumb ol a { color: var(--blue); }
.breadcrumb ol a:hover { text-decoration: underline; }
.breadcrumb ol li:last-child { color: var(--gray-700); font-weight: 500; }

/* ============================================================
   CALCULATOR PAGE LAYOUT
   ============================================================ */
.calc-page {
  padding: 48px 0 80px;
}

.calc-page-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .calc-page-grid { grid-template-columns: 1fr; }
}

/* Calc Card Main */
.calc-main-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.calc-main-card-header {
  background: linear-gradient(135deg, #0f2d6b, var(--blue));
  padding: 28px 32px;
  color: #fff;
}

.calc-main-card-header .calc-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.calc-main-card-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -.3px;
}

.calc-main-card-header p {
  font-size: .9rem;
  opacity: .85;
}

.calc-body { padding: 32px; }

/* Unit Toggle */
.unit-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
  width: fit-content;
}

.unit-btn {
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  background: none;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.unit-btn.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

/* Form */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

.form-control::placeholder { color: var(--gray-400); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Input with unit suffix */
.input-group {
  position: relative;
}

.input-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .875rem;
  font-weight: 500;
  pointer-events: none;
}

.input-group .form-control { padding-right: 48px; }

/* Calc button */
.btn-calc {
  width: 100%;
  padding: 15px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}

.btn-calc:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,.35);
}

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

/* ============================================================
   RESULT PANEL
   ============================================================ */
.result-panel {
  margin-top: 28px;
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
  display: none;
}

.result-panel.visible {
  display: block;
  animation: fadeSlideUp .35s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-bmi-number {
  text-align: center;
  margin-bottom: 24px;
}

.bmi-value {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.bmi-label {
  font-size: 1rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.bmi-category-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  margin-top: 10px;
}

/* BMI gauge */
.bmi-gauge-wrap {
  margin: 24px 0;
}

.bmi-gauge-label {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.bmi-gauge {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(to right,
    #3b82f6 0%,
    #22c55e 25%,
    #f59e0b 60%,
    #ef4444 100%);
  position: relative;
  overflow: visible;
}

.bmi-pointer {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 3px solid var(--gray-900);
  border-radius: 50%;
  transition: left .6s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shadow);
}

/* BMI Category list */
.bmi-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.bmi-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.bmi-cat-row.active {
  border-color: currentColor;
}

.bmi-cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bmi-cat-name { font-weight: 600; font-size: .875rem; flex: 1; }
.bmi-cat-range { font-size: .8rem; color: var(--gray-500); }

/* Color classes */
.color-blue   { color: #3b82f6; }
.color-green  { color: #22c55e; }
.color-yellow { color: #f59e0b; }
.color-orange { color: #f97316; }
.color-red    { color: #ef4444; }

.bg-blue   { background: #eff6ff; }
.bg-green  { background: #f0fdf4; }
.bg-yellow { background: #fefce8; }
.bg-orange { background: #fff7ed; }
.bg-red    { background: #fef2f2; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.related-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.related-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), background var(--transition);
}

.related-item a:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.related-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.related-info { flex: 1; }
.related-name { font-size: .875rem; font-weight: 600; color: var(--gray-900); }
.related-desc { font-size: .76rem; color: var(--gray-500); margin-top: 1px; }
.related-arrow { color: var(--gray-400); font-size: .875rem; }

/* Info box */
.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin-top: 8px;
}

.info-box p { font-size: .85rem; color: var(--gray-700); line-height: 1.6; }
.info-box strong { color: var(--blue); }

/* ============================================================
   EXPLANATION SECTION
   ============================================================ */
.explanation-section {
  margin-top: 40px;
}

.explanation-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.explanation-section p {
  color: var(--gray-700);
  margin-bottom: 14px;
  font-size: .95rem;
  line-height: 1.75;
}

.cat-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: .875rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.cat-table th {
  background: var(--gray-50);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

.cat-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.cat-table tr:last-child td { border-bottom: none; }

/* ============================================================
   NEXT STEPS SECTION
   ============================================================ */
.next-steps {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 36px;
}

.next-steps h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.next-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.next-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.next-card-icon { font-size: 1.4rem; }
.next-card-name { font-size: .875rem; font-weight: 700; color: var(--gray-900); }
.next-card-desc { font-size: .78rem; color: var(--gray-500); line-height: 1.45; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover { transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .calc-body { padding: 20px 16px; }
  .calc-main-card-header { padding: 22px 20px; }
  .bmi-value { font-size: 3rem; }
  .hero-stats { gap: 24px; }
}
