* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --heading: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --light: #f8fafc;
    --footer: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: var(--text);
    padding-top: 86px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

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

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

.nav-menu a {
    position: relative;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--primary);
}

.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-switch a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--primary);
    font-weight: 600;
}

.lang-divider {
    color: #cbd5e1;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 27px;
    color: var(--heading);
    cursor: pointer;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Home hero */
.hero {
    background: url('images/main_picture6.jpg') center 50% / cover no-repeat;
    min-height: 54vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    max-width: 900px;
    padding: 46px 30px;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}

.hero p {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 36px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}

/* Internal pages */
.page-hero {
    background: var(--light);
    border-bottom: 1px solid var(--line);
    padding: 76px 0 65px;
    text-align: center;
}

.page-hero h1 {
    font-size: 46px;
    color: var(--heading);
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 19px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-light {
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--heading);
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

/* Home info */
.info-section {
    padding: 76px 0;
    background: var(--light);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.info-text h2 {
    font-size: 36px;
    color: var(--heading);
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.info-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.quote {
    font-size: 18px;
    color: var(--heading);
    margin-top: 24px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
    font-weight: 500;
}

.info-logos {
    background: #ffffff;
    padding: 32px 20px;
    border-radius: 28px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.logos-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 28px;
    border-bottom: 2px solid var(--line);
    display: inline-block;
    padding-bottom: 8px;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: translateY(-4px);
}

.logo-link img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 20px;
    background: #ffffff;
    padding: 10px;
    border: 1px solid var(--line);
}

.logo-caption {
    display: block;
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
    max-width: 220px;
    margin: 0 auto;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}

.card h3 {
    font-size: 21px;
    color: var(--heading);
    margin-bottom: 13px;
}

.card p,
.card li {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.card ul {
    list-style: none;
}

.card li {
    padding-left: 21px;
    position: relative;
    margin-bottom: 8px;
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* CTA */
.cta {
    background: var(--primary);
    color: #ffffff;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

.cta h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 28px;
    line-height: 1.6;
    font-size: 17px;
    color: #dbeafe;
}

/* Form */
.form-wrap {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    color: var(--heading);
    background: #ffffff;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.18);
    border-color: var(--primary);
}

.form-note {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.5;
    font-size: 13px;
}

.form-actions {
    margin-top: 27px;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-card {
    background: var(--light);
    border-radius: 22px;
    padding: 36px;
}

.contact-row {
    margin-bottom: 25px;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-row h3 {
    font-size: 15px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.contact-row a,
.contact-row p {
    font-size: 19px;
    color: var(--heading);
    text-decoration: none;
    line-height: 1.5;
}

.contact-row a:hover {
    color: var(--primary);
}

.map-placeholder {
    min-height: 420px;
    border-radius: 22px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    color: var(--muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--footer);
    color: #cbd5e1;
    padding: 40px 0 24px;
    text-align: center;
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
    body {
        padding-top: 78px;
    }
    .container {
        padding: 0 22px;
    }
    .menu-toggle {
        display: block;
    }
    .header .container {
        flex-wrap: wrap;
    }
    .nav-menu {
        display: none;
        flex-basis: 100%;
        order: 4;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 10px;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu a {
        padding: 13px 0;
        border-top: 1px solid var(--line);
    }
    .nav-menu a.active::after {
        display: none;
    }
    .info-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .info-logos {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .logo-area img {
        width: 165px;
    }
    .lang-switch {
        margin-left: auto;
    }
    .hero h1 {
        font-size: 35px;
    }
    .hero p {
        font-size: 18px;
    }
    .page-hero {
        padding: 54px 0;
    }
    .page-hero h1 {
        font-size: 34px;
    }
    .info-text h2,
    .section-title {
        font-size: 29px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-wrap,
    .cta,
    .contact-card {
        padding: 27px 20px;
    }
}

/* PDF-based home page content */
.eyebrow {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-pdf .hero-content {
    max-width: 980px;
}

.hero-pdf .hero-eyebrow {
    color: #bfdbfe;
    font-size: 14px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-pdf .hero-description {
    max-width: 790px;
    margin: 0 auto 36px;
}

.section-title-left {
    max-width: 700px;
    text-align: left;
    margin-bottom: 46px;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-service-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px 32px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.service-number {
    display: block;
    margin-bottom: 26px;
    color: #94a3b8;
    font-size: 50px;
    line-height: 1;
    font-weight: 600;
}

.home-service-card h3 {
    color: var(--heading);
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 11px;
}

.home-service-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 17px;
}

.home-service-card .service-subtitle {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 24px;
}

.text-link {
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--primary);
}

.text-link:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.home-contact-cta .cta h2 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 980px) {
    .home-service-grid {
        grid-template-columns: 1fr;
    }
    .home-service-card {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    .hero-pdf .hero-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .section-title-left {
        margin-bottom: 34px;
    }
    .home-service-card {
        padding: 27px 21px;
    }
    .service-number {
        font-size: 42px;
        margin-bottom: 20px;
    }
}
