* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0d1117;
    --surface: #0f172a;
    --card: #111827;
    --primary: #1d4ed8;
    --primary-strong: #0a369d;
    --accent: #e63946;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --gradient: linear-gradient(135deg, #0a369d 0%, #1d4ed8 45%, #e63946 100%);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(8, 12, 20, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--text);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0a369d 0%, #1d4ed8 45%, #e63946 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 26px rgba(230, 57, 70, 0.35);
}

.logo-text {
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0.2rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 5rem;
    overflow: hidden;
    background: url('img/hero-prfv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b0f1a;
}

.hero-content {
    position: relative;
    max-width: 900px;
    text-align: center;
    z-index: 1;
    display: grid;
    gap: 1.25rem;
    animation: rise 0.8s ease;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #f8fafc;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.subtitle {
    color: #d1d5db;
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    gap: 0.5rem;
}

.btn.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(230, 57, 70, 0.35);
}

.btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #e5e7eb;
}

.btn.ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.metric {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #f8fafc;
}

.metric-label {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
}

.section {
    padding: 5rem 1.5rem;
    position: relative;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    display: grid;
    gap: 0.6rem;
}

.eyebrow {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #f8fafc;
}

.lead {
    color: var(--muted);
    font-size: 0.95rem;
}

.services {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: 180px 1fr;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.service-media {
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

.service-body {
    padding: 1.4rem;
    display: grid;
    gap: 0.6rem;
}

.service-body h3 {
    font-size: 1.1rem;
    color: #e2e8f0;
}

.service-body p {
    color: #94a3b8;
    font-size: 0.98rem;
}

.service-list {
    margin-top: 0.25rem;
    display: grid;
    gap: 0.35rem;
    color: #b8c1cc;
    font-weight: 600;
    font-size: 0.95rem;
    padding-left: 1.1rem;
    list-style: disc;
}

.service-actions {
    margin-top: 0.8rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.2px;
}

.service-link::after {
    content: '→';
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.service-link:hover::after {
    transform: translateX(3px);
}


.about {
    position: relative;
    background: url('img/about-new-2024.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-text {
    white-space: pre-line;
    color: #cdd5e0;
    font-size: 1rem;
    line-height: 1.8;
    padding: 1.5rem;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.35rem;
}

.stat-label {
    color: #a6b1c0;
    font-weight: 600;
}

.contact {
    background: radial-gradient(circle at 20% 20%, rgba(29, 78, 216, 0.08), transparent 35%),
                radial-gradient(circle at 75% 0%, rgba(230, 57, 70, 0.08), transparent 30%),
                var(--bg);
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 1.5rem;
}

.contact-info {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.info-item i {
    font-size: 1.1rem;
    color: var(--accent);
    background: rgba(230, 57, 70, 0.12);
    padding: 0.8rem;
    border-radius: 10px;
}

.info-item .label {
    color: #cbd5e1;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.info-item a {
    color: #e2e8f0;
    font-weight: 600;
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    font-weight: 700;
    color: #e5e7eb;
}

.field input,
.field textarea {
    background: #0c1220;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: #f8fafc;
    font-family: inherit;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.helper {
    color: var(--muted);
    font-weight: 600;
}

.footer {
    background: #0b0f1a;
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem 1.5rem;
}

.footer-top {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.footer-text {
    color: var(--muted);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    font-weight: 700;
    color: #e5e7eb;
}

.footer-links a:hover {
    color: var(--accent);
}

.social {
    display: flex;
    gap: 0.75rem;
}

.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social a:hover {
    background: var(--gradient);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    color: var(--muted);
    font-weight: 600;
}

/* Service detail pages */
.page {
    background: var(--bg);
    color: var(--text);
}

.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 4rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b0f1a;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
}

.page-hero .hero-content {
    max-width: 820px;
}

.breadcrumb {
    position: absolute;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    color: #cbd5e1;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: #e5e7eb;
}

.page-section {
    padding: 4rem 1.5rem;
    position: relative;
}

.page-section .section-header {
    margin-bottom: 2rem;
}

.page-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.detail-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.6rem;
}

.detail-card h3 {
    color: #f8fafc;
    font-size: 1.05rem;
}

.detail-card p {
    color: #aeb9c7;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.35);
    color: #f8fafc;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.process-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.process-step .label {
    display: inline-block;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.process-step h3 {
    color: #e2e8f0;
    margin-bottom: 0.4rem;
}

.process-step p {
    color: #9fb0c2;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: #f1f5f9;
    margin-bottom: 0.35rem;
}

.faq-item p {
    color: #9fb0c2;
}

.cta-box {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(10, 54, 157, 0.75), rgba(29, 78, 216, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    display: grid;
    gap: 0.5rem;
}

.cta-box h3 {
    color: #f8fafc;
    font-size: 1.4rem;
}

.cta-box p {
    color: #dbeafe;
}

.cta-box .hero-actions {
    margin-top: 0.4rem;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        background-attachment: scroll;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: none !important;
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    .nav-menu {
        position: absolute;
        top: 72px;
        right: 1rem;
        left: 1rem;
        background: #0f172a;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .lang-switch {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }

    .hero {
        padding-top: 5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding-top: 4.5rem;
        min-height: 55vh;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.5rem 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-metrics {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .page-section {
        padding: 3rem 1.1rem;
    }

    .page-grid,
    .process-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        left: 1.1rem;
        right: 1.1rem;
        transform: none;
        justify-content: center;
    }
}
