:root {
    --bg: #f4f7fb;
    --panel: #ffffff;
    --panel-soft: #eef4fb;
    --panel-light: #f7f9fc;
    --text: #16304f;
    --text-dark: #16304f;
    --muted: #61758c;
    --line: rgba(22, 48, 79, 0.12);
    --brand: #ff8a1e;
    --brand-dark: #e16d00;
    --accent-blue: #2f80ed;
    --accent-teal: #0ea5a4;
    --accent-purple: #7c3aed;
    --accent-rose: #e11d48;
    --accent-green: #16a34a;
    --success: #1f9d55;
    --error: #d64545;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(31, 55, 88, 0.10);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    color: var(--text);
    line-height: 1.7;
}

body.admin-body {
    background: #f2f5f9;
    color: var(--text-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(860px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand-logo {
    display: block;
    width: auto;
    height: 76px;
    max-width: 240px;
    object-fit: contain;
}

.brand small {
    color: var(--muted);
    font-size: 13px;
}

.brand-badge {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand) 0%, #ffb34f 100%);
    color: #1c1203;
    box-shadow: var(--shadow);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-actions {
    display: none;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #355270;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #edf3fa;
    color: var(--text-dark);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-dark);
    border-radius: 12px;
    padding: 10px 14px;
}

.hero-section,
.page-hero {
    padding: 82px 0 36px;
}

.hero-slider-section {
    position: relative;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 72vh;
    background: #dfe8f3;
}

.hero-slide {
    position: relative;
    display: none;
    min-height: 72vh;
}

.hero-slide.active {
    display: block;
}

.hero-slide-media,
.hero-slide-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide-media {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
}

.hero-slide-media-fallback {
    background:
        radial-gradient(circle at top left, rgba(255, 168, 73, 0.42), transparent 35%),
        linear-gradient(135deg, #173556 0%, #0d2038 100%);
}

.hero-slide-overlay {
    background: linear-gradient(90deg, rgba(10, 21, 37, 0.84) 0%, rgba(10, 21, 37, 0.48) 45%, rgba(10, 21, 37, 0.16) 100%);
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 72vh;
    padding: 110px 0 72px;
}

.hero-slide-copy {
    max-width: 700px;
    color: #fff;
}

.hero-slide-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1208;
    background: linear-gradient(135deg, #ffd089 0%, #ff9a2e 45%, #ff7f0e 100%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 10px 28px rgba(255, 130, 20, 0.55),
        0 0 0 1px rgba(255, 180, 80, 0.35);
}

.hero-slide-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 5.4vw, 66px);
    line-height: 1.08;
}

.hero-slide-copy p {
    margin: 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.slider-control.prev {
    left: 24px;
}

.slider-control.next {
    right: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.slider-dot.active {
    background: #fff;
}

.hero-grid,
.split-grid,
.footer-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
    align-items: center;
}

.home-hero {
    padding-top: 34px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.cta-banner h2,
.empty-state h1 {
    line-height: 1.15;
    margin: 0 0 16px;
}

.hero-copy h1 {
    font-size: clamp(36px, 5vw, 60px);
}

.lead,
.page-hero p {
    color: #60758b;
    font-size: 18px;
}

.section-label,
.pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.section-label {
    color: #a45300;
    background: rgba(255, 138, 30, 0.14);
}

.pill {
    background: #eef3fb;
    color: #355270;
}

.hero-actions,
.admin-actions,
.actions-cell {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.button.primary {
    background: linear-gradient(135deg, var(--brand) 0%, #ffb048 100%);
    color: #221100;
}

.button.primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff981d 0%, #ffbf6d 100%);
}

.button.secondary {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #dbe5f0;
}

.slider-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}

.button.secondary.light {
    color: #0d1830;
    background: #fff2df;
    border-color: transparent;
}

.button.link-danger {
    background: transparent;
    color: var(--error);
    padding: 0;
}

.floating-contact-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: grid;
    gap: 14px;
}

.floating-contact-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 176px;
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    overflow: visible;
    box-shadow:
        0 14px 28px rgba(22, 48, 79, 0.22),
        0 4px 10px rgba(22, 48, 79, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: floating-contact-enter 0.55s ease backwards;
}

.floating-contact-button::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.25s ease;
}

.floating-contact-button:hover {
    transform: translateX(-6px) translateY(-2px);
    box-shadow:
        0 20px 36px rgba(22, 48, 79, 0.28),
        0 8px 16px rgba(22, 48, 79, 0.14);
}

.floating-contact-button:active {
    transform: translateX(-3px) scale(0.98);
}

.floating-contact-button.phone {
    background: linear-gradient(135deg, #1d6fe0 0%, #4d9dff 55%, #7eb8ff 100%);
    animation-delay: 0.05s;
}

.floating-contact-button.phone::before {
    background: radial-gradient(circle, rgba(77, 157, 255, 0.45) 0%, transparent 70%);
}

.floating-contact-button.whatsapp {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 55%, #5fe08a 100%);
    animation-delay: 0.15s;
}

.floating-contact-button.whatsapp::before {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.45) 0%, transparent 70%);
}

.floating-contact-button:hover::before {
    opacity: 1;
    animation: floating-contact-pulse 1.6s ease infinite;
}

.floating-contact-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.floating-contact-button:hover .floating-contact-icon {
    transform: scale(1.08) rotate(-6deg);
    background: rgba(255, 255, 255, 0.28);
}

.floating-contact-icon svg {
    width: 22px;
    height: 22px;
}

.floating-contact-label {
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.floating-contact-button.whatsapp .floating-contact-icon svg {
    width: 24px;
    height: 24px;
}

@keyframes floating-contact-enter {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floating-contact-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.15;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-contact-button,
    .floating-contact-button::before,
    .floating-contact-icon {
        animation: none;
        transition: none;
    }
}

.hero-badges,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-badges span,
.tag-list span {
    padding: 10px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dde7f2;
    color: #45627f;
    font-size: 14px;
}

.hero-badges span:nth-child(1) {
    border-color: rgba(47, 128, 237, 0.26);
    color: var(--accent-blue);
    background: rgba(47, 128, 237, 0.08);
}

.hero-badges span:nth-child(2) {
    border-color: rgba(14, 165, 164, 0.26);
    color: var(--accent-teal);
    background: rgba(14, 165, 164, 0.08);
}

.hero-badges span:nth-child(3) {
    border-color: rgba(124, 58, 237, 0.22);
    color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.08);
}

.info-card,
.content-card,
.faq-item,
.cta-banner,
.empty-state,
.admin-panel,
.stat-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card,
.content-card,
.faq-item,
.empty-state,
.cta-banner {
    background: #fff;
    border: 1px solid var(--line);
    padding: 26px;
}

.hero-panel .info-card {
    min-height: 100%;
}

.hero-showcase {
    display: grid;
    gap: 16px;
}

.showcase-card {
    background: linear-gradient(135deg, #fff8f1 0%, #ffffff 70%);
    border: 1px solid rgba(255, 138, 30, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.showcase-card h2 {
    margin: 0 0 12px;
    color: var(--text-dark);
}

.showcase-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.showcase-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.showcase-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(22, 48, 79, 0.10);
    color: #355270;
}

.showcase-list li:last-child {
    border-bottom: 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    background: #fff;
    border: 1px solid #dde7f2;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--shadow);
}

.metric-card strong {
    display: block;
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 6px;
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.metric-card:nth-child(1) {
    background: linear-gradient(180deg, rgba(47, 128, 237, 0.08) 0%, #ffffff 100%);
    border-color: rgba(47, 128, 237, 0.18);
}

.metric-card:nth-child(2) {
    background: linear-gradient(180deg, rgba(14, 165, 164, 0.08) 0%, #ffffff 100%);
    border-color: rgba(14, 165, 164, 0.18);
}

.metric-card:nth-child(3) {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, #ffffff 100%);
    border-color: rgba(124, 58, 237, 0.18);
}

.hero-note {
    background: #f3f7fc;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    padding: 16px 18px;
    color: #45627f;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde7f2;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.gallery-card::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--brand) 0%, #ffbb5c 100%);
}

.colorful-gallery .gallery-card:nth-child(2n)::before {
    background: linear-gradient(90deg, var(--accent-blue) 0%, #69a7ff 100%);
}

.colorful-gallery .gallery-card:nth-child(3n)::before {
    background: linear-gradient(90deg, var(--accent-teal) 0%, #4fd1c5 100%);
}

.colorful-gallery .gallery-card:nth-child(4n)::before {
    background: linear-gradient(90deg, var(--accent-purple) 0%, #b187ff 100%);
}

.gallery-image-wrap {
    aspect-ratio: 4 / 3;
    background: #edf3fa;
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-image-wrap.product-photo {
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.gallery-image-wrap.product-photo img {
    object-fit: contain;
    padding: 16px;
}

.gallery-image-wrap.product-photo.compact {
    aspect-ratio: 16 / 10;
}

.color-card.has-product-photo {
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.color-card-media {
    aspect-ratio: 4 / 3;
    background: #fff;
    border-bottom: 1px solid rgba(22, 48, 79, 0.08);
}

.color-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
}

.color-card-body {
    padding: 16px 18px 18px;
}

.color-card-body h3 {
    margin: 0 0 8px;
}

.color-card-body p {
    margin: 0;
}

.product-group-card,
.content-card.has-product-photo {
    overflow: hidden;
    padding: 0;
}

.product-group-card h2,
.product-group-card p,
.content-card.has-product-photo h3,
.content-card.has-product-photo p {
    padding-left: 26px;
    padding-right: 26px;
}

.product-group-card h2,
.content-card.has-product-photo h3 {
    margin-top: 18px;
}

.product-group-card p,
.content-card.has-product-photo p {
    padding-bottom: 24px;
}

.product-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-strip-item {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-strip-item figcaption {
    padding: 12px 14px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}

.gallery-card-body {
    padding: 18px 18px 20px;
}

.gallery-card-body h3 {
    margin: 0 0 8px;
    color: var(--text-dark);
}

.gallery-card-body p {
    margin: 0;
    color: var(--muted);
}

.gallery-card.placeholder {
    display: flex;
    flex-direction: column;
}

.gallery-placeholder {
    display: grid;
    place-items: center;
    min-height: 240px;
    background: linear-gradient(135deg, #fff1df 0%, #f3f7fc 100%);
    color: #b96a0d;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.check-list,
.contact-list,
.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.timeline div {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.check-list li:last-child,
.timeline div:last-child {
    border-bottom: 0;
}

.section {
    padding: 36px 0;
}

.section-muted {
    background: #f2f6fb;
}

.section-accent {
    padding-bottom: 72px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading p {
    max-width: 780px;
    color: #60758b;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two,
.split-grid,
.footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rich-text h2,
.rich-text h3 {
    margin-top: 0;
}

.rich-text ul {
    padding-left: 20px;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-accordion-card {
    display: grid;
    gap: 16px;
    align-content: start;
}

.faq-accordion-intro h2 {
    margin: 8px 0 10px;
    font-size: clamp(24px, 3vw, 30px);
    color: var(--text-dark);
}

.faq-accordion-intro p {
    margin: 0;
    color: var(--muted);
}

.faq-accordion {
    display: grid;
    gap: 12px;
}

.faq-accordion-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-accordion-item.is-open {
    box-shadow: 0 10px 24px rgba(22, 48, 79, 0.08);
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    color: var(--text-dark);
}

.faq-accordion-trigger:hover {
    background: #f7fafd;
}

.faq-accordion-icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #edf3fa;
    flex-shrink: 0;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--accent-blue);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion-item.is-open .faq-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.faq-accordion-panel {
    display: none;
    padding: 0 20px 18px;
}

.faq-accordion-item.is-open .faq-accordion-panel {
    display: block;
}

.faq-accordion-panel p {
    margin: 0;
    color: var(--muted);
}

.home-split {
    align-items: start;
}

.home-info-stack,
.home-side-stack {
    display: grid;
    gap: 16px;
}

.home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-info-intro h2 {
    margin: 8px 0 12px;
    font-size: clamp(24px, 3vw, 30px);
    color: var(--text-dark);
}

.home-info-intro p {
    margin: 0;
    color: var(--muted);
}

.color-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.color-card {
    border-radius: 16px;
    padding: 18px 18px 16px;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    min-height: 148px;
}

.color-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    color: var(--text-dark);
}

.color-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a627c;
}

.color-card.tone-brand {
    background: linear-gradient(160deg, rgba(255, 138, 30, 0.18) 0%, #ffffff 72%);
    border-color: rgba(255, 138, 30, 0.22);
}

.color-card.tone-blue {
    background: linear-gradient(160deg, rgba(47, 128, 237, 0.16) 0%, #ffffff 72%);
    border-color: rgba(47, 128, 237, 0.2);
}

.color-card.tone-teal {
    background: linear-gradient(160deg, rgba(14, 165, 164, 0.16) 0%, #ffffff 72%);
    border-color: rgba(14, 165, 164, 0.2);
}

.color-card.tone-purple {
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.14) 0%, #ffffff 72%);
    border-color: rgba(124, 58, 237, 0.2);
}

.color-card.tone-rose {
    background: linear-gradient(160deg, rgba(225, 29, 72, 0.12) 0%, #ffffff 72%);
    border-color: rgba(225, 29, 72, 0.18);
}

.color-card.tone-green {
    background: linear-gradient(160deg, rgba(22, 163, 74, 0.14) 0%, #ffffff 72%);
    border-color: rgba(22, 163, 74, 0.2);
}

.why-us-panel {
    background: linear-gradient(135deg, #fff8f1 0%, #ffffff 68%);
    border-color: rgba(255, 138, 30, 0.2);
}

.why-us-panel h3,
.usage-panel h3 {
    margin: 0 0 14px;
    color: var(--text-dark);
}

.usage-panel {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 70%);
    border-color: rgba(47, 128, 237, 0.18);
}

.usage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.usage-tags span {
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #355270;
    background: #fff;
    border: 1px solid #dbe5f0;
}

.usage-tags span:nth-child(1) {
    color: #9a4d00;
    background: #fff3e4;
    border-color: #ffd7ad;
}

.usage-tags span:nth-child(2) {
    color: #1d5fbf;
    background: #edf4ff;
    border-color: #c8dcfb;
}

.usage-tags span:nth-child(3) {
    color: #0b6f6e;
    background: #e8fbf9;
    border-color: #b7ebe8;
}

.usage-tags span:nth-child(4) {
    color: #5b21b6;
    background: #f3ecff;
    border-color: #dbc8ff;
}

.usage-tags span:nth-child(5) {
    color: #047857;
    background: #ebfff5;
    border-color: #b8efd4;
}

.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fff3e4 0%, #ffffff 100%);
}

.article-hero,
.page-hero {
    padding-bottom: 16px;
}

.meta-line {
    color: var(--muted);
}

.article-body,
.blog-card,
.content-card {
    color: var(--text-dark);
}

.blog-card h2 {
    font-size: 22px;
}

.blog-card a:hover,
.text-link:hover {
    color: var(--brand-dark);
}

.contact-form,
.admin-form {
    display: grid;
    gap: 16px;
}

.contact-form label,
.admin-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #d9e2ef;
    background: #fff;
    color: var(--text-dark);
    font: inherit;
    padding: 14px 15px;
    outline: none;
}

body.admin-body input,
body.admin-body select,
body.admin-body textarea {
    color: var(--text-dark);
    background: #fff;
    border-color: #d9e2ef;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 138, 30, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 138, 30, 0.12);
}

.alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 600;
}

.alert.success {
    background: #e9f8ef;
    color: #166534;
    border: 1px solid #b9e8c7;
}

.alert.error {
    background: #fdecec;
    color: #9a1f1f;
    border: 1px solid #f6caca;
}

body.admin-body .alert.success {
    color: #166534;
    background: #e7f8ee;
    border-color: #b7ebca;
}

body.admin-body .alert.error {
    color: #9a1f1f;
    background: #fdecec;
    border-color: #f6caca;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 32px 0 18px;
    margin-top: 36px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
}

.copyright {
    padding-top: 24px;
    color: var(--muted);
    font-size: 14px;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-shell.single-card {
    grid-template-columns: 1fr;
    place-items: center;
    padding: 32px;
}

.admin-sidebar {
    background: #091426;
    color: #ebf2fa;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
    margin-bottom: 30px;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #d9e5f4;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-content {
    padding: 28px;
}

.admin-panel,
.stat-card,
.credentials-box {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #e0e8f2;
    padding: 24px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.stats-grid,
.form-grid {
    display: grid;
    gap: 16px;
}

.stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 24px;
}

.stat-card strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 8px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
    grid-column: 1 / -1;
}

.stack-list {
    display: grid;
    gap: 18px;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e3ebf5;
    vertical-align: top;
}

.actions-cell {
    align-items: center;
}

.message-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.message-body {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #f5f8fd;
}

.credentials-box {
    margin-top: 18px;
    border-radius: 18px;
}

.text-link {
    font-weight: 700;
}

.feature-grid .content-card:nth-child(1) {
    border-color: rgba(47, 128, 237, 0.18);
    background: linear-gradient(180deg, rgba(47, 128, 237, 0.06) 0%, #ffffff 100%);
}

.feature-grid .content-card:nth-child(2) {
    border-color: rgba(14, 165, 164, 0.18);
    background: linear-gradient(180deg, rgba(14, 165, 164, 0.06) 0%, #ffffff 100%);
}

.feature-grid .content-card:nth-child(3) {
    border-color: rgba(124, 58, 237, 0.18);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, #ffffff 100%);
}

.vibrant-faq .faq-item:nth-child(1),
.vibrant-faq .faq-accordion-item:nth-child(1) {
    border-left: 4px solid var(--brand);
}

.vibrant-faq .faq-item:nth-child(2),
.vibrant-faq .faq-accordion-item:nth-child(2) {
    border-left: 4px solid var(--accent-blue);
}

.vibrant-faq .faq-item:nth-child(3),
.vibrant-faq .faq-accordion-item:nth-child(3) {
    border-left: 4px solid var(--accent-teal);
}

.vibrant-faq .faq-accordion-item:nth-child(4) {
    border-left: 4px solid var(--accent-purple);
}

.vibrant-faq .faq-accordion-item:nth-child(5) {
    border-left: 4px solid var(--accent-rose);
}

.vibrant-faq .faq-accordion-item:nth-child(6) {
    border-left: 4px solid var(--accent-green);
}

.media-editor-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

.media-preview {
    border-radius: 16px;
    overflow: hidden;
    background: #eef4fb;
    border: 1px solid #dde7f2;
    aspect-ratio: 4 / 3;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-editor-content {
    min-width: 0;
}

.checkbox-field {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px !important;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}

.checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    box-shadow: none;
}

@media (max-width: 1080px) {
    .card-grid.three,
    .stats-grid,
    .product-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .split-grid,
    .footer-grid,
    .admin-shell,
    .media-editor-card {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 760px) {
    .brand-logo {
        height: 60px;
        max-width: 190px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid #e3ebf5;
    }

    .mobile-menu-actions .button {
        width: 100%;
        padding-inline: 12px;
    }

    .hero-copy h1,
    .page-hero h1,
    .hero-slide-copy h1 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .card-grid.three,
    .card-grid.two,
    .form-grid.two,
    .stats-grid,
    .hero-metrics,
    .product-gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide,
    .hero-slide-inner,
    .hero-slider {
        min-height: 62vh;
    }

    .slider-control {
        display: none;
    }

    .cta-banner,
    .message-head,
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-content,
    .admin-sidebar {
        padding: 18px;
    }

    .floating-contact-actions {
        right: 14px;
        bottom: 14px;
        gap: 12px;
    }

    .floating-contact-button {
        min-width: 152px;
        padding: 8px 14px 8px 8px;
        font-size: 14px;
    }

    .color-card-grid,
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .product-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-contact-icon {
        width: 40px;
        height: 40px;
    }

    .floating-contact-icon svg {
        width: 20px;
        height: 20px;
    }
}
