:root {
    --brand: #051a58;
    --brand-2: #0b2f84;
    --accent: #f41212;
    --accent-soft: #ffe8e8;
    --ink: #081223;
    --muted: #526074;
    --line: #dce4f2;
    --background: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #edf2fb;
    --radius: 26px;
    --shadow: 0 22px 70px rgba(5, 26, 88, .14);
    --section-y: 96px;
    --font-body: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    --font-heading: Bahnschrift, "Arial Black", "Segoe UI", Arial, sans-serif;
    --font-button: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    --h1: clamp(2.45rem, 5.2vw, 5.25rem);
    --h2: clamp(1.95rem, 3.55vw, 3.35rem);
    --h3: clamp(1.16rem, 1.55vw, 1.55rem);
    --body-size: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: 1.65;
    color: var(--ink);
    background: var(--background);
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--brand);
    line-height: 1.06;
    letter-spacing: -.034em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -.018em; line-height: 1.18; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 12px 16px;
    background: var(--brand);
    color: #fff;
    border-radius: 12px;
    transform: translateY(-150%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(5, 26, 88, .09);
    backdrop-filter: blur(18px);
}
.header-shell {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 174px;
}
.brand img { width: 170px; height: auto; }
.brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.desktop-nav { flex: 1; display: flex; justify-content: center; }
.desktop-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    color: var(--brand);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: -.01em;
    border-radius: 14px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.desktop-nav a:hover { background: var(--accent-soft); color: var(--accent); transform: translateY(-1px); }
.header-cta, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    border: 0;
    border-radius: 16px;
    font-family: var(--font-button);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.015em;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.header-cta, .button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 18px 42px rgba(244, 18, 18, .22);
}
.button-secondary {
    background: var(--surface);
    color: var(--brand);
    border: 1px solid rgba(5, 26, 88, .14);
}
.button-dark { background: var(--brand); color: #fff; }
.header-cta:hover, .button:hover { transform: translateY(-3px); color: #fff; }
.button-secondary:hover { color: var(--accent); background: #fff; box-shadow: var(--shadow); }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(5, 26, 88, .16);
    border-radius: 16px;
    background: #fff;
    padding: 13px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--brand);
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(5, 26, 88, .1);
    box-shadow: 0 26px 60px rgba(5, 26, 88, .16);
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { padding: 22px 0 28px; }
.mobile-menu ul { display: grid; gap: 8px; width: 100%; }
.mobile-menu a {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    padding: 13px 16px;
    background: #f7f9fd;
    border: 1px solid rgba(5, 26, 88, .08);
    border-radius: 16px;
    color: var(--brand);
    font-weight: 900;
}
.mobile-menu-cta { margin-top: 16px; background: var(--accent) !important; color: #fff !important; }
.section { padding: var(--section-y) 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--brand); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-intro {
    display: grid;
    gap: 18px;
    max-width: 840px;
    margin-bottom: 44px;
}
.section-intro.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--accent);
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.section-kicker:before {
    content: "";
    width: 42px;
    height: 3px;
    background: currentColor;
    border-radius: 4px;
}
.lead { font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: var(--muted); line-height: 1.72; }
.hero-immersive {
    min-height: calc(100vh - 86px);
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: #fff;
    background-image:
        linear-gradient(180deg, rgba(2, 10, 35, .72) 0%, rgba(2, 10, 35, .56) 48%, rgba(2, 10, 35, .78) 100%),
        url("/assets/img/hero-first-aid-training.png");
    background-size: cover;
    background-position: center 46%;
    background-repeat: no-repeat;
}
.hero-immersive:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 10, 35, .18), transparent 28%, transparent 72%, rgba(2, 10, 35, .18));
    pointer-events: none;
}
.hero-orbit { display: none; }
.hero-center {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 30px;
    text-align: center;
    justify-items: center;
}
.hero-logo {
    width: min(390px, 72vw);
    margin-bottom: 4px;
    padding: 10px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 46px rgba(2, 10, 35, .24);
}
.hero-center h1 {
    max-width: 930px;
    color: #fff;
    font-size: clamp(2.65rem, 6vw, 5.65rem);
    text-shadow: 0 5px 30px rgba(2, 10, 35, .72);
}
.hero-center .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 3px 18px rgba(2, 10, 35, .72);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-metrics {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}
.metric-card {
    min-height: 136px;
    padding: 26px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(5, 26, 88, .12);
    box-shadow: 0 16px 45px rgba(5, 26, 88, .09);
    backdrop-filter: blur(10px);
}
.metric-card dt { font-family: var(--font-heading); font-size: clamp(1.65rem, 3.1vw, 2.9rem); color: var(--accent); line-height: 1.05; }
.metric-card dd { margin: 10px 0 0; color: var(--brand); font-weight: 850; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .course-card, .value-card, .project-card, .gallery-card, .contact-card, .info-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid rgba(5, 26, 88, .1);
    box-shadow: 0 18px 56px rgba(5, 26, 88, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover, .course-card:hover, .value-card:hover, .project-card:hover, .gallery-card:hover, .contact-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(244, 18, 18, .24);
}
.card-number, .icon-box {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 950;
}
.feature-card h3, .course-card h3, .value-card h3, .project-card h3 { margin-bottom: 14px; }
.section-dark[data-sos-section="home-courses"] .course-card {
    color: var(--ink);
}
.section-dark[data-sos-section="home-courses"] .course-card h3 {
    color: var(--brand) !important;
}
.section-dark[data-sos-section="home-courses"] .course-card p:not(.course-meta) {
    color: var(--muted) !important;
}
.section-dark[data-sos-section="home-courses"] .course-card .course-meta,
.section-dark[data-sos-section="home-courses"] .course-card .card-link,
.section-dark[data-sos-section="home-courses"] .course-card .card-link span {
    color: var(--accent) !important;
}
.card-link, .text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    color: var(--accent);
    font-weight: 950;
}
.card-link:after, .text-link:after { content: ""; width: 28px; height: 2px; margin-left: 10px; background: currentColor; transition: width .2s ease; }
.card-link:hover:after, .text-link:hover:after { width: 46px; }
.split-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 42px; align-items: center; }
.broken-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.broken-grid .wide { grid-column: span 7; }
.broken-grid .narrow { grid-column: span 5; }
.visual-card {
    position: relative;
    min-height: 360px;
    padding: 34px;
    border-radius: 34px;
    background: var(--brand);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.visual-card h2, .visual-card h3 { color: #fff; position: relative; z-index: 1; }
.visual-card p { color: rgba(255,255,255,.78); position: relative; z-index: 1; max-width: 760px; }
.visual-card .plus-shape {
    position: absolute;
    right: 28px;
    bottom: 26px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--accent);
}
.visual-card .plus-shape:before, .visual-card .plus-shape:after {
    content: "";
    position: absolute;
    background: var(--brand);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.visual-card .plus-shape:before { width: 20px; height: 72px; }
.visual-card .plus-shape:after { width: 72px; height: 20px; }
.process-list { display: grid; gap: 18px; counter-reset: step; }
.process-item {
    counter-increment: step;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(5, 26, 88, .1);
}
.process-item:before {
    content: counter(step, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    color: #fff;
    background: var(--brand);
    font-weight: 950;
}
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0 78px;
    background: linear-gradient(135deg, #ffffff, #eaf0fb);
}
.page-hero:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -80px;
    border-radius: 50%;
    background: rgba(244,18,18,.12);
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1fr .82fr; gap: 42px; align-items: center; z-index: 1; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.25rem, 4.6vw, 4.35rem); }
.page-hero .lead { margin-top: 24px; max-width: 760px; }
.logo-panel {
    padding: 32px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(5, 26, 88, .1);
    box-shadow: var(--shadow);
}
.logo-panel img { width: 100%; }
.logo-panel p { margin-top: 18px; color: var(--muted); }
.check-list { display: grid; gap: 14px; }
.check-list li {
    position: relative;
    padding: 18px 18px 18px 58px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(5,26,88,.1);
    font-weight: 750;
}
.check-list li:before {
    content: "";
    position: absolute;
    left: 18px;
    top: 19px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: inset 0 0 0 7px #fff;
}
.course-meta { color: var(--accent); font-size: .9rem; font-weight: 950; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery-card { padding: 16px; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--surface-2); }
.gallery-card h3 { margin: 20px 14px 10px; }
.gallery-card p { margin: 0 14px 14px; color: var(--muted); }
.project-card { display: grid; gap: 16px; }
.project-label { color: var(--accent); font-weight: 950; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.cta-band {
    padding: 46px;
    border-radius: 36px;
    background: var(--brand);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 16px; max-width: 760px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-stack { display: grid; gap: 18px; }
.contact-card h2, .form-card h2 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); margin-bottom: 14px; }
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--brand); font-weight: 900; }
.form-card {
    padding: 34px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(5,26,88,.1);
    box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--brand); font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(5, 26, 88, .18);
    border-radius: 16px;
    padding: 13px 15px;
    color: var(--ink);
    background: #fbfcff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form textarea { min-height: 142px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 5px rgba(244,18,18,.1);
    background: #fff;
}
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; color: var(--muted) !important; font-weight: 650 !important; }
.consent input { width: 20px; min-height: 20px; margin-top: 5px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { color: var(--muted); font-size: .94rem; }

.notice-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; background: var(--background); }
.notice-card { width: min(720px, 100%); padding: 42px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(5,26,88,.1); }
.notice-card h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); margin-bottom: 18px; }
.notice-card p { color: var(--muted); margin-top: 12px; }
.blog-fallback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sos-blog-list-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sos-blog-card {
    border: 1px solid rgba(5,26,88,.1) !important;
    border-radius: var(--radius) !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 18px 56px rgba(5,26,88,.08) !important;
}
.sos-blog-card a { display: grid; color: inherit; height: 100%; }
.sos-blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.sos-blog-card div { padding: 26px; }
.sos-blog-card h2 { font-size: clamp(1.35rem, 2vw, 1.85rem); margin: 8px 0 12px; }
.sos-blog-card p { color: var(--muted); }
.sos-blog-meta { color: var(--accent) !important; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 950; }
.sos-blog-card span { display: inline-flex; margin-top: 18px; color: var(--accent); font-weight: 950; }
.blog-post { max-width: 850px; margin: 0 auto; }
.blog-post img { border-radius: 28px; margin: 28px 0; }
.blog-post-content { display: grid; gap: 18px; color: #253149; }
.blog-post-content h2, .blog-post-content h3 { margin-top: 18px; }
.reviews-shell {
    padding: 34px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(5,26,88,.1);
    box-shadow: var(--shadow);
}
.sos-reviews-widget h2 { font-size: clamp(1.85rem, 3.2vw, 2.8rem); margin-bottom: 28px; }
.sos-reviews-list { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px !important; }
.sos-review { border-radius: 24px !important; padding: 24px !important; border-color: rgba(5,26,88,.1) !important; }
.sos-review-form { border-radius: 24px !important; padding: 24px !important; }
.site-footer { padding: 66px 0 34px; background: #061744; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .75fr .85fr; gap: 30px; }
.site-footer h2 { color: #fff; font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 14px; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.74); }
.site-footer a { color: #fff; font-weight: 800; }
.site-footer a:hover { color: #ff6c6c; }
.footer-brand img { width: 210px; background: #fff; padding: 10px; border-radius: 18px; margin-bottom: 20px; }
.realization { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.privacy-body {
    margin: 0;
    background: #fff;
    color: #111;
    font-family: "Times New Roman", Times, serif;
    font-size: 12pt;
    line-height: 1.5;
}
.privacy-document {
    width: min(760px, calc(100% - 48px));
    margin: 42px auto 70px;
    text-align: center;
}
.privacy-document h1 { font-family: "Times New Roman", Times, serif; color: #111; font-size: 22pt; line-height: 1.2; margin-bottom: 22px; letter-spacing: 0; }
.privacy-document h2 { font-family: "Times New Roman", Times, serif; color: #111; font-size: 15pt; line-height: 1.3; margin: 28px 0 10px; letter-spacing: 0; }
.privacy-document p { margin: 0 0 12px; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes floatRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 1050px) {
    .desktop-nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .brand img { width: 150px; }
    .header-shell { min-height: 78px; }
    .card-grid, .gallery-grid, .sos-blog-list-grid, .blog-fallback-grid, .sos-reviews-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .page-hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
    .broken-grid .wide, .broken-grid .narrow { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    :root { --section-y: 68px; --body-size: 16px; --h1: clamp(2.05rem, 9.2vw, 3.25rem); --h2: clamp(1.65rem, 7vw, 2.35rem); --h3: clamp(1.08rem, 4.6vw, 1.32rem); }
    .container { width: min(100% - 28px, 1180px); }
    .hero-immersive { min-height: auto; padding: 72px 0; background-position: 48% center; }
    .hero-actions, .form-actions { width: 100%; }
    .button, .header-cta { width: 100%; }
    .hero-metrics, .card-grid, .card-grid.two, .gallery-grid, .sos-blog-list-grid, .blog-fallback-grid, .sos-reviews-list { grid-template-columns: 1fr !important; }
    .feature-card, .course-card, .value-card, .project-card, .gallery-card, .contact-card, .form-card { padding: 24px; }
    .process-item { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 30px; }

    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.card-number, .icon-box, .process-item:before { flex: 0 0 auto; }
.feature-card h3, .course-card h3, .value-card h3, .project-card h3, .gallery-card h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 720px) {
    .hero-center h1, .page-hero h1 { font-size: var(--h1); }
    .visual-card { min-height: 0; padding: 28px; padding-bottom: 126px; }
    .visual-card .plus-shape { width: 88px; height: 88px; right: 22px; bottom: 20px; }
    .visual-card .plus-shape:before { width: 16px; height: 54px; }
    .visual-card .plus-shape:after { width: 54px; height: 16px; }
}

/* Offer photography, language switcher and quick contact */
.language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 4px;
    border: 1px solid rgba(5, 26, 88, .12);
    border-radius: 14px;
    background: #fff;
}
.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 10px;
    color: var(--brand);
    font-size: .78rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.language-switcher a:hover {
    background: var(--accent-soft);
    color: var(--accent);
    transform: translateY(-1px);
}
.language-switcher a.is-active {
    background: var(--brand);
    color: #fff;
}
.language-switcher-mobile {
    width: 100%;
    justify-content: flex-start;
    margin-top: 16px;
    padding: 8px;
    background: #f7f9fd;
}
.language-switcher-mobile a {
    flex: 1;
    min-height: 44px;
}

.offer-photo-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 84px;
    background:
        radial-gradient(circle at 7% 12%, rgba(244, 18, 18, .11), transparent 32%),
        radial-gradient(circle at 96% 86%, rgba(11, 47, 132, .13), transparent 38%),
        linear-gradient(145deg, #f7f9fd 0%, #edf3ff 100%);
}
.offer-photo-hero:before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -160px;
    bottom: -190px;
    border: 54px solid rgba(244, 18, 18, .06);
    border-radius: 50%;
    pointer-events: none;
}
.offer-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(42px, 6vw, 82px);
}
.offer-hero-copy {
    display: grid;
    align-content: center;
    gap: 24px;
}
.offer-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.55rem, 4.55vw, 4.5rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
}
.offer-hero-copy .lead {
    max-width: 680px;
}
.offer-hero-copy .button {
    width: fit-content;
    margin-top: 4px;
}
.offer-hero-media {
    position: relative;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, .8);
    border-radius: 38px 38px 38px 110px;
    background: var(--brand);
    box-shadow: 0 34px 90px rgba(5, 26, 88, .22);
}
.offer-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.offer-hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(3, 13, 44, .82) 100%);
    pointer-events: none;
}
.offer-hero-media figcaption {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    left: 34px;
    max-width: 510px;
    color: #fff;
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.48;
}
.offer-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.offer-course-card {
    position: relative;
    isolation: isolate;
    min-height: 510px;
    overflow: hidden;
    border: 1px solid rgba(5, 26, 88, .1);
    border-radius: 30px;
    background: #071a45;
    box-shadow: 0 20px 60px rgba(5, 26, 88, .14);
    transform: translateZ(0);
}
.offer-course-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .65s cubic-bezier(.2, .72, .25, 1), filter .4s ease;
}
.offer-course-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 14, 46, .12) 0%, rgba(3, 14, 46, .48) 36%, rgba(3, 14, 46, .98) 82%),
        linear-gradient(90deg, rgba(3, 14, 46, .54), transparent 72%);
}
.offer-course-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 510px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    color: #fff;
}
.offer-course-card .card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: auto;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 17px;
    background: rgba(4, 18, 56, .5);
    color: #fff;
    font-weight: 950;
    line-height: 1;
    backdrop-filter: blur(10px);
}
.offer-course-card h3 {
    width: 100%;
    margin-top: 44px;
    color: #fff;
    font-size: clamp(1.3rem, 1.65vw, 1.72rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
}
.offer-course-text {
    margin-top: 14px;
    color: rgba(255, 255, 255, .86);
    font-size: .96rem;
    line-height: 1.55;
}
.offer-price {
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.42;
}
.offer-course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #fff;
    font-size: .91rem;
    font-weight: 950;
    line-height: 1.3;
}
.offer-course-link:after {
    content: "→";
    transition: transform .2s ease;
}
.offer-course-link:hover {
    color: #fff;
}
.offer-course-link:hover:after {
    transform: translateX(5px);
}
.offer-course-card:hover .offer-course-image {
    transform: scale(1.055);
    filter: saturate(1.08);
}

.quick-contact {
    position: fixed;
    z-index: 1100;
    right: 22px;
    bottom: 22px;
    display: grid;
    justify-items: end;
    gap: 12px;
    max-width: calc(100vw - 28px);
}
.quick-contact-panel {
    display: grid;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    transform-origin: right bottom;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.quick-contact.is-open .quick-contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.quick-contact-option,
.quick-contact-toggle {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(5, 26, 88, .22);
    font-family: var(--font-button);
    font-size: .92rem;
    font-weight: 950;
    line-height: 1.15;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.quick-contact-option:hover,
.quick-contact-toggle:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(5, 26, 88, .28);
    filter: brightness(1.05);
}
.quick-contact-option svg,
.quick-contact-toggle svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: currentColor;
}
.quick-contact-whatsapp { background: #166534; color: #fff; }
.quick-contact-messenger { background: #0758c9; color: #fff; }
.quick-contact-toggle { background: var(--accent); color: #fff; }
.quick-contact-toggle[aria-expanded="true"] { background: var(--brand); }

@media (max-width: 1180px) {
    .desktop-nav a { padding-inline: 9px; font-size: .82rem; }
    .header-shell { gap: 12px; }
    .brand { min-width: 150px; }
    .brand img { width: 148px; }
    .header-cta { padding-inline: 16px; font-size: .86rem; }
    .offer-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
    .language-switcher-desktop { display: none; }
    .offer-hero-grid { grid-template-columns: 1fr; }
    .offer-hero-copy { max-width: 840px; }
    .offer-hero-media { min-height: 470px; border-radius: 34px 34px 34px 84px; }
}
@media (max-width: 720px) {
    .offer-photo-hero { padding: 58px 0 64px; }
    .offer-hero-grid { gap: 36px; }
    .offer-hero-copy { gap: 19px; }
    .offer-hero-copy h1 { font-size: clamp(2rem, 9vw, 3.05rem); line-height: 1.07; }
    .offer-hero-copy .button { width: 100%; }
    .offer-hero-media { min-height: 360px; border-width: 7px; border-radius: 28px 28px 28px 58px; }
    .offer-hero-media figcaption { right: 22px; bottom: 22px; left: 25px; font-size: .88rem; }
    .offer-course-grid { grid-template-columns: 1fr; gap: 20px; }
    .offer-course-card,
    .offer-course-content { min-height: 470px; }
    .offer-course-content { padding: 25px; }
    .offer-course-card h3 { margin-top: 38px; font-size: 1.42rem; }
    .quick-contact { right: 14px; bottom: 14px; }
    .quick-contact-option { min-width: 220px; justify-content: flex-start; }
    .quick-contact-toggle { min-width: 56px; }
}
@media (max-width: 420px) {
    .quick-contact-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .quick-contact-toggle { width: 58px; padding-inline: 0; }
    .offer-course-card,
    .offer-course-content { min-height: 490px; }
}

@media (min-width: 1051px) {
    .header-shell { width: min(1340px, calc(100% - 40px)); }
    .desktop-nav ul { flex-wrap: nowrap; }
    .desktop-nav a { padding-inline: 9px; font-size: .82rem; white-space: nowrap; }
}

/* Mobile home hero correction - 2026-06-23 */
@media (max-width: 720px) {
    .hero-immersive {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 52px 0 56px;
        overflow: hidden;
        background-color: #020a23;
        background-image:
            linear-gradient(180deg, rgba(2, 10, 35, .44) 0%, rgba(2, 10, 35, .56) 38%, rgba(2, 10, 35, .88) 58%, #020a23 72%, #020a23 100%),
            url("/assets/img/hero-first-aid-training.png");
        background-size: 100% 100%, auto 720px;
        background-position: center top, 42% top;
        background-repeat: no-repeat;
    }
    .hero-immersive:before {
        background: linear-gradient(90deg, rgba(2, 10, 35, .14), transparent 54%, rgba(2, 10, 35, .18));
    }
    .hero-immersive .hero-center {
        width: calc(100% - 28px) !important;
        max-width: 1180px !important;
        min-width: 0;
        margin-inline: auto !important;
        gap: 22px;
        padding-inline: 0;
    }
    .hero-center > * {
        min-width: 0;
        max-width: 100%;
    }
    .hero-logo {
        width: min(300px, 82vw);
    }
    .hero-center h1 {
        width: 100%;
        font-size: clamp(2rem, 8.5vw, 2.7rem);
        line-height: 1.08;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .hero-center .lead {
        width: 100%;
        font-size: 1rem;
        line-height: 1.62;
        overflow-wrap: break-word;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 12px;
    }
    .hero-actions .button {
        min-width: 0;
        max-width: 100%;
    }
    .hero-metrics {
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        gap: 12px;
    }
    .metric-card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 20px 18px;
    }
    .metric-card dt {
        font-size: 1.65rem;
    }
    .metric-card dd {
        overflow-wrap: break-word;
    }
}
@media (max-width: 380px) {
    .hero-immersive {
        padding: 44px 0 50px;
        background-size: 100% 100%, auto 680px;
        background-position: center top, 41.5% top;
    }
    .hero-center {
        gap: 19px;
    }
    .hero-logo {
        width: min(276px, 84vw);
        padding: 8px 12px;
    }
    .hero-center h1 {
        font-size: clamp(1.85rem, 8.6vw, 2.35rem);
    }
}

/* Cosmetic menu and footer typography - 2026-06-29 */
@media (min-width: 1051px) and (max-width: 1180px) {
    .desktop-nav a {
        font-size: .83rem;
        padding-inline: 6px;
    }
}
@media (min-width: 1181px) and (max-width: 1320px) {
    .desktop-nav a {
        font-size: .87rem;
        padding-inline: 8px;
    }
}
@media (min-width: 1321px) {
    .desktop-nav a {
        font-size: .92rem;
        padding-inline: 11px;
    }
}
.site-footer h2 {
    font-size: 1rem;
    line-height: 1.25;
}
.site-footer p,
.site-footer li,
.site-footer a {
    font-size: .9rem;
    line-height: 1.55;
}
.site-footer .realization {
    font-size: .88rem;
}

/* Mobile typography and logo containment - 2026-07-01 */
@media (max-width: 720px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    body:not(.privacy-body) {
        overflow-wrap: break-word;
    }
    body:not(.privacy-body) .site-header,
    body:not(.privacy-body) .hero-immersive,
    body:not(.privacy-body) .page-hero,
    body:not(.privacy-body) .offer-photo-hero,
    body:not(.privacy-body) .section,
    body:not(.privacy-body) .site-footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: clip;
    }
    body:not(.privacy-body) .container,
    body:not(.privacy-body) .header-shell {
        width: min(100% - 28px, 1180px);
        max-width: calc(100vw - 28px);
        min-width: 0;
    }
    body:not(.privacy-body) h1,
    body:not(.privacy-body) .hero-center h1,
    body:not(.privacy-body) .page-hero h1,
    body:not(.privacy-body) .offer-hero-copy h1,
    body:not(.privacy-body) .notice-card h1 {
        max-width: 100%;
        font-size: clamp(1.72rem, 7.15vw, 2.28rem) !important;
        line-height: 1.13 !important;
        letter-spacing: -.024em;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }
    body:not(.privacy-body) h2,
    body:not(.privacy-body) .section-intro h2,
    body:not(.privacy-body) .visual-card h2,
    body:not(.privacy-body) .cta-band h2,
    body:not(.privacy-body) .contact-card h2,
    body:not(.privacy-body) .form-card h2,
    body:not(.privacy-body) .sos-reviews-widget h2,
    body:not(.privacy-body) .site-footer h2 {
        max-width: 100%;
        font-size: clamp(1.36rem, 5.65vw, 1.9rem) !important;
        line-height: 1.16 !important;
        letter-spacing: -.018em;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }
    body:not(.privacy-body) h3,
    body:not(.privacy-body) .offer-course-card h3,
    body:not(.privacy-body) .sos-blog-card h2 {
        max-width: 100%;
        font-size: clamp(1.04rem, 4.7vw, 1.32rem) !important;
        line-height: 1.2 !important;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }
    body:not(.privacy-body) .lead {
        max-width: 100%;
        font-size: clamp(.98rem, 4.2vw, 1.04rem);
        line-height: 1.62;
    }
    body:not(.privacy-body) .page-hero {
        padding: 62px 0 52px;
    }
    body:not(.privacy-body) .offer-photo-hero {
        padding: 52px 0 58px;
    }
    body:not(.privacy-body) .section-intro {
        gap: 14px;
        margin-bottom: 32px;
    }
    body:not(.privacy-body) .header-shell {
        gap: 10px;
    }
    body:not(.privacy-body) .brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 66px);
        overflow: hidden;
    }
    body:not(.privacy-body) .brand img {
        width: clamp(112px, 38vw, 142px) !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }
    body:not(.privacy-body) .nav-toggle {
        flex: 0 0 54px;
        margin-left: auto;
    }
    body:not(.privacy-body) img[src*="logo-helpak"] {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }
    body:not(.privacy-body) .hero-logo {
        width: min(232px, 66vw) !important;
        max-width: calc(100vw - 44px) !important;
        padding: 8px 12px;
    }
    body:not(.privacy-body) .logo-panel {
        width: 100%;
        max-width: 100%;
        padding: 22px;
        overflow: hidden;
    }
    body:not(.privacy-body) .logo-panel img {
        width: min(220px, 100%) !important;
        margin-inline: auto;
    }
    body:not(.privacy-body) .footer-brand img {
        width: min(170px, 72vw) !important;
        max-width: 100% !important;
    }
}
@media (max-width: 380px) {
    body:not(.privacy-body) .container,
    body:not(.privacy-body) .header-shell {
        width: min(100% - 24px, 1180px);
        max-width: calc(100vw - 24px);
    }
    body:not(.privacy-body) h1,
    body:not(.privacy-body) .hero-center h1,
    body:not(.privacy-body) .page-hero h1,
    body:not(.privacy-body) .offer-hero-copy h1,
    body:not(.privacy-body) .notice-card h1 {
        font-size: clamp(1.58rem, 7.35vw, 2.02rem) !important;
        line-height: 1.14 !important;
    }
    body:not(.privacy-body) h2,
    body:not(.privacy-body) .section-intro h2,
    body:not(.privacy-body) .visual-card h2,
    body:not(.privacy-body) .cta-band h2,
    body:not(.privacy-body) .contact-card h2,
    body:not(.privacy-body) .form-card h2,
    body:not(.privacy-body) .sos-reviews-widget h2,
    body:not(.privacy-body) .site-footer h2 {
        font-size: clamp(1.28rem, 5.85vw, 1.72rem) !important;
    }
    body:not(.privacy-body) .hero-logo {
        width: min(208px, 64vw) !important;
        max-width: calc(100vw - 38px) !important;
        padding: 7px 10px;
    }
    body:not(.privacy-body) .brand img {
        width: clamp(104px, 36vw, 132px) !important;
    }
}

@media (max-width: 720px) {
    body:not(.privacy-body) .site-footer h2 {
        font-size: .95rem !important;
        line-height: 1.25 !important;
    }
    body:not(.privacy-body) .site-footer p,
    body:not(.privacy-body) .site-footer li,
    body:not(.privacy-body) .site-footer a {
        font-size: .84rem;
        line-height: 1.5;
    }
}
/* End mobile typography and logo containment - 2026-07-01 */

/* Mobile menu visibility fix - 2026-07-01 */
@media (max-width: 1050px) {
    body:not(.privacy-body) .site-header {
        overflow: visible !important;
        z-index: 9999;
    }
    body:not(.privacy-body) .mobile-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        max-height: calc(100dvh - 78px);
        min-height: calc(100dvh - 78px);
        overflow-x: hidden;
        overflow-y: auto;
        background: #ffffff;
        z-index: 9998;
        visibility: visible;
    }
    body:not(.privacy-body) .mobile-menu.is-open {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
    }
    body.nav-open:not(.privacy-body) .quick-contact {
        display: none;
    }
    body:not(.privacy-body) .mobile-menu-inner {
        width: min(100% - 28px, 1180px);
        max-width: calc(100vw - 28px);
        margin-inline: auto;
        padding: 18px 0 24px;
    }
    body:not(.privacy-body) .mobile-menu ul,
    body:not(.privacy-body) .mobile-menu li,
    body:not(.privacy-body) .mobile-menu a {
        max-width: 100%;
    }
}
@media (max-width: 380px) {
    body:not(.privacy-body) .mobile-menu-inner {
        width: min(100% - 24px, 1180px);
        max-width: calc(100vw - 24px);
    }
}
/* End mobile menu visibility fix - 2026-07-01 */
