:root {
    --primary: #1a5f7a;
    --primary-dark: #134b61;
    --secondary: #e8a838;
    --accent: #2d9596;
    --text-dark: #1e2a38;
    --text-light: #5a6670;
    --bg-light: #f8fafb;
    --bg-cream: #faf7f2;
    --white: #ffffff;
    --border: #e1e5e9;
    --shadow: rgba(26, 95, 122, 0.08);
    --shadow-strong: rgba(26, 95, 122, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-bar {
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ad-disclosure {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-contact span {
    opacity: 0.85;
}

header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.25s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.25s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary);
}

nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 680px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #d4962e;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 168, 56, 0.35);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

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

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

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section {
    padding: 80px 0;
}

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

.section-cream {
    background: var(--bg-cream);
}

.section-dark {
    background: var(--text-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.75);
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.intro-block {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    min-width: 320px;
}

.intro-text h2 {
    font-size: 34px;
    margin-bottom: 18px;
    color: var(--text-dark);
    line-height: 1.25;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 17px;
}

.intro-image {
    flex: 1;
    min-width: 320px;
    background-color: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    min-height: 320px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 260px;
    background: var(--white);
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.service-card {
    flex: 1 1 calc(33.333% - 28px);
    min-width: 300px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px var(--shadow-strong);
}

.service-card-image {
    height: 200px;
    background-color: var(--accent);
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 26px;
}

.service-card-body h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card-body p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 18px;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.price-note {
    font-size: 13px;
    color: var(--text-light);
}

.testimonials {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 72px;
    color: var(--secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial p {
    font-size: 16px;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-light);
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
}

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

.cta-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 320px;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 17px;
}

.about-image {
    flex: 1;
    min-width: 320px;
    background-color: var(--primary);
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 6px;
}

.contact-layout {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-form-wrap {
    flex: 1.2;
    min-width: 320px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 40px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 17px;
}

footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col:first-child {
    flex: 1.5;
    min-width: 280px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-col > p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: color 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

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

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 44px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.85;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.legal-content ul {
    color: var(--text-light);
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.thanks-content {
    max-width: 550px;
}

.thanks-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: var(--white);
    font-size: 42px;
}

.thanks-content h1 {
    font-size: 38px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.thanks-content p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 12px;
}

.thanks-content .service-selected {
    background: var(--bg-light);
    padding: 16px 24px;
    border-radius: 8px;
    margin: 24px 0;
    font-weight: 600;
    color: var(--primary);
}

.thanks-content .btn {
    margin-top: 20px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.cookie-text a {
    color: var(--secondary);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.cookie-accept {
    background: var(--secondary);
    color: var(--text-dark);
}

.cookie-accept:hover {
    background: #d4962e;
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

.disclaimer {
    background: var(--bg-cream);
    padding: 24px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid var(--secondary);
}

.disclaimer p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.team-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    font-weight: 600;
}

.team-member h3 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-member span {
    font-size: 14px;
    color: var(--text-light);
}

.values-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.value-item {
    flex: 1;
    min-width: 220px;
    padding: 28px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px var(--shadow);
}

.value-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-light);
    font-size: 15px;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 15px;
}

@media (max-width: 900px) {
    .header-inner {
        padding: 14px 0;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 16px;
        box-shadow: 0 10px 30px var(--shadow);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .cta-banner h2 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .section {
        padding: 50px 0;
    }

    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
}
