/* =========================================================
   RESET / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #1f2937;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 34px;
}

.main-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 34px;
}

/* =========================================================
   JAVNI SAJT
========================================================= */

.site-home {
    background: #f3f3f3;
    color: #161625;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid #dddddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.site-header-inner {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
}

/* =========================
   DROPDOWN MENU
========================= */

.main-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-menu .menu {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-menu .menu > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 98px;
}

.main-menu a {
    text-decoration: none;
    font-size: 16px;
    color: #666;
    font-weight: 600;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.main-menu a:hover {
    color: #000;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background: #fff;
    padding: 14px 0;
    list-style: none;
    display: none;
    flex-direction: column;
    min-width: 250px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    z-index: 9999;
}

.submenu li {
    margin: 0;
    width: 100%;
}

.submenu a {
    font-size: 15px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
    display: block;
    width: 100%;
    height: auto;
    padding: 12px 18px;
}

.submenu a:hover {
    color: #000;
    background: #f7f7f7;
}

.dropdown:hover .submenu,
.dropdown:focus-within .submenu {
    display: flex;
}

.header-search {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: #ffffff;
    font-size: 18px;
    flex: 0 0 auto;
}

.header-search:hover {
    background: #f8fafc;
    color: #000000;
}

/* =========================
   HERO SLIDER
========================= */

.hero-slider-section {
    background: #f3f3f3;
    padding: 18px 0 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #111;
    border-radius: 18px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.10));
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    color: #111827;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.hero-slider-btn:hover {
    background: #ffffff;
}

.hero-slider-btn.prev {
    left: 24px;
}

.hero-slider-btn.next {
    right: 24px;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
}

.hero-dot.active {
    background: #ffffff;
}

/* =========================
   ABOUT
========================= */

.about-section {
    padding: 90px 0 70px;
    background: #f5f5f5;
}

.center {
    text-align: center;
}

.section-kicker {
    color: #d946ef;
    font-size: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 700;
}

.section-heading {
    font-size: 58px;
    line-height: 1.15;
    margin: 0 0 24px;
    color: #111827;
    font-weight: 700;
}

.section-text {
    font-size: 18px;
    line-height: 1.9;
    color: #374151;
}

.section-text-wide {
    max-width: 1500px;
    margin: 0 auto 36px;
    text-transform: uppercase;
    font-weight: 700;
}

.about-photo {
    width: 100%;
    height: 720px;
    border-radius: 18px;
    background-image:
        linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.08)),
        url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   SERVICES
========================= */

.services-section {
    padding: 90px 0;
    background: #f6f6f6;
}

.services-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 44px 34px;
}

.service-card {
    min-height: 220px;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #ebedf0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
}

.service-icon {
    font-size: 34px;
    margin-bottom: 18px;
}

.service-card h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
    color: #111827;
    font-weight: 700;
}

.service-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #30303a;
    text-transform: uppercase;
    font-weight: 700;
}

.service-link-card {
    color: #111827;
    display: block;
}

.service-link-card:hover {
    color: #111827;
}

.service-link-card h3,
.service-link-card p {
    color: inherit;
}

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

/* =========================
   PARTNERI MARQUEE
========================= */

.partners-strip {
    background: #ffffff;
    padding: 42px 0 34px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 32px;
    color: #111827;
    margin: 0 0 28px;
    font-weight: 700;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: partnersScroll 45s linear infinite;
}

.partner-logo-item {
    flex: 0 0 auto;
    width: 190px;
    height: 110px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================
   BIG FOOTER
========================= */

.public-footer {
    background: #090b12;
    color: #f3f4f6;
    padding: 50px 0 0;
}

.footer-big-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 34px;
}

.footer-col h3 {
    margin: 0 0 18px;
    font-size: 22px;
    color: #ffffff;
}

.footer-col p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.8;
    color: #d1d5db;
}

.footer-col a {
    color: #facc15;
    font-weight: 700;
}

.footer-col a:hover {
    color: #fde047;
}

.footer-brand-logo {
    max-width: 260px;
    margin-bottom: 18px;
}

.footer-brand-col p {
    max-width: 420px;
}

.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 18px 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #e5e7eb;
}

.footer-admin-entry {
    color: #ffffff !important;
    font-weight: 700;
}

.footer-admin-entry:hover {
    color: #facc15 !important;
}

/* =========================
   SERVICE PAGE
========================= */

.service-page-hero {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #f7f7f7 0%, #f1f3f5 100%);
}

.service-page-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.service-page-title {
    font-size: 56px;
    line-height: 1.12;
    margin: 0 0 24px;
    color: #111827;
    font-weight: 700;
}

.service-page-text {
    font-size: 20px;
    line-height: 1.9;
    color: #374151;
    max-width: 1000px;
    white-space: normal;
}

.service-page-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* =========================================================
   ADMIN
========================================================= */

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
    padding: 30px 0;
}

.topbar {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border-bottom: 4px solid #22c55e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1280px;
    margin: auto;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.30);
}

.brand-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #e5e7eb;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.main-nav a.active {
    background: #22c55e;
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #22c55e;
    color: white;
}

.btn-primary:hover {
    background: #16a34a;
}

.btn-pink {
    background: linear-gradient(135deg, #ec4899, #c026d3);
    color: #ffffff;
}

.btn-pink:hover {
    background: linear-gradient(135deg, #db2777, #a21caf);
    color: #ffffff;
}

.btn-outline-dark {
    background: #ffffff;
    color: #111827;
    border: 1px solid #cbd5e1;
}

.btn-outline-dark:hover {
    background: #f8fafc;
    color: #111827;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}

.btn-danger:hover {
    background: #b91c1c;
}

.page-title {
    font-size: 38px;
    margin: 0 0 24px;
    color: #0f172a;
}

.section-title {
    margin: 0 0 14px;
    font-size: 22px;
    color: #111827;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.card h3 {
    margin: 0 0 10px;
}

.card .value {
    font-size: 30px;
    font-weight: bold;
}

.panel {
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.table-wrap {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    overflow-x: auto;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

table th {
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 13px;
    color: #0f172a;
    letter-spacing: 0.3px;
}

table tbody tr:hover {
    background: #f9fafb;
}

.empty-note {
    color: #6b7280;
    padding: 10px 0;
}

/* =========================
   ADMIN FOOTER
========================= */

.site-footer-pro {
    background: linear-gradient(180deg, #1a1a1a, #101010);
    color: #f3f4f6;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-pro-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 25px 0;
}

.footer-pro-box h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #fff;
}

.footer-pro-box p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #e5e7eb;
    line-height: 1.7;
}

.footer-pro-box a {
    color: #facc15;
}

.footer-pro-box a:hover {
    color: #fde047;
}

.footer-pro-brand {
    display: flex;
    gap: 16px;
}

.footer-pro-logo img {
    width: 100px;
}

.footer-admin-link {
    color: #e5e7eb !important;
    font-weight: bold;
}

.footer-admin-link:hover {
    color: #facc15 !important;
}

/* =========================
   PRO KALKULATOR
========================= */

.calc-page {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #f7f7f7 0%, #f2f4f7 100%);
}

.calc-hero {
    margin-bottom: 34px;
}

.calc-title {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 14px;
    color: #111827;
    font-weight: 800;
}

.calc-subtitle {
    margin: 0;
    font-size: 18px;
    color: #4b5563;
    max-width: 800px;
}

.calc-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.calc-card,
.calc-summary-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.calc-card-header h2,
.calc-summary-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #111827;
}

.calc-card-header p,
.calc-summary-header p {
    margin: 0 0 24px;
    color: #6b7280;
    font-size: 15px;
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-field label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.calc-field select {
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 15px;
    background: #fff;
    color: #111827;
    outline: none;
}

.calc-field select:focus {
    border-color: #d946ef;
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.10);
}

.calc-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.calc-summary-empty,
.calc-loading,
.calc-error {
    min-height: 220px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: 16px;
}

.calc-summary-empty {
    background: #f9fafb;
    color: #6b7280;
    border: 1px dashed #d1d5db;
}

.calc-loading {
    background: #f9fafb;
    color: #374151;
    border: 1px dashed #d1d5db;
}

.calc-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.calc-summary-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.calc-summary-line,
.calc-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
}

.calc-summary-line {
    background: #f9fafb;
    border: 1px solid #eef2f7;
}

.calc-summary-line span {
    color: #4b5563;
    font-size: 15px;
}

.calc-summary-line strong {
    color: #111827;
    font-size: 16px;
}

.calc-summary-total {
    background: linear-gradient(135deg, #ec4899, #c026d3);
    color: #fff;
    margin-top: 8px;
    box-shadow: 0 12px 24px rgba(217, 70, 239, 0.22);
}

.calc-summary-total span,
.calc-summary-total strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

/* =========================
   POVEZANI PROIZVODI
========================= */

.related-products-section {
    padding: 80px 0 90px;
    background: #f8fafc;
}

.related-products-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #111827;
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
    color: #111827;
}

.related-product-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.related-product-card p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}

.related-product-card span {
    display: inline-block;
    font-weight: 700;
    color: #c026d3;
}

/* =========================
   FORMA ZA UPIT
========================= */

.upit-section {
    padding: 80px 0 90px;
    background: #ffffff;
}

.upit-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.upit-subtitle {
    margin: -6px 0 24px;
    color: #6b7280;
    font-size: 16px;
}

.upit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.upit-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upit-field-full {
    grid-column: 1 / -1;
}

.upit-field label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.upit-field input,
.upit-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    background: #fff;
    color: #111827;
    outline: none;
    font-family: inherit;
}

.upit-field input:focus,
.upit-field textarea:focus {
    border-color: #d946ef;
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.10);
}

.upit-actions {
    margin-top: 20px;
}

.upit-message {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 700;
}

.upit-message.success {
    color: #15803d;
}

.upit-message.error {
    color: #b91c1c;
}

/* =========================
   ADMIN LOGIN
========================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

.login-box {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo {
    max-width: 220px;
    margin: 0 auto 18px;
}

.login-brand h1 {
    margin: 0 0 8px;
    font-size: 32px;
    color: #111827;
}

.login-brand p {
    margin: 0;
    color: #6b7280;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-field label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.login-field input {
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

.login-field input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.login-btn {
    margin-top: 8px;
    justify-content: center;
}

.login-error {
    margin-bottom: 18px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
}

.admin-user-badge {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.login-stack {
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.login-subtitle {
    margin: 0 0 8px;
    font-size: 28px;
    color: #111827;
}

.login-success {
    margin-bottom: 18px;
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
}

/* =========================
   HOME SALES SECTION
========================= */

.sales-cards-section {
    padding: 85px 0 70px;
    background: #ffffff;
}

.sales-cards-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.sales-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #111827;
}

.sales-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.10);
    color: #111827;
}

.sales-card-featured {
    background: linear-gradient(135deg, #ffffff 0%, #fff7fc 100%);
    border-color: #f0c3e8;
}

.sales-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #c026d3);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

.sales-badge-alt {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.sales-badge-dark {
    background: linear-gradient(135deg, #111827, #374151);
}

.sales-card h3 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.15;
    color: #111827;
}

.sales-card p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.sales-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: auto;
    padding-top: 12px;
}

.sales-price {
    font-weight: 800;
    color: #111827;
}

.sales-link {
    font-weight: 800;
    color: #c026d3;
}

/* =========================
   TRUST + CTA
========================= */

.trust-strip-section {
    padding: 20px 0 90px;
    background: #ffffff;
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 34px;
}

.trust-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    text-align: center;
}

.trust-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.trust-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #111827;
}

.trust-item p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 15px;
}

.home-cta-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #fff7fc 0%, #f8fafc 100%);
    border: 1px solid #ecd7e7;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.home-cta-content h2 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
    color: #111827;
}

.home-cta-content p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.8;
    max-width: 760px;
}

.home-cta-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {
    .footer-big-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1300px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sales-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-cta-box {
        grid-template-columns: 1fr;
    }

    .home-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .footer-pro-grid {
        grid-template-columns: 1fr 1fr;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-inner {
        flex-wrap: wrap;
    }

    .main-menu .menu {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .login-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-logo-img {
        height: 54px;
    }

    .hero-slider {
        height: 320px;
        border-radius: 14px;
    }

    .hero-slider-btn {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .hero-slider-btn.prev {
        left: 12px;
    }

    .hero-slider-btn.next {
        right: 12px;
    }

    .section-heading {
        font-size: 36px;
    }

    .section-text,
    .service-card p {
        font-size: 15px;
    }

    .about-photo {
        height: 360px;
    }

    .services-grid,
    .related-products-grid,
    .sales-cards-grid,
    .trust-strip-grid {
        grid-template-columns: 1fr;
    }

    .footer-big-grid,
    .footer-pro-grid {
        grid-template-columns: 1fr;
    }

    .footer-pro-brand {
        flex-direction: column;
    }

    .partners-title {
        font-size: 24px;
    }

    .partner-logo-item {
        width: 150px;
        height: 90px;
        padding: 12px;
    }

    .partner-logo-item img {
        max-height: 54px;
    }

    .partners-track {
        animation-duration: 35s;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-page-box {
        padding: 28px;
    }

    .service-page-title {
        font-size: 34px;
    }

    .service-page-text {
        font-size: 16px;
    }

    .main-menu {
        width: 100%;
    }

    .main-menu .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .submenu {
        position: static;
        display: flex;
        box-shadow: none;
        padding: 10px 0 0;
        min-width: auto;
        background: transparent;
    }

    .header-search {
        margin-left: 0;
    }

    .calc-title {
        font-size: 36px;
    }

    .calc-form {
        grid-template-columns: 1fr;
    }

    .calc-card,
    .calc-summary-card {
        padding: 22px;
    }

    .upit-grid {
        grid-template-columns: 1fr;
    }

    .upit-box {
        padding: 22px;
    }

    .topbar-actions {
        width: 100%;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-revenue-value {
        font-size: 28px;
    }

    .btn {
        width: 100%;
    }

    .admin-user-badge {
        width: 100%;
        justify-content: center;
    }
}