:root {
    --red: #e21635;
    --red-dark: #b50d27;
    --red-bright: #ff394e;
    --rose: #ffe3e8;
    --rose-light: #fff3f5;
    --ink: #251c1e;
    --muted: #655c5f;
    --line: #eadfe2;
    --surface: #fff;
    --page: #f7f6f7;
    --shadow: 0 18px 44px rgba(79, 24, 34, .11);
    --radius: 24px;
    --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: radial-gradient(circle at top left, #ffe7eb 0, var(--page) 38%, #fff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; }

.container {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
    position: relative;
    z-index: 10;
    background: linear-gradient(100deg, var(--red-dark), var(--red), var(--red-bright));
    box-shadow: 0 10px 28px rgba(97, 12, 28, .18);
}

.header-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    width: 238px;
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(65, 8, 20, .18);
}

.brand img { display: block; width: 100%; height: auto; }

.menu-button {
    display: none;
    width: 50px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, .58);
    border-radius: 13px;
    color: #fff;
    background: transparent;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }

.main-nav a {
    display: block;
    padding: 11px 13px;
    border-radius: 999px;
    color: #fff;
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
    color: var(--red-dark);
    background: #fff;
}

.main-nav .certificate-link {
    margin-left: 5px;
    color: var(--red-dark);
    background: #fff;
    box-shadow: 0 9px 20px rgba(79, 12, 26, .16);
}

.hero { padding: 64px 0 44px; }

.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    align-items: center;
    gap: 48px;
    padding: clamp(34px, 6vw, 72px);
    border-radius: 30px;
    background: linear-gradient(135deg, #fff 0, var(--rose-light) 44%, #ffd5dd 100%);
    box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }

h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(2.45rem, 6vw, 5rem); letter-spacing: -.055em; }
.hero p { max-width: 650px; margin: 0 0 30px; color: #493d40; font-size: clamp(1.05rem, 2vw, 1.28rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 2px solid var(--red);
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 12px 24px rgba(226, 22, 53, .2);
    font-weight: 800;
    text-decoration: none;
}

.button:hover,
.button:focus-visible { border-color: var(--red-dark); background: var(--red-dark); transform: translateY(-1px); }
.button-secondary { color: var(--red-dark); background: #fff; box-shadow: none; }

.hero-mark {
    position: relative;
    min-height: 280px;
}

.hero-circle {
    position: absolute;
    inset: 0;
    width: min(29vw, 330px);
    aspect-ratio: 1;
    margin: auto;
    border: 40px solid rgba(226, 22, 53, .13);
    border-radius: 50%;
}

.hero-circle::before,
.hero-circle::after {
    position: absolute;
    border-radius: 50%;
    background: var(--red);
    content: "";
}

.hero-circle::before { width: 48%; aspect-ratio: 1; top: -20%; right: -4%; }
.hero-circle::after { width: 28%; aspect-ratio: 1; bottom: -8%; left: -7%; background: var(--red-bright); }

.section { padding: 44px 0 72px; }
.section-heading { max-width: 720px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
    display: flex;
    min-height: 265px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(79, 24, 34, .07);
}

.card-number { display: block; margin-bottom: 36px; color: var(--red); font-size: .82rem; font-weight: 850; letter-spacing: .12em; }
.card h2, .card h3 { margin-bottom: 12px; font-size: 1.42rem; }
.card p { margin: 0 0 20px; color: var(--muted); }
.card .text-link { margin-top: auto; color: var(--red-dark); font-weight: 800; text-decoration: none; }
.card .text-link:hover { text-decoration: underline; }

.band { padding: 60px 0; color: #fff; background: var(--ink); }
.band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.band h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 4vw, 3rem); }
.band p { max-width: 700px; margin: 0; color: #d9d0d2; }

.page-hero { padding: 64px 0 28px; }
.page-title {
    padding: clamp(32px, 6vw, 64px);
    border-radius: 30px;
    background: linear-gradient(135deg, #fff, var(--rose));
    box-shadow: var(--shadow);
}
.page-title h1 { margin-bottom: 12px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.page-title p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.15rem; }

.content-section { padding: 28px 0 80px; }
.content-card { width: 100%; max-width: none; margin-inline: auto; padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.content-card.wide { max-width: none; }
.content-card h2 { margin-top: 38px; margin-bottom: 12px; font-size: 1.45rem; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: #554b4e; }
.content-card a:not(.button) { color: var(--red-dark); font-weight: 700; }
.notice { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--red); border-radius: 0 16px 16px 0; background: var(--rose-light); }
.notice p { margin: 0; }

.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.person-card { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.person-initials { display: grid; width: 82px; height: 82px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--red-dark), var(--red-bright)); font-size: 1.35rem; font-weight: 850; }
.person-card h2 { margin: 0 0 5px; font-size: 1.3rem; }
.person-card p { margin: 0; color: var(--muted); }

.privacy-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.privacy-table th, .privacy-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.privacy-table th { background: var(--rose-light); }
.table-scroll { overflow-x: auto; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav a { color: var(--red-dark); font-weight: 750; text-decoration: none; }

@media (max-width: 1060px) {
    .header-inner { flex-wrap: wrap; padding: 16px 0; }
    .brand { width: 205px; }
    .menu-button { display: block; }
    .main-nav { display: none; width: 100%; margin: 0; }
    .main-nav[data-open] { display: block; }
    .main-nav ul { align-items: stretch; flex-direction: column; }
    .main-nav a { padding: 11px 15px; }
    .main-nav .certificate-link { margin-left: 0; }
}

@media (max-width: 800px) {
    .hero { padding-top: 34px; }
    .hero-panel { min-height: 0; grid-template-columns: 1fr; padding: 36px 28px; }
    .hero-mark { display: none; }
    .card-grid, .card-grid.two, .board-grid { grid-template-columns: 1fr; }
    .band-inner { grid-template-columns: 1fr; }
    .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 26px 0; }
}

@media (max-width: 480px) {
    .container { width: min(calc(100% - 24px), var(--content)); }
    .brand { width: 190px; }
    h1 { font-size: 2.5rem; overflow-wrap: anywhere; }
    .page-title h1 { font-size: 2.35rem; overflow-wrap: anywhere; }
    .actions .button { width: 100%; }
    .person-card { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
    .person-initials { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
