:root {
    --navy: #0b1826;
    --navy-mid: #12263a;
    --ink: #14202e;
    --ink-soft: #5a6676;
    --paper: #ffffff;
    --paper-2: #e6eaef;
    --white: #ffffff;
    --ivory: #f6f1e6;
    --gold: #c9a66b;
    --gold-dark: #a78449;
    --gold-soft: rgba(201, 166, 107, 0.18);
    --line: rgba(11, 24, 38, 0.08);
    --shadow: 0 22px 50px rgba(11, 24, 38, 0.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: "Sora", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, .hero-name, .page-title, .footer-brand, .stat-num {
    font-family: "Fraunces", "Times New Roman", serif;
    letter-spacing: -0.03em;
}

.text-secondary {
    color: var(--ink-soft) !important;
}

.site-nav {
    background: rgba(11, 24, 38, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(246, 241, 230, 0.08);
}

.navbar-brand,
.brand-text {
    color: var(--ivory) !important;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.brand-text {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.navbar-toggler {
    filter: invert(1);
}

.nav-link {
    color: rgba(246, 241, 230, 0.72) !important;
    font-weight: 400;
    font-size: 0.92rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--gold) !important;
}

.site-nav .dropdown-menu {
    background: #12263a;
    border: 1px solid rgba(246, 241, 230, 0.1);
    padding: 0.4rem 0;
}

.site-nav .dropdown-item {
    color: rgba(246, 241, 230, 0.82);
    font-size: 0.9rem;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
    background: rgba(201, 166, 107, 0.16);
    color: var(--gold);
}

.btn-copper {
    background: var(--gold);
    color: var(--navy);
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}

.btn-copper:hover {
    background: var(--gold-dark);
    color: #fff;
}

.btn-ghost {
    border: 1px solid rgba(246, 241, 230, 0.35);
    color: var(--ivory);
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 500;
}

.btn-ghost:hover {
    background: var(--ivory);
    color: var(--navy);
    border-color: var(--ivory);
}

.section .btn-ghost,
.soft-card .btn-ghost {
    border-color: var(--navy);
    color: var(--navy);
}

.hero {
    padding: 6.5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 88% 10%, rgba(201, 166, 107, 0.22), transparent 42%),
        radial-gradient(ellipse at 8% 90%, rgba(61, 139, 154, 0.14), transparent 46%),
        linear-gradient(180deg, var(--navy) 0%, #0e2033 100%);
    color: var(--ivory);
}

.hero-kicker {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 500;
}

.hero-name {
    font-size: clamp(3.6rem, 10vw, 7.6rem);
    line-height: 0.88;
    font-weight: 500;
    font-optical-sizing: auto;
    margin: 0.5rem 0 1.1rem;
    color: var(--ivory);
}

.hero-lead {
    font-size: 1.08rem;
    color: rgba(246, 241, 230, 0.72);
    max-width: 34rem;
    font-weight: 300;
}

.site-content {
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f2f4f6 22%,
            #e6eaee 55%,
            #d5dbe3 100%);
}

.section {
    padding: 5rem 0;
    background: transparent;
}

.section-muted {
    background: transparent;
}

.section-label {
    display: inline-block;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-dark);
    margin-bottom: 0.7rem;
}

.section h2,
.page-title {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 500;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.soft-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.stat-card {
    height: 100%;
}

.stat-card {
    border-top: 3px solid var(--gold);
}

.stat-num {
    font-size: 2.8rem;
    line-height: 1;
    color: var(--navy);
    font-weight: 500;
}

.stat-label {
    color: var(--ink-soft);
    margin-top: 0.55rem;
    font-size: 0.88rem;
}

.page-hero {
    background:
        radial-gradient(ellipse at 90% 0%, rgba(201, 166, 107, 0.18), transparent 40%),
        var(--navy);
    color: var(--ivory);
    padding: 4.4rem 0 3.4rem;
}

.page-hero .page-title { color: var(--ivory); }

.page-hero .lead,
.page-hero .text-secondary {
    color: rgba(246, 241, 230, 0.68) !important;
}

.page-hero .section-label { color: var(--gold); }

.soft-card .lead {
    font-family: "Fraunces", serif;
    font-size: 1.25rem;
    line-height: 1.45;
    color: var(--ink);
}

.about-body::after {
    content: '';
    display: table;
    clear: both;
}
.about-body p { margin-bottom: 1rem; }
.about-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.about-body figure.image {
    margin: 1rem 0;
}
.about-body figure.image img {
    display: block;
}
.about-body .image-style-align-left,
.about-body .image-style-side,
.about-body figure.image-style-align-left,
.about-body figure.image-style-side,
.about-body .image-style-block-align-left,
.about-body figure.image-style-block-align-left {
    float: left;
    margin: 0.25rem 1.25rem 0.9rem 0;
    width: auto !important;
    max-width: min(46%, 320px);
}
.about-body .image-style-align-right,
.about-body figure.image-style-align-right,
.about-body .image-style-block-align-right,
.about-body figure.image-style-block-align-right {
    float: right;
    margin: 0.25rem 0 0.9rem 1.25rem;
    max-width: min(46%, 320px);
}
.about-body .image-style-align-center,
.about-body figure.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}
.about-body figure.table,
.about-body figure.table > table,
.about-body figure.table thead,
.about-body figure.table tbody,
.about-body figure.table tr,
.about-body figure.table th,
.about-body figure.table td {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}
.about-body figure.image-style-align-left,
.about-body figure.image-style-side,
.about-body figure.image-style-block-align-left {
    float: left;
    margin: 0.25rem 1.25rem 0.9rem 0;
    width: auto !important;
    max-width: min(46%, 320px);
}
    margin-top: 0.4rem;
    font-size: 0.86rem;
    color: var(--ink-soft);
}
.about-body h2,
.about-body h3 {
    margin: 1.4rem 0 0.7rem;
}
.about-body ul,
.about-body ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}
.about-body a { color: var(--gold-dark); }
.about-body blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 1rem;
    color: var(--ink-soft);
}

.site-footer {
    padding: 0;
    background-color: var(--navy);
    background-image:
        linear-gradient(180deg, rgba(11, 24, 38, 0.72), rgba(11, 24, 38, 0.92)),
        url("../img/footer-map.svg");
    background-size: cover;
    background-position: center 20%;
    color: var(--ivory);
}

.footer-main {
    padding: 3.4rem 0 2.4rem;
}

.footer-title {
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0.9rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(246, 241, 230, 0.18);
}

.footer-about {
    color: rgba(246, 241, 230, 0.78);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer-more {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-more:hover {
    color: #e4c48a;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-news {
    display: flex;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    padding: 0.85rem 0;
}

.footer-news.has-line {
    border-top: 1px solid rgba(246, 241, 230, 0.14);
}

.footer-news-thumb {
    width: 78px;
    height: 58px;
    flex: 0 0 78px;
    background: #1a2d42;
    overflow: hidden;
}

.footer-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-news strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.footer-news em {
    display: block;
    font-style: normal;
    color: rgba(246, 241, 230, 0.62);
    font-size: 0.8rem;
    margin: 0.15rem 0 0.35rem;
}

.footer-news small {
    color: var(--gold);
    font-size: 0.75rem;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.footer-gallery a {
    aspect-ratio: 1;
    border: 2px solid var(--gold);
    overflow: hidden;
    background: #1a2d42;
}

.footer-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-bar {
    border-top: 1px solid rgba(246, 241, 230, 0.12);
    padding: 0.85rem 0;
    font-size: 0.82rem;
    color: rgba(246, 241, 230, 0.72);
}

.to-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: #111;
    display: grid;
    place-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.to-top:hover {
    color: #111;
    background: #e4c48a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    aspect-ratio: 1;
    padding: 0;
    border: 3px solid var(--gold);
    background: #12263a;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b1826;
}

.video-card-body {
    padding: 1rem 1.1rem 1.15rem;
}

.video-card-body h2 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.video-card-body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.form-control,
.form-select {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-family: "Sora", sans-serif;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem var(--gold-soft);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.75s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.22s; }
.reveal-delay-3 { animation-delay: 0.32s; }

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

.blog-wrap { min-height: 60vh; }

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(20, 32, 46, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-media {
    display: block;
    height: 190px;
    background:
        linear-gradient(135deg, #1c3348, #0b1826),
        radial-gradient(circle at 80% 20%, rgba(201, 166, 107, 0.35), transparent 50%);
    overflow: hidden;
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-body {
    padding: 1.15rem 1.2rem 0.6rem;
    flex: 1;
}

.post-body h3 {
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.4rem;
}

.post-body h3 a {
    color: var(--ink);
    text-decoration: none;
}

.post-body h3 a:hover { color: var(--gold-dark); }

.post-meta {
    color: #8b93a0;
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
}

.post-meta i { color: var(--gold); margin-right: 0.3rem; }

.post-body p {
    color: #6b7380;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.post-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0 0;
    border-top: 1px solid #eef0f3;
    margin-top: 0.9rem;
}

.post-card .post-foot {
    padding: 0.85rem 1.2rem 1rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.author-ava {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 0.62rem;
    font-weight: 700;
}

.post-stats {
    display: flex;
    gap: 0.85rem;
    color: var(--gold);
    font-size: 0.88rem;
}

.blog-pager {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 2rem;
}

.blog-pager a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #2f6fed;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.blog-pager a:not(.active) {
    background: #d8dee8;
    color: var(--ink);
}

.blog-pager a.pager-nav {
    width: auto;
    min-width: 36px;
    padding: 0 0.7rem;
}

.side-box {
    background: #fff;
    border-radius: 8px;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 10px 28px rgba(20, 32, 46, 0.08);
    margin-bottom: 1.1rem;
}

.side-title {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    border-bottom: 1px solid #eceff3;
    padding-bottom: 0.65rem;
    margin-bottom: 0.9rem;
}

.side-title i {
    color: var(--gold);
    margin-right: 0.35rem;
}

.side-box p { color: #6b7380; font-size: 0.92rem; }
.side-box a { color: var(--gold-dark); text-decoration: none; }
.side-box a:hover { color: var(--navy); }

.side-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.side-auth.is-single {
    grid-template-columns: 1fr;
}

.side-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.side-auth-btn i {
    font-size: 0.95rem;
}

.side-auth-btn.is-login {
    background: var(--gold);
    color: var(--navy) !important;
    box-shadow: 0 8px 18px rgba(201, 166, 107, 0.28);
}

.side-auth-btn.is-login:hover {
    background: var(--gold-dark);
    color: #fff !important;
}

.side-auth-btn.is-register {
    background: var(--navy);
    color: var(--ivory) !important;
}

.side-auth-btn.is-register:hover {
    background: var(--navy-mid);
    color: var(--gold) !important;
}

.side-auth-btn.is-out {
    background: #f4efe6;
    color: var(--navy) !important;
    border: 1px solid rgba(201, 166, 107, 0.45);
}

.side-auth-btn.is-out:hover {
    background: var(--gold);
    color: var(--navy) !important;
}

.side-news {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
    color: inherit !important;
    text-decoration: none !important;
}

.side-news strong {
    display: block;
    color: var(--ink);
    font-size: 0.9rem;
}

.side-news small {
    color: #8b93a0;
    font-size: 0.78rem;
}

.side-thumb {
    width: 58px;
    height: 58px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1c3348, #0b1826);
}

.side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-cats li { margin-bottom: 0.45rem; }
.side-cats a {
    color: var(--ink) !important;
    font-weight: 500;
}
.side-cats a::before {
    content: "» ";
    color: #8b93a0;
}

.subscribe-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #eef1f4;
    border-radius: 4px;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.75rem;
}

.subscribe-row input {
    border: 0;
    background: transparent;
    width: 100%;
    outline: none;
}

.btn-subscribe {
    background: var(--gold);
    color: #1a1a1a;
    font-weight: 700;
    border: 0;
    border-radius: 4px;
    padding: 0.65rem 1rem;
}

.btn-subscribe:hover {
    background: var(--gold-dark);
    color: #fff;
}

.post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.75rem 0 0;
}

.post-card .post-actions {
    padding: 0 1.2rem 1rem;
}

.btn-like,
.btn-comment {
    border: 1px solid #e4e8ee;
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-like:hover,
.btn-comment:hover {
    color: var(--ink);
    border-color: var(--gold);
}

.btn-like.is-liked,
.btn-like:disabled {
    color: #c0392b;
    border-color: #f0c6c2;
    background: #fff5f4;
}

.comment-box {
    padding: 0.75rem 0 0;
}

.post-card .comment-box {
    padding: 0 1.2rem 1.1rem;
}

.comment-thread {
    margin-top: 1.25rem;
}

.comment-thread-title {
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.public-comment {
    display: flex;
    gap: 0.85rem;
    border-top: 1px solid #eef0f3;
    padding: 1rem 0 0.15rem;
}

.public-comment:first-of-type { border-top: 0; padding-top: 0; }

.comment-ava {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.public-comment-body {
    flex: 1;
    min-width: 0;
}

.public-comment-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.public-comment-head span { color: #8b93a0; font-size: 0.8rem; }

.public-comment-body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    word-break: break-word;
}

.comment-box textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.55rem;
    font-family: inherit;
}

.detail-cover {
    width: 100%;
    border-radius: 10px;
    max-height: 360px;
    object-fit: cover;
}

.auth-hero { padding: 3.4rem 0 2.4rem; }
.auth-hero .container { text-align: center; }

.auth-wrap {
    max-width: 520px;
    padding: 2.4rem 0 4.2rem;
}

.auth-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(11, 24, 38, 0.1);
    padding: 1.15rem 1.6rem 1.7rem;
    border: 1px solid rgba(11, 24, 38, 0.06);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f3f5f8;
    border-radius: 12px;
    padding: 0.28rem;
    margin-bottom: 1.35rem;
}

.auth-tabs a {
    text-align: center;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 0.4rem;
    border-radius: 9px;
}

.auth-tabs a.active {
    background: var(--navy);
    color: var(--ivory);
}

.auth-head {
    text-align: center;
    margin-bottom: 1.3rem;
}

.auth-mark {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.85rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.auth-head h2 {
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
}

.auth-head p {
    color: var(--ink-soft);
    margin: 0;
    font-size: 0.92rem;
}

.auth-alert {
    background: #fdecee;
    color: #8a2430;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-form {
    display: grid;
    gap: 0.95rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.auth-field {
    display: block;
    margin: 0;
}

.auth-field > span:first-child {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.auth-input {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #f7f8fa;
    border: 1px solid rgba(11, 24, 38, 0.08);
    border-radius: 12px;
    padding: 0 0.85rem;
}

.auth-input:focus-within {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 0.18rem var(--gold-soft);
}

.auth-input i {
    color: var(--gold-dark);
    font-size: 1rem;
}

.auth-input input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0.82rem 0;
    font-family: inherit;
    outline: none;
    width: 100%;
}

.auth-eye {
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    padding: 0.2rem;
    line-height: 1;
}

.auth-recaptcha {
    display: flex;
    justify-content: flex-start;
    overflow: visible;
}

.auth-robot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    margin: 0;
    padding: 0.8rem 0.95rem;
    background: #fff;
    border: 1px solid rgba(11, 24, 38, 0.12);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(11, 24, 38, 0.05);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
}

.auth-robot.is-ok {
    border-color: var(--gold);
}

.auth-robot label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    cursor: pointer;
}

.auth-robot input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    margin: 0;
    flex-shrink: 0;
}

.auth-robot-status {
    width: 100%;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 400;
}

.auth-robot.is-ok .auth-robot-status {
    color: var(--gold-dark);
}

.auth-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.auth-submit {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
}

.auth-foot {
    text-align: center;
    margin: 1.15rem 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.auth-foot a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .hero { padding: 4.4rem 0 4rem; }
    .page-hero { padding: 3.2rem 0 2.4rem; }
    .footer-bar .container { flex-wrap: wrap; gap: 0.7rem; }
    .footer-gallery { grid-template-columns: repeat(3, 1fr); }
    .auth-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 1rem 1.1rem 1.4rem; }
}
