/* ===========================================================
   Hollywood Tax and Care Center — style.css
   Design goal: usable by anyone, on any device, first try.
   Big text. Big buttons. One job per screen. Nothing hidden.
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;800;900&display=swap');

:root{
  --navy: #0c1a3d;
  --navy-2: #142a5c;
  --green: #3aa552;
  --green-dark: #2c8541;
  --bg: #eef0f4;
  --white: #ffffff;
  --ink: #0c1a3d;
  --ink-soft: #45507a;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(12,26,61,0.12);
  --focus: 4px solid #ffb703;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family:'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

a{ color: inherit; text-decoration: none; }

/* Visible keyboard focus everywhere, always */
a:focus-visible, button:focus-visible{
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Top language bar ---------- */
.lang-bar{
  background: var(--navy-2);
  display:flex;
  justify-content:flex-end;
  gap: 8px;
  padding: 10px 16px;
}
.lang-btn{
  font-family:'Nunito', sans-serif;
  font-weight: 800;
  font-size: 18px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  color: #cfd6ea;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}
.lang-btn.active{
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ---------- Header ---------- */
header.site-header{
  background: var(--navy);
  padding: 28px 20px 34px;
  text-align:center;
}
.site-header .logo{
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
}
.site-header h1{
  color: var(--white);
  font-size: 44px;
  font-weight: 900;
  margin: 0;
  line-height: 1.12;
}
.site-header .tagline{
  color: #7fd996;
  font-weight: 800;
  font-size: 18px;
  margin-top: 8px;
}

/* ---------- Layout ---------- */
main{
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 18px 10px;
}

section{ margin-bottom: 34px; }

h2.section-title{
  font-size: 32px;
  font-weight: 900;
  text-align:center;
  margin: 0 0 6px;
  line-height: 1.15;
}
p.section-sub{
  text-align:center;
  color: var(--ink-soft);
  font-weight: 700;
  margin: 0 0 22px;
  font-size: 19px;
}

/* ---------- Big tile buttons (the core interaction) ---------- */
.tiles{
  display:flex;
  flex-direction: column;
  gap: 16px;
}
.tile{
  display:flex;
  align-items:center;
  gap: 18px;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  cursor:pointer;
  min-height: 88px;
  width:100%;
  text-align:left;
}
.tile:active{ transform: translateY(4px); box-shadow: none; }
.tile .icon{
  flex: 0 0 60px;
  width:60px; height:60px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  font-size: 30px;
}
.tile.green .icon{ background:#e4f6e8; }
.tile .label{
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  display:block;
}
.tile .desc{
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-soft);
  display:block;
  margin-top: 2px;
}
.tile .chev{
  margin-left:auto;
  font-size: 26px;
  color: var(--green);
  flex: 0 0 auto;
}
.tile.primary{
  background: var(--green);
}
.tile.primary .icon{ background: rgba(255,255,255,0.2); }
.tile.primary .label,
.tile.primary .desc{ color: var(--white); }
.tile.primary .chev{ color: var(--white); }

/* ---------- Feature chips ---------- */
.chips{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.chip{
  background: var(--white);
  border-radius: 16px;
  padding: 14px 8px;
  text-align:center;
  box-shadow: var(--shadow);
}
.chip .emoji{ font-size: 26px; }
.chip .chip-label{
  font-weight: 900;
  font-size: 14px;
  margin-top: 4px;
  display:block;
}

/* ---------- Numbered steps ---------- */
.steps{ display:flex; flex-direction:column; gap:14px; }
.step{
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.step .num{
  flex: 0 0 40px;
  width:40px; height:40px;
  border-radius:50%;
  background: var(--green);
  color:var(--white);
  font-weight:900;
  font-size:20px;
  display:flex; align-items:center; justify-content:center;
}
.step h3{
  margin:0 0 4px;
  font-size:20px;
  font-weight:900;
}
.step p{
  margin:0;
  color: var(--ink-soft);
  font-weight:700;
  font-size:17px;
}

/* ---------- Big call-to-action button (full width, own page) ---------- */
.big-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  background: var(--green);
  color: var(--white);
  font-weight:900;
  font-size:24px;
  padding: 26px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 90px;
  text-align:center;
}
.big-cta:active{ transform: translateY(4px); box-shadow:none; }
.big-cta .emoji{ font-size: 32px; }

/* ---------- Plain content card ---------- */
.card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.card p{ font-weight: 700; color: var(--ink); font-size: 19px; margin: 0 0 14px; }
.card p:last-child{ margin-bottom:0; }
.card ul{ margin:0; padding-left: 22px; }
.card li{ font-weight:700; font-size:18px; margin-bottom:10px; }

/* ---------- Contact / footer info bar ---------- */
.info-bar{
  background: var(--navy);
  padding: 30px 20px 34px;
  margin-top: 10px;
}
.info-bar .info-block{
  max-width: 500px;
  margin: 0 auto 22px;
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.info-bar .info-block:last-child{ margin-bottom:0; }
.info-bar .info-icon{
  flex:0 0 52px;
  width:52px; height:52px;
  background: rgba(255,255,255,0.12);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
}
.info-bar h3{
  color:#7fd996;
  font-size:15px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.04em;
  margin:0 0 6px;
}
.info-bar a.info-link, .info-bar .info-text{
  color: var(--white);
  font-weight:800;
  font-size: 20px;
  display:block;
}
.info-bar a.info-link{ text-decoration: underline; text-underline-offset:4px; }

/* ---------- Back link ---------- */
.back-home{
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  color: var(--navy);
  padding: 18px 0 4px;
}
.back-home .arrow{ font-size:22px; }

/* ---------- Simple footer ---------- */
footer.legal{
  text-align:center;
  padding: 18px;
  color: var(--ink-soft);
  font-weight:700;
  font-size:14px;
}

/* ---------- Small screens: keep chips readable ---------- */
@media (max-width: 380px){
  body{ font-size: 18px; }
  .site-header h1{ font-size: 34px; }
  h2.section-title{ font-size: 27px; }
  .tile .label{ font-size: 20px; }
}

/* ---------- Eligibility quiz ---------- */
.hidden{ display:none !important; }

.quiz-back{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:900;
  font-size:16px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 6px 0;
}

.quiz-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.quiz-question{
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 20px;
  line-height:1.3;
}
.answer-list{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.answer-btn{
  width:100%;
  border: 3px solid var(--bg);
  background: var(--bg);
  border-radius: 16px;
  padding: 18px;
  font-family:'Nunito', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--ink);
  cursor:pointer;
  min-height: 64px;
}
.answer-btn:active{ background: var(--green); color:var(--white); border-color:var(--green); }

.result-card{
  text-align:center;
}
.result-card .result-emoji{ font-size: 46px; margin-bottom: 10px; }
.result-card h2{ font-size:24px; font-weight:900; margin:0 0 10px; }
.result-card p{ font-weight:700; color:var(--ink-soft); font-size:18px; margin:0 0 20px; }
.restart-link{
  display:block;
  text-align:center;
  font-weight:900;
  font-size:16px;
  color: var(--ink-soft);
  margin-top: 14px;
  text-decoration: underline;
  text-underline-offset:4px;
  cursor:pointer;
  background:none;
  border:none;
  width:100%;
}
