:root {
    --navy: #082d5c;
    --navy-dark: #041a37;
    --navy-light: #0c4f8d;
    --gold: #c49a2c;
    --gold-light: #e2bd58;
    --white: #ffffff;
    --background: #f3f6f9;
    --surface: #ffffff;
    --text: #172033;
    --muted: #687386;
    --border: #dce3eb;
    --success: #237a3b;
    --danger: #b42318;
    --shadow: 0 12px 35px rgba(8, 45, 92, 0.10);
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--background);
    color: var(--text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.6;
}

main {
    flex: 1;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* =====================================================
   DEVELOPMENT NOTICE
===================================================== */

.development-notice {
    min-height: 37px;
    padding: 7px 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.87);
    font-size: 11px;
    letter-spacing: 1px;
    text-align: center;
}

.development-notice p {
    margin: 0;
}

.development-notice strong {
    margin-left: 5px;
    color: var(--gold-light);
}

.notice-line {
    width: 45px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(8, 45, 92, 0.06);
    backdrop-filter: blur(12px);
}

.header-container {
    width: min(var(--container), 92%);
    min-height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    text-decoration: none;
}

.brand-logo {
    width: 56px;
    height: 56px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 15px;
    line-height: 1.3;
}

.brand-text span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

/* =====================================================
   NAVIGATION
===================================================== */

.navigation-list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
}

.navigation-list > li {
    position: relative;
}

.navigation-list > li > a,
.dropdown-button {
    min-height: 42px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #26354a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.navigation-list > li > a:hover,
.navigation-list > li > a.active,
.dropdown-button:hover,
.dropdown-button.active,
.has-dropdown:focus-within .dropdown-button {
    background: #edf3f9;
    color: var(--navy);
}

.login-navigation {
    margin-left: 5px;
    padding-right: 17px !important;
    padding-left: 17px !important;
    background: var(--navy) !important;
    color: var(--white) !important;
}

.login-navigation:hover {
    background: var(--navy-light) !important;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    width: 265px;
    margin: 0;
    padding: 9px;
    display: none;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu::before {
    position: absolute;
    top: -8px;
    right: 0;
    left: 0;
    height: 10px;
    content: "";
}

.dropdown-menu a {
    padding: 10px 12px;
    display: block;
    border-radius: 6px;
    color: #344054;
    font-size: 13px;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #edf3f9;
    color: var(--navy);
}

.mobile-menu-button {
    width: 45px;
    height: 42px;
    padding: 9px;
    display: none;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    cursor: pointer;
}

.mobile-menu-button span {
    width: 100%;
    height: 2px;
    margin: 5px 0;
    display: block;
    background: var(--navy);
}

/* =====================================================
   BUTTONS
===================================================== */

.button {
    min-height: 47px;
    padding: 12px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.button-primary:hover {
    background: var(--gold-light);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: var(--white);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* =====================================================
   HERO
===================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(196, 154, 44, 0.23),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy-light)
        );
    color: var(--white);
}

.hero-section::after {
    position: absolute;
    right: -140px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(var(--container), 92%);
    min-height: 590px;
    margin: auto;
    padding: 85px 0;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 60px;
}

.hero-label {
    margin-bottom: 17px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.hero-label::before {
    width: 35px;
    height: 2px;
    background: var(--gold);
    content: "";
}

.hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08;
}

.hero-content h1 span {
    color: var(--gold-light);
}

.hero-description {
    max-width: 690px;
    margin: 24px 0 29px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.hero-panel-title {
    margin: 0 0 19px;
    color: var(--gold-light);
    font-size: 14px;
    letter-spacing: 1px;
}

.hero-feature {
    padding: 17px 0;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-feature:last-child {
    border-bottom: 0;
}

.hero-feature-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 12px;
    font-weight: bold;
}

.hero-feature strong {
    display: block;
    font-size: 14px;
}

.hero-feature span {
    margin-top: 3px;
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

/* =====================================================
   GENERAL SECTIONS
===================================================== */

.section {
    padding: 85px 0;
}

.section-white {
    background: var(--white);
}

.section-container {
    width: min(var(--container), 92%);
    margin: auto;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-label {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.section-heading p {
    margin: 15px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-card {
    padding: 29px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    box-shadow: 0 9px 28px rgba(8, 45, 92, 0.05);
}

.info-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.info-card.gold-border {
    border-top: 4px solid var(--gold);
}

/* =====================================================
   SERVICE CARDS
===================================================== */

.service-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    text-decoration: none;
    box-shadow: 0 7px 25px rgba(8, 45, 92, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-number {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eaf1f8;
    color: var(--navy);
    font-weight: bold;
}

.service-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 17px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* =====================================================
   NEWS
===================================================== */

.news-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}

.news-image {
    min-height: 190px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

.news-content {
    padding: 23px;
}

.news-meta {
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
}

.news-content h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.45;
}

.news-content p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* =====================================================
   CALL TO ACTION
===================================================== */

.cta-section {
    padding: 70px 0;
    background:
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );
    color: var(--white);
}

.cta-container {
    width: min(1000px, 90%);
    margin: auto;
    text-align: center;
}

.cta-container h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.cta-container p {
    max-width: 680px;
    margin: 17px auto 26px;
    color: rgba(255, 255, 255, 0.77);
    line-height: 1.8;
}

/* =====================================================
   INTERNAL PAGE
===================================================== */

.page-hero {
    padding: 65px 0;
    background:
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy-light)
        );
    color: var(--white);
}

.page-hero-container {
    width: min(var(--container), 92%);
    margin: auto;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 48px);
}

.breadcrumb {
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 13px;
}

.content-section {
    padding: 70px 0;
}

.content-container {
    width: min(900px, 92%);
    margin: auto;
    padding: 37px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}

.content-container h2,
.content-container h3 {
    color: var(--navy);
}

.content-container p {
    color: #4f5d70;
    line-height: 1.9;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    margin-top: auto;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.77);
}

.footer-container {
    width: min(var(--container), 92%);
    margin: auto;
    padding: 65px 0 45px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 42px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--white);
    font-size: 13px;
    font-weight: bold;
}

.footer-brand strong {
    display: block;
    color: var(--white);
    font-size: 14px;
}

.footer-brand span {
    margin-top: 3px;
    display: block;
    font-size: 11px;
}

.footer-about p {
    max-width: 400px;
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.8;
}

.footer-column h3 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 15px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-container {
    width: min(var(--container), 92%);
    min-height: 68px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
}

/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: none;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 20px;
    font-weight: bold;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.back-to-top.show {
    display: block;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
    .brand-text {
        display: none;
    }

    .navigation-list > li > a,
    .dropdown-button {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    .service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .header-container {
        min-height: 72px;
    }

    .brand-text {
        display: flex;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        border-top: 1px solid var(--border);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-navigation.open {
        display: block;
    }

    .navigation-list {
        width: min(92%, 700px);
        margin: auto;
        padding: 15px 0 22px;
        display: block;
    }

    .navigation-list > li > a,
    .dropdown-button {
        width: 100%;
        min-height: 45px;
        padding: 11px 13px;
        justify-content: space-between;
        font-size: 13px;
    }

    .login-navigation {
        margin: 8px 0 0;
        justify-content: center !important;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        padding: 5px 8px 10px 18px;
        border: 0;
        background: #f5f8fb;
        box-shadow: none;
    }

    .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero-container {
        min-height: auto;
        padding: 75px 0;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .development-notice {
        padding: 7px 15px;
        font-size: 9px;
    }

    .notice-line {
        display: none;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text span {
        font-size: 10px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        font-size: 12px;
    }

    .hero-container {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 62px 0;
    }

    .service-grid,
    .news-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        padding: 50px 0 35px;
    }

    .footer-bottom-container {
        padding: 18px 0;
        display: block;
        text-align: center;
    }

    .footer-bottom p + p {
        margin-top: 5px;
    }

    .content-container {
        padding: 24px;
    }
}

/* =====================================================
   REGISTRATION FORM
===================================================== */

.registration-section {
    padding: 72px 0;
    background:
        linear-gradient(
            180deg,
            #f3f6f9 0%,
            #edf2f7 100%
        );
}

.registration-container {
    width: min(1150px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(0, 1.25fr);
    align-items: start;
    gap: 28px;
}

.registration-information,
.registration-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    box-shadow:
        0 12px 35px rgba(8, 45, 92, 0.08);
}

.registration-information {
    position: sticky;
    top: 110px;
    padding: 31px;
    border-top: 5px solid var(--gold);
}

.registration-information h2,
.registration-card h2 {
    margin: 0 0 12px;
    color: var(--navy);
    line-height: 1.3;
}

.registration-information p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.registration-information > p:last-child {
    margin-top: 24px;
    margin-bottom: 0;
}

.registration-information a {
    color: var(--navy-light);
    font-weight: 700;
    text-decoration: none;
}

.registration-information a:hover {
    text-decoration: underline;
}

.registration-checklist {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.registration-checklist li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 31px;
    color: #4d5b6e;
    font-size: 14px;
    line-height: 1.6;
}

.registration-checklist li::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7f4eb;
    color: var(--success);
    content: "✓";
    font-size: 11px;
    font-weight: 800;
}

.registration-card {
    padding: 36px;
}

.registration-card-description {
    margin: -3px 0 30px;
    color: var(--muted);
    font-size: 14px;
}

.form-grid {
    width: 100%;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin: 0 0 8px;
    display: block;
    color: #26354a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 11px 13px;
    display: block;
    border: 1px solid #bdc7d3;
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control:hover {
    border-color: #96a5b6;
}

.form-control:focus {
    border-color: var(--navy-light);
    outline: none;
    box-shadow:
        0 0 0 3px rgba(12, 79, 141, 0.12);
}

.form-control::placeholder {
    color: #8a95a4;
}

textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

input[type="file"].form-control {
    min-height: 48px;
    padding: 9px;
    overflow: hidden;
    background: #f8fafc;
    cursor: pointer;
}

input[type="file"].form-control::file-selector-button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: #e7eef6;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
}

.form-help {
    margin-top: 7px;
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.form-divider {
    grid-column: 1 / -1;
    margin: 9px 0 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.form-divider:first-child {
    margin-top: 0;
}

.checkbox-group {
    grid-column: 1 / -1;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #f8fafc;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.checkbox-item + .checkbox-item {
    margin-top: 14px;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    flex: 0 0 18px;
    accent-color: var(--navy);
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    color: #4d5b6e;
    font-size: 13px;
    line-height: 1.65;
    cursor: pointer;
}

.checkbox-item a {
    color: var(--navy-light);
    font-weight: 700;
}

.form-actions {
    grid-column: 1 / -1;
    margin-top: 5px;
}

.submit-button {
    width: 100%;
    min-height: 52px;
    padding: 13px 22px;
    border: 0;
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 8px 20px rgba(8, 45, 92, 0.16);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 26px rgba(8, 45, 92, 0.22);
}

.submit-button:disabled {
    background: #9aa5b3;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.form-alert {
    margin-bottom: 25px;
    padding: 15px 17px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.65;
}

.form-alert.error {
    border-left: 4px solid var(--danger);
    background: #fff0ef;
    color: #8d1b14;
}

.form-alert.success {
    border-left: 4px solid var(--success);
    background: #eaf7ed;
    color: #175d2a;
}

.form-alert p {
    margin: 8px 0 0;
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 21px;
}

.registration-number {
    margin-top: 13px;
    padding: 13px;
    border-radius: 7px;
    background: rgba(35, 122, 59, 0.09);
    font-weight: 800;
}

/* =====================================================
   REGISTRATION RESPONSIVE
===================================================== */

@media (max-width: 900px) {
    .registration-section {
        padding: 55px 0;
    }

    .registration-container {
        grid-template-columns: 1fr;
    }

    .registration-information {
        position: static;
    }
}

@media (max-width: 620px) {
    .registration-section {
        padding: 40px 0;
    }

    .registration-container {
        width: min(94%, 560px);
        gap: 20px;
    }

    .registration-card,
    .registration-information {
        padding: 23px;
        border-radius: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-group.full-width,
    .form-divider,
    .checkbox-group,
    .form-actions {
        grid-column: 1;
    }

    .form-control {
        font-size: 16px;
    }

    .page-hero {
        padding: 45px 0;
    }
}

/* =====================================================
   HALAMAN SEJARAH BP2IP TANGERANG
===================================================== */

.history-bp2ip {
    background: #ffffff;
    color: #17243a;
}

.history-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}
/* =====================================================
   PERBAIKAN FOTO DAN NARASI SEJARAH BP2IP
===================================================== */

/* FOTO GEDUNG DAN LOGO DALAM SATU BARIS */

.history-photo-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 3fr)
        minmax(230px, 1fr);
    gap: 25px;
    align-items: stretch;
}

.history-photo-wrapper figure {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.history-main-photo,
.history-logo-photo {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

/* FOTO GEDUNG SEBELAH KIRI */

.history-main-photo {
    display: flex;
    flex-direction: column;
}

.history-main-photo img {
    width: 100%;
    height: 360px;
    padding: 0;
    object-fit: cover;
    object-position: center;
    background: #edf2f7;
}

/* LOGO SEBELAH KANAN */

.history-logo-photo {
    display: flex;
    flex-direction: column;
}

.history-logo-photo img {
    width: 100%;
    height: 360px;
    padding: 42px;
    object-fit: contain;
    object-position: center;
    background: #f4f7fa;
}

/* KETERANGAN FOTO */

.history-photo-wrapper figcaption {
    min-height: 58px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border);
    background: var(--white);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}


/* NARASI SEJARAH */

.history-summary {
    width: 100%;
    max-width: 100%;
    margin: 45px auto 0;
    padding: 35px 40px;
    border: 1px solid var(--border);
    border-top: 5px solid var(--gold);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(8, 45, 92, 0.07);
}

.history-summary h2 {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: 30px;
    line-height: 1.3;
}

.history-summary p {
    margin: 0 0 18px;
    color: #465569;
    font-size: 16px;
    line-height: 1.9;

    /* Rata kanan dan kiri */
    text-align: justify;
    text-justify: inter-word;

    /* Membuat jarak kata lebih rapi */
    hyphens: auto;
    overflow-wrap: break-word;
}

.history-summary p:last-child {
    margin-bottom: 0;
}


/* TABLET: TETAP SATU BARIS */

@media (max-width: 900px) {
    .history-photo-wrapper {
        grid-template-columns:
            minmax(0, 2fr)
            minmax(200px, 0.8fr);
        gap: 18px;
    }

    .history-main-photo img,
    .history-logo-photo img {
        height: 300px;
    }

    .history-logo-photo img {
        padding: 30px;
    }

    .history-summary {
        padding: 30px;
    }
}


/* MOBILE: BARU DISUSUN KE BAWAH */

@media (max-width: 620px) {
    .history-photo-wrapper {
        grid-template-columns: 1fr;
    }

    .history-main-photo img {
        height: 240px;
    }

    .history-logo-photo img {
        height: 220px;
        padding: 35px;
    }

    .history-summary {
        margin-top: 30px;
        padding: 25px 22px;
    }

    .history-summary h2 {
        font-size: 26px;
    }

    .history-summary p {
        font-size: 15px;
        line-height: 1.85;
        text-align: justify;
        text-justify: inter-word;
    }
}

/* Ukuran logo pada layar HP */
@media (max-width: 620px) {
    .brand-logo {
        width: 47px;
        height: 47px;
    }
}