:root {
    --yellow: #FFED00;
    --black: #050505;
    --white: #ffffff;
    --soft: #f5f5f3;
    --grey: #767676;
    --line: rgba(0,0,0,.09);
    --shadow: 0 22px 60px rgba(0,0,0,.14);
    --radius: 24px;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.08);
    transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.header-inner {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand img {
    max-height: 56px;
    width: auto;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
}

.desktop-nav a {
    padding: 14px 13px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s ease, transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: var(--yellow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 0 12px 30px rgba(255,237,0,.28);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-outline {
    background: var(--white);
    color: var(--black);
    border-color: rgba(0,0,0,.16);
}

.header-apply {
    display: none;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--black);
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 13px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--yellow);
    border-radius: 10px;
    transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.58);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, 390px);
    height: 100vh;
    background: var(--black);
    color: var(--white);
    z-index: 100;
    transform: translateX(105%);
    transition: transform .25s ease;
    padding: 22px;
    box-shadow: -22px 0 60px rgba(0,0,0,.3);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.mobile-menu-head img {
    max-height: 52px;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
}

.mobile-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--yellow);
    color: var(--black);
    cursor: pointer;
}

.mobile-menu nav {
    display: grid;
    gap: 10px;
}

.mobile-menu nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    font-weight: 900;
}

.mobile-menu nav a.mobile-cta {
    background: var(--yellow);
    color: var(--black);
}

.mobile-menu nav a.mobile-cta.dark {
    background: var(--white);
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7s ease;
}

.hero-slide.active img {
    transform: scale(1.0);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(0,0,0,.72), rgba(0,0,0,.38) 48%, rgba(0,0,0,.08));
}
.hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    min-height: calc(100vh - 78px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 0 110px;
}
.hero-content::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 50%;
    width: min(680px, calc(100vw - 28px));
    height: auto;
    min-height: 360px;
    transform: translateY(-50%);
    background: rgba(255,255,255,.94);
    border-left: 12px solid var(--yellow);
    border-radius: 0 34px 34px 0;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    z-index: -1;
}
.kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    background: var(--yellow);
    color: var(--black);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.hero h1 {
    font-size: clamp(30px, 4.8vw, 58px);
    line-height: 1.02;
    margin: 16px 0 16px;
    max-width: 560px;
    letter-spacing: -0.055em;
    color: var(--black);
}

.hero p {
    max-width: 520px;
    font-size: clamp(16px, 1.7vw, 20px);
    color: #333;
    margin: 0 0 24px;
}
.hero-indicators {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.hero-indicators button {
    width: 38px;
    height: 5px;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.4);
    cursor: pointer;
}

.hero-indicators button.active {
    background: var(--yellow);
}

.section {
    padding: 72px 0;
}

.section-inner {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
}

.section-soft {
    background: var(--soft);
}

.section-black {
    background: var(--black);
    color: var(--white);
}

.section-yellow {
    background: var(--yellow);
}

.section-head {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
    font-size: clamp(34px, 7vw, 68px);
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 0;
}

.section-head p,
.page-hero p {
    font-size: 18px;
    color: #555;
    max-width: 820px;
    margin: 0;
}

.section-black .section-head p,
.section-black p {
    color: rgba(255,255,255,.74);
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
    grid-template-columns: 1fr;
}

.card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 14px 44px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(255,237,0,.75);
}

.icon-badge {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--black);
    border-radius: 18px;
    font-size: 24px;
    margin-bottom: 18px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.12;
}

.card p {
    margin: 0 0 18px;
    color: #585858;
}

.text-content {
    font-size: 18px;
    color: #303030;
}

.text-content h2,
.text-content h3 {
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.text-content p {
    margin: 0 0 18px;
}

.cta-band {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 36px;
    border-radius: 30px;
    background: var(--yellow);
    color: var(--black);
    box-shadow: 0 20px 60px rgba(0,0,0,.1);
}

.cta-band h2 {
    margin: 0;
    font-size: clamp(30px, 6vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.reference-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.reference-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--soft);
}

.reference-card-body {
    padding: 20px;
}

.reference-card h3 {
    margin: 0 0 8px;
}

.reference-logo-placeholder {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111, #333);
    color: var(--yellow);
    font-size: 34px;
    font-weight: 950;
}

.facts {
    display: grid;
    gap: 12px;
}

.fact {
    background: var(--black);
    color: var(--white);
    border-radius: 22px;
    padding: 22px;
}

.fact strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: var(--yellow);
}

.page-hero {
    background: var(--black);
    color: var(--white);
    padding: 88px 0 64px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    background: var(--yellow);
    border-radius: 50%;
    opacity: .9;
}

.page-hero .section-inner {
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: rgba(255,255,255,.75);
}

.form-box {
    background: var(--white);
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.08);
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row label {
    font-weight: 900;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    border: 2px solid rgba(0,0,0,.1);
    background: #fff;
    border-radius: 16px;
    padding: 14px 15px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 5px rgba(255,237,0,.24);
}

.checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
}

.checkbox-row input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.alert {
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 800;
    margin-bottom: 18px;
}

.alert.success {
    background: #e7f9ec;
    color: #145c25;
}

.alert.error {
    background: #ffe9e9;
    color: #831b1b;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-info-card {
    padding: 22px;
    border-radius: 24px;
    background: var(--soft);
}

.contact-info-card i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    border-radius: 14px;
    margin-bottom: 12px;
}

.site-footer {
    background: var(--black);
    color: var(--white);
}

.footer-cta {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    gap: 22px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.footer-cta span {
    color: var(--yellow);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.footer-cta h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 6vw, 54px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.footer-grid {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    gap: 28px;
}

.footer-logo {
    max-height: 64px;
    width: auto;
    background: var(--white);
    border-radius: 16px;
    padding: 9px;
    margin-bottom: 14px;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: var(--yellow);
}

.footer-grid p {
    color: rgba(255,255,255,.74);
    margin: 0;
}

.footer-grid a {
    display: block;
    color: rgba(255,255,255,.74);
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    padding: 20px 0;
    display: grid;
    gap: 8px;
    color: rgba(255,255,255,.62);
    font-size: 14px;
}

.cookie-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: var(--white);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 120;
    display: none;
    gap: 18px;
    border: 1px solid rgba(0,0,0,.1);
}

.cookie-banner.show {
    display: grid;
}

.cookie-banner h3 {
    margin: 0 0 6px;
}

.cookie-banner p {
    margin: 0 0 12px;
    color: #555;
}

.cookie-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
}

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

.panel-body {
    background: #eeeeec;
}

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

.panel-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 290px;
    background: var(--black);
    color: var(--white);
    z-index: 100;
    transform: translateX(-105%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.panel-sidebar.open {
    transform: translateX(0);
}

.panel-brand {
    padding: 18px;
    border-radius: 22px;
    background: var(--yellow);
    color: var(--black);
    margin-bottom: 18px;
}

.panel-brand strong {
    display: block;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.panel-brand span {
    font-weight: 800;
    font-size: 13px;
}

.panel-nav {
    display: grid;
    gap: 8px;
}

.panel-nav a,
.panel-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 16px;
    font-weight: 900;
    color: rgba(255,255,255,.82);
    transition: background .16s ease, color .16s ease;
}

.panel-nav a:hover,
.panel-nav a.active {
    background: rgba(255,237,0,.15);
    color: var(--yellow);
}

.panel-logout {
    margin-top: auto;
    background: rgba(255,255,255,.08);
}

.panel-main {
    min-height: 100vh;
}

.panel-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(238,238,236,.9);
    backdrop-filter: blur(18px);
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.panel-topbar h1 {
    margin: 0;
    line-height: 1;
    font-size: 25px;
    letter-spacing: -0.04em;
}

.panel-topbar span {
    color: #666;
    font-weight: 800;
    font-size: 13px;
}

.panel-menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--black);
    color: var(--yellow);
    cursor: pointer;
}

.panel-content {
    padding: 14px;
}

.panel-card {
    background: var(--white);
    border-radius: 26px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 45px rgba(0,0,0,.06);
    margin-bottom: 18px;
}

.panel-card h2 {
    margin: 0 0 18px;
    letter-spacing: -0.04em;
}

.panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--black);
    border: 0;
    cursor: pointer;
    font-weight: 950;
}

.panel-btn.dark {
    background: var(--black);
    color: var(--white);
}

.panel-btn.danger {
    background: #dc2626;
    color: #fff;
}

.panel-table-wrap {
    overflow-x: auto;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.panel-table th,
.panel-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    vertical-align: top;
}

.panel-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #666;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: #eee;
}

.badge.green {
    background: #dcfce7;
    color: #166534;
}

.badge.red {
    background: #fee2e2;
    color: #991b1b;
}

.panel-form {
    display: grid;
    gap: 16px;
}

.panel-form-grid {
    display: grid;
    gap: 16px;
}

.panel-form label {
    display: grid;
    gap: 7px;
    font-weight: 900;
}

.panel-form input,
.panel-form textarea,
.panel-form select {
    width: 100%;
    border: 2px solid rgba(0,0,0,.1);
    border-radius: 16px;
    padding: 13px 14px;
    outline: none;
}

.panel-form textarea {
    min-height: 130px;
}

.panel-checks {
    display: grid;
    gap: 9px;
    padding: 16px;
    background: var(--soft);
    border-radius: 18px;
}

.panel-checks label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash {
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 14px;
    font-weight: 900;
}

.flash.success {
    background: #dcfce7;
    color: #166534;
}

.flash.error {
    background: #fee2e2;
    color: #991b1b;
}

.panel-empty {
    min-height: 340px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
}

.panel-empty i {
    font-size: 54px;
    color: var(--yellow);
    background: var(--black);
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 30px;
}

.login-page {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(255,237,0,.9), transparent 35%), var(--black);
    display: grid;
    place-items: center;
    padding: 18px;
}

.login-card {
    width: min(100%, 430px);
    background: var(--white);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.login-card h1 {
    margin: 0 0 8px;
    font-size: 38px;
    letter-spacing: -0.05em;
}

.login-card p {
    margin: 0 0 22px;
    color: #555;
}

@media (min-width: 720px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-band,
    .footer-cta {
        grid-template-columns: 1fr auto;
    }

    .facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
    }

    .panel-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-banner {
        left: 24px;
        right: 24px;
        bottom: 24px;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .desktop-nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .header-apply {
        display: inline-flex;
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .panel-sidebar {
        transform: none;
    }

    .panel-main {
        padding-left: 290px;
    }

    .panel-menu-toggle {
        display: none;
    }

    .panel-content {
        padding: 28px;
    }
}

@media (max-width: 460px) {
    .header-inner {
        min-height: 70px;
    }

    .brand img {
        max-height: 46px;
    }

    .header-actions .btn-yellow {
        display: none;
    }

    .section {
        padding: 54px 0;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        min-height: 620px;
    }
}
@media (max-width: 720px) {
    .hero-content {
        justify-content: flex-end;
        padding: 80px 0 92px;
    }

.hero-content::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    width: min(600px, calc(100vw - 28px));
    height: auto;
    min-height: 305px;
    transform: translateY(-50%);
    background: rgba(255,255,255,.94);
    border-left: 10px solid var(--yellow);
    border-radius: 0 30px 30px 0;
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
    z-index: -1;
}

.hero h1 {
    font-size: clamp(29px, 9vw, 42px);
    max-width: 100%;
}
    .hero p {
        font-size: 17px;
        max-width: 100%;
    }
}
.panel-nav-group {
    color: rgba(255,255,255,.45);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 16px 12px 4px;
}

.panel-form {
    display: grid;
    gap: 16px;
}

.panel-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.panel-field {
    display: grid;
    gap: 7px;
}

.panel-field label {
    font-weight: 950;
}

.panel-field input,
.panel-field textarea,
.panel-field select {
    width: 100%;
    border: 2px solid rgba(0,0,0,.1);
    border-radius: 16px;
    padding: 13px 14px;
    background: #fff;
    outline: none;
}

.panel-field textarea {
    min-height: 130px;
    resize: vertical;
}

.panel-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 900;
}

.panel-check input {
    width: 20px;
    height: 20px;
}

.panel-thumb {
    width: 94px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    background: #eee;
}

.panel-muted {
    color: #666;
    font-size: 13px;
    font-weight: 800;
}

.media-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.media-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    padding: 14px;
    display: grid;
    gap: 10px;
}

.media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: #eee;
}

.media-file-icon {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--soft);
    font-size: 44px;
}

.service-section {
    padding: 76px 0;
}

.service-section:nth-child(4n+1) {
    background: var(--white);
}

.service-section:nth-child(4n+2) {
    background: var(--soft);
}

.service-section:nth-child(4n+3) {
    background: var(--yellow);
}

.service-section:nth-child(4n+4) {
    background: var(--black);
    color: var(--white);
}

.service-detail {
    width: min(var(--max), calc(100% - 28px));
    margin: 0 auto;
    display: grid;
    gap: 28px;
    align-items: center;
}

.service-detail-media img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.service-detail h2 {
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -.05em;
    margin: 0 0 18px;
}

.service-detail-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--yellow);
    color: var(--black);
    font-size: 28px;
    margin-bottom: 18px;
}

.service-section:nth-child(4n+3) .service-detail-icon {
    background: var(--black);
    color: var(--yellow);
}

.reference-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.reference-filter button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 950;
    background: #fff;
    cursor: pointer;
}

.reference-filter button.active {
    background: var(--yellow);
}

.reference-card.featured {
    border: 3px solid var(--yellow);
    box-shadow: var(--shadow);
}

.footer-rich p {
    margin: 0 0 12px;
}

.footer-rich a {
    display: inline-block;
}

@media (min-width: 760px) {
    .panel-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-field.full {
        grid-column: 1 / -1;
    }

    .service-detail {
        grid-template-columns: 1.05fr .95fr;
    }

    .service-section:nth-child(even) .service-detail-media {
        order: -1;
    }
}
.panel-body {
    background:
        radial-gradient(circle at 82% 4%, rgba(255,237,0,.24), transparent 30%),
        linear-gradient(135deg, #f7f7f2 0%, #eeeeea 100%);
    color: #101010;
}

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

.panel-sidebar {
    width: 310px;
    background: rgba(255,255,255,.96);
    color: #101010;
    border-right: 1px solid rgba(0,0,0,.08);
    box-shadow: 18px 0 55px rgba(0,0,0,.07);
    padding: 18px;
    backdrop-filter: blur(18px);
}

.panel-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.44)),
        linear-gradient(135deg, #ffed00, #fff36d);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 45px rgba(255,237,0,.28);
    margin-bottom: 18px;
}

.panel-brand-logo {
    width: 62px;
    height: 62px;
    min-width: 62px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    overflow: hidden;
}

.panel-brand-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.panel-brand-mark {
    width: 62px;
    height: 62px;
    min-width: 62px;
    display: grid;
    place-items: center;
    background: #111;
    color: #ffed00;
    border-radius: 18px;
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.panel-brand-text strong,
.panel-brand strong {
    display: block;
    font-size: 23px;
    line-height: 1;
    letter-spacing: -.04em;
    color: #090909;
}

.panel-brand-text span,
.panel-brand span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 950;
    color: rgba(0,0,0,.68);
}

.panel-nav {
    display: grid;
    gap: 5px;
    overflow-y: auto;
    padding: 0 4px 8px 0;
}

.panel-nav::-webkit-scrollbar {
    width: 7px;
}

.panel-nav::-webkit-scrollbar-track {
    background: transparent;
}

.panel-nav::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.18);
    border-radius: 20px;
}

.panel-nav-group {
    color: #7c7c7c;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 18px 10px 7px;
}

.panel-nav a {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 13px;
    border-radius: 17px;
    color: #202020;
    background: transparent;
    border: 1px solid transparent;
    font-weight: 950;
    transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease, color .16s ease;
}

.panel-nav a::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: transparent;
}

.panel-nav a i {
    width: 25px;
    height: 25px;
    min-width: 25px;
    color: #111 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-nav a span {
    color: #202020 !important;
    font-size: 15px;
    line-height: 1.15;
}

.panel-nav a:hover,
.panel-nav a.active {
    transform: translateX(2px);
    background: #fffbe0;
    border-color: rgba(255,237,0,.95);
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
    color: #111;
}

.panel-nav a:hover::before,
.panel-nav a.active::before {
    background: #ffed00;
}

.panel-nav a:hover i,
.panel-nav a.active i {
    color: #000 !important;
}

.panel-sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 11px;
    padding-top: 16px;
}

.panel-user-box {
    background: #f7f7f2;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 13px;
}

.panel-user-box strong {
    display: block;
    color: #111;
    font-size: 14px;
    line-height: 1.15;
}

.panel-user-box span {
    display: block;
    margin-top: 4px;
    color: #696969;
    font-size: 12px;
    font-weight: 800;
    word-break: break-word;
}

.panel-logout {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 13px;
    border-radius: 17px;
    background: #fff0f0;
    color: #941b1b;
    border: 1px solid #ffcaca;
    font-weight: 950;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.panel-logout:hover {
    transform: translateY(-1px);
    background: #ffe4e4;
    box-shadow: 0 12px 28px rgba(148,27,27,.12);
}

.panel-logout i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #941b1b !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-logout span {
    color: #941b1b !important;
}

.panel-powered {
    border-radius: 18px;
    padding: 13px;
    background: #111;
    color: #fff;
}

.panel-powered span {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 4px;
}

.panel-powered a {
    display: inline-flex;
    color: #ffed00;
    font-size: 15px;
    font-weight: 950;
}

.panel-main {
    background: transparent;
    min-height: 100vh;
}

.panel-topbar {
    min-height: 84px;
    padding: 14px 22px;
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 30px rgba(0,0,0,.04);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    gap: 14px;
}

.panel-topbar-title {
    flex: 1;
    min-width: 0;
}

.panel-topbar h1 {
    margin: 0;
    color: #111;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.045em;
}

.panel-topbar-title > span {
    display: block;
    margin-top: 6px;
    color: #646464 !important;
    font-size: 13px;
    font-weight: 900;
}

.panel-menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: #ffed00;
    color: #111;
    box-shadow: 0 12px 28px rgba(255,237,0,.32);
    cursor: pointer;
}

.panel-menu-toggle i {
    width: 22px;
    height: 22px;
    color: #111 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-topbar-link,
.panel-topbar-logout {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    padding: 0 16px;
    font-weight: 950;
    border: 1px solid rgba(0,0,0,.08);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.panel-topbar-link {
    background: #fff;
    color: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,.045);
}

.panel-topbar-link:hover,
.panel-topbar-logout:hover {
    transform: translateY(-1px);
}

.panel-topbar-link i {
    width: 20px;
    height: 20px;
    color: #111 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-topbar-link span {
    color: #111 !important;
}

.panel-topbar-logout {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.panel-topbar-logout i {
    width: 20px;
    height: 20px;
    color: #ffed00 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-topbar-logout span {
    color: #fff !important;
}

.panel-content {
    padding: 24px;
}

.panel-welcome {
    background:
        radial-gradient(circle at 88% 0%, rgba(255,237,0,.95) 0 18%, transparent 18.5%),
        linear-gradient(135deg, #111 0%, #272727 100%);
    color: #fff;
    border-radius: 30px;
    padding: 30px;
    display: grid;
    gap: 22px;
    align-items: center;
    margin-bottom: 22px;
    box-shadow: 0 20px 55px rgba(0,0,0,.13);
    overflow: hidden;
}

.panel-welcome span {
    display: inline-flex;
    width: fit-content;
    background: #ffed00;
    color: #111 !important;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.panel-welcome h2 {
    margin: 16px 0 10px;
    color: #fff;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 780px;
}

.panel-welcome p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 16px;
    font-weight: 800;
    max-width: 700px;
}

.panel-welcome .panel-btn.dark {
    background: #ffed00;
    color: #111;
    border: 0;
    box-shadow: 0 12px 28px rgba(255,237,0,.22);
}

.panel-welcome .panel-btn.dark i {
    color: #111 !important;
    background-color: currentColor !important;
}

.panel-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.panel-kpi-card {
    background: rgba(255,255,255,.94);
    border-radius: 26px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 38px rgba(0,0,0,.06);
    display: grid;
    gap: 17px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.panel-kpi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,237,0,.9);
    box-shadow: 0 24px 56px rgba(0,0,0,.09);
}

.panel-kpi-head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.panel-kpi-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: grid;
    place-items: center;
    background: #ffed00;
    color: #111;
    border-radius: 17px;
    box-shadow: 0 13px 28px rgba(255,237,0,.28);
}

.panel-kpi-icon i {
    width: 26px;
    height: 26px;
    color: #111 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-kpi-card h2 {
    margin: 0 0 5px;
    color: #111;
    font-size: 21px;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.panel-kpi-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.panel-kpi-value {
    color: #030303;
    font-size: 38px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.055em;
}

.panel-kpi-card .panel-btn {
    width: fit-content;
}

.panel-card {
    background: rgba(255,255,255,.94);
    border-radius: 26px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 38px rgba(0,0,0,.06);
}

.panel-btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ffed00;
    color: #111;
    border: 0;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(255,237,0,.18);
}

.panel-btn i {
    color: inherit !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-btn.dark {
    background: #111;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,.15);
}

.panel-btn.danger {
    background: #b91c1c;
    color: #fff;
}

.panel-quick-card {
    margin-top: 20px;
}

.panel-section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.panel-section-title h2 {
    margin: 0 0 5px;
    color: #111;
    font-size: 24px;
    letter-spacing: -.04em;
}

.panel-section-title p {
    margin: 0;
    color: #666;
    font-weight: 800;
}

.panel-quick-grid {
    display: grid;
    gap: 11px;
    grid-template-columns: 1fr;
}

.panel-quick-link {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 56px;
    padding: 13px 15px;
    background: #f8f8f4;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 19px;
    color: #111;
    font-weight: 950;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.panel-quick-link:hover {
    transform: translateY(-2px);
    background: #fffbe0;
    border-color: rgba(255,237,0,.9);
    box-shadow: 0 14px 30px rgba(0,0,0,.06);
}

.panel-quick-link i {
    width: 25px;
    height: 25px;
    min-width: 25px;
    color: #111 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
}

.panel-quick-link span {
    color: #111 !important;
}

.panel-footer-note {
    margin-top: 26px;
    padding: 18px 4px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #777;
    font-size: 13px;
    font-weight: 900;
}

.panel-footer-note strong {
    color: #111;
}

.panel-footer-note span {
    color: #777 !important;
}

.flash {
    border-radius: 18px;
    font-weight: 950;
}

@media (min-width: 720px) {
    .panel-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-welcome {
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 980px) {
    .panel-sidebar {
        transform: none;
    }

    .panel-main {
        padding-left: 310px;
    }

    .panel-menu-toggle {
        display: none;
    }

    .panel-content {
        padding: 28px 30px 38px;
    }

    .panel-dashboard-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .panel-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 979px) {
    .panel-sidebar {
        transform: translateX(-105%);
        z-index: 200;
    }

    .panel-sidebar.open {
        transform: translateX(0);
    }
}

@media (max-width: 650px) {
    .panel-topbar {
        padding: 12px;
        gap: 10px;
    }

    .panel-topbar h1 {
        font-size: 22px;
    }

    .panel-topbar-title > span {
        font-size: 12px;
    }

    .panel-topbar-actions {
        gap: 6px;
    }

    .panel-topbar-link,
    .panel-topbar-logout {
        width: 43px;
        height: 43px;
        min-height: 43px;
        padding: 0;
    }

    .panel-topbar-link span,
    .panel-topbar-logout span {
        display: none;
    }

    .panel-content {
        padding: 14px;
    }

    .panel-welcome {
        padding: 23px;
        border-radius: 24px;
    }

    .panel-kpi-card {
        padding: 19px;
    }

    .panel-kpi-value {
        font-size: 34px;
    }
}