:root {
    --ink: #14213d;
    --muted: #64748b;
    --line: #dde6ef;
    --paper: #f6f8fb;
    --brand: #0f766e;
    --brand-dark: #134e4a;
    --accent: #f59e0b;
    --danger: #dc2626;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    background: #ffffff;
}

a {
    text-decoration: none;
}

.site-shell {
    overflow: hidden;
}

.navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(221, 230, 239, 0.8);
    backdrop-filter: blur(14px);
}

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

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
}

.nav-link {
    color: #334155 !important;
    font-size: 0.94rem;
    font-weight: 700;
    margin-left: 10px;
}

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

.nav-cta {
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff !important;
    padding: 9px 17px !important;
}

.hero {
    min-height: calc(100vh - 70px);
    color: #ffffff;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(13, 38, 54, 0.93), rgba(13, 38, 54, 0.62)),
        url("https://images.unsplash.com/photo-1556740758-90de374c12ad?q=80&w=1800&auto=format&fit=crop");
    background-position: center;
    background-size: cover;
    padding: 74px 0 46px;
}

.hero-mark {
    width: 190px;
    height: 78px;
    object-fit: contain;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
}

.eyebrow {
    color: #0f766e;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: #a7f3d0;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(1.9rem, 3.35vw, 3.15rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 610px;
    color: #d7eef2;
    font-size: 1.02rem;
    line-height: 1.68;
}

.btn-main,
.btn-soft,
.btn-danger-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 0.94rem;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-main {
    color: #ffffff;
    background: var(--brand);
    box-shadow: 0 18px 36px rgba(15, 118, 110, 0.28);
}

.btn-main:hover {
    color: #ffffff;
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.btn-soft {
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
}

.btn-soft:hover {
    color: var(--brand);
    transform: translateY(-2px);
}

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

.hero-panel {
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border-radius: 8px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.25);
}

.metric {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.metric strong {
    display: block;
    font-size: 1.55rem;
    color: var(--brand);
}

.section {
    padding: 76px 0;
}

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

.section-title {
    max-width: 740px;
    margin-bottom: 38px;
}

.section-title h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.12;
    font-weight: 850;
}

.section-title p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.service-card,
.feature-card,
.product-card,
.contact-card,
.form-card,
.stat-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.service-card,
.feature-card,
.contact-card,
.form-card,
.stat-card {
    padding: 26px;
}

.service-card h3,
.feature-card h3,
.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.service-card p,
.feature-card p,
.contact-card p,
.product-card p {
    color: var(--muted);
    line-height: 1.65;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    background: #ccfbf1;
    border-radius: 8px;
    font-size: 1.18rem;
    margin-bottom: 18px;
}

.accent-box {
    color: #9a3412;
    background: #ffedd5;
}

.blue-box {
    color: #1d4ed8;
    background: #dbeafe;
}

.product-card {
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: var(--paper);
}

.product-card .body {
    padding: 22px;
}

.product-summary {
    display: -webkit-box;
    min-height: 78px;
    margin-bottom: 20px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.product-actions .btn-main,
.product-actions .btn-soft {
    justify-content: center;
    white-space: nowrap;
}

.product-modal .modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(11, 31, 51, 0.2);
}

.product-modal .modal-header,
.product-modal .modal-footer {
    padding: 20px 24px;
    border-color: var(--line);
}

.product-modal .modal-body {
    padding: 24px;
}

.product-detail-lead {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.product-detail-lead div span,
.product-detail-lead div strong {
    display: block;
}

.product-detail-lead div span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.85rem;
}

.product-detail-lead div strong {
    color: var(--primary);
    font-size: 1.35rem;
}

.product-detail-lead p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 36px;
    padding-top: 26px;
}

.product-detail-section h3 {
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 800;
}

.product-detail-section ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-detail-section li {
    display: flex;
    gap: 9px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.product-detail-section li i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--primary);
}

.product-detail-closing {
    margin-top: 24px;
    padding: 18px;
    border-left: 3px solid var(--primary);
    background: #f3faf8;
    color: var(--ink);
    line-height: 1.7;
}

.price {
    color: var(--brand);
    font-size: 1.35rem;
    font-weight: 850;
}

.badge-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #075985;
    background: #e0f2fe;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

.process-step {
    border-left: 3px solid var(--brand);
    padding-left: 18px;
}

.process-step strong {
    color: var(--brand);
}

.form-control {
    border-radius: 8px;
    border-color: var(--line);
    min-height: 46px;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.16);
}

.site-footer {
    color: #dbeafe;
    background: #10202f;
    padding: 56px 0 32px;
}

.site-footer a {
    color: #ffffff;
}

.floating-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.floating-wa a {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #22c55e;
    border-radius: 999px;
    font-size: 1.55rem;
    box-shadow: 0 18px 36px rgba(34, 197, 94, 0.34);
}

.admin-table th {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.admin-product-thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border: 1px solid var(--line);
    border-radius: 6px;
    object-fit: cover;
}

.product-thumb-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f7f6;
    color: var(--muted);
}

.icon-action {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    transition: 0.2s ease;
}

.edit-action { color: var(--primary); }
.edit-action:hover { color: #ffffff; background: var(--primary); border-color: var(--primary); }
.delete-action { color: #c0392b; }
.delete-action:hover { color: #ffffff; background: #c0392b; border-color: #c0392b; }

.page-hero {
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(16, 32, 47, 0.94), rgba(15, 118, 110, 0.76)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=1800&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    padding: 76px 0;
}

.page-hero h1 {
    font-size: clamp(1.95rem, 3.6vw, 3.1rem);
    font-weight: 850;
}

.admin-shell {
    min-height: 100vh;
    background: var(--paper);
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 58px 0;
    }

    .hero-panel {
        margin-top: 28px;
    }
}

@media (max-width: 575px) {
    .product-detail-lead,
    .product-detail-grid,
    .product-actions {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .hero-mark {
        width: 164px;
        height: 70px;
    }

    .floating-wa {
        right: 14px;
        bottom: 14px;
    }
}
