/* ===== SALUDTOOLS — Global Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --green:        #2D6A4F;
  --green-mid:    #40916C;
  --green-light:  #52B788;
  --green-pale:   #D8F3DC;
  --green-xpale:  #F0FBF4;
  --cream:        #F8F5F0;
  --cream-dark:   #EDE9E2;
  --dark:         #1A1A1A;
  --dark-2:       #2C2C2A;
  --muted:        #6B7280;
  --muted-light:  #9CA3AF;
  --border:       #E5E0D8;
  --border-dark:  #D1CBC0;
  --white:        #FFFFFF;
  --accent:       #B7E4C7;
  --blue:         #3B82F6;
  --amber:        #F59E0B;
  --red:          #EF4444;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(45,106,79,0.10);
  --shadow-lg: 0 16px 48px rgba(45,106,79,0.14);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.6rem,3vw,2.4rem); }
h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; }
p  { color: var(--muted); }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.logo span { color: var(--green-light); }
.nav-links { display:flex; gap:1.75rem; list-style:none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); border-bottom-color: var(--green-light); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background .2s, transform .15s;
  border-bottom: none !important;
}
.nav-cta:hover { background: #1E4D38; transform: translateY(-1px); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:22px; height:2px; background: var(--dark); border-radius:2px; transition:.2s; }
.mobile-menu {
  display:none; position:fixed; top:64px; left:0; right:0; bottom:0;
  background: var(--white); z-index:199; padding:2rem;
  flex-direction:column; gap:1.5rem;
}
.mobile-menu.open { display:flex; }
.mobile-menu a { font-size:1.2rem; font-weight:500; color:var(--dark); }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; gap:.45rem; font-family:var(--font-sans); font-weight:600; font-size:.9rem; border-radius:100px; padding:.8rem 1.75rem; cursor:pointer; transition:all .2s; border:1.5px solid transparent; text-decoration:none; }
.btn-primary   { background:var(--green); color:var(--white); border-color:var(--green); }
.btn-primary:hover   { background:#1E4D38; border-color:#1E4D38; transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn-secondary { background:transparent; color:var(--green); border-color:var(--green); }
.btn-secondary:hover { background:var(--green-pale); }
.btn-sm { padding:.5rem 1.1rem; font-size:.8rem; }

/* ── AD ZONES ── */
.ad-leaderboard {
  background: var(--border);
  min-height: 90px;
  display:flex; align-items:center; justify-content:center;
  color: var(--muted-light);
  font-size:.7rem; letter-spacing:.08em; text-transform:uppercase;
  border-bottom: 1px solid var(--border-dark);
}
.ad-box-300 {
  background: var(--cream-dark);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  width:300px; min-height:250px;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted-light); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase;
  margin: 1.5rem auto;
}
.ad-box-full {
  background: var(--cream-dark);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  min-height: 90px;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted-light); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase;
  margin: 2rem 0;
}

/* ── SECTIONS ── */
.section { max-width:1100px; margin:0 auto; padding:4rem 2rem; }
.section-sm { max-width:1100px; margin:0 auto; padding:2.5rem 2rem; }
.section-header { margin-bottom:2.5rem; }
.section-header h2 { margin-bottom:.4rem; }
.section-header p { max-width:560px; }

/* ── TOOL CARDS (grid) ── */
.tools-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.25rem; }
.tool-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:1.6rem;
  display:block; cursor:pointer;
  transition:all .25s;
  text-decoration:none;
  color:inherit;
}
.tool-card:hover { border-color:var(--green-light); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.tool-icon { width:48px;height:48px; background:var(--green-pale); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1rem; }
.tool-card h3 { margin-bottom:.3rem; color:var(--dark); }
.tool-card p  { font-size:.875rem; margin-bottom:1rem; line-height:1.55; }
.tag { display:inline-block; font-size:.72rem; font-weight:600; padding:.22rem .65rem; border-radius:100px; }
.tag-green  { background:var(--green-pale); color:var(--green); }
.tag-blue   { background:#DBEAFE; color:#1D4ED8; }
.tag-amber  { background:#FEF3C7; color:#D97706; }
.tag-pink   { background:#FCE7F3; color:#BE185D; }
.tag-gray   { background:#F3F4F6; color:#4B5563; }

/* ── CALCULATOR BASE ── */
.calculator {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.calc-title { font-size:1rem; font-weight:600; color:var(--dark); margin-bottom:1.5rem; }
.calc-group { margin-bottom:1.2rem; }
.calc-label { display:block; font-size:.75rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:.5rem; }
.calc-input {
  width:100%; padding:.75rem 1rem;
  border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--cream); font-family:var(--font-sans); font-size:1rem; color:var(--dark);
  outline:none; transition:border-color .2s;
  -moz-appearance:textfield;
}
.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button { -webkit-appearance:none; }
.calc-input:focus { border-color:var(--green-light); background:var(--white); }
.radio-group { display:flex; gap:.6rem; }
.radio-btn {
  flex:1; padding:.62rem; border:1px solid var(--border); border-radius:var(--radius-sm);
  text-align:center; font-size:.875rem; font-weight:500; cursor:pointer; transition:all .2s;
  color:var(--muted); background:var(--cream);
}
.radio-btn.active { background:var(--green); color:var(--white); border-color:var(--green); }
.calc-btn {
  width:100%; padding:.9rem; background:var(--green); color:var(--white);
  border:none; border-radius:var(--radius-sm); font-family:var(--font-sans);
  font-size:1rem; font-weight:600; cursor:pointer; margin-top:.25rem; transition:background .2s;
}
.calc-btn:hover { background:#1E4D38; }
.calc-result {
  background:var(--green-xpale); border:1px solid var(--green-pale);
  border-radius:var(--radius-md); padding:1.25rem; margin-top:1.25rem;
  display:none; animation: fadeIn .35s ease;
}
.calc-result.visible { display:block; }
.result-number { font-family:var(--font-serif); font-size:3rem; color:var(--green); line-height:1; margin-bottom:.25rem; }
.result-label  { font-size:.82rem; color:var(--muted); margin-bottom:.75rem; }
.result-bar    { height:8px; border-radius:100px; background:var(--border); overflow:hidden; margin-bottom:.5rem; }
.result-fill   { height:100%; border-radius:100px; transition:width .5s ease, background .3s; }
.result-cat    { font-size:.875rem; font-weight:600; }
.result-grid   { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin-top:1rem; }
.result-item   { background:var(--white); border-radius:var(--radius-sm); padding:.75rem; }
.result-item .val { font-size:1.4rem; font-weight:600; color:var(--green); font-family:var(--font-serif); }
.result-item .lbl { font-size:.75rem; color:var(--muted); }
.select-input {
  width:100%; padding:.75rem 1rem;
  border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--cream); font-family:var(--font-sans); font-size:1rem; color:var(--dark);
  outline:none; cursor:pointer; transition:border-color .2s; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1rem center;
}
.select-input:focus { border-color:var(--green-light); }

/* ── FEATURED LAYOUT (2-col) ── */
.featured-wrap  { background:var(--white); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:4rem 2rem; }
.featured-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.featured-info h2 { margin-bottom:.75rem; }
.featured-info p  { font-size:.95rem; line-height:1.75; margin-bottom:1.5rem; }
.check-list { list-style:none; display:flex; flex-direction:column; gap:.6rem; }
.check-list li { display:flex; align-items:center; gap:.6rem; font-size:.9rem; color:var(--muted); }
.check-list li::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--green-light); flex-shrink:0; }

/* ── STATS STRIP ── */
.stats-strip { background:var(--green); color:var(--white); padding:2.5rem 2rem; }
.stats-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:2rem; text-align:center; }
.stat-num { font-family:var(--font-serif); font-size:2.5rem; margin-bottom:.2rem; }
.stat-lbl { font-size:.82rem; opacity:.7; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size:.8rem; color:var(--muted-light); display:flex; gap:.4rem; align-items:center; flex-wrap:wrap; padding:.75rem 0; }
.breadcrumb a { color:var(--muted); transition:color .2s; }
.breadcrumb a:hover { color:var(--green); }
.breadcrumb span { color:var(--muted-light); }

/* ── DISCLAIMER ── */
.disclaimer {
  background:#FEF3C7; border:1px solid #FDE68A;
  color:#92400E; border-radius:var(--radius-sm);
  padding:.75rem 1rem; font-size:.8rem;
  margin: 1.5rem 0;
}

/* ── BLOG/ARTICLE CARDS ── */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.5rem; }
.blog-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:all .25s; text-decoration:none; color:inherit; display:block; }
.blog-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.blog-card-img { height:180px; background:var(--green-pale); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.blog-card-body { padding:1.25rem; }
.blog-card-body h3 { font-size:1rem; margin-bottom:.4rem; color:var(--dark); }
.blog-card-body p  { font-size:.83rem; line-height:1.55; }
.blog-meta { font-size:.75rem; color:var(--muted-light); margin-top:.75rem; display:flex; gap:.75rem; }

/* ── FOOTER ── */
.site-footer { background:var(--dark-2); color:rgba(255,255,255,.5); padding:3.5rem 2rem 2rem; }
.footer-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; padding-bottom:2rem; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color:var(--green-light); font-size:1.25rem; display:block; margin-bottom:.75rem; }
.footer-brand p { font-size:.83rem; line-height:1.65; max-width:240px; }
.footer-col h4 { color:var(--white); font-size:.83rem; font-weight:600; margin-bottom:1rem; font-family:var(--font-sans); }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.55rem; }
.footer-col ul li a { font-size:.83rem; transition:color .2s; }
.footer-col ul li a:hover { color:var(--green-light); }
.footer-bottom { max-width:1100px; margin:1.5rem auto 0; display:flex; justify-content:space-between; align-items:center; font-size:.78rem; flex-wrap:wrap; gap:1rem; }

/* ── ANIMATIONS ── */
@keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.fade-in { animation:fadeIn .5s ease both; }
.slide-up { animation:slideUp .6s ease both; }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .featured-inner { grid-template-columns:1fr; gap:2rem; }
  .footer-inner { grid-template-columns:1fr 1fr; }
}
@media(max-width:640px) {
  .nav-links, .nav-cta { display:none; }
  .hamburger { display:flex; }
  .section, .featured-wrap, .stats-strip { padding-left:1.25rem; padding-right:1.25rem; }
  .footer-inner { grid-template-columns:1fr; gap:2rem; }
  .tools-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr; }
}
