/* HeryerGebe — visual system, 2026-11. Content and calculator logic stay independent. */
:root {
  --primary:#315f83; --primary-dark:#234863; --primary-light:#b8d3e5; --primary-soft:#eaf2f8;
  --accent:#ad526c; --accent-dark:#893a51; --accent-soft:#f9edf1;
  --bg:#fcfdfe; --bg-primary:#fcfdfe; --bg-secondary:#f2f6fa; --bg-blue:#eaf2f8;
  --text:#243d50; --text-primary:#243d50; --text-secondary:#526575; --text-muted:#637583;
  --border:#dae4ec; --gray-200:#dae4ec; --font-display:'Inter','Segoe UI',sans-serif;
  --shadow-sm:0 2px 7px #18344c05; --shadow-md:0 8px 28px #18344c09;
  --shadow-lg:0 12px 36px #18344c0d; --shadow-xl:0 16px 40px #18344c12;
}
body { animation:none; }
.container { max-width:1240px; padding-inline:32px; }
.section { padding-block:64px; }
.header { background:#fffffffa; box-shadow:none; border-bottom:1px solid var(--border); }
.navbar,.header-content { display:block; position:relative; padding:16px 0 0; }
.logo { width:max-content; max-width:calc(100% - 56px); font-size:22px; color:var(--primary-dark); gap:10px; min-height:44px; }
.logo:hover { transform:none; }
.logo-icon { width:40px; height:40px; object-fit:contain; }
.header .nav { display:flex; justify-content:space-between; gap:4px; margin-top:14px; padding:8px 0; border-top:1px solid #e9eff4; }
.header .nav-link { font-size:13px; padding:9px 12px; border-radius:7px; color:var(--text-secondary) !important; white-space:nowrap; }
.header .nav-link:hover,.header .nav-link[aria-current=page] { color:var(--primary-dark) !important; background:var(--primary-soft); }
.header .nav-link-pro { position:absolute; right:0; top:19px; padding:10px 18px !important; background:var(--primary-dark) !important; color:white !important; box-shadow:none; border-radius:8px !important; }
.header .nav-link-pro:hover,.header .nav-link-pro[aria-current=page] { background:#173a54 !important; color:white !important; transform:none; }
.section-header { text-align:left; margin-bottom:28px; }
.section-title { font-size:clamp(1.6rem,3vw,2.1rem); letter-spacing:-.045em; margin-bottom:10px; }
.section-description { margin:0; font-size:1rem; max-width:70ch; }
.hero { background:#eaf2f8; padding:64px 0 60px; overflow:hidden; }
.hero::before { display:none; }
.hero-grid { grid-template-columns:1.12fr .88fr; gap:64px; }
.hero-title { font-family:Georgia,'Times New Roman',serif; font-size:clamp(2.5rem,4.8vw,4.5rem); font-weight:400; letter-spacing:-.045em; line-height:1.08; max-width:620px; margin-bottom:24px; color:#254b68; }
.hero-description { max-width:48ch; font-size:1.075rem; line-height:1.8; color:#4b6273 !important; margin-bottom:28px; }
.hero-buttons { display:flex; flex-wrap:wrap; gap:12px; }
.btn { border-radius:8px; min-height:46px; font-size:.92rem; padding:13px 22px; box-shadow:none; }
.btn-primary { background:var(--primary-dark) !important; border-color:var(--primary-dark) !important; }
.btn-primary:hover { background:#173a54 !important; border-color:#173a54 !important; transform:none; }
.btn-secondary { border:1px solid #8aa9bf; background:#ffffff80; color:var(--primary-dark); }
.btn-secondary:hover { transform:none; background:white; }
.hero-stats { margin-top:34px; gap:0; border-top:1px solid #cbdce8; padding-top:23px; }
.hero-stats .hero-stat { padding:0 24px; border-left:1px solid #cbdce8; gap:6px; }
.hero-stats .hero-stat:first-child { padding-left:0; border-left:0; }
.hero-stats .hero-stat .hero-stat-value { font-size:1.65rem; font-weight:600; color:var(--primary-dark); letter-spacing:-.04em; }
.hero-stats .hero-stat .hero-stat-label { font-size:.78rem; color:#526575 !important; }
.hero-media { position:relative; max-width:430px; width:100%; justify-self:end; padding:14px; }
.hero-media::before { content:''; position:absolute; inset:0; border:1px solid #a7bdce; border-radius:50% 50% 22px 22px; }
.hero-illustration { border-radius:50% 50% 14px 14px; aspect-ratio:1/1.12; object-fit:cover; animation:none; filter:none; }
.hyg-home .quick-section { padding:32px 0; background:#eaf2f8; }
.quick-calculator { margin:0; padding:32px; border-radius:14px; background:#234863 !important; box-shadow:none; }
.quick-calculator h3 { font-size:1.4rem; letter-spacing:-.025em; margin-bottom:8px; }
.hyg-home .quick-calculator { display:grid; grid-template-columns:1fr 1fr; gap:8px 48px; align-items:center; }
.hyg-home .quick-calculator > p { grid-column:1; font-size:.9rem; margin-bottom:0 !important; }
.hyg-home .quick-calculator .calc-form { grid-column:2; grid-row:1/3; display:flex; flex-direction:row; align-items:end; gap:12px; }
.hyg-home .quick-calculator .form-row { flex:1; min-width:0; }
.hyg-home .quick-calculator .calc-form .btn { background:#fff !important; color:#234863 !important; border-color:#fff !important; }
.hyg-home .quick-calculator .calc-result { grid-column:1/-1; }
.quick-calculator .calc-result { color:var(--text); }
.quick-calculator .form-input { min-height:46px; }
.blog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:24px 0 0; }
.blog-card { border-radius:14px; border:1px solid var(--border); box-shadow:none; transition:border-color .18s,box-shadow .18s; }
.blog-card:hover { transform:none; border-color:#8eacc2; box-shadow:var(--shadow-md); }
.blog-card .blog-image { background:#edf3f8; height:112px; font-size:2.5rem; }
.blog-card:nth-child(3n+2) .blog-image { background:#f9eef1; }
.blog-card:nth-child(3n) .blog-image { background:#edf3ee; }
.blog-card .blog-body { padding:23px; }
.blog-card h3 { font-size:1.075rem; line-height:1.5; letter-spacing:-.02em; }
.blog-card .blog-excerpt { font-size:.88rem; line-height:1.75; }
.blog-category { border-radius:5px !important; font-size:.7rem !important; padding:3px 7px !important; line-height:1.6; max-width:100%; }
.blog-card .blog-meta { color:#637583; font-size:.72rem; gap:12px; flex-wrap:wrap; }
.hyg-home #guncel { background:#fff !important; }
.hyg-home #guncel .guncel-card { border:1px solid var(--border) !important; }
.hyg-home #guncel .blog-image { height:110px; background:#edf3f8 !important; justify-content:flex-start; padding:24px; }
.hyg-home #guncel .blog-card:nth-child(3n+2) .blog-image { background:#f9eef1 !important; }
.hyg-home #guncel .blog-card:nth-child(3n) .blog-image { background:#edf3ee !important; }
.hyg-home #guncel .blog-image > span:first-child { font-size:2.5rem !important; }
.hyg-home #guncel .blog-image > span:last-child { background:#fff !important; color:#695438 !important; letter-spacing:0 !important; font-size:.65rem !important; }
.hyg-home #hesaplayicilar { background:#f2f6fa; }
.hyg-home #hesaplayicilar .blog-card { display:grid; grid-template-columns:56px 1fr; padding:22px; gap:16px; align-items:start; }
.hyg-home #hesaplayicilar .blog-image { width:56px; height:56px; border-radius:12px; font-size:1.8rem; }
.hyg-home #hesaplayicilar .blog-body { padding:0; min-width:0; }
.hyg-home #hesaplayicilar .blog-card h3 { font-size:.98rem; }
.hyg-home .library-section .blog-grid { gap:0 32px; }
.hyg-home .library-section .blog-card { display:grid; grid-template-columns:44px 1fr; gap:14px; border:none; border-bottom:1px solid var(--border); padding:24px 0; border-radius:0; background:transparent; box-shadow:none; }
.hyg-home .library-section .blog-image { width:44px; height:44px; font-size:1.5rem; border-radius:10px; }
.hyg-home .library-section .blog-body { padding:0; min-width:0; }
.hyg-home .library-section .blog-card h3 { font-size:1rem; }
.hyg-home .library-section .blog-card:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.hyg-home #hakkimizda { background:#eaf2f8; }
.hyg-home #hakkimizda .section-header { text-align:center; }
.hyg-home #hakkimizda .section-description { margin-inline:auto; }
.page-header { background:#eaf2f8; color:var(--text); text-align:left; padding:46px 0; border-bottom:1px solid var(--border); }
.page-header h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(2rem,4vw,3.2rem); line-height:1.2; letter-spacing:-.035em; max-width:1000px; }
.page-header .lead { margin:0; max-width:74ch; color:var(--text-secondary); font-size:1.05rem; }
.page-header .breadcrumb { opacity:1; color:var(--text-secondary); font-size:.8rem; }
.page-header .breadcrumb a { color:var(--primary-dark); }
.content-area { max-width:900px; }
.content-area h2 { border-bottom:1px solid var(--border); padding-bottom:12px; margin-top:42px; letter-spacing:-.025em; line-height:1.4; }
.content-area p,.content-area li { line-height:1.85; overflow-wrap:anywhere; }
.source-list a { overflow-wrap:anywhere; }
.info-callout { border-radius:0 10px 10px 0; border-left-width:3px; }
.science-sources { background:#f2f6fa; margin-top:0; padding-block:48px; }
.science-box { box-shadow:none; border:1px solid var(--border); border-radius:12px; padding:28px; }
.science-box h3 { font-size:1.15rem; }
.source-list { font-size:.88rem; }
.footer { background:#203d54; padding:48px 0 32px; }
.footer .footer-brand { display:flex; align-items:center; justify-content:center; gap:10px; font-size:1.3rem; }
.footer .footer-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin-top:20px; }
.footer .footer-links a { font-size:.86rem; }
.footer .disclaimer { background:#ffffff0b; color:#e4edf4; max-width:850px; margin-inline:auto; border:1px solid #ffffff20; font-size:.82rem; }
.calculator-card { border-radius:14px; box-shadow:var(--shadow-md); }
.calculator-card:has(form):hover { transform:none; box-shadow:var(--shadow-md); border-color:var(--border); }
.form-input { border-radius:8px; }
.week-card { border-radius:12px; }
#cerez-onay-bandi { left:20px !important; right:20px !important; bottom:16px !important; width:fit-content; max-width:calc(100% - 40px); margin:auto; background:#203d54 !important; border:1px solid #ffffff30; border-radius:12px; font-size:.8rem !important; box-shadow:0 8px 30px #162f4826 !important; }
#cerez-onay-bandi button { min-height:40px; }
.reveal,.js .reveal,.blog-card.reveal,.week-card.reveal,.nutrition-card.reveal,.bebek-isim-card.reveal,.anomali-info-card.reveal { opacity:1 !important; transform:none !important; transition:none !important; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #ad526c; outline-offset:4px; }
[id] { scroll-margin-top:145px; }
@media (max-width:1024px) {
  .content-area table,.micronutrient-table,.exercise-table { display:block; max-width:100%; overflow-x:auto; }
  .navbar,.header-content { padding:13px 0; display:flex; justify-content:space-between; align-items:center; }
  .mobile-menu-toggle { display:flex; min-height:44px; min-width:44px; justify-content:center; align-items:center; }
  .header .nav { display:none; position:absolute; top:100%; left:0; right:0; margin:0; background:#fff; padding:14px; border:1px solid var(--border); border-radius:0 0 14px 14px; box-shadow:var(--shadow-lg); max-height:calc(100dvh - 100px); overflow-y:auto; }
  .header .nav.active { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  .header .nav-link { width:auto; text-align:left; padding:12px; font-size:.86rem; white-space:normal; }
  .header .nav-link-pro { position:static; grid-column:1/-1; text-align:center; }
  .hero-grid { gap:32px; }
  .hero-title { font-size:3.25rem; }
  .blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hyg-home .quick-calculator { gap:8px 24px; }
  [id] { scroll-margin-top:95px; }
}
@media (max-width:640px) {
  .form-row { grid-template-columns:minmax(0,1fr); }
  .container { padding-inline:20px; }
  .section { padding-block:40px; }
  .logo { font-size:19px; }
  .hero { padding:36px 0 24px; }
  .hero-grid { grid-template-columns:1fr; text-align:left; gap:30px; }
  .hero-title { font-size:2.8rem; max-width:12ch; margin-bottom:18px; }
  .hero-content { margin:0; }
  .hero-description { font-size:.98rem; }
  .hero-media { width:70%; max-width:290px; justify-self:center; padding:10px; }
  .hero-grid .hero-illustration { max-width:none; aspect-ratio:1/1; }
  .hero-stats { justify-content:flex-start; margin-top:24px; padding-top:20px; }
  .hero-stats .hero-stat { padding-inline:17px; }
  .hero-stats .hero-stat .hero-stat-value { font-size:1.45rem; }
  .hero-buttons { gap:8px; }
  .hero-buttons .btn { padding:12px 16px; }
  .hyg-home .quick-section { padding:12px 0 30px; }
  .hyg-home .quick-calculator { display:block; padding:24px; }
  .hyg-home .quick-calculator .calc-form { margin-top:20px; flex-direction:column; align-items:stretch; }
  .hyg-home .quick-calculator h3 { font-size:1.25rem; }
  .blog-grid { grid-template-columns:1fr; gap:18px; }
  .blog-card .blog-body { padding:22px; }
  .hyg-home .library-section .blog-card { padding-block:22px; }
  .hyg-home #hesaplayicilar .blog-card { padding:20px; }
  .page-header { padding:32px 0; }
  .page-header h1 { font-size:2rem; overflow-wrap:break-word; }
  .page-header .lead { font-size:.95rem; }
  .calculator-card { padding:24px; }
  .science-box { padding:22px; }
  .section-title { font-size:1.65rem; }
  #cerez-onay-bandi { left:10px !important; right:10px !important; bottom:10px !important; max-width:calc(100% - 20px); padding:12px !important; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
  .header,.footer,#cerez-onay-bandi,.mobile-menu-toggle { display:none !important; }
  .hero,.page-header,.section,.science-sources { background:white !important; color:#000; }
  .hero-media { display:none; }
  .hero-grid { display:block; }
  .blog-card { break-inside:avoid; }
}
