/* Tam Young Coach — static rebuild
   Brand approximated from the live Duda site: navy #001167, teal #68ccd1,
   Raleway body text, Fjalla One headings. */
:root {
  --navy: #001167;
  --navy-dark: #000a45;
  --teal: #68ccd1;
  --ink: #23272e;
  --muted: #5a6270;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --line: #dde2ee;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3, h4, h5, h6 {
  font-family: "Fjalla One", "Arial Narrow", sans-serif;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin: 1.4em 0 0.55em;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.35rem; margin-top: 0.4em; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
p { margin: 0.7em 0; }
ul, ol { margin: 0.7em 0; padding-left: 1.35em; }
li { margin: 0.3em 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--navy);
  position: sticky; top: 0; z-index: 50;
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; max-width: var(--max); margin: 0 auto; }
.brand img { height: 52px; width: auto; display: block; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; font-family: "Fjalla One", sans-serif; color: var(--navy); border: 2px solid var(--navy); padding: 6px 14px; border-radius: 4px; cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
  display: block; padding: 9px 12px; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; color: var(--navy); border-radius: 4px;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy-dark); }
.main-nav .has-sub > ul {
  display: none; position: absolute; left: 0; top: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  min-width: 230px; padding: 6px; box-shadow: 0 10px 28px rgba(0,17,103,0.14); flex-direction: column; gap: 0;
}
.main-nav .has-sub:hover > ul, .main-nav .has-sub:focus-within > ul { display: flex; }
.main-nav .has-sub > ul a { padding: 8px 10px; font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 4px;
  background: var(--navy); color: #fff !important; text-decoration: none;
  font-weight: 700; letter-spacing: 0.02em; margin: 8px 8px 8px 0;
}
.btn:hover { background: var(--navy-dark); }
.btn-teal { background: var(--teal); color: var(--navy-dark) !important; }
.btn-teal:hover { background: #53bcc2; }
.btn-outline { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--bg-soft); }

/* ---------- main ---------- */
main { padding: 34px 0 54px; }
.content-img { display: block; margin: 22px auto; border-radius: 6px; }
.embed { position: relative; margin: 22px 0; }
.embed iframe { width: 100%; height: 700px; border: 0; border-radius: 6px; }

/* ---------- homepage (B2B) ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 64px 0 58px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; font-weight: 700; color: var(--teal); margin: 0 0 14px; }
.hero h1 { color: #fff; font-size: 2.7rem; margin: 0 0 16px; max-width: 19em; }
.hero .sub { font-size: 1.13rem; max-width: 44em; color: #e6eaf6; margin: 0 0 24px; }
.hero .trust { margin-top: 26px; font-size: 0.95rem; color: #c3cbE8; color: #c3cbe8; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 16px; }
.section { padding: 44px 0 8px; }
.section-soft { background: var(--bg-soft); padding: 44px 0 34px; margin: 40px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 22px 0 10px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 6px; padding: 22px; }
.card h3 { margin-top: 0.2em; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; padding: 10px 0 10px 52px; position: relative; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 6px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: "Fjalla One", sans-serif; display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.why { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.why img { border-radius: 6px; margin: 0; }
.closing { background: var(--navy); color: #fff; padding: 50px 0; margin-top: 48px; text-align: left; }
.closing h2 { color: #fff; margin-top: 0; }

/* ---------- blog index ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 24px; }
.post-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.post-card img { width: 100%; height: 210px; object-fit: cover; display: block; margin: 0; }
.post-card h3 { margin: 0; padding: 16px 18px 18px; font-size: 1.2rem; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #dfe4f5; margin-top: 0; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,0.18); padding: 34px 0 26px; }
.footer-cta h2 { color: #fff; margin: 0 0 8px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding: 30px 0 10px; }
.site-footer a { color: #dfe4f5; }
.site-footer ul { list-style: none; padding: 0; margin: 0.4em 0; }
.site-footer li { margin: 0.35em 0; }
.footer-logo { height: 46px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); padding: 14px 0 20px; font-size: 0.88rem; color: #aab4d8; }
.newsletter-note { font-size: 0.95rem; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .cards, .post-grid, .footer-grid, .why { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.05rem; }
  h1 { font-size: 1.9rem; }
  .nav-toggle-label { display: inline-block; }
  .main-nav { display: none; width: 100%; }
  .header-in { flex-wrap: wrap; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav .has-sub > ul { position: static; display: flex; box-shadow: none; border: none; padding-left: 14px; }
  .embed iframe { height: 560px; }
}
