/* Toppatoo country sites. Mobile first, system fonts only, no external resources, no JavaScript. */
:root {
  --green: #0A6B3C;
  --green-dark: #07502D;
  --gold: #F0C838;
  --ink: #1B2A22;
  --muted: #55655C;
  --soft: #F2F7F4;
  --line: #D8E3DC;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
/* Rounded system fallback for titles (no web font). */
h1, h2, h3 { font-family: "Fredoka", "Nunito", "Varela Round", ui-rounded, system-ui, sans-serif; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: 1.5rem; color: var(--green-dark); }
h3 { font-size: 1.15rem; color: var(--green); }
p { margin: 0 0 1em; }
img { max-width: 100%; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.1rem; }
section { padding: 2.5rem 0; }
section:nth-of-type(even) { background: var(--soft); }

/* Header */
.site-head { background: var(--green); color: #fff; padding: .7rem 0; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.brand-link { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; }

/* Flag menu: <details>, no JavaScript. */
.flag-menu { flex: 1 1 10rem; max-width: 100%; }
.flag-menu summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 700; padding: .3rem .6rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: .4rem; }
.flag-menu summary img { display: block; }
.flag-menu ul { list-style: none; margin: .5rem 0 0; padding: .3rem .6rem; background: #fff; color: var(--ink); border-radius: .5rem; }
.flag-menu li a { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.flag-menu li:last-child a { border-bottom: 0; }
.flag-menu li a img { flex: 0 0 auto; width: 24px; height: 16px; box-shadow: 0 0 0 1px var(--line); }
.flag-menu li a[aria-current] { font-weight: 800; color: var(--green-dark); }

/* Language switch */
.lang-switch { display: flex; flex: 0 0 auto; gap: .35rem; font-size: .85rem; }
.lang-switch a { color: #fff; font-weight: 600; padding: .1rem .45rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: .3rem; text-decoration: none; }

/* Hero: one flat colour block. Yellow is only a background, never text on white. */
#hero { background: var(--green); color: #fff; padding: 2rem 0 2.5rem; }
#hero h1 { font-size: 2rem; font-weight: 800; color: #fff; }
.btn {
  display: block; text-align: center; text-decoration: none;
  padding: .95rem 1.2rem; border-radius: .7rem; font-weight: 800; font-size: 1.05rem;
  border: 2px solid var(--gold); background: var(--gold); color: var(--ink);
}
.cta { margin: 1.4rem 0 0; }

/* Steps and cards */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .8rem; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: .7rem; padding: .9rem 1rem .9rem 3.2rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: .8rem; top: .8rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--green); color: #fff; text-align: center; font-weight: 800; line-height: 1.7rem; }
.steps strong { display: block; color: var(--green); }
.cards { display: grid; gap: .8rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: .7rem; padding: 1rem; }
.card p { margin: 0; }
#franchise { background: var(--soft); }

footer { background: var(--green-dark); color: #fff; padding: 1.2rem 0; font-size: .9rem; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.flag-menu ul a:focus-visible { outline-color: var(--ink); }
#hero a:focus-visible, #contact a:focus-visible { outline-color: var(--ink); }
#hero a.btn:focus-visible { outline-color: #fff; }

@media (min-width: 48rem) {
  #hero h1 { font-size: 3rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .btn { display: inline-block; }
  .flag-menu { flex: 0 1 auto; }
  .flag-menu { position: relative; }
  .flag-menu ul { position: absolute; right: 0; width: 17rem; z-index: 5; }
}
