:root {
    --color-yellow: #d6a42b;
    --color-pink: #a85038;
    --color-blue: #00d6ae;
    --color-green: #009753;
    --color-earth: #9d593f;
    --color-leaf-dark: #075f3a;
    --color-ink: #21332a;
    --color-muted: #68766f;
    --color-bg: #f7f8f5;
    --color-card: #ffffff;
    --color-border: #e2e7de;
    --color-danger: #c9443f;
    --shadow-soft: 0 14px 36px rgba(33, 51, 42, 0.08);
    --shadow-hover: 0 18px 44px rgba(33, 51, 42, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(0, 151, 83, 0.04), transparent 310px),
        var(--color-bg);
    color: var(--color-ink);
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    position: relative;
}

body::before {
    background: url("../img/logo-massaber.jpg") center center / contain no-repeat;
    content: "";
    inset: 12vh 12vw;
    mix-blend-mode: multiply;
    opacity: 0.065;
    pointer-events: none;
    position: fixed;
}

a {
    text-decoration: none;
}

.navbar {
    border-bottom: 1px solid rgba(0, 151, 83, 0.14);
    box-shadow: 0 8px 28px rgba(33, 51, 42, 0.06);
}

.navbar-brand {
    color: var(--color-ink) !important;
    font-weight: 700;
    letter-spacing: 0;
}

.nav-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
}

.navbar .nav-link {
    color: var(--color-ink);
    font-weight: 500;
    border-radius: 999px;
    padding: 0.45rem 0.8rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(0, 151, 83, 0.08);
    color: var(--color-green);
}

.page-shell {
    padding-top: 104px;
    min-height: calc(100vh - 80px);
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    padding: 1rem 0;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--color-muted);
    font-size: 0.82rem;
}

.footer-link:hover {
    color: var(--color-green);
}

.footer-signature {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    opacity: 0.72;
}

.footer-partner-logo {
    height: 22px;
    object-fit: contain;
    width: auto;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: 0;
}

.section-title {
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--color-green);
}

.hero {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 3rem;
    align-items: center;
    padding: 2.25rem 0 3rem;
    position: relative;
}

.hero-copy {
    max-width: 760px;
    min-width: 0;
}

.brand-kicker {
    color: var(--color-green);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--color-leaf-dark);
    font-size: clamp(2.45rem, 4.8vw, 4.75rem);
    line-height: 1.02;
    margin-bottom: 1rem;
    max-width: 760px;
    overflow-wrap: break-word;
}

.hero h1 span {
    display: block;
}

.hero-title-accent {
    color: var(--color-earth);
    font-size: 0.68em;
    line-height: 1.08;
    margin-top: 0.35rem;
    max-width: 760px;
}

.hero p {
    color: var(--color-muted);
    font-size: 1.08rem;
    max-width: 620px;
}

.slogan-pill {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 151, 83, 0.16);
    border-radius: 999px;
    color: var(--color-earth);
    display: inline-flex;
    font-weight: 700;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding: 0.48rem 0.85rem;
}

.slogan-pill i {
    color: var(--color-green);
}

.hero-visual {
    align-self: center;
    display: grid;
    gap: 0.85rem;
    justify-self: end;
    max-width: 540px;
    min-width: 0;
    width: 100%;
}

.hero-gallery {
    position: relative;
}

.hero-carousel {
    background:
        linear-gradient(135deg, rgba(7, 95, 58, 0.94), rgba(33, 51, 42, 0.9)),
        #0e2f22;
    border: 1px solid rgba(0, 151, 83, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-carousel .carousel-inner {
    border-radius: var(--radius);
}

.hero-slide {
    background: transparent;
    border: 0;
    cursor: zoom-in;
    display: block;
    height: clamp(320px, 36vw, 390px);
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.hero-slide-bg {
    background-position: center;
    background-size: cover;
    filter: blur(18px) saturate(0.96);
    inset: 0;
    opacity: 0.34;
    position: absolute;
    transform: scale(1.08);
}

.hero-slide::after {
    background: linear-gradient(180deg, rgba(7, 95, 58, 0.04), rgba(7, 95, 58, 0.18));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.hero-slide img {
    display: block;
    height: 100%;
    object-fit: contain;
    padding: 0.7rem;
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero-slide-zoom {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    color: var(--color-leaf-dark);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.42rem;
    line-height: 1;
    padding: 0.46rem 0.68rem;
    pointer-events: none;
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
    z-index: 4;
}

.hero-slide-caption {
    background: rgba(7, 95, 58, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    bottom: 0.75rem;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    left: 0.75rem;
    line-height: 1.35;
    max-width: calc(100% - 1.5rem);
    padding: 0.55rem 0.7rem;
    position: absolute;
    text-align: left;
    text-wrap: balance;
    z-index: 3;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    opacity: 1;
    width: 3.25rem;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(7, 95, 58, 0.78);
    background-size: 52%;
    border-radius: 999px;
    height: 2.25rem;
    width: 2.25rem;
}

.hero-gallery-thumbs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(0, 151, 83, 0.42) rgba(0, 151, 83, 0.08);
    scrollbar-width: thin;
}

.hero-thumb {
    align-items: center;
    aspect-ratio: 1.2 / 1;
    background: #eef4ee;
    border: 2px solid transparent;
    border-radius: var(--radius);
    display: grid;
    flex: 0 0 74px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    scroll-snap-align: start;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.hero-thumb:hover,
.hero-thumb:focus,
.hero-thumb.active {
    border-color: var(--color-green);
    transform: translateY(-1px);
}

.hero-thumb img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.gallery-modal .modal-content {
    background: #0c1812;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.gallery-modal .modal-header {
    background: #0c1812;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.gallery-modal .modal-body {
    padding: 0;
}

.gallery-modal img {
    background: #0c1812;
    display: block;
    max-height: 78vh;
    object-fit: contain;
    width: 100%;
}

.gallery-modal-caption {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
}

.hero-logo-frame {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(157, 89, 63, 0.16);
    border-radius: var(--radius);
    display: grid;
    justify-items: center;
    min-height: 430px;
    overflow: hidden;
    padding: 1.25rem;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.hero-logo-frame::before,
.hero-logo-frame::after {
    background: var(--color-green);
    content: "";
    height: 1px;
    opacity: 0.28;
    position: absolute;
    width: 54%;
}

.hero-logo-frame::before {
    right: -10%;
    top: 16%;
    transform: rotate(-12deg);
}

.hero-logo-frame::after {
    bottom: 12%;
    left: -8%;
    transform: rotate(9deg);
}

.hero-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    width: auto;
    z-index: 1;
}

.hero-lines {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, 1fr);
}

.hero-lines span {
    background: rgba(0, 151, 83, 0.07);
    border: 1px solid rgba(0, 151, 83, 0.12);
    border-radius: 999px;
    color: var(--color-leaf-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.48rem 0.35rem;
    text-align: center;
}

.hero-partner {
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-muted);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
}

.hero-partner span {
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-partner img {
    height: 32px;
    object-fit: contain;
    width: auto;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    border-radius: 999px;
    border: none;
    box-shadow: 0 8px 18px rgba(33, 51, 42, 0.08);
    font-weight: 600;
    min-height: 42px;
    padding: 0.6rem 1.2rem;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: var(--color-green);
}

.btn-primary:hover {
    background: var(--color-leaf-dark);
}

.btn-consult-pulse {
    animation: consultPulse 2.8s ease-in-out infinite;
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.btn-consult-pulse::after {
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 48%, transparent 100%);
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(-120%);
    z-index: -1;
}

.btn-consult-pulse:hover::after {
    animation: consultShine 0.9s ease;
}

.btn-consult-pulse i {
    animation: consultIconFloat 1.9s ease-in-out infinite;
}

@keyframes consultPulse {
    0%,
    100% {
        box-shadow: 0 8px 18px rgba(33, 51, 42, 0.08), 0 0 0 0 rgba(0, 151, 83, 0.24);
    }

    50% {
        box-shadow: 0 12px 26px rgba(33, 51, 42, 0.13), 0 0 0 8px rgba(0, 151, 83, 0);
    }
}

@keyframes consultShine {
    to {
        transform: translateX(120%);
    }
}

@keyframes consultIconFloat {
    0%,
    100% {
        transform: translateX(0) scale(1);
    }

    50% {
        transform: translateX(2px) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-consult-pulse,
    .btn-consult-pulse i {
        animation: none;
    }

    .btn-consult-pulse:hover::after {
        animation: none;
    }
}

.btn-secondary {
    background: #fff;
    color: var(--color-ink);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: #f9fbf8;
    color: var(--color-leaf-dark);
}

.btn-danger {
    background: var(--color-danger);
}

.btn-success {
    background: var(--color-green);
}

.btn-warning {
    background: var(--color-yellow);
    color: var(--color-ink);
}

.card {
    border: 1px solid rgba(226, 231, 222, 0.84);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    background: var(--color-card);
    overflow: hidden;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-leaf-dark);
    font-weight: 700;
    padding: 1.15rem 1.25rem;
}

.card-header::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-earth);
    margin-right: 10px;
}

.form-label {
    color: var(--color-ink);
    font-weight: 600;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #fbfcfa;
    min-height: 42px;
    padding: 0.68rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 151, 83, 0.12);
}

.home-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    color: var(--color-ink);
    display: flex;
    gap: 0.9rem;
    min-height: 138px;
    min-width: 0;
    padding: 1.2rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.feature-card:hover,
.feature-card:focus {
    border-color: rgba(0, 151, 83, 0.32);
    box-shadow: var(--shadow-hover);
    color: var(--color-ink);
    transform: translateY(-2px);
}

.feature-icon {
    align-items: center;
    background: rgba(0, 151, 83, 0.08);
    border-radius: 999px;
    color: var(--color-green);
    display: inline-grid;
    flex: 0 0 2.5rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.feature-card strong,
.feature-card small {
    display: block;
}

.feature-card strong {
    color: var(--color-leaf-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-card small {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.home-note {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(157, 89, 63, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding: 1.45rem;
}

.home-note h2 {
    color: var(--color-leaf-dark);
    font-size: 1.35rem;
    margin-bottom: 0;
}

.home-note p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.filter-panel {
    position: sticky;
    top: 92px;
    z-index: 2;
}

.skills-consultation {
    position: relative;
}

.consultation-header {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0, 151, 83, 0.1), transparent 48%),
        rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 151, 83, 0.18);
    border-left: 6px solid var(--color-green);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1.3rem;
    overflow: hidden;
    padding: clamp(1.15rem, 2.4vw, 1.85rem);
    position: relative;
}

.consultation-header::after {
    background: var(--color-earth);
    content: "";
    height: 100%;
    opacity: 0.11;
    position: absolute;
    right: -8%;
    top: 0;
    transform: skewX(-18deg);
    width: 32%;
}

.consultation-header-copy,
.consultation-header-side {
    position: relative;
    z-index: 1;
}

.consultation-header-copy {
    max-width: 820px;
    min-width: 0;
}

.consultation-header-copy h1 {
    color: var(--color-leaf-dark);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    margin-bottom: 0.65rem;
}

.consultation-header-copy p {
    color: var(--color-muted);
    font-size: 1rem;
    margin-bottom: 0.9rem;
    max-width: 650px;
}

.consultation-slogan {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 151, 83, 0.16);
    border-radius: 999px;
    color: var(--color-earth);
    display: inline-flex;
    font-weight: 700;
    gap: 0.5rem;
    padding: 0.48rem 0.82rem;
}

.consultation-slogan i {
    color: var(--color-green);
}

.consultation-header-side {
    align-items: end;
    display: grid;
    gap: 0.9rem;
    justify-items: end;
    min-width: 250px;
}

.consultation-brand-mark {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 151, 83, 0.14);
    border-radius: var(--radius);
    color: var(--color-leaf-dark);
    display: flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 0.75rem;
    min-width: 230px;
    padding: 0.75rem 0.9rem;
}

.consultation-brand-mark img {
    height: 54px;
    object-fit: contain;
    width: 54px;
}

.consultation-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: end;
}

.curriculum-filter-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
        linear-gradient(90deg, rgba(0, 151, 83, 0.12), rgba(157, 89, 63, 0.08));
    border-color: rgba(0, 151, 83, 0.18);
}

.result-count {
    color: var(--color-muted);
    font-weight: 600;
}

.table {
    margin-bottom: 0;
}

.curriculum-table {
    table-layout: fixed;
    min-width: 1120px;
}

.skills-card-list {
    display: none;
}

.skill-mobile-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
}

.skill-mobile-card + .skill-mobile-card {
    margin-top: 0.85rem;
}

.skill-mobile-card__head {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
    justify-content: space-between;
}

.skill-mobile-card__head h2 {
    color: var(--color-leaf-dark);
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0.12rem 0 0;
    overflow-wrap: anywhere;
}

.skill-mobile-card__number {
    color: var(--color-earth);
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.skill-mobile-card__meta {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0.9rem 0;
}

.skill-mobile-card__meta span {
    background: #fbfcfa;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-ink);
    font-size: 0.82rem;
    line-height: 1.35;
    min-width: 0;
    padding: 0.55rem 0.6rem;
}

.skill-mobile-card__meta strong {
    color: var(--color-muted);
    display: block;
    font-size: 0.68rem;
    margin-bottom: 0.12rem;
    text-transform: uppercase;
}

.skill-mobile-card__body {
    border-top: 1px solid var(--color-border);
    padding-top: 0.85rem;
}

.skill-mobile-card__body > strong {
    color: var(--color-muted);
    display: block;
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.curriculum-table th:nth-child(1),
.curriculum-table td:nth-child(1) {
    width: 70px;
}

.curriculum-table th:nth-child(7),
.curriculum-table td:nth-child(7) {
    width: 110px;
}

.curriculum-table th:nth-child(8),
.curriculum-table td:nth-child(8),
.curriculum-table th:nth-child(9),
.curriculum-table td:nth-child(9) {
    width: 210px;
}

.curriculum-table th:nth-child(10),
.curriculum-table td:nth-child(10) {
    width: 72px;
}

.table thead th {
    background: #fbfcfa;
    border-top: none;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0.95rem;
    text-transform: uppercase;
}

.table-sort {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: inherit;
    gap: 0.4rem;
    justify-content: flex-start;
    letter-spacing: inherit;
    padding: 0;
    text-align: left;
    text-transform: inherit;
    width: 100%;
}

.table-sort:hover,
.table-sort:focus {
    color: var(--color-green);
}

.table-sort:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(0, 151, 83, 0.32);
    outline-offset: 3px;
}

.table-sort .sort-icon {
    color: #9aa8b5;
    font-size: 0.72rem;
}

.table-sort.active .sort-icon {
    color: var(--color-green);
}

.table tbody td {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
    padding: 0.95rem;
    vertical-align: top;
    overflow-wrap: normal;
    word-break: normal;
}

.curriculum-table td:nth-child(1) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.curriculum-table td:nth-child(7) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.curriculum-table th:nth-child(1) .table-sort span,
.curriculum-table th:nth-child(7) .table-sort span {
    white-space: nowrap;
}

.curriculum-table th:nth-child(2) .table-sort span,
.curriculum-table th:nth-child(3) .table-sort span,
.curriculum-table th:nth-child(4) .table-sort span,
.curriculum-table th:nth-child(5) .table-sort span,
.curriculum-table th:nth-child(6) .table-sort span,
.curriculum-table td:nth-child(2),
.curriculum-table td:nth-child(3),
.curriculum-table td:nth-child(4),
.curriculum-table td:nth-child(5),
.curriculum-table td:nth-child(6) {
    hyphens: auto;
    overflow: visible;
    overflow-wrap: normal;
    text-overflow: clip;
    white-space: normal;
    word-break: normal;
}

.text-cell,
.text-preview,
.skill-detail-modal-body,
.skill-detail-block {
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

.text-preview {
    display: -webkit-box;
    line-height: 1.45;
    max-height: 4.35em;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.action-header,
.action-cell {
    text-align: center;
}

.action-cell {
    vertical-align: middle !important;
}

.icon-action {
    align-items: center;
    background: rgba(0, 151, 83, 0.1);
    border: 0;
    border-radius: 50%;
    color: var(--color-green);
    display: inline-grid;
    height: 2.15rem;
    justify-content: center;
    padding: 0;
    width: 2.15rem;
}

.icon-action:hover,
.icon-action:focus {
    background: var(--color-green);
    color: #fff;
}

.icon-action:focus-visible {
    outline: 2px solid rgba(0, 151, 83, 0.32);
    outline-offset: 3px;
}

.skill-detail-modal-body {
    display: grid;
    gap: 1rem;
}

.skill-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-detail-meta span {
    background: #fbfcfa;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-ink);
    font-size: 0.84rem;
    padding: 0.4rem 0.7rem;
}

.skill-detail-block {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.skill-detail-block h3 {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.skill-detail-block p {
    margin-bottom: 0;
    white-space: pre-wrap;
}

.skill-number {
    color: var(--color-green);
    font-weight: 700;
    white-space: nowrap;
}

.badge-soft {
    border-radius: 999px;
    background: rgba(0, 151, 83, 0.08);
    color: var(--color-green);
    display: inline-flex;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    white-space: nowrap;
}

.skill-code-badge {
    font-size: 0.76rem;
    justify-content: center;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.skills-pagination-wrap .pagination {
    gap: 0.25rem;
}

.skills-pagination-wrap .page-link {
    border: 1px solid var(--color-border);
    border-radius: 999px !important;
    color: var(--color-ink);
    min-width: 2.15rem;
    text-align: center;
}

.skills-pagination-wrap .page-link:hover,
.skills-pagination-wrap .page-link:focus {
    background: rgba(0, 151, 83, 0.08);
    color: var(--color-green);
}

.skills-pagination-wrap .page-item.active .page-link {
    background: var(--color-green);
    border-color: var(--color-green);
    color: #fff;
}

.skills-pagination-wrap .page-item.disabled .page-link {
    background: #fbfcfa;
    color: var(--color-muted);
}

.empty-state {
    color: var(--color-muted);
    padding: 3rem 1rem;
    text-align: center;
}

.suggestion-card {
    border-left: 5px solid var(--color-green);
}

.forum-card-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.suggestion-meta {
    color: var(--color-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.88rem;
}

.stars {
    color: var(--color-yellow);
    display: inline-flex;
    gap: 0.12rem;
    white-space: nowrap;
}

.rating-summary {
    min-width: 145px;
    text-align: right;
}

.forum-post-text {
    margin: 1rem 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.forum-actions,
.suggestion-actions {
    align-items: center;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-top: 0.85rem;
}

.rating-picker {
    display: inline-flex;
    gap: 0.15rem;
}

.rating-star {
    align-items: center;
    background: transparent;
    border: 0;
    color: #c4ccd5;
    display: inline-grid;
    font-size: 1.2rem;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.rating-star:hover,
.rating-star:focus,
.rating-star.active {
    color: var(--color-yellow);
}

.rating-star:focus-visible {
    border-radius: 50%;
    outline: 2px solid rgba(255, 193, 7, 0.38);
    outline-offset: 2px;
}

.suggestion-panel {
    background: #fbfcfa;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-top: 0.9rem;
    padding: 1rem;
}

.forum-thread {
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.comment-box {
    background: #fbfcfa;
    border-left: 3px solid var(--color-green);
    border-radius: 8px;
    padding: 0.8rem 1rem;
}

.admin-message-preview {
    color: var(--color-ink);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-see-more {
    margin-left: 0.35rem;
    margin-top: 0.25rem;
    vertical-align: baseline;
}

.admin-text-modal-body {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-word;
}

.privacy-content li {
    margin-bottom: 0.4rem;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 75px;
}

.admin-sidebar {
    background: #fff;
    border-right: 1px solid var(--color-border);
    flex: 0 0 265px;
    padding: 1.5rem 1rem;
}

.admin-sidebar .nav-link {
    align-items: center;
    border-radius: 8px;
    color: var(--color-ink);
    display: flex;
    font-weight: 600;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
    padding: 0.78rem 1rem;
}

.admin-sidebar .nav-link i {
    color: var(--color-muted);
    width: 22px;
}

.admin-sidebar .nav-link:hover {
    background: rgba(0, 151, 83, 0.08);
    color: var(--color-green);
}

.admin-sidebar .nav-link.active {
    background: rgba(157, 89, 63, 0.11);
    color: var(--color-earth);
}

.admin-content {
    background: linear-gradient(135deg, #f7f8f5 0%, #ffffff 100%);
    flex: 1;
    min-width: 0;
    padding: 2rem;
}

.admin-user-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
}

.admin-user-card + .admin-user-card {
    margin-top: 1rem;
}

.metric-tile {
    border-left: 5px solid var(--color-green);
    min-height: 122px;
}

.metric-tile:nth-child(4n + 2) {
    border-left-color: var(--color-earth);
}

.metric-tile:nth-child(4n + 3) {
    border-left-color: var(--color-yellow);
}

.metric-tile:nth-child(4n + 4) {
    border-left-color: var(--color-green);
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.login-card {
    max-width: 430px;
    width: 100%;
}

.login-logo {
    width: 150px;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 1.5rem;
    }

    .hero-visual {
        justify-self: start;
        max-width: 100%;
    }

    .hero-slide {
        height: clamp(320px, 52vw, 430px);
    }

    .home-feature-grid,
    .home-note {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .consultation-header {
        grid-template-columns: 1fr;
    }

    .consultation-header-side {
        align-items: start;
        justify-items: start;
        min-width: 0;
        width: 100%;
    }

    .consultation-header-actions {
        justify-content: start;
    }

    .forum-card-header {
        display: block;
    }

    .rating-summary {
        margin-top: 0.75rem;
        min-width: 0;
        text-align: left;
    }

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        overflow-x: auto;
    }

    .admin-sidebar .nav {
        flex-direction: row !important;
        min-width: max-content;
    }

    .admin-sidebar .nav-link {
        margin-right: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    #skillsApp > .d-flex,
    #suggestionsApp > .d-flex {
        align-items: stretch !important;
    }

    #skillsApp > .d-flex .btn,
    #suggestionsApp > .d-flex .btn {
        justify-content: center;
        width: 100%;
    }

    .curriculum-table-card {
        display: none;
    }

    .skills-card-list {
        display: block;
        margin-bottom: 1rem;
    }

    .modal-fullscreen-sm-down .modal-content {
        border-radius: 0;
    }

    .suggestion-card {
        border-left-width: 0;
        border-top: 4px solid var(--color-green);
    }

    .consultation-header-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .suggestion-meta {
        gap: 0.3rem;
    }

    .suggestion-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .suggestion-actions .btn,
    .suggestion-panel .btn {
        justify-content: center;
        width: 100%;
    }

    .rating-picker {
        justify-content: center;
        width: 100%;
    }

    .site-footer .container {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .page-shell {
        padding-top: 82px;
    }

    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .navbar {
        box-shadow: 0 6px 22px rgba(33, 51, 42, 0.08);
    }

    .navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--color-border);
        margin-top: 0.75rem;
        padding: 0.5rem 0 0.25rem;
    }

    .navbar .nav-link {
        border-radius: 8px;
        padding: 0.7rem 0.85rem !important;
    }

    .navbar-brand span {
        font-size: 0.98rem;
    }

    .nav-logo {
        height: 40px;
        width: 40px;
    }

    .hero {
        gap: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: clamp(1.74rem, 7.8vw, 2rem);
        line-height: 1.08;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .brand-kicker {
        font-size: 0.72rem;
        margin-bottom: 0.65rem;
    }

    .slogan-pill {
        align-items: flex-start;
        border-radius: 8px;
        font-size: 0.92rem;
        line-height: 1.35;
        width: 100%;
    }

    .hero-slide {
        height: 290px;
    }

    .hero-slide img {
        padding: 0.45rem;
    }

    .hero-slide-zoom {
        font-size: 0.72rem;
        padding: 0.42rem 0.58rem;
        right: 0.65rem;
        top: 0.65rem;
    }

    .hero-slide-caption {
        bottom: 0.75rem;
        font-size: 0.82rem;
        left: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 2.65rem;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        height: 1.9rem;
        width: 1.9rem;
    }

    .hero-thumb {
        flex-basis: 94px;
    }

    .gallery-modal img {
        max-height: 70vh;
    }

    .consultation-header-copy h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }

    .consultation-brand-mark {
        min-width: 0;
        width: 100%;
    }

    .consultation-slogan {
        align-items: flex-start;
        border-radius: 8px;
        line-height: 1.35;
        width: 100%;
    }

    .feature-card {
        gap: 0.75rem;
        min-height: 0;
        padding: 1rem;
    }

    .home-note {
        padding: 1.15rem;
    }

    .quick-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .filter-panel .card-body {
        padding: 1rem;
    }

    .result-count {
        display: block;
        font-size: 0.88rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .skill-mobile-card__meta {
        grid-template-columns: 1fr;
    }

    .skill-detail-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .modal-body,
    .modal-header,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modal-footer .btn {
        justify-content: center;
        width: 100%;
    }

    .footer-signature {
        justify-content: center;
    }

    .admin-content {
        padding: 1rem;
    }
}
