:root {
    --primary: #002164;
    --primary-dark: #001540;
    --accent: #C5A059;
    --accent-hover: #b08d4b;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}
.btn--primary { background-color: var(--accent); color: var(--bg-white); border-color: var(--accent); }
.btn--primary:hover { background-color: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background-color: transparent; color: var(--bg-white); border-color: var(--bg-white); }
.btn--outline:hover { background-color: var(--bg-white); color: var(--primary); }
.btn--full { width: 100%; }

.section { padding: 5rem 0; }
.section--light { background-color: var(--bg-light); }
.section--dark { background-color: var(--primary); color: var(--bg-white); }
.section--dark h2, .section--dark p { color: var(--bg-white); }

.section-header { max-width: 800px; margin: 0 auto 3rem; }
.text-center { text-align: center; }
.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.text-accent { color: var(--accent) !important; }
.section-divider { width: 60px; height: 4px; background-color: var(--accent); margin: 1rem auto 0; border-radius: 2px; }

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.top-bar { background-color: var(--primary-dark); color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; padding: 0.5rem 0; }
.top-bar__content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.top-bar__info a, .top-bar__social a { color: rgba(255, 255, 255, 0.8); margin-right: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.top-bar__info a:hover, .top-bar__social a:hover { color: var(--accent); }

.main-header { background-color: var(--bg-white); position: sticky; top: 0; z-index: 1000; transition: var(--transition); border-bottom: 1px solid var(--border-color); }
.main-header.is-sticky { box-shadow: var(--shadow-md); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-list { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--text-dark); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background-color: var(--accent); }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; background-color: var(--bg-white);
    min-width: 220px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--accent);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition);
    border-radius: 0 0 4px 4px; z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 0.75rem 1.25rem; font-size: 0.9rem; color: var(--text-dark); border-bottom: 1px solid var(--border-color); }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background-color: var(--bg-light); color: var(--primary); padding-left: 1.5rem; }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-toggle span { width: 25px; height: 3px; background-color: var(--primary); border-radius: 2px; }

.hero-section { position: relative; height: 85vh; min-height: 600px; display: flex; align-items: center; color: var(--bg-white); overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 33, 100, 0.9) 0%, rgba(0, 33, 100, 0.6) 100%); z-index: -1; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-block; background-color: var(--accent); color: var(--bg-white); padding: 0.5rem 1rem; font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; margin-bottom: 1.5rem; }
.hero-section h1 { font-size: 3.5rem; color: var(--bg-white); margin-bottom: 1.5rem; line-height: 1.1; }
.hero-section p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background-color: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: var(--transition); display: flex; flex-direction: column; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-img { width: 100%; height: 200px; object-fit: cover; }
.service-card h3 { font-size: 1.25rem; margin: 1.5rem 1.5rem 0.5rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin: 0 1.5rem 1.5rem; flex-grow: 1; }
.service-card .link-arrow { margin: 0 1.5rem 1.5rem; font-family: var(--font-heading); font-weight: 600; color: var(--primary); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.service-card .link-arrow:hover { gap: 0.75rem; color: var(--accent); }

.service-card.highlight-card { background-color: var(--primary); color: var(--bg-white); border-color: var(--primary); }
.service-card.highlight-card h3, .service-card.highlight-card p, .service-card.highlight-card .link-arrow { color: var(--bg-white); }
.service-card.highlight-card .link-arrow:hover { color: var(--accent); }

.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-block h2 { font-size: 2.25rem; margin-bottom: 1rem; }
.content-block h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.content-block p { color: var(--text-light); margin-bottom: 1rem; }
.lead-text { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
.image-block img { border-radius: 8px; box-shadow: var(--shadow-lg); width: 100%; }

.about-intro { max-width: 900px; margin: 0 auto 3rem; }
.about-img { border-radius: 8px; box-shadow: var(--shadow-lg); margin-bottom: 2rem; width: 100%; }
.section-intro { font-size: 1.1rem; color: var(--text-light); }

.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.mvv-card { background-color: var(--bg-white); padding: 2rem; border-radius: 8px; border-top: 4px solid var(--accent); box-shadow: var(--shadow-sm); }
.mvv-card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.mvv-card p { color: var(--text-light); font-size: 0.95rem; }

.quality-policy { background-color: var(--bg-white); padding: 2.5rem; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.quality-policy h3 { margin-bottom: 1rem; }
.quality-policy p { margin-bottom: 1.5rem; color: var(--text-light); }

.partners-grid { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; margin-bottom: 2rem; }
.partner-img { max-height: 100px; width: auto; filter: grayscale(100%); transition: var(--transition); }
.partner-img:hover { filter: grayscale(0%); }
.certifications-img { max-width: 800px; margin: 0 auto; border-radius: 8px; box-shadow: var(--shadow-md); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.team-card { text-align: center; padding: 2rem; background-color: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 3px solid var(--accent); }
.team-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.team-role { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

.video-section { padding: 4rem 0; }
.video-popup { position: relative; display: inline-block; max-width: 900px; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-thumbnail { width: 100%; display: block; transition: var(--transition); }
.video-popup:hover .video-thumbnail { transform: scale(1.02); opacity: 0.8; }
.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; background-color: rgba(197, 160, 89, 0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2rem; padding-left: 5px; transition: var(--transition);
}
.video-popup:hover .play-button { background-color: var(--accent); transform: translate(-50%, -50%) scale(1.1); }

.contact-form-wrapper { background: var(--bg-white); padding: 2.5rem; border-radius: 8px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-input {
    width: 100%; padding: 0.875rem; border: 1px solid var(--border-color);
    border-radius: 4px; font-family: var(--font-body); font-size: 1rem;
    margin-bottom: 1rem; transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 33, 100, 0.1); }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info address { font-style: normal; line-height: 1.8; color: var(--text-light); }
.contact-info a { color: var(--primary); font-weight: 600; }
.contact-info a:hover { color: var(--accent); }

.main-footer { background-color: var(--primary-dark); color: rgba(255, 255, 255, 0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-col h4 { color: var(--bg-white); font-size: 1.1rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--accent); }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.footer-logo { margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a {
    width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--bg-white); font-weight: 700; font-size: 0.8rem;
}
.footer-social a:hover { background-color: var(--accent); }
.footer-bottom { text-align: center; padding: 1.5rem 0; font-size: 0.875rem; }

@media (max-width: 992px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 2rem; }
    .reverse-mobile { display: flex; flex-direction: column-reverse; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px);
        background-color: var(--bg-white); padding: 2rem; transform: translateX(100%);
        transition: var(--transition); overflow-y: auto; z-index: 999;
    }
    .main-nav.is-active { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; padding-left: 1.5rem; display: none; }
    .has-dropdown.active .dropdown { display: block; }
    .hero-section h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.inner-page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    overflow: hidden;
    margin-top: 0;
}

.inner-page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.inner-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 33, 100, 0.85) 0%, rgba(0, 33, 100, 0.7) 100%);
    z-index: -1;
}

.inner-page-hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.inner-page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.lead-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--accent);
}

.lead-form .form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.lead-form .form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.lead-form .form-group {
    display: flex;
    flex-direction: column;
}

.lead-form label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.lead-form .form-input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.lead-form .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 33, 100, 0.1);
}

.lead-form .form-input::placeholder {
    color: #9CA3AF;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 400px;
}

@media (max-width: 768px) {
    .lead-form .form-row-3,
    .lead-form .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .lead-form-wrapper {
        padding: 1.5rem;
    }
    
    .inner-page-hero h1 {
        font-size: 2.2rem;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.benefit-card.highlight {
    background-color: var(--primary);
    border-color: var(--primary);
}

.benefit-card.highlight h3, 
.benefit-card.highlight p, 
.benefit-card.highlight .benefit-number {
    color: var(--bg-white);
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 33, 100, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: var(--transition);
}

.benefit-card:hover .benefit-number {
    color: rgba(197, 160, 89, 0.2);
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    color: var(--primary);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.app-screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-screen-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.app-screen-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.app-screen-item img {
    width: 100%;
    max-width: 250px; 
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 768px) {
    .app-screens-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .app-screen-item img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .app-screens-grid {
        grid-template-columns: 1fr;
    }
}