/* =================================================================
   PhilRecruit Online — Directory of Employment Agencies
   Clean / minimalist (JML system) re-skinned with Philippine-red accents.
   ================================================================= */

:root {
    /* Brand palette */
    --bg:        #ffffff;
    --bg-soft:   #fbf7f7;   /* faint warm tint for alternating sections */
    --bg-tint:   #fdeef0;   /* soft red wash behind icons / chips */
    --red:       #ce1126;   /* signature Philippine red */
    --red-200:   #f6cdd2;
    --red-600:   #a60f20;   /* deeper red for hover/lines */
    --rose:       #d8576a;  /* secondary, softer red */
    --maroon:    #7d0b18;   /* deep brand red */
    --ink:       #1a1d21;   /* headings / near-black + primary buttons */
    --grey:      #565b63;   /* body text */
    --grey-400:  #969ca6;   /* muted */
    --line:      #ece6e7;   /* hairlines */
    --gold:      #f4b400;   /* flag-gold sun accent (sparingly) */

    /* Type */
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Rhythm */
    --container: 1180px;
    --gutter: clamp(20px, 5vw, 56px);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 50px -28px rgba(125, 11, 24, .35);
    --shadow-soft: 0 10px 30px -20px rgba(125, 11, 24, .30);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--grey);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-600); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--red); color: #fff; }

/* Base icon size — prevents a stray .icon (no sized parent) from filling its
   container. Contextual rules below override with explicit px where needed. */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.18em; flex: none; }

/* ---------- Accessibility ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--maroon); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
.display {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.7rem, 6.4vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    color: var(--ink);
}
.display em { font-style: italic; color: var(--red); font-weight: 500; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.01em; }
.h2 em { font-style: italic; color: var(--red); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--grey); max-width: 54ch; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); display: inline-block; }

.section__head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head .h2 { margin-top: 14px; }
.section__head p { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow::before { display: none; }
.center .eyebrow { gap: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: .98rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--red-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary:hover .icon { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--red-600); box-shadow: inset 0 0 0 1.5px var(--red-200); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { color: inherit; }
.brand__star {
    flex: none; width: 38px; height: 38px; border-radius: 11px;
    background: var(--red); color: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow-soft);
}
.brand__star svg { width: 22px; height: 22px; }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.brand__word b { color: var(--red); font-weight: 600; }
.brand__sub { display: block; font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--grey-400); margin-top: 3px; }
.brand--footer .brand__word { color: #fff; }
.brand--footer .brand__sub { color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .brand__word { font-size: 1.32rem; } .brand__sub { display: none; } }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.8);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a {
    color: var(--grey); font-weight: 500; font-size: .96rem;
    padding: 8px 14px; border-radius: 100px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__menu a:hover { color: var(--ink); background: var(--bg-tint); }
.nav__menu a.is-active { color: var(--red); }
.nav__cta { background: var(--red); color: #fff !important; margin-left: 8px; }
.nav__cta:hover { background: var(--red-600); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(70px, 11vw, 140px) clamp(60px, 9vw, 110px); }
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 70% at 88% 4%, var(--bg-tint) 0%, transparent 60%),
        radial-gradient(50% 60% at 0% 100%, #fdf3f4 0%, transparent 55%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero .display { margin-top: 22px; }
.hero .lede { margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero__meta .stat__num { font-family: var(--serif); font-size: 2.4rem; color: var(--maroon); line-height: 1; }
.hero__meta .stat__label { font-size: .85rem; color: var(--grey-400); margin-top: 6px; }

/* Hero visual — stacked "job order" cards */
.hero__visual { position: relative; }
.hero__panel {
    position: relative; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.hero__panel-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.hero__panel-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red-200); }
.hero__panel-bar .dot:first-child { background: var(--red); }
.hero__panel-bar .lbl { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-400); margin-left: auto; }
.hero__panel-body { padding: 22px 22px 26px; display: grid; gap: 14px; }
.job-row { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.job-row:hover { border-color: var(--red-200); transform: translateX(3px); }
.job-row__flag { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint); color: var(--red); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); font-size: 1.05rem; }
.job-row__main { min-width: 0; }
.job-row__title { font-weight: 600; color: var(--ink); font-size: .96rem; }
.job-row__meta { font-size: .8rem; color: var(--grey-400); }
.job-row__badge { margin-left: auto; flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-600); background: var(--bg-tint); padding: 5px 9px; border-radius: 100px; }
.hero__chip {
    position: absolute; bottom: -18px; left: -18px; background: var(--ink); color: #fff;
    font-weight: 600; font-size: .8rem; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-soft);
    display: flex; align-items: center; gap: 8px;
}
.hero__chip .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip__inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 60px); flex-wrap: wrap; justify-content: center; padding-block: 26px; }
.strip span { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.5rem); color: var(--grey-400); }
.strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red-200); }

/* ---------- Generic card grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red-200); }
.card__icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--red); margin-bottom: 22px;
}
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; }
.card__tag { color: var(--red); font-size: .9rem; font-weight: 500; margin-top: 4px; }
.card p { margin-top: 14px; font-size: .98rem; }

/* ---------- Audience paths (3 routes) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px;
    overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.path::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--red)); }
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.path__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, var(--red)) 12%, #fff); color: var(--accent, var(--red)); margin-bottom: 20px; }
.path__icon .icon { width: 26px; height: 26px; }
.path__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--red)); }
.path h3 { font-size: 1.5rem; margin-top: 8px; font-family: var(--serif); font-weight: 600; }
.path > p { margin-top: 12px; font-size: .97rem; }
.path__list { margin-top: 18px; display: grid; gap: 10px; }
.path__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--grey); }
.path__list .icon { flex: none; width: 17px; height: 17px; color: var(--accent, var(--red)); margin-top: 3px; }
.path__cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent, var(--red)); }
.path__cta .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.path:hover .path__cta .icon { transform: translateX(4px); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding-top: 26px; border-top: 2px solid var(--line); position: relative; transition: border-color .3s var(--ease); }
.step:hover { border-color: var(--red); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--red); }
.step h3 { font-size: 1.18rem; margin-top: 10px; }
.step p { margin-top: 10px; font-size: .95rem; }

/* ---------- Job listings ---------- */
.jobs-list { display: grid; gap: 16px; }
.job-card {
    display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--red-200); }
.job-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-card__title { font-size: 1.22rem; color: var(--ink); font-family: var(--serif); font-weight: 600; }
.job-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: .78rem; font-weight: 600; color: var(--grey); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.tag .icon { width: 14px; height: 14px; color: var(--red); }
.job-card__agency { font-size: .86rem; color: var(--grey-400); margin-top: 14px; }
.job-card__agency b { color: var(--grey); font-weight: 600; }
.job-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.job-card__loc { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.job-card__loc .icon { width: 16px; height: 16px; color: var(--red); }

.badge-poea { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1f7a4d; background: #e8f7ef; padding: 4px 10px; border-radius: 100px; }

/* ---------- Filter bar ---------- */
.filterbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.filterbar .field { margin: 0; flex: 1 1 220px; }
.filterbar .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { font-size: .85rem; font-weight: 600; color: var(--grey); background: #fff; border: 1.5px solid var(--line); padding: 9px 16px; border-radius: 100px; transition: all .2s var(--ease); }
.chip-btn:hover { border-color: var(--red-200); color: var(--red); }
.chip-btn.is-active { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Agency directory ---------- */
.agency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.agency {
    display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.agency:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red-200); }
.agency__mark { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--bg-tint); color: var(--red); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; }
.agency__body { min-width: 0; }
.agency h3 { font-size: 1.15rem; }
.agency__loc { font-size: .88rem; color: var(--grey-400); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.agency__loc .icon { width: 14px; height: 14px; }
.agency__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.agency__lic { margin-top: 14px; font-size: .8rem; color: var(--grey); }
.agency__lic b { color: #1f7a4d; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.stack > * + * { margin-top: 18px; }
.values { display: grid; gap: 16px; margin-top: 8px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value__check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.value__check .icon { width: 15px; height: 15px; }
.value h4 { font-size: 1.05rem; }
.value p { font-size: .95rem; margin-top: 2px; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-band .stat { text-align: center; }
.stat-band .stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--maroon); line-height: 1; }
.stat-band .stat__label { font-size: .88rem; color: var(--grey-400); margin-top: 8px; }

/* image-free figure block (warm gradient panel w/ initial) */
.figure-panel { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(135deg, var(--maroon), var(--red)); position: relative; overflow: hidden; box-shadow: var(--shadow); display: grid; place-items: center; }
.figure-panel::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,0,.35), transparent 65%); top: -120px; right: -90px; }
.figure-panel__glyph { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 3.6rem); color: rgba(255,255,255,.95); position: relative; z-index: 1; text-align: center; line-height: 1.2; padding: 24px; }

/* ---------- CTA band ---------- */
.cta {
    background: linear-gradient(135deg, var(--maroon), #4f0810);
    color: #fff; border-radius: var(--radius); padding: clamp(44px, 7vw, 84px); text-align: center;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(244,180,0,.32), transparent 65%);
    top: -160px; right: -120px;
}
.cta__inner { position: relative; z-index: 1; }
.cta .h2 { color: #fff; }
.cta .h2 em { color: var(--gold); }
.cta p { color: rgba(255,255,255,.85); margin-top: 16px; max-width: 52ch; margin-inline: auto; }
.cta .hero__actions { justify-content: center; }
.btn--gold { background: var(--gold); color: #3a2a00; }
.btn--gold:hover { background: #ffc524; color: #3a2a00; transform: translateY(-2px); }

/* ---------- Notice / callouts ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-tint); border: 1px solid var(--red-200); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .95rem; color: var(--maroon); }
.notice .icon { flex: none; width: 20px; height: 20px; color: var(--red); margin-top: 2px; }

/* prose for content pages (guidelines/about) */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 18px; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-top: 36px; }
.prose ul.ticks { display: grid; gap: 12px; }
.prose ul.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul.ticks .icon { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 4px; }
.prose ol { padding-left: 1.2em; display: grid; gap: 12px; }
.prose ol li { padding-left: 6px; }
.prose ol li::marker { color: var(--red); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--red); display: grid; place-items: center; }
.contact-item__icon .icon { width: 20px; height: 20px; }
.contact-item h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey-400); font-weight: 600; }
.contact-item p, .contact-item a { font-size: 1.05rem; color: var(--ink); margin-top: 4px; }
.contact-item a:hover { color: var(--red); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
label .opt { color: var(--grey-400); font-weight: 400; }
input, textarea, select {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
    padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-soft); transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(206,17,38,.12); }
textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: .85rem; color: var(--grey-400); margin-top: 4px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #e8f7ef; color: #1f7a4d; }
.form-status.is-err { display: block; background: #fdecec; color: #b23b3b; }
.field-error { border-color: #d98a8a !important; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(60px, 8vw, 110px) clamp(36px, 5vw, 60px); background:
    radial-gradient(50% 80% at 90% 0%, var(--bg-tint), transparent 60%); }
.page-hero .display { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-top: 18px; }
.page-hero p { margin-top: 20px; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: #15100f; color: rgba(255,255,255,.7); padding-block: clamp(54px, 7vw, 88px) 30px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--red-200); margin-top: 16px; max-width: 32ch; }
.footer__nav h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer__nav a { display: block; color: rgba(255,255,255,.62); padding: 5px 0; font-size: .95rem; }
.footer__nav a:hover { color: var(--red-200); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; color: rgba(255,255,255,.45); }
.footer__bar a { color: rgba(255,255,255,.6); }
.footer__bar a:hover { color: var(--red-200); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; max-width: 460px; }
    .grid--3, .paths, .steps, .stat-band { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .agency-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px;
        transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease);
        box-shadow: var(--shadow-soft); max-height: calc(100vh - 76px); overflow-y: auto;
    }
    .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .nav__menu a { padding: 14px 8px; border-radius: 10px; }
    .nav__cta { margin-left: 0; margin-top: 8px; text-align: center; }
    .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .field-row { grid-template-columns: 1fr; }
    .job-card { grid-template-columns: 1fr; }
    .job-card__side { align-items: flex-start; text-align: left; }
}
@media (max-width: 460px) {
    .grid--3, .grid--2, .paths, .steps, .stat-band { grid-template-columns: 1fr; }
    .hero__meta { gap: 24px; }
}
