/* =====================================================
   Reno McDonald's Careers — styles.css
   Brand-true palette, Archivo display + Inter body.
   ===================================================== */

:root {
  --red: #DA291C;
  --red-dark: #B21F14;
  --gold: #FFC72C;
  --gold-soft: #FFE08A;
  --ink: #18181B;
  --ink-soft: #4B4B52;
  --muted: #71717A;
  --line: #E7E5E0;
  --bg: #FFFDF8;
  --bg-warm: #FBF6EC;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(24,24,27,.06), 0 2px 8px rgba(24,24,27,.05);
  --shadow-md: 0 8px 28px rgba(24,24,27,.10);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- shared section bits ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow.center, .center { text-align: center; }
.section-title { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 8px 0 0; }
.section-lead { color: var(--ink-soft); max-width: 620px; margin: 16px auto 0; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 28px; }
.req-star { color: var(--red); font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,248,.88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: var(--red); color: var(--gold); border-radius: 11px;
  font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1;
}
.brand-dot { color: var(--gold); }
.brand-logo { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; display: block; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-text sup { font-size: .5em; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.btn-primary { color: #fff; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); padding: 72px 0 84px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 900; margin: 14px 0 0; }
.hero h1 .hl { color: var(--red); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 540px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { list-style: none; display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 900; color: var(--ink); line-height: 1; }
.hero-stats span { font-size: 14px; color: var(--muted); margin-top: 6px; }

.hero-art { position: relative; height: 360px; }
.art-card {
  position: absolute; width: 160px; height: 160px; border-radius: 22px;
  display: grid; place-items: center; text-align: center; padding: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.1;
  box-shadow: var(--shadow-md);
}
.art-card-1 { background: var(--red); color: #fff; top: 18px; left: 8%; transform: rotate(-6deg); animation: floaty 6s ease-in-out infinite; }
.art-card-2 { background: var(--gold); color: var(--ink); top: 110px; right: 4%; transform: rotate(5deg); animation: floaty 7s ease-in-out infinite .6s; }
.art-card-3 { background: var(--ink); color: var(--gold); bottom: 6px; left: 26%; transform: rotate(-3deg); animation: floaty 6.5s ease-in-out infinite .3s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- benefits ---------- */
.benefits { padding: 88px 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-num { font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--gold); background: var(--ink); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; letter-spacing: .04em; }
.benefit h3 { font-size: 20px; font-weight: 700; margin: 18px 0 8px; }
.benefit p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- locations ---------- */
.locations { padding: 88px 0; background: var(--bg-warm); }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.loc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.loc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.loc-card.is-selected { border-color: var(--red); box-shadow: 0 0 0 2px rgba(218,41,28,.18), var(--shadow-md); }
.loc-num { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--red); text-transform: uppercase; }
.loc-card h3 { font-size: 18px; font-weight: 700; margin: 7px 0 3px; }
.loc-card p { color: var(--muted); font-size: 14.5px; }
.loc-apply {
  margin-top: 16px; align-self: flex-start; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink);
  padding: 4px 0; transition: color .15s ease, gap .15s ease;
}
.loc-apply:hover { color: var(--red); }

/* ---------- application form ---------- */
.apply { padding: 92px 0; }
.apply-inner { max-width: 720px; margin: 0 auto; }
.app-form { margin-top: 40px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-group { margin-bottom: 22px; }
.form-group.group-followup {
  margin-top: -4px; margin-bottom: 22px; padding: 18px 18px 2px; border-left: 3px solid var(--gold);
  background: var(--bg-warm); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  animation: revealIn .28s ease;
}
@keyframes revealIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.form-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 9px; color: var(--ink); }
.form-label .req-star { margin-left: 2px; }
.form-help { display: block; font-size: 13.5px; color: var(--muted); margin: -4px 0 9px; }

.form-control {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,41,28,.14); }
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }

/* radios + checkboxes */
.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-list.inline { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 11px; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  background: var(--white); transition: border-color .15s ease, background .15s ease; font-size: 15.5px;
}
.option:hover { border-color: var(--gold); }
.option input { accent-color: var(--red); width: 18px; height: 18px; cursor: pointer; }
.option.is-checked { border-color: var(--red); background: #fff6f5; }
.option-list.inline .option { flex: 0 0 auto; }

.check-inline { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.check-inline input { accent-color: var(--red); width: 19px; height: 19px; margin-top: 2px; cursor: pointer; }
.form-consent { margin: 8px 0 26px; padding: 18px; background: var(--bg-warm); border-radius: var(--radius-sm); }

.field-error { color: var(--red); font-size: 13.5px; margin-top: 6px; font-weight: 600; display: none; }
.form-group.has-error .form-control { border-color: var(--red); }
.form-group.has-error .field-error { display: block; }

.form-status { text-align: center; margin-top: 18px; font-weight: 600; font-size: 15px; min-height: 22px; }
.form-status.error { color: var(--red); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* success */
.success-panel { text-align: center; padding: 48px 24px; background: var(--bg-warm); border-radius: var(--radius); margin-top: 8px; }
.success-check { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 50%; font-size: 34px; font-weight: 700; }
.success-panel h3 { font-size: 26px; font-weight: 800; }
.success-panel p { color: var(--ink-soft); max-width: 460px; margin: 12px auto 24px; }

/* ---------- faq ---------- */
.faq { padding: 80px 0 96px; background: var(--bg-warm); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 17px; padding: 16px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; font-size: 15.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D4D4D8; padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-text { color: #fff; font-size: 20px; }
.footer-brand p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: #D4D4D8; font-weight: 600; font-size: 15px; }
.footer-nav a:hover { color: var(--gold); text-decoration: none; }
.footer-fine { margin-top: 24px; }
.footer-fine p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.footer-fine p + p { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { display: none; }
  .benefit-grid, .location-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-stats { gap: 26px; }
  .benefits, .locations, .apply, .faq { padding: 60px 0; }
  .benefit-grid, .location-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 22px; }
}

/* ---------- accessibility ---------- */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
