/* micasting.app: shared look of the homepage (index.html) and the castings pages (geo.js).
   Same brand as the app: Plus Jakarta Sans, near-black text, one magenta accent, white cards on light grey. */
:root {
  --accent: #e0157f;
  --accent-dark: #b0105f;
  --accent-soft: #ffe1ef;
  --ink: #121214;
  --text2: #3a3a40;
  --muted: #6d6d75;
  --faint: #9b9ba3;
  --line: #ececf0;
  --border: #e2e2e8;
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --dark: #17111a;
  --dark2: #231a27;
  --success: #1d7a5c;
  --success-soft: #dff5ee;
  --radius: 22px;
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
/* Menu links (#agencias…) land below the sticky header, not under it. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ico { width: 18px; height: 18px; flex: none; }

/* ── Header ─────────────────────────────────────────────────────────────────────────────────────────────── */
/* Solid, not blurred: a blurred see-through header costs cheap phones a lot of drawing work on every scroll. */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.nav .links { display: flex; gap: 26px; margin-right: auto; }
.nav .links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text2); }
.nav .links a:hover { color: var(--ink); }
.nav .right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: var(--bg2); border-radius: 999px; padding: 3px; }
.lang button { font: 700 12px/1 var(--font); border: 0; background: none; color: var(--muted); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ── Buttons ────────────────────────────────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(224,21,127,.28); }
.btn.primary:hover { background: #cc0f71; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.white { background: #fff; color: var(--ink); }
.btn.small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }

.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 13px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; min-width: 164px; transition: transform .15s; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10.5px; line-height: 1.1; font-weight: 500; opacity: .85; }
.store b { display: block; font-size: 17px; line-height: 1.15; font-weight: 700; }
.store.light { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

/* ── Sections ───────────────────────────────────────────────────────────────────────────────────────────── */
section { padding: 112px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker b { color: var(--accent-dark); font-weight: 800; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; }
.lead { font-size: 19px; color: var(--text2); line-height: 1.6; max-width: 56ch; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.head .lead { margin-top: 18px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--accent); }

/* ── Casting cards (homepage + /castings) ───────────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(18,18,20,.08); border-color: transparent; }
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent-dark); }
.chip.grey { background: var(--bg2); color: var(--text2); }
.chip.green { background: var(--success-soft); color: var(--success); }
.card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .by { font-size: 14px; color: var(--muted); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text2); font-size: 14px; margin-top: auto; padding-top: 4px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts .ico { width: 16px; height: 16px; color: var(--faint); }
.card .pay { font-weight: 800; color: var(--ink); }
.card .go { position: absolute; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg2); transition: background .18s, color .18s; }
.card:hover .go { background: var(--accent); color: #fff; }
.card .go .ico { width: 16px; height: 16px; }
.card.has-go .facts { padding-right: 44px; }

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────────────── */
.foot { background: var(--dark); color: rgba(255,255,255,.72); padding: 72px 0 36px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo { color: #fff; margin-bottom: 14px; }
.foot p { max-width: 34ch; margin-bottom: 22px; }
.foot h2 { margin: 4px 0 16px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }

/* ── Responsive ─────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav .links { display: none; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .nav .wrap { height: 62px; gap: 12px; }
  html { scroll-padding-top: 74px; }
  .nav .right .btn { display: none; }
  .lead { font-size: 17px; }
  .foot .cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
