* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; color: #0f172a; background: #f8fafc; }
a { text-decoration: none; color: var(--primary); }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(860px, 92%); margin: 0 auto; }

.top-contact-bar { background: var(--topbar-bg, #0b2545); color: #dbeafe; font-size: var(--topbar-font); }
.top-contact-wrap { min-height: var(--topbar-height, 40px); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-custom-width { width: min(1180px, var(--topbar-width)); margin: 0 auto; }
.top-contact-items { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-contact-item { display: inline-flex; align-items: center; gap: 8px; }
.top-contact-item svg { width: var(--topbar-icon-size, 22px); height: var(--topbar-icon-size, 22px); fill: currentColor; opacity: .92; }
.top-banner { position: relative; overflow: hidden; }
.top-banner.under-menu { height: var(--banner-height); }
.top-banner.under-menu img { width: 100%; height: 100%; object-fit: var(--banner-fit); }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.banner-slide.active { opacity: 1; }
.banner-overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(0deg, rgba(15,23,42,.55), rgba(15,23,42,.2)); padding: 20px; }
.banner-overlay h2 { color: #fff; margin: 0 0 8px; }
.banner-overlay p { color: #f1f5f9; margin: 0 0 14px; }
.slide-in { animation: slideIn .7s ease-out; }
.fade-in { animation: fadeIn .8s ease-in; }
.float-in { animation: floatIn .8s ease-out; }
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 999px; background: rgba(15,23,42,.55); color: #fff; font-size: 20px; }
.banner-nav.prev { left: 14px; }
.banner-nav.next { right: 14px; }
.banner-btn.left { justify-self: start; }
.banner-btn.center { justify-self: center; }
.banner-btn.right { justify-self: end; }
.banner-btn.sm { padding: 8px 12px; font-size: 12px; }
.banner-btn.md { padding: 12px 18px; font-size: 14px; }
.banner-btn.lg { padding: 16px 24px; font-size: 16px; }
.site-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 10; }
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 16px 0; }
.brand { font-size: 28px; font-weight: 700; color: var(--secondary); justify-self: start; }
.brand-logo { max-height: 54px; width: auto; }
.main-nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: #334155; font-weight: 600; }
.menu-dropdown { position: relative; }
.dropdown-panel { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.08); z-index: 20; }
.dropdown-panel a { display: block; padding: 8px 10px; }
.menu-dropdown:hover .dropdown-panel { display: block; }
.menu-search input { max-width: 220px; margin: 0; }
.center-link { justify-self: end; background: #eff6ff; color: var(--secondary); padding: 9px 14px; border-radius: 999px; font-weight: 700; }

.hero { padding: 72px 0; background: linear-gradient(135deg, #ecfeff, #f8fafc); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.hero-media { padding: 8px; }
.hero-media img { border-radius: 14px; width: 100%; min-height: 320px; object-fit: cover; }
.eyebrow { display: inline-block; padding: 8px 12px; border-radius: 999px; background: #ccfbf1; color: var(--secondary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
h1 { font-size: 48px; line-height: 1.1; margin: 18px 0; }
h2 { font-size: 32px; margin: 0 0 24px; }
h3 { margin-top: 0; }
p { line-height: 1.7; color: #475569; }
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: 1fr 1fr; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); }
.panel ul { padding-left: 18px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 12px; font-weight: 700; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: #e2e8f0; color: #0f172a; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.product-card img, .detail-image { border-radius: 16px; margin-bottom: 16px; }

.references-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.reference-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; display: grid; gap: 8px; text-align: center; color: #1e293b; font-weight: 600; }
.reference-item img { width: 100%; height: 76px; object-fit: contain; }
.banner-center { padding-top: 10px; }
.banner-center-card { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 28px rgba(2, 62, 138, .18); }
.banner-center-card img { width: 100%; max-height: 360px; object-fit: cover; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.media-item img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.module-strip { padding: 28px 0; }
.alt-soft { background: #e8eef6; }
.module-brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.module-brand-card { background: #fff; border: 1px solid #dbe4ee; border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; color: #334155; }
.module-brand-card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(2, 62, 138, .18); }
.module-brand-logo { background: #f1f5f9; padding: 18px; min-height: 124px; display: grid; place-items: center; }
.module-brand-card ul { margin: 0; padding: 18px 22px; list-style: none; display: grid; gap: 8px; }
.module-brand-card li::before { content: "★"; color: #facc15; margin-right: 8px; }
.module-certificate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.module-certificate-item { display: block; background: #fff; border-radius: 14px; padding: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.module-certificate-item:hover { transform: translateY(-4px); box-shadow: 0 14px 22px rgba(15, 23, 42, .12); }
.module-certificate-item img { width: 100%; border-radius: 10px; }
.module-catalog-wrap { text-align: center; }
.module-catalog-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.module-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: #0b5ed7; color: #fff; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.module-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 18px rgba(11, 94, 215, .34); }
.module-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.module-stat-card { color: #fff; border-radius: 14px; padding: 18px; display: grid; justify-items: center; text-align: center; gap: 8px; transition: transform .25s ease, filter .25s ease; }
.module-stat-card:hover { transform: translateY(-4px); filter: brightness(1.07); }
.module-stat-card strong { font-size: 44px; line-height: 1; }
.module-stat-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); }
.module-client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.module-client-item { background: #fff; border-radius: 12px; border: 1px solid #dbe4ee; min-height: 110px; display: grid; place-items: center; padding: 12px; transition: transform .25s ease, box-shadow .25s ease; }
.module-client-item:hover { transform: scale(1.04); box-shadow: 0 12px 20px rgba(15, 23, 42, .12); }
.hover-lift:hover { transform: translateY(-4px) !important; }
.hover-scale:hover { transform: scale(1.05) !important; }
.hover-glow:hover { box-shadow: 0 0 0 4px rgba(59,130,246,.25), 0 12px 24px rgba(59,130,246,.35) !important; }

.site-footer { margin-top: 40px; padding: 40px 0; background: #0f172a; color: #e2e8f0; }
.site-footer p, .site-footer a, .site-footer h3, .site-footer h4 { color: #e2e8f0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.content p { margin-bottom: 18px; }
.page-layout { display: grid; gap: 18px; margin-top: 20px; }
.page-layout-one { grid-template-columns: 1fr; }
.page-layout-two { grid-template-columns: 2fr 1fr; }
.page-layout-three { grid-template-columns: 1fr 2fr 1fr; }
.page-side-content { display: grid; gap: 14px; align-content: start; }
.page-bottom-modules { margin-top: 24px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.muted { color: #64748b; }
.success { background: #dcfce7; color: #166534; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.validation-summary-errors { background: #fee2e2; color: #991b1b; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; margin: 8px 0 16px; background: #fff; }
input[type="color"] { height: 52px; padding: 4px; }
button { cursor: pointer; border: none; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 14px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.link-button { background: none; border: none; color: #b91c1c; padding: 0; }
.actions-row { display: flex; gap: 14px; align-items: center; }
.form-grid { display: grid; gap: 8px; }
.checkbox-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 6px 0 18px; }

.admin-body { background: #e2e8f0; }
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0f172a; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.admin-sidebar h2, .admin-sidebar a { color: #fff; }
.admin-main { padding: 32px; }
.login-body { display: grid; place-items: center; min-height: 100vh; background: #e2e8f0; }
.login-card { width: min(440px, 92%); background: #fff; padding: 28px; border-radius: 18px; box-shadow: 0 20px 60px rgba(15, 23, 42, .1); }
.small { font-size: 13px; }

@media (max-width: 900px) {
    .hero-grid, .cards-3, .two-col, .footer-grid, .admin-shell, .references-grid, .media-grid { grid-template-columns: 1fr; }
    .nav-wrap { grid-template-columns: 1fr; }
    .top-contact-wrap { align-items: flex-start; }
    .center-link { justify-self: start; }
    h1 { font-size: 36px; }
    .main-nav { gap: 12px; justify-content: flex-start; }
}

@keyframes slideIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:translateY(0);} }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes floatIn { from { opacity:0; transform: scale(.96);} to {opacity:1; transform:scale(1);} }
