:root {
    --bg: #f4efe7;
    --panel: rgba(255, 255, 255, 0.72);
    --text: #172121;
    --muted: #5f6b6b;
    --accent: #0f766e;
    --accent-strong: #115e59;
    --border: rgba(23, 33, 33, 0.09);
    --shadow: 0 22px 55px rgba(23, 33, 33, 0.10);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(217, 119, 6, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 26%),
        linear-gradient(180deg, #f7f2eb 0%, #eef4f3 100%);
    color: var(--text);
    font-family: Calibri, Arial, sans-serif;
}

.page-shell {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(247, 242, 235, 0.8);
    border-bottom: 1px solid var(--border);
}

.brand-mark {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
}

.brand-mark span {
    color: var(--accent);
}

.nav-link {
    color: var(--muted);
    font-family: Calibri, Arial, sans-serif;
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text);
    background: rgba(15, 118, 110, 0.08);
    font-weight: 700;
}

.btn-accent,
.btn-accent:hover {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0.42rem 0.85rem;
    font-size: 0.92rem;
}

.lang-switch {
    display: inline-flex;
    gap: 0.4rem;
    padding: 0.25rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
}

.lang-switch a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    font-family: Calibri, Arial, sans-serif;
}

.lang-switch a.active {
    background: var(--accent);
    color: #fff;
}

.glass-card,
.content-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.glass-card {
    padding: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1.5rem;
}


.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    background: rgba(15, 118, 110, 0.10);
    color: var(--accent-strong);
    font-family: Calibri, Arial, sans-serif;
    font-size: 0.95rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.home-cover-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: #eef4f3;
}

.lead-copy,
.section-copy,
.card-text {
    color: var(--muted);
    font-size: 1.05rem;
}

.rich-copy > :first-child {
    margin-top: 0;
}

.rich-copy > :last-child {
    margin-bottom: 0;
}

.rich-copy p,
.rich-copy div,
.rich-copy ul,
.rich-copy ol,
.rich-copy h3 {
    margin-bottom: 1rem;
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.ghost-btn {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    padding: 0.42rem 0.85rem;
    font-size: 0.92rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.stat-box {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border);
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 1.3rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-chip {
    padding: 0.55rem 0.9rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 118, 110, 0.12);
    font-family: Calibri, Arial, sans-serif;
    color: var(--text);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.content-card {
    overflow: hidden;
    border-radius: 10px;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eef4f3;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    height: 100%;
}

.service-card-copy {
    display: grid;
    gap: 0.15rem;
    flex: 1 1 auto;
    align-content: start;
}

.service-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.service-card-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.reference-card {
    background:
        radial-gradient(circle at left bottom, rgba(15, 118, 110, 0.16) 0%, rgba(15, 118, 110, 0) 42%),
        radial-gradient(circle at right top, rgba(217, 119, 6, 0.12) 0%, rgba(217, 119, 6, 0) 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 246, 0.94) 54%, rgba(248, 244, 236, 0.98) 100%);
    border-color: rgba(15, 118, 110, 0.14);
    box-shadow: 0 22px 44px rgba(23, 33, 33, 0.08);
    overflow: hidden;
}

.reference-card-link {
    position: relative;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.07) 0%, rgba(217, 119, 6, 0.07) 100%);
}

.reference-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.reference-card-strip {
    position: relative;
    padding: 0.86rem 0.95rem 0.82rem;
    background:
        radial-gradient(circle at right center, rgba(94, 234, 212, 0.22), transparent 34%),
        linear-gradient(135deg, #0d5f59 0%, #173536 58%, #223238 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.reference-card-strip::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(94, 234, 212, 0.7), transparent);
}

.reference-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.02);
}

.reference-card-body {
    display: flex;
    justify-content: flex-end;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    padding: 0.78rem 0.82rem 0.82rem;
    border-top: 1px solid rgba(23, 33, 33, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 241, 232, 0.98) 100%);
}

.reference-card-title {
    font-weight: 800;
    letter-spacing: 0.018em;
    font-size: 1.04rem;
    line-height: 1.2;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.reference-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: auto;
    min-width: 86px;
    padding: 0.36rem 0.76rem;
    border-radius: 6px;
    background: #172121;
    color: #fff;
    box-shadow: 0 10px 18px rgba(23, 33, 33, 0.12);
    transform: none;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.reference-read-btn:hover {
    background: var(--accent);
    transform: none;
    padding: 0.36rem 0.76rem;
    color: #fff;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.14);
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.service-card-views {
    font-size: 0.85rem;
    color: var(--muted);
}

.media-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
    background: linear-gradient(180deg, rgba(247, 242, 235, 0.88) 0%, rgba(238, 244, 243, 0.9) 100%);
    border: 1px solid rgba(23, 33, 33, 0.07);
}

.media-panel-title {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.media-card {
    border: 1px solid var(--border);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(23, 33, 33, 0.06);
}

.media-card-title {
    font-weight: 700;
    color: var(--text);
}

.media-card-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 242, 235, 0.72) 100%);
}

.media-block {
    display: grid;
    gap: 0.8rem;
}

.media-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.media-block-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
    font-weight: 700;
}

.content-cover {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #d8dfdf;
}

.service-detail-cover {
    display: block;
}

.contact-cover {
    border-radius: 6px;
}

.content-body {
    padding: 1.4rem;
}

.service-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.service-action-btn {
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-action-primary {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-strong);
    border: 1px solid rgba(15, 118, 110, 0.18);
}

.service-action-primary:hover {
    background: rgba(15, 118, 110, 0.16);
    color: var(--accent-strong);
}

.service-action-secondary {
    background: rgba(23, 33, 33, 0.04);
    color: var(--text);
    border: 1px solid rgba(23, 33, 33, 0.1);
}

.service-action-secondary:hover {
    background: rgba(23, 33, 33, 0.08);
    color: var(--text);
}

.attachment-box,
.gallery-grid {
    margin-top: 1.25rem;
}

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

.gallery-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
}

.gallery-grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.gallery-thumb {
    position: relative;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-thumb img {
    height: 86px;
    border-radius: 3px;
    transition: transform 200ms ease, filter 200ms ease;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(23, 33, 33, 0.14);
}

.gallery-thumb:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.5rem 0.55rem;
    background: linear-gradient(180deg, transparent 0%, rgba(23, 33, 33, 0.82) 100%);
    color: #fff;
    font-size: 0.72rem;
    text-align: left;
    opacity: 0;
    transition: opacity 180ms ease;
}

.gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

.file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-strong);
    font-weight: 700;
    font-family: "Trebuchet MS", sans-serif;
}

.file-badge-modern {
    min-width: 60px;
    height: 60px;
    border-radius: 3px;
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.12);
    box-shadow: 0 10px 20px rgba(23, 33, 33, 0.06);
    padding: 0.2rem;
}

.file-badge-modern svg {
    width: 100%;
    height: 100%;
}

.media-file-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 33, 33, 0.08);
    box-shadow: 0 14px 28px rgba(23, 33, 33, 0.05);
}

.media-file-copy {
    min-width: 0;
    flex: 1;
}

.media-file-name {
    color: #6d7979;
    font-size: 0.82rem;
    margin-top: 0.2rem;
    word-break: break-word;
}

.media-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
    font-size: 0.74rem;
    text-align: center;
    text-decoration: none;
    min-width: 72px;
    transform: none;
    transition: none;
    line-height: 1.2;
    font-weight: 600;
}

.media-btn:hover {
    text-decoration: none;
    transform: none;
    padding: 0.3rem 0.65rem;
    font-size: 0.74rem;
    line-height: 1.2;
    border-radius: 3px;
}

.media-file-card .btn-outline-dark.media-btn:hover {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
    border-radius: 3px;
}

.media-file-card .btn-outline-dark.media-btn,
.media-file-card .btn-outline-dark.media-btn:hover,
.media-file-card .btn-accent.media-btn,
.media-file-card .btn-accent.media-btn:hover {
    min-width: 72px;
    padding: 0.3rem 0.65rem;
    font-size: 0.74rem;
    line-height: 1.2;
}

.media-file-card .btn-accent.media-btn:hover {
    background: var(--accent);
    color: #fff;
    border-radius: 3px;
}

.gallery-modal-image {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.share-modal-shell {
    border: 1px solid rgba(23, 33, 33, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #fcfbf8 0%, #f3f6f5 100%);
    box-shadow: 0 24px 60px rgba(23, 33, 33, 0.14);
}

.share-grid {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.share-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(23, 33, 33, 0.08);
    border-radius: 999px;
    text-decoration: none;
    color: #172121;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 24px rgba(23, 33, 33, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.share-card svg {
    width: 22px;
    height: 22px;
}

.share-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(23, 33, 33, 0.1);
    color: #172121;
}

.share-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.share-telegram {
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.16) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.share-x {
    background: linear-gradient(135deg, rgba(23, 33, 33, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.share-facebook {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.16) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.share-linkedin {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.16) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.share-copy {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.16) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.gallery-modal-nav {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.35rem;
}

.gallery-modal-caption {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.media-section-card {
    padding-top: 0.9rem;
}

.gallery-modal-dialog {
    margin: 0;
}

.gallery-modal-shell {
    background: rgba(6, 10, 12, 0.96);
    color: #fff;
    border-radius: 0;
}

.gallery-modal-shell .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.2rem;
}

.gallery-modal-shell .modal-title {
    color: #fff;
}

.gallery-modal-shell .btn-close {
    filter: invert(1);
}

.gallery-modal-shell .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.2rem 1.5rem;
}

.auth-wrap {
    max-width: 840px;
    margin: 0 auto;
}

.verify-wrap {
    max-width: 560px;
}

.verify-panel {
    text-align: center;
}

.verify-code-input {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.42rem;
    font-weight: 700;
}

.verify-mail-pill {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
}

.password-recovery-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
    max-width: 960px;
    min-height: 590px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(23, 33, 33, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 80px rgba(23, 33, 33, 0.14);
}

.password-recovery-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.6rem);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 20% 12%, rgba(94, 234, 212, 0.25), transparent 30%),
        radial-gradient(circle at 95% 90%, rgba(217, 119, 6, 0.28), transparent 35%),
        linear-gradient(145deg, #102f30 0%, #172121 58%, #263537 100%);
}

.password-recovery-aside::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -105px;
    top: -90px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.025), 0 0 0 68px rgba(255, 255, 255, 0.018);
}

.password-recovery-brand {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-bottom: auto;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
}

.password-recovery-brand span {
    color: #5eead4;
}

.password-recovery-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 0.8rem;
    color: #99f6e4;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.password-recovery-aside h1 {
    position: relative;
    z-index: 1;
    max-width: 370px;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
}

.password-recovery-aside p {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.password-recovery-security {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    line-height: 1.55;
}

.password-recovery-security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #5eead4;
    color: #102f30;
    font-weight: 800;
}

.password-recovery-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(15, 118, 110, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 235, 0.82) 100%);
}

.password-recovery-card h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.05;
}

.password-recovery-steps {
    display: grid;
    grid-template-columns: 30px 1fr 30px 1fr 30px;
    align-items: center;
    margin-bottom: 2rem;
}

.password-recovery-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(23, 33, 33, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: #7a8686;
    font-size: 0.78rem;
    font-weight: 800;
}

.password-recovery-steps span.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.1);
}

.password-recovery-steps span.is-done {
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-strong);
}

.password-recovery-steps i {
    height: 1px;
    background: rgba(23, 33, 33, 0.1);
}

.password-recovery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.12), rgba(217, 119, 6, 0.08));
    color: var(--accent-strong);
    font-size: 1.25rem;
    font-weight: 800;
}

.forgot-reset-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.75rem;
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.forgot-reset-summary {
    margin: 0.35rem 0 1.15rem;
}

.forgot-reset-note {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.06);
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.forgot-reset-form {
    text-align: left;
}

.password-recovery-input,
.forgot-code-input {
    min-height: 52px;
    border-color: rgba(23, 33, 33, 0.13);
    background: rgba(255, 255, 255, 0.9);
}

.password-recovery-input:focus,
.forgot-code-input:focus {
    border-color: rgba(15, 118, 110, 0.55);
    box-shadow: 0 0 0 0.24rem rgba(15, 118, 110, 0.1);
}

.forgot-code-input {
    font-size: 1.85rem;
    letter-spacing: 0.48rem;
    font-variant-numeric: tabular-nums;
}

.forgot-reset-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.forgot-reset-foot p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.password-recovery-back {
    align-self: center;
    margin-top: 1.3rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.password-recovery-back:hover {
    color: var(--accent-strong);
}

.auth-access-shell {
    min-height: 620px;
}

.auth-register-shell {
    grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.35fr);
    max-width: 1080px;
    min-height: 680px;
}

.auth-access-aside {
    background:
        radial-gradient(circle at 18% 12%, rgba(94, 234, 212, 0.24), transparent 30%),
        radial-gradient(circle at 92% 88%, rgba(217, 119, 6, 0.3), transparent 36%),
        linear-gradient(145deg, #0e3433 0%, #172121 58%, #263537 100%);
}

.auth-register-aside {
    background:
        radial-gradient(circle at 14% 10%, rgba(217, 119, 6, 0.24), transparent 30%),
        radial-gradient(circle at 94% 88%, rgba(94, 234, 212, 0.22), transparent 36%),
        linear-gradient(145deg, #382817 0%, #172121 56%, #173837 100%);
}

.auth-access-card {
    padding: clamp(2rem, 5vw, 4.25rem);
}

.auth-register-card {
    padding: clamp(2rem, 4vw, 3.5rem);
}

.auth-access-icon {
    margin-bottom: 0.85rem;
}

.auth-access-form {
    margin-top: 0.45rem;
}

.auth-captcha-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
}

.auth-captcha-image {
    display: block;
    width: 140px;
    height: 52px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: #f7f2eb;
}

.auth-captcha-input {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.2rem 0 1.15rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-form-options a,
.auth-switch-copy a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.auth-form-options a:hover,
.auth-switch-copy a:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    min-height: 48px;
    font-weight: 700;
}

.auth-switch-copy {
    margin-top: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(23, 33, 33, 0.08);
    color: var(--muted);
    text-align: center;
    font-size: 0.92rem;
}

.auth-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.auth-contract-check {
    margin: 1.1rem 0;
    padding: 0.9rem 1rem 0.9rem 2.35rem;
    border: 1px solid rgba(23, 33, 33, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-contract-check .form-check-input {
    margin-left: -1.35rem;
}

.captcha-box {
    display: inline-block;
    width: 140px;
    height: 52px;
    border: 0;
    border-radius: 6px;
}

.admin-tabs .nav-link {
    border-radius: 6px;
    border: 1px solid var(--border);
}

.admin-tabs .nav-link.active {
    background: var(--accent);
    color: #fff;
}

.user-pill {
    font-family: Calibri, Arial, sans-serif;
}

.youtube-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.65);
}

.form-control,
.form-select {
    border-radius: 6px;
    padding: 0.7rem 0.85rem;
}

.rich-editor {
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(23, 33, 33, 0.08);
    background: rgba(247, 242, 235, 0.7);
}

.rich-toolbar button {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    font-size: 0.9rem;
    line-height: 1;
}

.rich-toolbar .swatch {
    width: 28px;
    height: 28px;
    padding: 0;
}

.rich-editor-area {
    min-height: 240px;
    padding: 0.9rem;
    outline: none;
}

.rich-editor-area:empty:before {
    content: attr(data-placeholder);
    color: #8b9797;
}

.map-frame {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 8px;
}

.admin-form-shell {
    display: grid;
    gap: 1rem;
}

.admin-section {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.52);
}

.admin-section h4 {
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
}

.admin-panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.admin-panel-tab {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.92rem;
}

.admin-panel-tab.is-active {
    background: #172121;
    color: #fff;
}

.admin-contact-lang-tabs {
    display: inline-flex;
    gap: 0.55rem;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: rgba(247, 242, 235, 0.72);
}

.admin-contact-lang-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.6rem 0.95rem;
    border-radius: 3px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 33, 33, 0.08);
}

.admin-contact-lang-tab.is-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.admin-panel-tab:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-panel {
    display: none;
}

.admin-panel.is-active {
    display: block;
}

.admin-media-card,
.admin-inline-card,
.admin-empty-state {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.62);
}

.admin-media-card,
.admin-empty-state {
    padding: 1rem;
}

.admin-inline-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
}

.admin-stack {
    display: grid;
    gap: 0.75rem;
}

.admin-cover-preview {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-list-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.55);
}

.admin-list-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.admin-list-actions {
    flex: 0 0 auto;
}

.admin-reference-link {
    word-break: break-word;
}

.admin-list-card + .admin-list-card {
    margin-top: 0.9rem;
}

.admin-status-row {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.admin-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(167, 177, 177, 0.14);
    border: 1px solid rgba(167, 177, 177, 0.32);
}

.admin-status-icon svg {
    width: 18px;
    height: 18px;
}

.admin-status-icon.is-active {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.32);
}

.admin-status-icon.is-inactive {
    background: rgba(167, 177, 177, 0.12);
    border-color: rgba(167, 177, 177, 0.28);
}

.admin-language-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    padding: 0 0.7rem;
    border-radius: 10px;
    background: rgba(23, 33, 33, 0.08);
    border: 1px solid rgba(23, 33, 33, 0.12);
    color: #172121;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.admin-pagination-wrap {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.admin-pagination-wrap .page-link {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.72);
}

.admin-pagination-wrap .page-item.active .page-link {
    background: #172121;
    border-color: #172121;
    color: #fff;
}

.admin-metric-pill {
    min-width: 56px;
    text-align: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-weight: 700;
}

.admin-user-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6a7474;
}

.admin-user-table td {
    vertical-align: middle;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-badge.is-success {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.admin-badge.is-danger {
    background: rgba(185, 28, 28, 0.12);
    color: #b91c1c;
}

.admin-badge.is-muted {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

.admin-user-detail-row + .admin-user-detail-row {
    margin-top: 0.7rem;
}

.contact-form-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(247,242,235,0.88) 100%);
}

.contact-form-head {
    margin-bottom: 1.2rem;
}

.contact-form-card .form-control,
.contact-form-card textarea {
    border-radius: 3px;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(23, 33, 33, 0.12);
    background: rgba(255,255,255,0.86);
}

.admin-message-item {
    display: block;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: rgba(255,255,255,0.76);
    color: inherit;
    text-decoration: none;
}

.admin-message-item.is-active {
    border-color: rgba(15,118,110,0.28);
    background: rgba(15,118,110,0.08);
}

.admin-message-body {
    padding: 1rem 1.1rem;
    border-radius: 3px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(23,33,33,0.08);
    line-height: 1.7;
    color: #334444;
    white-space: pre-wrap;
}

.admin-user-modal {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(23, 33, 33, 0.18);
    background: linear-gradient(180deg, rgba(247, 242, 235, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.admin-user-modal-head {
    padding: 1.2rem 1.25rem 0.75rem;
    border-bottom: 0;
    align-items: flex-start;
}

.admin-user-modal-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.admin-user-modal .modal-title {
    font-size: 1.35rem;
    color: #172121;
}

.admin-user-modal-body {
    padding: 0.5rem 1.25rem 1.35rem;
}

.admin-user-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: 1px solid rgba(15, 118, 110, 0.16);
    margin-bottom: 1rem;
}

.admin-user-avatar {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0f766e 0%, #172121 100%);
    box-shadow: 0 14px 24px rgba(15, 118, 110, 0.22);
}

.admin-user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #172121;
}

.admin-user-email {
    color: #5f6b6b;
    margin-top: 0.2rem;
    word-break: break-word;
}

.admin-user-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-user-detail-card {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(23, 33, 33, 0.08);
}

.admin-user-detail-card-wide {
    grid-column: 1 / -1;
}

.admin-user-detail-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8686;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.admin-user-detail-value {
    color: #172121;
    font-size: 0.98rem;
    font-weight: 600;
    word-break: break-word;
}

.map-embed-wrap {
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
}

.map-embed-wrap iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
}

.inline-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.text-link {
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

.youtube-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.profile-shell {
    display: grid;
    gap: 1.25rem;
}

.profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(135deg, rgba(247, 242, 235, 0.96) 0%, rgba(231, 242, 240, 0.98) 55%, rgba(255, 255, 255, 0.98) 100%);
}

.profile-kicker,
.profile-panel-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
    font-weight: 700;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.72);
}

.profile-avatar {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: linear-gradient(135deg, #0f766e 0%, #172121 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(15, 118, 110, 0.18);
}

.profile-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.profile-email,
.profile-side-note {
    color: var(--muted);
}

.profile-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.profile-nav {
    padding: 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.profile-nav-link {
    display: block;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(23, 33, 33, 0.08);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.profile-nav-link:hover,
.profile-nav-link.is-active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(15, 118, 110, 0.22);
    color: var(--text);
}

.profile-panels {
    min-width: 0;
}

.profile-panel-card {
    padding: 1.35rem 1.4rem;
}

.profile-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-panel-title {
    margin: 0.2rem 0 0;
    font-size: 1.35rem;
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.profile-stat-card {
    padding: 1rem;
    border: 1px solid rgba(23, 33, 33, 0.08);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 242, 235, 0.7) 100%);
}

.profile-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8686;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.profile-stat-value {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    word-break: break-word;
}

.profile-form-grid {
    display: grid;
    gap: 0.9rem;
}

.profile-form-grid .form-control {
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.88);
}

.profile-danger-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(254, 242, 242, 0.96) 100%);
}

.profile-danger-box {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.75);
}

.profile-danger-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #b91c1c;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-danger-copy {
    display: grid;
    gap: 0.3rem;
}

.profile-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-code-input {
    max-width: 220px;
    letter-spacing: 0.28em;
    font-size: 1.05rem;
    font-weight: 700;
}

.profile-delete-btn {
    border-radius: 3px;
}

.cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice-card {
    width: min(720px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 6px;
    background: rgba(23, 33, 33, 0.96);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.cookie-notice-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-notice-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .profile-hero,
    .profile-panel-head {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-stat-grid {
        grid-template-columns: 1fr;
    }

    .password-recovery-shell {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .auth-register-shell {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .password-recovery-aside {
        min-height: 310px;
        padding: 2rem;
    }

    .password-recovery-brand {
        margin-bottom: 3.5rem;
    }

    .password-recovery-aside h1 {
        max-width: 520px;
        font-size: 2.5rem;
    }

    .password-recovery-aside p {
        max-width: 560px;
    }

    .cookie-notice-card {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-notice-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .reference-card {
        max-width: 520px;
        margin: 0 auto;
    }

    .reference-card-strip {
        padding: 0.95rem 1rem;
    }

    .reference-card-title {
        font-size: 1.08rem;
    }

    .reference-card-body {
        padding: 0.85rem 0.9rem 0.9rem;
    }

    .reference-read-btn {
        width: 100%;
    }

    .password-recovery-shell {
        border-radius: 12px;
    }

    .password-recovery-aside {
        min-height: auto;
        padding: 1.5rem;
    }

    .password-recovery-brand {
        margin-bottom: 2.5rem;
    }

    .password-recovery-aside h1 {
        font-size: 2rem;
    }

    .password-recovery-card {
        padding: 1.5rem;
    }

    .auth-register-grid {
        grid-template-columns: 1fr;
    }

    .auth-captcha-row {
        grid-template-columns: 1fr;
    }

    .auth-captcha-image {
        width: 140px;
    }

    .auth-form-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .forgot-reset-foot {
        align-items: stretch;
        flex-direction: column;
    }

    .forgot-reset-foot .ghost-btn {
        width: 100%;
    }

    .service-detail-cover {
        height: auto;
        max-height: 72vw;
        object-fit: contain;
        padding: 0.5rem;
        background: #eef4f3;
    }

    .share-grid {
        justify-content: flex-start;
    }
}
