/* ============================================
   IT Podrška Beograd   Minimal & Professional
   Bez kartica. Bez gradienta. Bez prozirnosti.
   ============================================ */

/* --- Variables --- */
:root {
    --bg: #ffffff;
    --bg-alt: #f0f2f5;
    --text: #18181b;
    --text-light: #52525b;
    --text-muted: #a1a1aa;
    --border: #e4e4e7;
    --border-dark: #27272a;
    --accent: #0E0117;
    --accent-dark: #0a1529;
    --accent-light: #e8ecf1;
    --radius: 12px;
    --header-height: 64px;
    --max-width: 1100px;
}

/* --- Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    overflow-x: hidden;
}

body {
    font-family: 'Ubuntu', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: #0E0117;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 200px;
    display: block;
}

@media (max-width: 767px) {
    .logo img {
        height: 38px;
        max-width: 170px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #a1a1aa;
    transition: color .15s;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    transition: .2s;
}

.hamburger { position: relative; }
.hamburger::before,
.hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* --- Typography --- */
.section-header {
    max-width: 720px;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: .15s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-primary:hover {
    background: var(--bg);
    color: var(--text);
}

.hero .btn-primary {
    background: #89C1F9;
    color: #0a1529;
    border-color: #89C1F9;
}

.hero .btn-primary:hover {
    background: transparent;
    color: #89C1F9;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- Hero --- */
.hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 120px);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 62%;
    padding-right: 40px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    opacity: 1;
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 28px;
    max-width: none;
}

.text-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(17px, 1.8vw, 20px);
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: none;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 560px;
    line-height: 1.5;
}

.hero-badge i {
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-badge strong {
    color: var(--text);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-lead {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 64px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
}

.feature-card {
    padding: 0;
    background: transparent;
    border: none;
}

.feature-icon {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 20px;
    width: auto;
    height: auto;
    background: none;
    display: block;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card-inner {
    padding: 28px;
    border: 1px solid #B8D8FC;
    border-radius: var(--radius);
    background: #C5E1FB;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: border-color .2s, background .2s;
}

.service-card-inner:hover {
    border-color: #89C1F9;
    background: #B8D8FC;
}

.service-card-inner .btn-small {
    margin-top: auto;
}

/* Highlighted service (free audit) */
.services-highlight {
    margin-top: 48px;
}

.service-highlight-card .service-card-inner {
    border-color: #0E0117;
    background: #0E0117;
    position: relative;
    overflow: hidden;
}

.service-highlight-card .service-card-inner::before {
    content: none;
}

.card-3d-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--radius);
}

.card-3d-bg canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.service-highlight-card .service-card-inner:hover {
    background: #0E0117;
    border-color: #0E0117;
}

.service-highlight-card .service-card-inner > *:not(.card-3d-bg) {
    position: relative;
    z-index: 1;
}

.service-highlight-card .service-card-inner {
    text-align: left;
}

.service-highlight-card .service-icon {
    justify-content: flex-start;
    color: var(--bg);
}

.service-highlight-card .service-title,
.service-highlight-card .service-desc,
.service-highlight-card .service-list li {
    color: var(--bg);
}

.service-highlight-card .service-list i {
    color: var(--bg);
}

.service-highlight-card .btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    margin-top: auto;
}

.service-highlight-card .btn-secondary:hover {
    background: #fff;
    color: var(--accent);
    border-color: #fff;
}

.service-highlight-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bg);
    margin-bottom: 20px;
    padding: 6px 12px;
    border: 1px solid var(--bg);
    border-radius: var(--radius);
    background: transparent;
    width: fit-content;
}

.service-highlight-label i {
    font-size: 14px;
}

.service-icon {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--accent);
    font-size: 36px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 16px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.service-list i {
    color: var(--accent);
    font-size: 12px;
}

/* --- Specialized --- */
.specialized {
    padding: 100px 0;
    background-color: #0E0117;
    background-image: url('../images/test.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.specialized .section-tag {
    color: rgba(255,255,255,0.6);
}

.specialized .section-title {
    color: #fff;
}

.specialized .section-desc {
    color: rgba(255,255,255,0.75);
}

.spec-divider {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 64px auto;
    max-width: 200px;
}

.spec-block {
    max-width: 960px;
    margin: 0 auto;
    background: #b84a2d;
    border-radius: var(--radius);
    padding: 52px 56px;
    position: relative;
    overflow: hidden;
}

.spec-block + .spec-block {
    margin-top: 128px;
}

.spec-cisco-block {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-radius: var(--radius);
    padding: 52px 56px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.15),
        0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.spec-cisco-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

.spec-cisco-block > * {
    position: relative;
    z-index: 1;
}

.spec-fortinet-block {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-radius: var(--radius);
    padding: 52px 56px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.15),
        0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.spec-fortinet-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

.spec-fortinet-block > * {
    position: relative;
    z-index: 1;
}

.spec-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.25);
}

.spec-block-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.spec-block-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.spec-block-title h3 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.spec-block-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    line-height: 1.6;
}

.spec-block-intro {
    margin-bottom: 36px;
}

.specialized .spec-block-intro p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
}

.specialized .spec-block-intro strong {
    color: #fff;
}

.spec-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    margin-bottom: 36px;
}

.spec-block-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.spec-block-item h4 i {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.spec-block-item p {
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    font-size: 15px;
}

.spec-block-footer {
    padding-top: 4px;
}

.specialized .btn-secondary {
    background: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 600;
}

.specialized .btn-secondary:hover {
    background: rgba(255,255,255,0.9);
    color: #000;
    border-color: #fff;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background-color: #0E0117;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--bg);
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cta-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 18px;
    opacity: .85;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: var(--bg);
    color: var(--accent);
    border-color: var(--bg);
}

.cta .btn-primary:hover {
    background: transparent;
    color: var(--bg);
    border-color: var(--bg);
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Form */
.contact-form-wrapper {
    background: var(--bg);
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.required { color: #dc2626; margin-left: 2px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fafafa;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    transition: all .15s;
}

.form-group input {
    height: 52px;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:hover,
.form-group textarea:hover {
    background: #f5f5f5;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--bg);
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: 15px;
}

.error-message {
    display: block;
    font-size: 13px;
    color: #dc2626;
    margin-top: 6px;
    min-height: 18px;
    font-weight: 500;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
    background: #fef2f2;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 4px;
    height: 56px;
}

.contact .btn-submit {
    background: #0E0117;
    color: #fff;
    border-color: #0E0117;
    box-shadow: 0 4px 14px rgba(14,1,23,0.3);
    transition: all 0.2s ease;
}

.contact .btn-submit:hover {
    background: #1a0230;
    border-color: #1a0230;
    color: #fff;
    box-shadow: 0 6px 20px rgba(14,1,23,0.45);
    transform: translateY(-1px);
}

.form-status {
    margin-top: 20px;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
    line-height: 1.5;
    border-radius: var(--radius);
}

.form-status.success {
    display: block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --- Footer --- */
.footer {
    background: #0E0117;
    color: var(--text-muted);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer .logo {
    color: var(--bg);
    margin-bottom: 16px;
}

.footer-desc {
    line-height: 1.7;
    max-width: 280px;
    font-size: 15px;
}

.footer-title {
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color .15s;
}

.footer a:hover {
    color: var(--bg);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.footer-contact li span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact li span a {
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.footer-contact i {
    color: var(--text-muted);
    font-size: 13px;
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: left;
    font-size: 14px;
    color: #71717a;
}

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--text);
    color: var(--bg);
    border: 1px solid var(--text);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .2s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bg);
    color: var(--text);
}

/* --- Fade in animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s, transform .5s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .spec-block-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #0E0117;
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + 32px) 28px 28px;
        gap: 0;
        transition: right .25s;
        box-shadow: none;
        border-left: 1px solid rgba(255,255,255,0.08);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-link {
        padding: 16px 0;
        font-size: 17px;
        color: #ffffff;
    }

    .hero {
        padding: calc(var(--header-height) + 24px) 0 48px;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        text-align: center;
        gap: 0;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 280px;
        z-index: 1;
        margin-bottom: 28px;
        pointer-events: auto;
        order: 1;
    }

    .hero-image img {
        max-height: 240px;
        opacity: 1;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 16px;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
        max-width: 100%;
        padding: 0 8px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 10px 14px;
        margin-bottom: 24px;
        text-align: left;
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
        width: 100%;
        gap: 24px;
        padding: 16px 0;
        border-top: 1px solid var(--border);
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 48px;
        padding: 0 8px;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 32px);
    }

    .section-desc {
        font-size: 16px;
    }

    .about, .services, .specialized, .cta, .contact {
        padding: 64px 0;
    }

    .about-lead {
        text-align: center;
        margin-bottom: 48px;
        font-size: 18px;
    }

    .about-features {
        gap: 36px;
    }

    .feature-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services-highlight {
        margin-top: 32px;
    }

    .service-card-inner {
        padding: 24px 16px;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 16px;
    }

    .service-list {
        align-items: center;
    }

    .spec-block {
        padding: 36px 24px;
        border-radius: 10px;
    }

    .spec-block + .spec-block {
        margin-top: 96px;
    }

    .spec-block-title {
        justify-content: center;
        text-align: center;
    }

    .spec-block-subtitle {
        text-align: center;
    }

    .spec-block-intro {
        text-align: center;
    }

    .spec-block-item {
        text-align: center;
    }

    .spec-block-item h4 {
        justify-content: center;
    }

    .spec-block-footer {
        text-align: center;
    }

    .spec-divider {
        margin: 48px auto;
    }

    .contact-grid {
        gap: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .cta-title {
        font-size: clamp(24px, 6vw, 30px);
    }

    .cta-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card-inner {
        padding: 28px 20px;
    }
}

/* --- Tables --- */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.data-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}

.data-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    border-bottom: 2px solid var(--border-dark);
    background: var(--bg-alt);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    vertical-align: top;
}

.data-table tbody tr:hover {
    background: var(--bg-alt);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767px) {
    .table-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
    }
    .data-table {
        min-width: 560px;
        font-size: 14px;
    }
    .data-table thead th,
    .data-table tbody td {
        padding: 12px 14px;
    }
}

/* ============================================
   Sub-page Hero & service page typography
   ============================================ */
.subpage-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 60px) 0 60px;
}

.subpage-hero .hero-content {
    width: 100%;
    max-width: 800px;
}

.subpage-hero .hero-title {
    font-size: clamp(32px, 5vw, 52px);
}

.spec-block-intro-top {
    margin-top: 64px;
}

.spec-block-text {
    font-size: 18px;
    color: var(--text);
    line-height: 1.75;
}

.spec-block-text + .spec-block-text {
    margin-top: 24px;
}

/* Blog / Article pages */

.blog-body {
    background: var(--bg);
}

.blog-body main {
    padding-top: calc(var(--header-height) + 32px);
}

.blog-article {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.blog-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-meta a {
    color: var(--accent);
    font-weight: 600;
}

.blog-meta a:hover {
    text-decoration: underline;
}

.blog-title {
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 16px;
}

.blog-lead {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 640px;
}

.blog-content h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 56px;
    margin-bottom: 20px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-content p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 20px;
}

.blog-content p strong {
    color: var(--text);
    font-weight: 600;
}

.blog-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
}

.blog-content ul li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-content ul li::marker {
    color: var(--accent);
}

/* Blog table */
.blog-table-wrap {
    margin: 32px -24px 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px;
}

.blog-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.55;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.blog-table thead {
    background: var(--accent);
}

.blog-table thead th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    border-bottom: none;
    white-space: nowrap;
}

.blog-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.blog-table tbody tr:last-child {
    border-bottom: none;
}

.blog-table tbody tr:nth-child(even) {
    background: var(--bg-alt);
}

.blog-table tbody td {
    padding: 16px 18px;
    color: var(--text-light);
    vertical-align: top;
}

.blog-table tbody td:first-child {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* Blog CTA box */
.blog-cta {
    margin: 56px 0 48px;
    padding: 32px;
    background: var(--accent);
    border-radius: var(--radius);
    color: #fff;
}

.blog-cta h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #fff;
    border: none;
    padding: 0;
    margin-top: 0;
}

.blog-cta p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}

.blog-cta .btn {
    margin-top: 20px;
    background: #fff;
    color: var(--accent);
    border-color: #fff;
    font-weight: 600;
}

.blog-cta .btn:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* Back link */
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color .15s;
}

.blog-back:hover {
    color: var(--text);
}

/* Mobile blog */
@media (max-width: 767px) {
    .blog-article {
        padding: 24px 20px 56px;
    }

    .blog-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .blog-title {
        font-size: clamp(26px, 7vw, 32px);
    }

    .blog-lead {
        font-size: 17px;
    }

    .blog-content h2 {
        font-size: 22px;
        margin-top: 40px;
    }

    .blog-content h3 {
        font-size: 18px;
    }

    .blog-content p,
    .blog-content ul li {
        font-size: 16px;
    }

    .blog-table-wrap {
        margin: 24px -20px 32px;
        padding: 0 20px;
    }

    .blog-table {
        min-width: 560px;
        font-size: 14px;
    }

    .blog-table thead th,
    .blog-table tbody td {
        padding: 12px 14px;
    }

    .blog-cta {
        padding: 24px;
        margin: 40px 0 32px;
    }

    .blog-cta h2 {
        font-size: 20px;
    }

    .blog-cta p {
        font-size: 15px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
