@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #6589b0;
    --color-primary-dark: #4a6a8c;
    --color-primary-light: #e8eef5;
    --color-accent: #095071;
    --color-bg: #ffffff;
    --color-bg-alt: #f0f4f8;
    --color-bg-nav: #f8f9fa;
    --color-text: #2c3e50;
    --color-text-muted: #5a6a7a;
    --color-footer-bg: rgba(44, 62, 80, 0.9);
    --color-footer-text: #ecf0f1;
    --color-border: #dde4ed;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --nav-height: 72px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
    --radius: 8px;
    --radius-lg: 14px;
    --transition: 0.28s ease;
    --max-content: 1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-text);
    line-height: 1.25;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: var(--nav-height);
    background-color: var(--color-bg-nav);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar__logo {
    width: 60px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar__links a {
    padding: 8px 14px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--color-bg-nav);
    border-top: 1px solid var(--color-border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 12px 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--color-primary);
}

.page-hero {
    background: linear-gradient(135deg, var(--color-bg-alt) 60%, var(--color-primary-light) 100%);
    padding: 64px 40px 56px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-accent);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 72px 40px;
    max-width: var(--max-content);
    margin: 0 auto;
}

.section--full {
    padding: 72px 40px;
    background: var(--color-bg-alt);
}

.section--full .section__inner {
    max-width: var(--max-content);
    margin: 0 auto;
}

.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 24px;
    color: var(--color-accent);
}

.section__title--center {
    text-align: center;
}

.section__text {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section__text--left {
    margin: 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.two-col img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.two-col--img-right img {
    order: 2;
}

.two-col--img-right .two-col__text {
    order: 1;
}

.feature-list {
    list-style: none;
    margin-top: 16px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--color-text-muted);
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.card p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.img-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.img-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.sidebar-layout {
    display: flex;
    gap: 0;
    min-height: calc(100vh - var(--nav-height));
}

.sidebar {
    width: 200px;
    flex-shrink: 0;
    padding: 32px 20px;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}

.sidebar__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.sidebar__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar__nav a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    line-height: 1.4;
}

.sidebar__nav a:hover {
    background: var(--color-primary-light);
    color: var(--color-accent);
}

.sidebar-content {
    flex: 1;
    min-width: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    text-align: center;
}

.contact-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.contact-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
}

.contact-item span {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.privacy-section {
    padding: 40px;
    border-bottom: 1px solid var(--color-border);
}

.privacy-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.privacy-section p {
    color: var(--color-text-muted);
    font-size: 15px;
    max-width: 820px;
    line-height: 1.85;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    overflow: hidden;
}

.privacy-table th {
    background: var(--color-accent);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.privacy-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.privacy-table tr:last-child td {
    border-bottom: none;
}

.privacy-table tr:nth-child(even) td {
    background: var(--color-bg-alt);
}

.privacy-table ul {
    padding-left: 20px;
    margin: 6px 0;
}

.privacy-table li {
    margin-bottom: 4px;
}

.rights-list {
    list-style: none;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rights-list li {
    padding: 10px 16px;
    background: var(--color-primary-light);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 48px 40px 32px;
    margin-top: 80px;
}

.footer__inner {
    max-width: var(--max-content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.footer__logo {
    width: 70px;
}

.footer__info {
    font-size: 14px;
    line-height: 2;
}

.footer__info strong {
    color: #fff;
}

.footer__info a {
    color: var(--color-primary-light);
}

.footer__bottom {
    max-width: var(--max-content);
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-align: center;
}

@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
    }

    .navbar__links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .two-col img {
        height: 240px;
    }

    .two-col--img-right img {
        order: 0;
    }

    .two-col--img-right .two-col__text {
        order: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .img-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
    }

    .sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .rights-list {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .privacy-section {
        padding: 28px 24px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 48px 20px 40px;
    }

    .section {
        padding: 48px 20px;
    }

    .section--full {
        padding: 48px 20px;
    }

    .img-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 40px 20px 24px;
    }
}