:root {
    --club-gold: #c99b2e;
    --club-gold-dark: #a87b1e;
    --club-ink: #202327;
    --club-muted: #596067;
    --club-surface: #fff;
}

#home {
    padding-top: 0 !important;
}

body {
    background: #eef0ed !important;
}

.navbar {
    position: sticky !important;
    z-index: 1000 !important;
    min-height: 174px;
    margin-bottom: 0 !important;
    padding: 12px 0 30px !important;
    overflow: hidden;
    background: linear-gradient(165deg, #34363a 0%, #17191c 43%, #070707 100%) !important;
    border: 0 !important;
}

.navbar::before,
.navbar::after {
    display: none;
}

.header-stroke,
.footer-stroke {
    position: absolute;
    z-index: 0;
    display: block;
    width: 35%;
    height: 80px;
    border-top: 4px solid rgba(242, 209, 107, .75);
    border-radius: 50%;
    pointer-events: none;
    animation: none;
}

.header-stroke-left {
    top: 15px;
    left: -12%;
}

.header-stroke-right {
    top: 35px;
    right: -14%;
    border-top-color: rgba(201, 155, 46, .78);
}

@keyframes club-stroke-draw-left {
    0%, 12% {
        clip-path: inset(0 100% 0 0);
    }

    42%, 68% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes club-stroke-draw-right {
    0%, 12% {
        clip-path: inset(0 0 0 100%);
    }

    42%, 68% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 100% 0 0);
    }
}

.navbar > .container {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    gap: 24px;
}

.navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 13px;
    margin: 0 !important;
}

.navbar-logo {
    width: 76px !important;
    height: 96px !important;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 5px;
}

.brand-copy span {
    position: relative;
    top: 5px;
    color: #ffffff;
    font-size: clamp(14px, 1.45vw, 20px);
    letter-spacing: .08em;
    line-height: 1.2;
}

.navbar-brand h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(29px, 3.4vw, 44px) !important;
    letter-spacing: .12em;
}

.navbar-menu {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.6vw, 24px);
    margin: 0 !important;
}

.nav-link {
    color: #fff !important;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #f2d16b !important;
    background: transparent !important;
}

#logoutLink {
    padding: 10px 15px;
    color: #211a0a !important;
    background: var(--club-gold);
    border: 1px solid var(--club-gold);
}

.mobile-menu-toggle {
    display: none;
}

#home {
    padding-top: 34px;
}

#app > main.container {
    max-width: 1180px;
    padding: 0 32px;
}

#home .hero {
    display: grid !important;
    grid-template-columns: 60% 40%;
    min-height: 430px;
    padding: 0 !important;
    overflow: hidden;
    color: var(--club-ink) !important;
    text-align: left !important;
    background: var(--club-surface) !important;
    border: 1px solid #e0e3df;
    border-radius: 20px;
}

#home .hero-copy {
    display: flex;
    width: auto !important;
    min-height: 430px !important;
    padding: 52px 58px !important;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

#home .hero-eyebrow {
    margin-bottom: 17px;
    color: var(--club-gold-dark) !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .15em;
}

#home .hero h2 {
    margin: 0;
    color: var(--club-ink) !important;
    font-size: clamp(48px, 6vw, 78px) !important;
    line-height: .9;
}

#home .hero h2 strong {
    color: var(--club-gold-dark) !important;
}

#home .hero-rule {
    width: min(339px, 100%);
    height: 4px;
    margin: 22px 0 20px;
    background: var(--club-gold);
}

#home .hero-copy p {
    max-width: 420px;
    color: var(--club-muted) !important;
    font-size: 17px;
    text-shadow: none !important;
}

#home .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 12px;
}

#home .cta-buttons .btn {
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
}

#home .cta-buttons .btn-primary {
    color: #211a0a;
    background: var(--club-gold);
    border-color: var(--club-gold);
}

#home .cta-buttons .btn-secondary {
    color: var(--club-ink);
    background: #fff;
    border: 1px solid #b9bdb8;
}

#home .hero-visual {
    position: relative;
    display: block !important;
    min-height: 430px;
    overflow: hidden;
    background: #fff;
}

#home .hero-visual::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 -1px;
    width: 90px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
    content: "";
}

#home .hero-visual .hero-photo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

#home .home-benefits {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 22px;
    padding: 23px 26px;
    background: #fff;
    border: 1px solid #e0e3df;
    border-radius: 15px;
}

#home .benefit-item {
    min-height: 64px;
    padding: 8px 25px;
}

#home .benefit-item + .benefit-item {
    border-left: 1px solid #e0e3df;
}

#home .benefit-item strong {
    color: var(--club-ink) !important;
}

#home .benefit-item > div > span {
    color: var(--club-muted) !important;
}

.footer {
    position: relative;
    display: flex;
    min-height: 185px;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 6vw, 90px);
    overflow: hidden;
    margin-top: 0 !important;
    padding: 32px 24px;
    color: #fff;
    background: linear-gradient(165deg, #292b2e, #111214) !important;
    border-top: 0 !important;
}

.footer::before {
    display: none;
}

.footer-stroke-left {
    top: 30px;
    left: -12%;
}

.footer-stroke-right {
    right: -10%;
    bottom: 15px;
    border-top-color: rgba(201, 155, 46, .78);
}

.footer-branding {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 9px;
    text-align: center;
}

.footer-branding p {
    margin: 0;
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 700;
}

.footer-branding span {
    color: #d7d8d9;
    font-size: 11px;
    letter-spacing: .18em;
}

.footer-sunarp {
    position: relative;
    z-index: 1;
    width: 150px;
    height: auto;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 138px;
        padding: 8px 0 16px !important;
    }

    .navbar > .container {
        min-height: 114px;
        padding: 8px 16px;
    }

    .navbar-logo {
        width: 54px !important;
        height: 72px !important;
    }

    .brand-copy {
        gap: 3px;
    }

    .brand-copy span {
        font-size: 10px;
    }

    .navbar-brand h1 {
        font-size: 24px !important;
        letter-spacing: .04em;
    }

    .mobile-menu-toggle {
        position: relative;
        z-index: 20;
        display: block;
        min-width: 50px;
        min-height: 46px;
        padding: 10px 13px;
        color: #181818;
        background: var(--club-gold);
        border: 1px solid #f2d16b;
        border-radius: 6px;
        box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
        cursor: pointer;
        font-size: 24px;
        line-height: 1;
    }

    .navbar-menu {
        position: fixed;
        z-index: 2000;
        top: 72px;
        right: 14px;
        display: none !important;
        width: 190px;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border: 1px solid #e0e3df;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(32, 35, 39, .18);
    }

    .navbar-menu.is-open {
        display: flex !important;
    }

    .nav-link {
        padding: 11px 10px !important;
        color: var(--club-ink) !important;
        background: #fff !important;
    }

    #app > main.container {
        padding: 0 14px;
    }

    #home .hero {
        display: flex !important;
        min-height: 0;
        flex-direction: column;
        border-radius: 15px;
    }

    #home .hero-copy {
        min-height: 0 !important;
        padding: 34px 24px 30px !important;
    }

    #home .hero h2 {
        font-size: 50px !important;
    }

    #home .hero-visual {
        min-height: 220px;
    }

    #home .hero-visual .hero-photo {
        min-height: 220px;
        max-height: 260px;
    }

    #home .cta-buttons {
        width: 100%;
    }

    #home .cta-buttons .btn {
        width: 100%;
    }

    #home .home-benefits {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 13px 15px;
    }

    #home .benefit-item {
        padding: 13px 4px;
    }

    #home .benefit-item + .benefit-item {
        border-top: 1px solid #e0e3df;
        border-left: 0;
    }

    .footer {
        min-height: 160px;
        flex-direction: column;
        gap: 10px;
        padding: 28px 18px;
    }

    .footer-branding p {
        font-size: 20px;
    }

    .footer-branding span {
        font-size: 9px;
        line-height: 1.5;
    }

    .footer-sunarp {
        width: 118px;
    }

    .header-stroke,
    .footer-stroke {
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-stroke,
    .footer-stroke {
        display: none;
    }
}

/* Production home uses the same visual structure as home-preview. */
.site-header {
    position: relative;
    z-index: 10;
    min-height: 174px;
    overflow: hidden;
    background: linear-gradient(165deg, #34363a 0%, #17191c 43%, #070707 100%);
}

.site-header .header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1180px;
    min-height: 174px;
    margin: 0 auto;
    padding: 12px 32px 30px;
}

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

.site-header .brand > img {
    width: 76px;
    height: 96px;
    object-fit: contain;
}

.site-header .brand-copy {
    display: grid;
    gap: 5px;
}

.site-header .brand-copy small {
    position: relative;
    top: 6px;
    color: #ffffff;
    font-size: clamp(16px, 1.65vw, 23px);
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.site-header .brand-copy strong {
    color: #ffffff;
    font-size: clamp(29px, 3.4vw, 44px);
    letter-spacing: .12em;
}

.site-header .desktop-navigation {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.6vw, 24px);
    margin: 0;
}

main.container {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 34px 32px 52px !important;
}

.site-header .nav-link {
    padding: 9px 2px !important;
    color: #fff !important;
    font-size: 14px;
    white-space: nowrap;
    background: transparent !important;
    border: 0;
}

.site-header .nav-link:hover {
    color: #f2d16b !important;
    background: transparent !important;
}

.site-header #logoutLink {
    padding: 9px 2px;
    color: #fff !important;
    background: transparent;
    border: 0;
}

.hero-card {
    display: grid !important;
    grid-template-columns: 60% 40%;
    min-height: 430px;
    padding: 0 !important;
    overflow: hidden;
    color: #202327 !important;
    text-align: left !important;
    background: #fff !important;
    border: 1px solid #e0e3df;
    border-radius: 20px;
}

.hero-content {
    display: flex;
    width: auto !important;
    min-height: 430px;
    padding: 52px 58px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.hero-content h1 {
    margin: 0;
    color: #202327;
    font-size: clamp(48px, 6vw, 78px);
    line-height: .9;
}

.hero-content h1 strong {
    color: #a87b1e;
}

.hero-eyebrow {
    margin: 0 0 17px;
    color: #a87b1e !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .15em;
}

.hero-rule {
    width: min(339px, 100%);
    height: 4px;
    margin: 22px 0 20px;
    background: #c99b2e;
    border-radius: 999px;
}

.hero-description {
    max-width: 420px;
    margin: 0 0 28px;
    color: #596067 !important;
    font-size: 17px;
}

.hero-actions .button,
.hero-actions .button:hover {
    font-family: inherit;
    text-decoration: none;
    transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.hero-actions .button:hover {
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .button {
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.hero-actions .button-primary {
    gap: 10px;
    color: #211a0a;
    background: #c99b2e;
    border: 1px solid #c99b2e;
    box-shadow: 0 5px 12px rgba(168, 123, 30, .18);
}

.hero-actions .button-secondary {
    color: #202327;
    background: #fff;
    border: 1px solid #b9bdb8;
}

.hero-actions .button-primary:hover {
    background: #a87b1e;
    box-shadow: 0 7px 15px rgba(168, 123, 30, .25);
}

.hero-actions .button-secondary:hover {
    border-color: #c99b2e;
}

.hero-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #fff;
}

.hero-image::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 -1px;
    width: 90px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
    content: "";
}

.hero-image .hero-photo {
    display: block !important;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.benefits-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 22px;
    padding: 23px 26px;
    background: #fff;
    border: 1px solid #e0e3df;
    border-radius: 15px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 64px;
    padding: 8px 25px;
}

.benefit + .benefit {
    border-left: 1px solid #e0e3df;
}

.benefit h2 {
    margin: 1px 0 5px;
    color: #202327;
    font-size: 15px;
}

.benefit p {
    margin: 0;
    color: #596067;
    font-size: 13px;
}

.benefit-icon {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    background: #c99b2e;
    border-radius: 50%;
    font-size: 17px;
    font-weight: 700;
}

.site-footer {
    position: relative;
    display: flex;
    min-height: 140px;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 6vw, 90px);
    overflow: hidden;
    padding: 32px 24px;
    color: #fff;
    background: linear-gradient(165deg, #292b2e, #111214) !important;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: clamp(28px, 6vw, 90px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 15px 24px 30px;
    text-align: center;
}

.footer-copy {
    display: grid;
    gap: 9px;
}

.footer-copy p {
    margin: 0;
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 700;
}

.footer-copy span {
    color: #d7d8d9;
    font-size: 11px;
    letter-spacing: .18em;
}

.sunarp-logo {
    position: relative;
    z-index: 1;
    width: 150px;
    height: auto;
}

@media (max-width: 768px) {
    .site-header {
        min-height: 138px;
    }

    .site-header .header-inner {
        min-height: 138px;
        padding: 8px 16px 16px;
    }

    main.container {
        padding: 20px 14px 34px !important;
    }

    .site-header .brand > img {
        width: 54px;
        height: 72px;
    }

    .site-header .brand-copy small {
        font-size: 15px;
    }

    .site-header .brand-copy strong {
        font-size: 24px;
        letter-spacing: .04em;
    }

    .site-header {
        z-index: 3000;
        overflow: visible;
    }

    .site-header .navbar-menu {
        position: fixed;
        z-index: 9999;
        top: 72px;
        right: auto;
        left: 50%;
        display: none !important;
        width: min(280px, calc(100vw - 28px));
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: translateX(-50%);
        background: #fff;
        border: 1px solid #e0e3df;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(32, 35, 39, .18);
    }

    .site-header .navbar-menu.is-open {
        display: flex !important;
    }

    .site-header .nav-link {
        padding: 11px 10px !important;
        color: #202327 !important;
        background: #fff !important;
        text-align: center;
    }

    .site-header #logoutLink {
        padding: 11px 10px !important;
        color: #202327 !important;
        background: #fff !important;
        border: 0;
        text-align: center;
    }

    .hero-card {
        display: flex !important;
        min-height: 0;
        flex-direction: column;
        border-radius: 15px;
    }

    .hero-content {
        min-height: 0;
        padding: 34px 24px 30px;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .hero-rule {
        width: min(324px, 100%);
    }

    .hero-description {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-image {
        min-height: 220px;
    }

    .hero-image .hero-photo {
        min-height: 220px;
        max-height: 260px;
    }

    .benefits-card {
        grid-template-columns: 1fr;
        padding: 13px 15px;
    }

    .benefit {
        padding: 13px 4px;
    }

    .benefit + .benefit {
        border-top: 1px solid #e0e3df;
        border-left: 0;
    }

    .site-footer {
        min-height: 160px;
        flex-direction: column;
        gap: 10px;
        padding: 28px 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .footer-copy p {
        font-size: 20px;
    }

    .footer-copy span {
        font-size: 9px;
        line-height: 1.5;
    }

    .sunarp-logo {
        width: 118px;
    }
}


/* Consolidated preview rules for the production index. */
:root {
    --gold: #c99b2e;
    --gold-dark: #a87b1e;
    --ink: #202327;
    --ink-soft: #4d5358;
    --surface: #ffffff;
    --background: #eef0ed;
    --line: #e0e3df;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background: linear-gradient(rgba(238, 240, 237, 0.92), rgba(238, 240, 237, 0.96)), url("../banner.jpg") center / cover;
    content: "";
    opacity: 0.35;
}

a {
    color: inherit;
}

.preview-shell {
    min-height: 100vh;
    overflow: hidden;
}

.site-header {
    position: relative;
    z-index: 10;
    min-height: 174px;
    overflow: hidden;
    background: linear-gradient(165deg, #34363a 0%, #17191c 43%, #070707 100%);
    border-top: 0;
}

.site-header::before,
.site-header::after {
    display: none;
}

.site-header::before {
    bottom: -57px;
    height: 108px;
    border-top: 9px solid var(--gold);
    background: none;
    transform: rotate(-5deg);
    animation: stroke-draw 9s ease-in-out infinite;
}

.site-header::after {
    bottom: -70px;
    height: 104px;
    border-top: 5px solid var(--gold-light);
    background: none;
    transform: rotate(-5deg);
    animation: stroke-draw 11s ease-in-out -4s infinite;
}

.header-stroke,
.footer-stroke {
    position: absolute;
    z-index: 0;
    display: block;
    height: 80px;
    border-top: 4px solid rgba(242, 209, 107, 0.75);
    border-radius: 50%;
    pointer-events: none;
    animation: none;
}

.header-stroke-left {
    top: 15px;
    left: -12%;
    width: 48%;
    transform: rotate(12deg);
    animation-delay: -1s;
}

.header-stroke-right {
    top: 35px;
    right: -14%;
    width: 44%;
    border-top-color: rgba(201, 155, 46, 0.78);
    transform: rotate(-10deg);
    animation-delay: -5s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1180px;
    min-height: 174px;
    margin: 0 auto;
    padding: 12px 32px 30px;
    position: relative;
    z-index: 1;
}

.brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    text-decoration: none;
}

.brand img {
    width: 76px;
    height: 96px;
    object-fit: contain;
    filter:
        drop-shadow(0 5px 4px rgba(0, 0, 0, 0.4));
}

.brand-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.brand-copy strong {
    color: #fff;
    font-size: clamp(29px, 3.4vw, 44px);
    letter-spacing: 0.12em;
}

.brand-copy .brand-institution {
    color: #f1f1f1;
    font-size: clamp(16px, 1.65vw, 23px);
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
}

.desktop-navigation a,
.mobile-menu a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.desktop-navigation a:hover,
.mobile-menu a:hover {
    color: var(--gold-dark);
}

.desktop-navigation .logout-link {
    padding: 10px 15px;
    color: #211a0a;
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 7px;
}

.site-header .header-inner {
    max-width: 1240px;
    gap: 22px;
}

.site-header #logoutLink {
    padding: 12px 18px !important;
    color: #211a0a !important;
    background: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 7px;
}

.mobile-navigation {
    display: none;
}

main {
    display: grid;
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 32px 52px;
}

.hero-card {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 430px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 52px 58px;
}

.hero-eyebrow {
    margin: 0 0 17px;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.hero-content h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.9;
    letter-spacing: 0.05em;
}

.hero-content h1 strong {
    color: var(--gold-dark);
}

.hero-rule {
    width: min(339px, 100%);
    height: 4px;
    margin: 22px 0 20px;
    background: var(--gold);
    border-radius: 999px;
}

.hero-description {
    max-width: 420px;
    margin: 0 0 28px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    font-family: inherit;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    gap: 10px;
    color: #211a0a;
    background: var(--gold);
    border: 0;
    box-shadow: 0 5px 12px rgba(168, 123, 30, 0.18);
}

.button-primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 7px 15px rgba(168, 123, 30, 0.25);
}

.button-secondary {
    color: var(--ink);
    border: 1px solid #b9bdb8;
    background: var(--surface);
}

.button-secondary:hover {
    border-color: var(--gold);
}

.hero-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.hero-image::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 -1px;
    width: 90px;
    background: linear-gradient(90deg, var(--surface), rgba(255, 255, 255, 0));
    content: "";
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.benefits-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 23px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 64px;
    padding: 8px 25px;
}

.benefit + .benefit {
    border-left: 1px solid var(--line);
}

.benefit-icon {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    background: var(--gold);
    border-radius: 50%;
    font-size: 17px;
    font-weight: 700;
}

.benefit h2 {
    margin: 1px 0 5px;
    font-size: 15px;
}

.benefit p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.4;
}

.site-footer {
    position: relative;
    min-height: 95px;
    overflow: hidden;
    padding: 10px 18px;
    background: linear-gradient(165deg, #292b2e, #111214);
    border-top: 0;
}

.site-footer::before {
    display: none;
}

.footer-wave {
    display: none;
}

.footer-stroke-left {
    top: 30px;
    left: -12%;
    width: 47%;
    transform: rotate(9deg);
    animation-delay: -3s;
}

.footer-stroke-right {
    right: -10%;
    bottom: 15px;
    width: 43%;
    border-top-color: rgba(201, 155, 46, 0.78);
    transform: rotate(-12deg);
    animation-delay: -7s;
}

@keyframes stroke-draw {
    0%, 12% {
        clip-path: inset(0 100% 0 0);
    }

    42% {
        clip-path: inset(0 0 0 0);
    }

    68% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes stroke-shift {
    0%, 100% {
        margin-left: 0;
    }

    50% {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header::before,
    .site-header::after,
    .site-footer::before,
    .footer-wave,
    .header-stroke,
    .footer-stroke {
        animation: none;
    }
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 6vw, 90px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 24px 12px;
    text-align: center;
}

.footer-copy {
    display: grid;
    gap: 9px;
}

.footer-content p {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-content span {
    color: #d7d8d9;
    font-size: 11px;
    letter-spacing: 0.18em;
}

.sunarp-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 850px) {
    .header-inner {
        padding: 12px 22px;
    }

    .desktop-navigation {
        gap: 13px;
    }

    .desktop-navigation a {
        font-size: 12px;
    }

    main {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hero-content {
        padding: 42px 36px;
    }
}

@media (max-width: 680px) {
    .header-inner {
        min-height: 138px;
        padding: 8px 16px 16px;
        gap: 8px;
    }

    .site-header {
        min-height: 138px;
    }

    .brand img {
        width: 54px;
        height: 72px;
    }

    .brand-copy strong {
        color: #fff;
        font-size: 24px;
        letter-spacing: 0.04em;
    }

    .brand-copy .brand-institution {
        font-size: 11px;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-navigation {
        position: relative;
        z-index: 20;
        display: block;
    }

    .mobile-navigation summary {
        min-width: 50px;
        min-height: 46px;
        padding: 10px 13px;
        color: #181818;
        background: var(--gold);
        border: 1px solid var(--gold-light);
        border-radius: 6px;
        cursor: pointer;
        font-size: 24px;
        line-height: 1;
        list-style: none;
        box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
    }

    .mobile-navigation summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu {
        position: fixed;
        z-index: 100;
        top: 72px;
        right: 14px;
        display: grid;
        min-width: 190px;
        gap: 0;
        padding: 8px;
        color: var(--ink);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(32, 35, 39, 0.12);
    }

    .mobile-menu a {
        padding: 11px 10px;
        color: var(--ink);
        background: #fff;
    }

    .site-footer {
        min-height: 90px;
        padding: 10px 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        padding-top: 8px;
    }

    .footer-content p {
        font-size: 20px;
    }

    .footer-content span {
        font-size: 9px;
        line-height: 1.5;
    }

    .sunarp-logo {
        display: block;
        width: 118px;
        margin: 0 auto 12px;
    }

    main {
        gap: 16px;
        padding: 20px 14px 34px;
    }

    .hero-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-radius: 15px;
    }

    .hero-content {
        order: 1;
        padding: 34px 24px 30px;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .hero-rule {
        width: min(324px, 100%);
        height: 4px;
    }

    .hero-description {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;
    }

    .button {
        flex: 1 1 100%;
        width: 100%;
    }

    .hero-image {
        order: 2;
        min-height: 220px;
    }

    .hero-image::before {
        top: -1px;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 70px;
        background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0));
    }

    .hero-image img {
        min-height: 220px;
        max-height: 260px;
    }

    .benefits-card {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 13px 15px;
    }

    .benefit {
        padding: 13px 4px;
    }

    .benefit + .benefit {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 850px) {
    .site-header {
        z-index: 3000;
        overflow: visible;
    }

    .site-header .navbar-menu {
        z-index: 9999;
        right: auto;
        left: 50%;
        width: min(280px, calc(100vw - 28px));
        transform: translateX(-50%);
    }
}

#contact.page.active {
    display: flex !important;
    position: relative;
    inset: auto;
    z-index: 1;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    padding: 34px 32px 52px;
    overflow: visible;
    pointer-events: auto;
}

#contact .contact-card {
    width: min(850px, 100%);
    max-width: none;
    margin: 0 auto;
    padding: clamp(42px, 6vw, 72px) clamp(26px, 7vw, 86px);
    color: #202327;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 248, 245, .96));
    border: 1px solid #e0e3df;
    border-top: 5px solid var(--club-gold);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(32, 35, 39, .12);
}

#contact .contact-card h2 {
    margin: 10px 0 16px;
    color: #202327;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
}

#contact .contact-card p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: #596067;
    font-size: 17px;
    line-height: 1.6;
}

body.contact-active {
    overflow: auto;
}

@media (max-width: 850px) {
    #contact.page.active {
        min-height: 0;
        padding: 20px 14px 34px;
    }

    #contact .contact-card {
        padding: 38px 22px;
        border-radius: 15px;
    }

    #contact .contact-card h2 {
        font-size: 40px;
    }

    #contact .contact-card p {
        font-size: 15px;
    }
}

.registration-choice-text {
    font-size: 1.3em !important;
    line-height: 1.35;
}

@media (max-width: 600px) {
    .registration-choice-text {
        font-size: 1.1em !important;
        line-height: 1.4;
    }
}
