:root {
    --ink: #16212b;
    --muted: #64748b;
    --line: #d8e1e8;
    --paper: #ffffff;
    --soft: #f4f7fa;
    --brand: #0d8c80;
    --brand-dark: #08665f;
    --accent: #f4b63f;
    --blue: #2563eb;
    --danger: #b42318;
    --shadow: 0 20px 50px rgba(23, 32, 42, .12);
    --shadow-soft: 0 12px 30px rgba(23, 32, 42, .08);
    --ring: 0 0 0 1px rgba(255,255,255,.16) inset;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fbfcfd;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; transition: color .18s ease; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #111b24; color: #f8fafc; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(216,225,232,.9); box-shadow: 0 8px 22px rgba(17,27,36,.04); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 22px; letter-spacing: 0; min-width: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #12313b); color: #fff; box-shadow: 0 10px 24px rgba(13,140,128,.22); }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 20px); color: #334155; font-weight: 700; font-size: 15px; }
.nav-links a:not(.button) { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.button):hover { color: var(--brand-dark); border-color: var(--accent); }
.button, button {
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15,139,141,.18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover, button:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(15,139,141,.22); }
.button.secondary { background: #17202a; }
.button.light { background: #fff; color: var(--ink); box-shadow: none; border: 1px solid rgba(216,225,232,.95); }
.button.light:hover { border-color: #b9c8d4; box-shadow: var(--shadow-soft); }
.whatsapp-button { color: #075e54; border-color: #b7eadf; background: #ecfbf7; }
.hero { position: relative; overflow: hidden; background: #0d151d; color: #fff; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(13,140,128,.28), transparent 34%), radial-gradient(circle at 35% 88%, rgba(244,182,63,.16), transparent 30%); pointer-events: none; }
.slider { height: clamp(560px, 46vw, 640px); position: relative; background: #0b1118; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .8s cubic-bezier(0.4, 0, 0.2, 1); display: grid; align-items: center; overflow: hidden; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,17,24,.98) 0%, rgba(11,17,24,.84) 42%, rgba(11,17,24,.32) 100%); z-index: 1; }
.slide::after { content: ""; position: absolute; inset: auto 0 0; height: 100px; background: linear-gradient(0deg, #0b1118, transparent); z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.05); transition: transform 6s ease; }
.slide.active .slide-bg { transform: scale(1); }
.slide-content { position: relative; z-index: 2; min-height: 100%; padding: 52px 0 74px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); align-items: center; gap: 40px; }
.slide-content > * { min-width: 0; }
.hero-copy { max-width: 760px; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(34px, 6vw, 76px); margin-top: 14px; }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(19px, 3vw, 24px); }
.lead { font-size: 20px; max-width: 680px; color: #edf5fb; margin: 18px 0 28px; text-wrap: pretty; overflow-wrap: break-word; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .button { min-width: 154px; text-align: center; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 12px; max-width: 560px; margin-top: 34px; }
.hero-stats div { border: 1px solid rgba(255,255,255,.20); border-radius: 8px; padding: 14px 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.hero-stats strong { display: block; font-size: 24px; line-height: 1; }
.hero-stats span { color: #cfdae4; font-size: 13px; }
.hero-showcase { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.07)); box-shadow: 0 34px 90px rgba(0,0,0,.32); backdrop-filter: blur(18px); overflow: hidden; }
.hero-showcase::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.10); border-radius: 8px; pointer-events: none; }
.showcase-top, .showcase-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.showcase-top span, .showcase-bottom span { display: block; color: #cbd7e2; font-size: 13px; }
.showcase-top strong { color: var(--accent); font-size: 14px; }
.device-frame { position: relative; margin: 30px 0 24px; }
.device-screen { min-height: 230px; border-radius: 8px; border: 10px solid #101820; background: linear-gradient(135deg, #e9f2f8, #aebfcc 46%, #2b3f4f 47%, #0f1d27); display: flex; flex-direction: column; justify-content: end; padding: 24px; box-shadow: 0 24px 55px rgba(0,0,0,.32); overflow: hidden; }
.device-screen::before { content: ""; position: absolute; width: 170px; height: 170px; right: 28px; top: 54px; border-radius: 50%; background: rgba(244,182,63,.42); filter: blur(34px); }
.device-screen span, .device-screen strong { position: relative; z-index: 1; }
.device-screen span { color: #eaf2f8; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.device-screen strong { color: #fff; font-size: 25px; line-height: 1.12; margin-top: 8px; max-width: 310px; }
.device-base { width: 88%; height: 22px; margin: -1px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #d8e2ea, #8194a2); box-shadow: 0 18px 34px rgba(0,0,0,.25); }
.showcase-specs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.showcase-specs span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 10px; color: #e7eef5; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 800; }
.showcase-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.showcase-bottom strong { display: block; font-size: 24px; }
.showcase-bottom a { color: #101820; background: var(--accent); padding: 10px 12px; border-radius: 8px; font-weight: 900; }
.slider-dots { position: absolute; z-index: 4; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(11,17,24,.38); backdrop-filter: blur(14px); }
.slider-dots button { width: 32px; height: 5px; padding: 0; border-radius: 999px; background: rgba(255,255,255,.38); box-shadow: none; flex: 0 0 auto; }
.slider-dots button.active { background: #fff; }
.trust-band { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; font-weight: 850; padding: 16px; border: 1px solid #e3ebf1; border-radius: 8px; background: #fbfcfd; }
.trust-item span { color: var(--muted); display: block; font-weight: 500; font-size: 14px; }
.trust-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid !important; place-items: center; border-radius: 8px; background: #e7f6f4; color: var(--brand-dark) !important; font-weight: 900 !important; font-size: 12px !important; }
.section { padding: 82px 0; }
.product-band { background: linear-gradient(180deg, #f4f7fa, #ffffff); border-block: 1px solid #e3ebf1; }
.consult-section { background: radial-gradient(circle at 85% 20%, rgba(13,140,128,.08), transparent 30%), #ffffff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 10px 0 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-tile { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .2s ease; min-height: 170px; overflow: hidden; }
.category-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0; transition: .2s ease; }
.category-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #eff6ff; color: var(--blue); font-weight: 900; margin-bottom: 18px; }
.category-tile p { color: var(--muted); margin-bottom: 0; }
.category-tile:hover, .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c5d4de; }
.category-tile:hover::after { opacity: 1; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: .2s ease; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(23,32,42,.04); }
.product-media { position: relative; display: block; background: linear-gradient(135deg, #eef4f8, #dfeaf0); }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); transition: transform .25s ease; }
.product-card:hover img { transform: scale(1.035); }
.media-badge { position: absolute; top: 12px; left: 12px; border-radius: 999px; padding: 6px 10px; background: rgba(17,27,36,.88); color: #fff; font-size: 12px; font-weight: 850; }
.product-body { padding: 19px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.product-body p { color: var(--muted); margin: 0; }
.specs { display: flex; gap: 8px; flex-wrap: wrap; color: #334155; font-size: 13px; }
.specs span, .badge { border: 1px solid var(--line); background: var(--soft); border-radius: 999px; padding: 5px 9px; }
.badge { color: var(--brand-dark); background: #eaf8f5; border-color: #c9ebe4; width: fit-content; font-size: 13px; font-weight: 850; }
.price { font-size: 24px; font-weight: 900; color: var(--brand-dark); }
.compare { color: var(--muted); text-decoration: line-through; font-size: 15px; margin-left: 8px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.lead-panel { background: linear-gradient(160deg, #13202a, #0f3f42); color: #fff; border-radius: 8px; padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08); }
.lead-panel p { color: #dbe5ee; }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 750; font-size: 14px; }
input, textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13,140,128,.12); }
textarea { min-height: 112px; resize: vertical; }
.lead-panel input, .lead-panel textarea, .lead-panel select { border-color: transparent; }
.page-title { background: linear-gradient(180deg, #f7fafc, #eef4f8); border-bottom: 1px solid var(--line); padding: 52px 0; }
.page-title p { color: var(--muted); max-width: 760px; }
.filters { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(130px, 1fr)) repeat(2, minmax(110px, .8fr)) auto auto; gap: 12px; margin-bottom: 24px; }
.premium-search { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); position: relative; z-index: 2; margin-top: -38px; }
.product-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.product-detail .main-img { border: 1px solid var(--line); border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); box-shadow: var(--shadow-soft); }
.gallery-panel { display: grid; gap: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.product-info-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: var(--shadow-soft); }
.price-panel { margin: 18px 0; padding: 18px; border: 1px solid #c9ebe4; border-radius: 8px; background: linear-gradient(180deg, #f0fbf8, #ffffff); }
.price-panel p { color: var(--muted); margin: 8px 0 0; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.detail-list div { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.footer { background: #101820; color: #e2e8f0; padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.footer a, .footer p { color: #cbd5e1; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; background: #e9f8f4; color: #075e54; font-weight: 750; }
.alert.error { background: #fff1f0; color: var(--danger); }
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: #f3f6f9; }
.sidebar { background: #101820; color: #fff; padding: 24px; }
.sidebar nav { display: grid; gap: 8px; margin-top: 24px; }
.sidebar a { padding: 10px 12px; border-radius: 8px; color: #dbe5ee; }
.sidebar a:hover { background: rgba(255,255,255,.10); }
.admin-main { padding: 28px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: 0 10px 25px rgba(15,23,42,.06); overflow: auto; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: 0 8px 20px rgba(15,23,42,.04); }
.stat strong { display: block; font-size: 30px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; color: var(--muted); background: #f8fafc; }
tbody tr:hover { background: #fbfdff; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.danger { background: var(--danger); }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-list article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: var(--shadow-soft); }
.faq-list p { color: var(--muted); margin-bottom: 0; }
.gallery-admin { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery-admin div { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fff; }
.gallery-admin img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: var(--soft); padding: 20px; }
.login-card { width: min(430px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }

.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; margin-left: auto; background: #fff; color: var(--ink); padding: 0; box-shadow: none; border: 1px solid var(--line); flex: 0 0 auto; position: relative; z-index: 2; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--soft); border-color: #b9c8d4; box-shadow: 0 8px 18px rgba(15,23,42,.08); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
    .nav { align-items: center; flex-direction: row; justify-content: space-between; min-height: 64px; }
    .brand { font-size: 19px; min-width: 0; flex: 1 1 auto; }
    .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand-mark { width: 38px; height: 38px; }
    .menu-toggle { display: grid; }
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: #fff;
        backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 0;
        display: flex;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        overflow-y: auto;
        z-index: 1000;
        max-height: calc(100vh - 94px);
        border: 1px solid rgba(216,225,232,.95);
        border-radius: 8px;
        box-shadow: 0 26px 60px rgba(15,23,42,.18);
        transition: opacity .2s ease, transform .2s ease;
    }
    .nav-links.active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    .nav-links a:not(.button) {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }
    .nav-links a:not(.button):hover { background: var(--soft); border-color: var(--line); color: var(--brand-dark); }
    .nav-links a.button { margin-top: 12px; width: 100%; text-align: center; }
    
    .slider { height: auto; min-height: 0; display: block; background: #0b1118; }
    .slide { position: relative; opacity: 0; display: none; min-height: 0; padding: 0; }
    .slide.active { opacity: 1; display: grid; }
    .slide::before { background: linear-gradient(180deg, rgba(11,17,24,.96) 0%, rgba(11,17,24,.88) 56%, rgba(11,17,24,.96) 100%); }
    .slide::after { height: 72px; }
    .slide-bg { opacity: .46; }
    .slide-content { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 48px 0 78px; }
    .hero-copy { max-width: 680px; margin: 0 auto; }
    .hero-actions { justify-content: flex-start; }
    .hero-showcase { max-width: 620px; width: 100%; margin: 0 auto; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); max-width: 100%; margin: 28px auto 0; }
    .slider-dots { bottom: 18px; }
    .trust-grid, .category-grid, .product-grid, .footer-grid, .stat-grid, .faq-list { grid-template-columns: repeat(2, 1fr); }
    .split, .product-detail, .admin-shell { grid-template-columns: 1fr; }
    .sidebar { position: static; padding: 16px; }
    .sidebar .brand { justify-content: center; }
    .sidebar nav { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .admin-main { padding: 20px; }
    .filters { grid-template-columns: 1fr; margin-top: 0; }
    .gallery-admin { grid-template-columns: repeat(3, 1fr); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .trust-grid, .category-grid, .product-grid, .footer-grid, .stat-grid, .form-row, .detail-list, .faq-list { grid-template-columns: 1fr; }
    .gallery-thumbs, .gallery-admin { grid-template-columns: repeat(2, 1fr); }
    .section-head { display: block; text-align: center; }
    .section-head p { margin-left: auto; margin-right: auto; }
    .section-head .button { margin-top: 16px; }
    .hero-actions .button, .actions .button, .form-grid button, .filters button, .filters .button, .section-head .button { width: 100%; text-align: center; }
    .hero-actions { display: flex; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .section { padding: 42px 0; }
    .footer { text-align: center; }
    .footer .brand { justify-content: center; }
}

@media (max-width: 480px) {
    .container { width: min(100% - 32px, 1180px); }
    .topbar span:last-child { display: none; }
    .topbar .container { justify-content: center; padding: 8px 0; }
    .nav { min-height: 62px; }
    .nav-links { max-height: calc(100vh - 88px); }
    .slide-content { padding: 36px 0 70px; gap: 22px; }
    h1 { font-size: 32px; }
    .hero-copy h1 { overflow-wrap: break-word; }
    .lead { font-size: 16px; margin: 14px 0 22px; }
    .hero-showcase { padding: 16px; }
    .device-frame { margin: 22px 0 18px; }
    .device-screen { min-height: 160px; padding: 16px; border-width: 6px; }
    .device-screen strong { font-size: 18px; }
    .showcase-bottom { align-items: stretch; flex-direction: column; gap: 12px; }
    .showcase-bottom a { width: 100%; text-align: center; }
    .hero-stats { grid-template-columns: 1fr; margin-top: 20px; gap: 8px; }
    .hero-stats div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 16px; }
    .hero-stats strong { font-size: 19px; display: inline; }
    .hero-stats span { font-size: 12px; text-align: right; overflow-wrap: break-word; }
    .slider { min-height: auto; }
}
