:root {
  --navy: #1a3a5c;
  --teal: #007a87;
  --teal-light: #e6f4f5;
  --accent: #e87722;
  --accent-light: #fff4ec;
  --gray-light: #f5f7f9;
  --gray-mid: #dde3ea;
  --gray-text: #555f6b;
  --white: #ffffff;
  --font-head: 'Merriweather', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: #2c3340;
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
}

/* LANG TOGGLE */
.lang-bar {
  padding: 8px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width:100%;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: #7ec8cd;
  border-color: #7ec8cd;
  color: var(--navy);
}

.lang-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

/* HEADER */
.site-header {
  background:#00629b;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .logo {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
}

.site-header .logo span {
  color: #7ec8cd;
}

/* HERO */
.hero {
/*  background: linear-gradient(135deg, #0f2744 0%, #1a3a5c 55%, #0d4f58 100%); */
  background-image:url(/images/banner/nti-banner.jpg);
  background-repeat:no-repeat; background-size:cover; background-position:center;
  color: white;
  padding: 64px 40px 56px;
  text-align: center;
}

.hero .category {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ec8cd;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 550px;
  margin: 0 auto 18px;
}

.hero p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.03rem;
  color: rgba(255, 255, 255, 0.82);
}

/* LAYOUT */
.container {
  margin: 0 auto;
  padding: 0 24px;
}

/* INTRO */
.intro-card {
  background: var(--teal-light);
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  padding: 26px 30px;
  margin: 44px auto;
}

.intro-card p {
  color: #1a3a5c;
  font-size: 1rem;
}

/* SECTIONS */
.section-label {
  display: inline-block;
  background: #00629b;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}

h2.section-title {
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-mid);
}

section {
  margin-bottom: 56px;
}

/* DOSE VISUAL */
.dose-visual {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 24px 20px;
  margin: 20px 0 28px;
  display: flex;
  gap: 8px;
  border: 1px solid var(--gray-mid);
}

.dose-col {
  flex: 1;
  text-align: center;
  padding: 18px 12px;
  border-radius: 8px;
}

.dose-col.low {
  background: #fde8e8;
}

.dose-col.right {
  background: #e8f5e9;
}

.dose-col.high {
  background: #fff8e1;
}

.dose-icon {
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.dose-label {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dose-col.low .dose-label {
  color: #c0392b;
}

.dose-col.right .dose-label {
  color: #27ae60;
}

.dose-col.high .dose-label {
  color: #d68910;
}

.dose-symptoms {
  font-size: 0.84rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-mid);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 8px 18px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--teal);
}

.faq-question .chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.2s;
  font-size: 0.82rem;
  color: var(--teal);
}

.faq-question[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
  background: var(--teal);
  color: white;
}

.faq-answer {
  display: none;
  padding: 0 8px 20px 0;
  color: var(--gray-text);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-answer.open {
  display: block;
}

.faq-answer ul {
  margin: 10px 0 10px 20px;
}

.faq-answer li {
  margin-bottom: 4px;
}

.tip-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 11px 16px;
  margin: 12px 0 4px;
  font-size: 0.93rem;
  color: #5a3010;
}

.tip-box strong {
  color: var(--accent);
}

/* CHECKLIST */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 4px;
}

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

.checklist-col {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 20px 18px;
  border-top: 4px solid var(--teal);
}

.checklist-col h3 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 12px;
}

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

.checklist-col li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 9px;
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 2px;
}

/* SITUATIONS */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

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

.situation-card {
  background: var(--teal-light);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.situation-card .sit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* DOWNLOAD STRIP */
.download-strip {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.download-strip p {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
  flex: 1 1 200px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.dl-btn.en {
  background: #00629b;
  color: white;
}

.dl-btn.en:hover {
  background: #005f69;
}

.dl-btn.es {
  background: var(--navy);
  color: white;
}

.dl-btn.es:hover {
  background: #0d2540;
}

.dl-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* QUIZ */
.quiz-shell { border-radius: 20px; overflow: hidden; }

  .quiz-splash {
    background: linear-gradient(145deg,#0f2744 0%,#1a3a5c 45%,#0d4f58 100%);
    padding: 56px 40px 52px; text-align: center; color: white;
    position: relative; overflow: hidden;
  }
  @media(max-width:600px){ .quiz-splash { padding: 40px 22px 36px; } }
  .quiz-splash::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background: radial-gradient(ellipse at 72% 18%,rgba(126,200,205,0.2) 0%,transparent 55%),
                radial-gradient(ellipse at 18% 82%,rgba(232,119,34,0.15) 0%,transparent 48%);
  }
  .splash-badge {
    display:inline-flex; align-items:center; gap:7px; position:relative;
    background:rgba(126,200,205,0.14); border:1px solid rgba(126,200,205,0.38);
    color:#7ec8cd; font-size:0.72rem; font-weight:700; letter-spacing:0.12em;
    text-transform:uppercase; padding:5px 15px; border-radius:99px; margin-bottom:24px;
  }
  .splash-dot { width:7px;height:7px;border-radius:50%;background:#7ec8cd;animation:pdot 1.9s ease-in-out infinite; }
  @keyframes pdot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.65)}}
  .quiz-splash h2 {
    font-family:var(--font-head); font-size:clamp(1.7rem,4vw,2.5rem); font-weight:700;
    line-height:1.22; margin-bottom:16px; color:white; position:relative;
  }
  .quiz-splash h2 em { color:#7ec8cd; font-style:normal; }
  .splash-sub { font-size:1rem; color:rgba(255,255,255,.68); max-width:460px; margin:0 auto 36px; line-height:1.68; position:relative; }
  .splash-stats { display:flex; justify-content:center; gap:36px; margin-bottom:40px; flex-wrap:wrap; position:relative; }
  .splash-stat { text-align:center; }
  .splash-stat-num { font-family:var(--font-head); font-size:2rem; font-weight:700; color:#7ec8cd; line-height:1; }
  .splash-stat-label { font-size:.73rem; color:rgba(255,255,255,.45); letter-spacing:.07em; margin-top:5px; text-transform:uppercase; }
  .quiz-start-btn {
    display:inline-flex; align-items:center; gap:10px; position:relative;
    background:linear-gradient(135deg,#e87722,#c55e0f); color:white; border:none;
    border-radius:50px; padding:17px 38px; font-family:var(--font-body); font-size:1.05rem;
    font-weight:700; cursor:pointer; transition:transform .22s,box-shadow .22s;
    box-shadow:0 6px 28px rgba(232,119,34,.45);
  }
  .quiz-start-btn:hover { transform:translateY(-3px); box-shadow:0 12px 36px rgba(232,119,34,.55); }
  .quiz-start-btn:active { transform:scale(.97); }
  .start-arrow { font-size:1.15rem; transition:transform .2s; }
  .quiz-start-btn:hover .start-arrow { transform:translateX(5px); }
  .splash-pips { display:flex; justify-content:center; gap:6px; margin-top:30px; position:relative; }
  .splash-pip { width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.18); }
  .splash-pip.lit { background:#7ec8cd; }

  .quiz-active { display:none; background:linear-gradient(145deg,#0f2744 0%,#1a3a5c 55%,#0d4f58 100%); border-radius:20px; overflow:hidden; }
  .quiz-active.running { display:block; }
  .quiz-topbar { background:rgba(0,0,0,.28); padding:14px 26px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
  .quiz-topbar-title { font-family:var(--font-head); font-size:.78rem; color:rgba(255,255,255,.42); letter-spacing:.04em; }
  .quiz-dots { display:flex; gap:5px; align-items:center; }
  .qdot { height:5px; border-radius:99px; background:rgba(255,255,255,.12); transition:all .35s ease; width:20px; }
  .qdot.active { background:#7ec8cd; width:28px; }
  .qdot.ok { background:#27ae60; }
  .qdot.wrong { background:#e05050; }
  @keyframes dotB{0%{transform:scaleX(1)}40%{transform:scaleX(1.35)}100%{transform:scaleX(1)}}
  .qdot.bounce { animation:dotB .3s ease; }
  .quiz-body { padding:32px 34px 28px; color:white; }
  @media(max-width:600px){ .quiz-body { padding:22px 18px 18px; } }
  .quiz-counter { font-size:.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(126,200,205,.8); margin-bottom:12px; }
  .quiz-card { animation:cardIn .38s cubic-bezier(.22,1,.36,1); }
  @keyframes cardIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
  .quiz-card .q-text { font-family:var(--font-head); font-size:1.12rem; font-weight:700; line-height:1.42; margin-bottom:22px; color:white; }
  .quiz-opts { display:flex; flex-direction:column; gap:10px; }
  .qopt {
    background:rgba(255,255,255,.055); border:1.5px solid rgba(255,255,255,.11);
    border-radius:11px; padding:13px 18px; cursor:pointer; font-size:.92rem;
    color:rgba(255,255,255,.8); text-align:left; transition:all .2s;
    display:flex; gap:13px; align-items:center; font-family:var(--font-body); width:100%;
  }
  .qopt .ql {
    font-weight:700; font-size:.76rem; min-width:30px; height:30px; border-radius:50%;
    border:1.5px solid rgba(126,200,205,.38); display:flex; align-items:center;
    justify-content:center; color:#7ec8cd; flex-shrink:0; transition:all .2s;
  }
  .qopt:hover:not(.disabled){ background:rgba(126,200,205,.1); border-color:rgba(126,200,205,.45); transform:translateX(5px); }
  .qopt:hover:not(.disabled) .ql { background:rgba(126,200,205,.18); }
  .qopt.correct { background:rgba(39,174,96,.18); border-color:#27ae60; color:white; }
  .qopt.correct .ql { background:#27ae60; border-color:#27ae60; color:white; }
  .qopt.incorrect { background:rgba(224,80,80,.14); border-color:#e05050; color:rgba(255,255,255,.55); }
  .qopt.incorrect .ql { background:#e05050; border-color:#e05050; color:white; }
  .qopt.disabled { cursor:default; pointer-events:none; }
  .tf-row { flex-direction:row; }
  .tf-row .qopt { flex:1; justify-content:center; }
  .q-flash {
    display:none; margin-top:14px; border-radius:10px; padding:11px 16px;
    font-size:.88rem; font-weight:600; text-align:center;
    animation:fPop .28s ease;
  }
  @keyframes fPop{from{opacity:0;transform:scale(.93)}to{opacity:1;transform:scale(1)}}
  .q-flash.ok { background:rgba(39,174,96,.18); color:#7ee0a0; border:1px solid rgba(39,174,96,.28); }
  .q-flash.bad { background:rgba(224,80,80,.14); color:#f09898; border:1px solid rgba(224,80,80,.25); }
  .q-flash.visible { display:block; }
  .thyroid-tip {
    display:none; margin-top:14px; background:rgba(126,200,205,.09);
    border:1px solid rgba(126,200,205,.22); border-radius:11px; padding:14px 17px;
  }
  .thyroid-tip.show { display:block; animation:cardIn .3s ease; }
  .tip-head { font-size:.68rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:#7ec8cd; margin-bottom:6px; display:flex; align-items:center; gap:6px; }
  .thyroid-tip p { font-size:.86rem; color:rgba(255,255,255,.7); line-height:1.66; }
  .q-next-btn {
    display:none; margin-top:22px; width:100%; padding:14px;
    background:linear-gradient(135deg,#e87722,#c55e0f); border:none;
    border-radius:11px; font-family:var(--font-body); font-size:.96rem;
    font-weight:700; color:white; cursor:pointer; transition:transform .2s,opacity .2s;
    box-shadow:0 4px 18px rgba(232,119,34,.38);
  }
  .q-next-btn:hover { transform:translateY(-2px); opacity:.92; }
  .q-next-btn:active { transform:scale(.98); }
  .q-next-btn.show { display:block; animation:cardIn .3s ease; }

  .quiz-score {
    display:none; text-align:center; color:white; padding:56px 34px 48px;
    background:linear-gradient(145deg,#0f2744 0%,#1a3a5c 55%,#0d4f58 100%); border-radius:20px;
  }
  .quiz-score.show { display:block; animation:cardIn .42s ease; }
  .score-trophy { font-size:3.8rem; margin-bottom:10px; animation:tPop .5s cubic-bezier(.22,1,.36,1) .1s both; }
  @keyframes tPop{from{opacity:0;transform:scale(.4) rotate(-10deg)}to{opacity:1;transform:scale(1) rotate(0)}}
  .score-headline { font-family:var(--font-head); font-size:1.6rem; font-weight:700; margin-bottom:6px; }
  .score-sub-label { font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.32); margin-bottom:14px; }
  .score-fraction { font-family:var(--font-head); font-size:4rem; font-weight:700; color:#7ec8cd; line-height:1; margin-bottom:6px; }
  .score-fraction small { font-size:1.9rem; color:rgba(255,255,255,.35); }
  .score-track { height:10px; background:rgba(255,255,255,.1); border-radius:99px; max-width:300px; margin:18px auto 24px; overflow:hidden; }
  .score-fill { height:100%; border-radius:99px; background:linear-gradient(90deg,#7ec8cd,#27ae60); width:0%; transition:width 1.1s cubic-bezier(.22,1,.36,1); }
  .score-msg-text { color:rgba(255,255,255,.7); font-size:.97rem; max-width:400px; margin:0 auto 30px; line-height:1.68; }
  .score-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
  .score-retry-btn {
    padding:13px 30px; border-radius:50px; font-family:var(--font-body); font-size:.92rem;
    font-weight:700; cursor:pointer; border:none;
    background:linear-gradient(135deg,#e87722,#c55e0f); color:white;
    box-shadow:0 4px 18px rgba(232,119,34,.38); transition:transform .2s;
  }
  .score-retry-btn:hover { transform:translateY(-2px); }
  .score-note { font-size:.76rem; color:rgba(255,255,255,.3); margin-top:20px; }

.tf-options {
  flex-direction: row;
}

.tf-options .quiz-option {
  flex: 1;
  justify-content: center;
}

/* THYROID TIP */
.thyroid-tip {
  display: none;
  margin-top: 11px;
  background: rgba(126, 200, 205, 0.13);
  border-left: 3px solid #7ec8cd;
  border-radius: 5px;
  padding: 10px 14px;
}

.thyroid-tip.show {
  display: block;
}

.thyroid-tip .tip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ec8cd;
  margin-bottom: 4px;
}

.thyroid-tip p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.quiz-score-bar {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 22px;
  display: none;
  text-align: center;
}

.quiz-score-bar.show {
  display: block;
}

.quiz-score-bar .score-num {
  font-size: 2.3rem;
  color: #7ec8cd;
  font-weight: 700;
}

.quiz-score-bar p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* TAKEAWAY */
.takeaway {
  background: linear-gradient(135deg, #00629b 0%, #024e7a 100%);
  color: white;
  border-radius: 10px;
  padding: 34px 38px;
  margin: 44px 0;
}

.takeaway h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.takeaway-points {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.takeaway-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
}

.takeaway-point .arrow {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
  color: #b2e4e7;
}

@media(max-width:980px) {
.hero {
  background: linear-gradient(135deg, #0f2744 0%, #1a3a5c 55%, #0d4f58 100%); 
}
}