/* =====================================================================
   Success One Inc. — public site
   Brand (Manual corporativo 2025):
     Chili red #DA291C · Silver #ABADAE · Rich black #050517 · Anti-flash white #F1F3F5
     Display: Zebulon → web substitute Michroma · Text: Gotham → web substitute Montserrat
   ===================================================================== */

:root {
    --red: #DA291C;
    --red-600: #B71F14;
    --red-050: #FCEBEA;
    --silver: #ABADAE;
    --silver-300: #CDCFD0;
    --black: #050517;
    --ink: #0E0E24;
    --ink-2: #16162E;
    --white: #FFFFFF;
    --flash: #F1F3F5;
    --text: #23233A;
    --muted: #5E6070;
    --line: #E1E3E7;

    --font-display: "Michroma", "Zebulon", "Eurostile", system-ui, sans-serif;
    --font: "Montserrat", "Gotham", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px -12px rgba(5, 5, 23, .18);
    --shadow-lg: 0 30px 60px -20px rgba(5, 5, 23, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
    background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--black); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }

/* ---------- Typography helpers */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title {
    font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
    letter-spacing: -.01em; text-transform: uppercase; line-height: 1.2;
}
.section-title--sm { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); margin-bottom: 24px; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin-top: 18px; }
.section-head--center .section-lead { margin-inline: auto; }
.section-lead p:last-child { margin: 0; }

/* ---------- Buttons */
.btn {
    --bg: var(--black); --fg: #fff; --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
    font-weight: 600; font-size: .95rem; letter-spacing: .02em; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { --bg: var(--red); box-shadow: 0 12px 30px -12px rgba(218, 41, 28, .7); }
.btn-primary:hover { --bg: var(--red-600); }
.btn-light { --bg: #fff; --fg: var(--black); }
.btn-ghost { --bg: transparent; --fg: var(--black); --bd: var(--silver-300); }
.btn-ghost:hover { --bd: var(--black); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .06); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-row--center { justify-content: center; }

/* ---------- Header */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
    transition: background .35s, box-shadow .35s, height .35s;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; height: 40px; }
.brand-logo { height: 40px; width: auto; transition: opacity .3s; }
.brand-logo--color { position: absolute; inset: 0; opacity: 0; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; padding: 10px 14px; font-weight: 500; font-size: .95rem; color: #fff; opacity: .88; transition: opacity .2s, color .2s; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link.is-active { opacity: 1; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.main-nav .btn { margin-left: 10px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.lang-switch a { padding: 6px 4px; color: rgba(255, 255, 255, .6); transition: color .2s; }
.lang-switch a.is-active, .lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { border-bottom: 2px solid var(--red); }

.site-header.is-scrolled, body:not(.has-hero) .site-header {
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--line); height: 72px;
}
.site-header.is-scrolled .brand-logo--light, body:not(.has-hero) .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--color, body:not(.has-hero) .brand-logo--color { opacity: 1; }
.site-header.is-scrolled .nav-link, body:not(.has-hero) .nav-link { color: var(--black); }
.site-header.is-scrolled .lang-switch, .site-header.is-scrolled .lang-switch a { color: var(--muted); }
.site-header.is-scrolled .lang-switch a.is-active { color: var(--black); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.site-header.is-scrolled .nav-toggle span { background: var(--black); }

/* ---------- Shared decorative layers */
.theme-dark, .theme-accent { color: rgba(255, 255, 255, .8); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-accent h2, .theme-accent h3 { color: #fff; }
.theme-dark { background: var(--black); }
.theme-accent { background: linear-gradient(120deg, var(--red) 0%, #A81C12 100%); }
.theme-accent .eyebrow { color: #fff; }
.theme-light { background: var(--white); }
.theme-muted { background: var(--flash); }
.theme-dark .section-lead, .theme-accent .section-lead { color: rgba(255, 255, 255, .72); }

.hero-grid-lines {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(171, 173, 174, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(171, 173, 174, .08) 1px, transparent 1px);
    background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}

/* ---------- Home hero */
.hero {
    position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden;
    padding: calc(var(--header-h) + 60px) 0 120px; isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
    transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(5, 5, 23, .96) 0%, rgba(5, 5, 23, .86) 45%, rgba(5, 5, 23, .45) 100%),
                linear-gradient(0deg, rgba(5, 5, 23, .9) 0%, transparent 40%);
}
.hero-orb {
    position: absolute; width: 620px; height: 620px; right: -160px; top: 10%; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 41, 28, .45) 0%, rgba(218, 41, 28, 0) 65%); filter: blur(10px);
    animation: float 12s ease-in-out infinite;
}
.hero-watermark { position: absolute; right: 6%; bottom: 12%; width: clamp(180px, 26vw, 380px); opacity: .07; z-index: -1; pointer-events: none; }
.hero-inner { position: relative; }
.hero-copy { max-width: 760px; }
.hero-title {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: #fff;
    font-size: clamp(2.1rem, 1.2rem + 4vw, 4.2rem); line-height: 1.1; letter-spacing: -.01em;
}
.hero-title em, .page-hero-title em { font-style: normal; color: var(--red); }
.hero-lead { margin-top: 28px; font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 620px; font-weight: 300; }
.hero-scroll { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 20px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--red); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite; }

/* ---------- Inner page hero */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: rgba(255, 255, 255, .78);
    padding: calc(var(--header-h) + 90px) 0 100px;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(5, 5, 23, .97) 0%, rgba(5, 5, 23, .82) 55%, rgba(5, 5, 23, .55) 100%);
}
.page-hero::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--red) 0 22%, var(--silver) 22% 30%, transparent 30%);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero-title {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: #fff;
    font-size: clamp(1.8rem, 1.1rem + 3vw, 3.3rem); max-width: 900px; line-height: 1.15;
}
.page-hero-title--article { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.7rem); }
.page-hero-sub { margin-top: 22px; max-width: 640px; font-size: 1.12rem; font-weight: 300; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero-title, .page-hero--center .page-hero-sub { margin-inline: auto; }
.page-hero--center .eyebrow::before { display: none; }
.page-hero--full { min-height: 80svh; display: flex; align-items: center; }
.page-hero--full .page-hero-inner { width: min(820px, 100% - 48px); }
.back-link { display: flex; width: fit-content; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: .9rem; margin-bottom: 26px; transition: color .2s, gap .2s; }
.back-link:hover { color: #fff; gap: 12px; }
.article-meta { margin-top: 20px; color: rgba(255, 255, 255, .65); font-size: .95rem; }
.success-badge { display: inline-grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: rgba(218, 41, 28, .14); color: var(--red); margin-bottom: 26px; }
.error-code { display: block; font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--red); margin-bottom: 18px; }

/* ---------- Sections */
.section { position: relative; padding: clamp(72px, 6vw + 40px, 128px) 0; }
.section--tight { padding: 64px 0; }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; max-width: 780px; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head-row .section-head { margin: 0; }
.section-foot { text-align: center; }
.section-foot .btn-row { justify-content: center; }
.empty-note { color: var(--muted); }

/* Split text + image */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse .split-copy { order: 2; }
.split-copy .section-title { margin-bottom: 26px; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.split-media-accent { position: absolute; width: 46%; height: 46%; right: -18px; bottom: -18px; border-radius: var(--radius-lg); background: repeating-linear-gradient(135deg, var(--red) 0 2px, transparent 2px 12px); opacity: .5; }
.split--reverse .split-media-accent { right: auto; left: -18px; }

.prose { color: var(--muted); font-size: 1.04rem; }
.theme-dark .prose { color: rgba(255, 255, 255, .75); }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; font-weight: 700; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; color: var(--text); }
.theme-dark .prose ul li { color: #fff; }
.prose ul li::before {
    content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
    background: var(--red-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DA291C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.prose--lg { font-size: 1.1rem; line-height: 1.8; }
.prose--lg p { margin-bottom: 1.3em; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); font-style: italic; color: var(--text); }

/* Cards */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    position: relative; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--red-050); color: var(--red); margin-bottom: 24px; transition: background .3s, color .3s; }
.card:hover .card-icon { background: var(--red); color: #fff; }
.card-img { margin: -34px -30px 24px; aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.card-text { color: var(--muted); margin: 0; font-size: .97rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--red); font-size: .92rem; }
.card-link.stretched::before { content: ""; position: absolute; inset: 0; }
.theme-dark .card { background: var(--ink); border-color: rgba(255, 255, 255, .07); }
.theme-dark .card-text { color: rgba(255, 255, 255, .65); }
.theme-dark .card-icon { background: rgba(218, 41, 28, .15); }

/* People */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person { text-align: left; }
.person-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; background: var(--flash); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .6s var(--ease); }
.person:hover .person-photo img { filter: none; transform: scale(1.04); }
.person-name { font-size: 1.08rem; font-weight: 700; }
.person-role { color: var(--red); font-size: .9rem; font-weight: 500; margin: 4px 0 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--black); box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.theme-light .stats { margin-top: -120px; }
.stat { padding: 40px 30px; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); color: #fff; line-height: 1; margin-bottom: 14px; }
.stat:first-child .stat-value { color: var(--red); }
.stat-label { color: var(--silver); font-size: .92rem; font-weight: 500; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 28px 0 0; }
.step-num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--silver); margin-bottom: 26px; }
.step::before { content: ""; position: absolute; top: 62px; left: 0; right: 0; height: 1px; background: rgba(171, 173, 174, .25); }
.step::after { content: ""; position: absolute; top: 57px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(218, 41, 28, .18); }
.step-title { font-size: 1.15rem; font-weight: 700; margin: 46px 0 10px; }
.step-text { color: rgba(255, 255, 255, .65); font-size: .96rem; }
.theme-light .step-text { color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { position: relative; margin: 0; padding: 40px 34px 32px; border-radius: var(--radius-lg); background: var(--flash); display: flex; flex-direction: column; }
.quote-mark { position: absolute; top: 4px; right: 26px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--red); opacity: .22; }
.quote blockquote { margin: 0 0 28px; font-size: 1.05rem; color: var(--text); flex: 1; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--black); font-size: .95rem; }
.quote figcaption small { color: var(--muted); font-size: .82rem; }
.theme-dark .quote { background: var(--ink); }
.theme-dark .quote blockquote, .theme-dark .quote figcaption strong { color: #fff; }

/* Logos */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.logo-item img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .6; transition: opacity .3s, filter .3s; }
.logo-item:hover img { filter: none; opacity: 1; }
.logo-item span { font-family: var(--font-display); color: var(--silver); font-size: 1.1rem; }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(70px, 6vw + 30px, 110px) 0; }
.cta-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .3; }
.cta.theme-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 50%, rgba(218, 41, 28, .35), transparent 55%), linear-gradient(90deg, rgba(5, 5, 23, .9), rgba(5, 5, 23, .7)); }
.cta-watermark { position: absolute; right: -40px; top: 50%; width: 360px; transform: translateY(-50%); opacity: .08; z-index: -1; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); max-width: 720px; color: #fff; }
.cta-text { margin-top: 14px; font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.cta-text p { margin: 0; }
.cta .btn-row { margin-top: 0; }

/* ---------- Jobs */
.job-list { display: grid; gap: 14px; }
.job-card {
    position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px;
    padding: 28px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--red); }
.job-card-title { font-size: 1.2rem; font-weight: 700; margin: 8px 0 6px; }
.job-card-summary { color: var(--muted); margin: 0; font-size: .95rem; }
.job-card-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--flash); color: var(--black); transition: background .3s, color .3s, transform .3s; }
.job-card:hover .job-card-arrow { background: var(--red); color: #fff; transform: rotate(-45deg); }
.job-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .88rem; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .icon { color: var(--red); }
.job-meta--hero { margin-top: 26px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.theme-accent .job-card, .theme-dark .job-card { border-color: transparent; }
.theme-accent .job-card:hover { border-color: #fff; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.tag--solid { background: var(--red); color: #fff; padding: 6px 12px; border-radius: 999px; letter-spacing: .08em; }

.job-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; margin-bottom: 36px; padding: 12px; border-radius: 20px; background: var(--flash); }
.field { position: relative; display: block; }
.field input, .field select { width: 100%; height: 52px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; background: #fff; color: var(--text); }
.field--icon .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field--icon input { padding-left: 46px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); }
.job-filters .btn { height: 52px; border-radius: 12px; padding: 0 20px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state .icon { color: var(--silver); margin: 0 auto 14px; }

.job-layout { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: start; }
.job-lead { font-size: 1.25rem; color: var(--text); font-weight: 500; margin-bottom: 10px; }
.job-h { font-size: 1.3rem; font-weight: 700; margin: 42px 0 14px; padding-top: 30px; border-top: 1px solid var(--line); }
.job-dates { margin-top: 40px; color: var(--muted); font-size: .9rem; }
.apply-card { position: sticky; top: 100px; padding: 36px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.apply-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--red), var(--red-600)); }
.apply-title { font-size: 1.35rem; font-weight: 700; }
.apply-note { color: var(--muted); font-size: .92rem; margin: 8px 0 24px; }

/* ---------- Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label { display: grid; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--text); }
.field-label input, .field-label select, .field-label textarea {
    width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--flash);
    font-weight: 400; font-size: .97rem; color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field-label textarea { resize: vertical; min-height: 110px; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(218, 41, 28, .1); }
.field-label.is-invalid input, .field-label.is-invalid textarea, .input-validation-error { border-color: var(--red) !important; background: #fff !important; }
.field-error { color: var(--red); font-size: .8rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.file-drop {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 14px;
    border: 1.5px dashed var(--silver); background: var(--flash); cursor: pointer; color: var(--muted); font-size: .9rem;
    transition: border-color .2s, background .2s, color .2s;
}
.file-drop:hover, .file-drop.is-over { border-color: var(--red); background: var(--red-050); color: var(--text); }
.file-drop.has-file { border-style: solid; border-color: var(--red); color: var(--text); font-weight: 600; }
.file-drop .icon { color: var(--red); flex-shrink: 0; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form-note { color: var(--muted); font-size: .8rem; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: .92rem; }
.alert-error { background: var(--red-050); color: var(--red-600); }
.alert-info { background: var(--flash); color: var(--text); }
.form-success { text-align: center; padding: 40px 10px; }
.form-success p { font-size: 1.1rem; color: var(--text); }

/* ---------- Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--black); font-weight: 500; }
.contact-list a:hover { color: var(--red); }
.contact-ico { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--black); color: #fff; }
.contact-form-card { padding: 44px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.map-embed { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6); }

/* ---------- Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--flash); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-img .tag { position: absolute; left: 18px; top: 18px; }
.article-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.article-card-body time { font-size: .8rem; color: var(--muted); font-weight: 500; }
.article-card-title { font-size: 1.15rem; font-weight: 700; margin: 10px 0 10px; line-height: 1.35; }
.article-card-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.featured-article { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); color: rgba(255, 255, 255, .75); margin-bottom: 40px; box-shadow: var(--shadow-lg); }
.featured-article-img { min-height: 380px; overflow: hidden; }
.featured-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured-article:hover .featured-article-img img { transform: scale(1.05); }
.featured-article-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-article-body h2 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); margin: 18px 0 14px; line-height: 1.25; }
.featured-article-body .meta { font-size: .85rem; color: var(--silver); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.chip:hover { border-color: var(--black); color: var(--black); }
.chip.is-active { background: var(--black); border-color: var(--black); color: #fff; }
.article-lead { font-size: 1.3rem; line-height: 1.6; color: var(--text); font-weight: 500; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }

/* ---------- Footer */
.site-footer { position: relative; overflow: hidden; background: var(--black); color: rgba(255, 255, 255, .65); padding: 90px 0 0; font-size: .95rem; }
.footer-glow { position: absolute; width: 700px; height: 700px; left: -300px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(218, 41, 28, .25), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 60px; padding-bottom: 60px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 24px; }
.footer-brand p { max-width: 380px; }
.footer-title { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: background .25s, border-color .25s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-tag { color: var(--silver); }
.whatsapp-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes float { 50% { transform: translate(-30px, 30px); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive */
@media (max-width: 1080px) {
    .card-grid.cols-4, .people-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
    .job-layout { grid-template-columns: 1fr; }
    .apply-card { position: relative; top: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
    .nav-toggle { display: block; position: relative; z-index: 60; }
    .main-nav {
        position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; gap: 30px;
        background: var(--black); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
    }
    .main-nav ul { flex-direction: column; gap: 8px; }
    .main-nav .nav-link { color: #fff !important; font-size: 1.4rem; font-family: var(--font-display); text-transform: uppercase; }
    .main-nav .btn { margin: 14px 0 0; }
    .main-nav .lang-switch, .main-nav .lang-switch a { color: rgba(255, 255, 255, .6) !important; }
    .main-nav .lang-switch a.is-active { color: #fff !important; }
    body.nav-open { overflow: hidden; }
    body.nav-open .main-nav { opacity: 1; visibility: visible; }
    body.nav-open .nav-toggle span { background: #fff !important; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .split, .contact-layout, .featured-article { grid-template-columns: 1fr; }
    .split--reverse .split-copy { order: 0; }
    .card-grid.cols-3, .quotes, .article-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .job-filters { grid-template-columns: 1fr 1fr; }
    .job-filters .field--icon { grid-column: 1 / -1; }
    .featured-article-img { min-height: 240px; }
}
@media (max-width: 640px) {
    :root { --header-h: 72px; }
    .container, .container--narrow { width: calc(100% - 32px); }
    .brand, .brand-logo { height: 32px; }
    .card-grid.cols-3, .card-grid.cols-4, .quotes, .article-grid, .people-grid, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .job-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
    .job-card-arrow { display: none; }
    .job-filters { grid-template-columns: 1fr; }
    .apply-card, .contact-form-card { padding: 26px 20px; }
    .featured-article-body { padding: 28px; }
    .stat { padding: 28px 20px; }
    .theme-light .stats { margin-top: -80px; }
    .hero { padding-bottom: 100px; }
    .split-media-accent { display: none; }
}

/* ---------- On-site editing (visible only to signed-in content editors) */
.cms-block { position: relative; }
.cms-edit {
    position: absolute; z-index: 45; top: 18px; right: 18px; display: none; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px; background: var(--red); color: #fff; font: 600 .78rem/1 var(--font);
    letter-spacing: .02em; box-shadow: 0 8px 20px -6px rgba(5, 5, 23, .5); transition: transform .2s, background .2s;
}
.cms-edit:hover { background: var(--black); transform: translateY(-1px); }
.cms-edit--header, .cms-block:first-child > .cms-edit { top: calc(var(--header-h) + 14px); }
body.cms-on .cms-edit { display: inline-flex; }
body.cms-on .cms-block::after {
    content: ""; position: absolute; inset: 4px; z-index: 44; pointer-events: none; border-radius: 6px;
    border: 2px dashed transparent; transition: border-color .2s;
}
body.cms-on .cms-block:hover::after { border-color: rgba(218, 41, 28, .7); }
.cms-add { display: none; padding: 26px 16px; text-align: center; background: repeating-linear-gradient(135deg, var(--flash) 0 12px, #fff 12px 24px); border-top: 1px dashed var(--silver); }
.cms-add a { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px dashed var(--red); color: var(--red); font-weight: 600; font-size: .9rem; }
.cms-add a:hover { background: var(--red); color: #fff; border-style: solid; }
body.cms-on .cms-add { display: block; }

.cms-bar {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 4px;
    max-width: calc(100% - 24px); overflow-x: auto; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(5, 5, 23, .94);
    color: rgba(255, 255, 255, .8); font: 500 .82rem/1 var(--font); box-shadow: 0 18px 40px -12px rgba(5, 5, 23, .6);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap;
}
.cms-bar a, .cms-bar button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 999px; color: #fff; background: none; border: 0; cursor: pointer; font: inherit; }
.cms-bar a:hover, .cms-bar button:hover { background: rgba(255, 255, 255, .1); }
.cms-bar form { margin: 0; }
.cms-bar-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .14em; color: #fff; margin-right: 6px; }
.cms-bar-brand img { width: 22px; height: auto; }
.cms-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .15); margin: 0 6px; }
.cms-user { display: inline-flex; flex-direction: column; gap: 3px; padding: 0 8px; color: #fff; font-weight: 600; }
.cms-user small { color: var(--silver); font-weight: 500; font-size: .7rem; }
.cms-switch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; cursor: pointer; color: #fff; }
.cms-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cms-switch-track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: background .2s; }
.cms-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cms-switch input:checked + .cms-switch-track { background: var(--red); }
.cms-switch input:checked + .cms-switch-track::after { transform: translateX(14px); }
.cms-switch input:focus-visible + .cms-switch-track { outline: 2px solid #fff; outline-offset: 2px; }
.cms-toast {
    position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 91; display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--black); font-weight: 600; font-size: .9rem;
    box-shadow: var(--shadow-lg); border-left: 4px solid #138A4B; transition: opacity .5s, transform .5s;
}
.cms-toast .icon { color: #138A4B; }
.cms-toast.is-hidden { opacity: 0; transform: translate(-50%, 10px); }
body:has(.cms-bar) .whatsapp-fab { bottom: 84px; }
@media (max-width: 640px) { .cms-user, .cms-bar .cms-sep:nth-of-type(2) { display: none; } .cms-bar { bottom: 10px; } }
