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

:root {
    --primary: #1a5f7a;
    --secondary: #2d8ca8;
    --accent: #f4a261;
    --text: #2c3e50;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

.ad-notice {
    background: #fffbea;
    padding: 8px 20px;
    text-align: center;
    font-size: 12px;
    color: #856404;
    border-bottom: 1px solid #ffeeba;
}

.main-nav {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero-card {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-content-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hero-image-wrapper {
    width: 100%;
    height: 400px;
    background-color: #d4e8ed;
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    padding: 50px 40px;
    text-align: center;
}

.hero-text h1 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e89350;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.section-cards {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-image-wrapper {
    width: 100%;
    height: 220px;
    background-color: #d4e8ed;
    overflow: hidden;
}

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

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-content p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.card-button:hover {
    background: var(--primary);
}

.info-section {
    background: var(--light);
    padding: 80px 20px;
    margin: 60px 0;
}

.info-container {
    max-width: 1000px;
    margin: 0 auto;
}

.info-cards-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.info-text-card {
    flex: 1 1 450px;
}

.info-text-card h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
}

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

.secondary-card {
    flex: 1 1 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.secondary-card h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.secondary-card ul {
    list-style: none;
    padding: 0;
}

.secondary-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.secondary-card li:last-child {
    border-bottom: none;
}

.form-section {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 20px;
}

.form-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.form-card h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

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

.submit-button {
    background: var(--accent);
    color: var(--white);
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #e89350;
    transform: translateY(-2px);
}

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 20px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-info-card {
    flex: 1 1 400px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info-card h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    font-size: 15px;
    line-height: 1.6;
}

.legal-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-content {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.legal-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 25px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1 1 400px;
    font-size: 14px;
}

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

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

.cookie-accept,
.cookie-reject {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.cookie-accept:hover {
    background: var(--primary);
}

.cookie-reject {
    background: var(--border);
    color: var(--text);
}

.cookie-reject:hover {
    background: #c0c0c0;
}

.thanks-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.thanks-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.thanks-icon {
    font-size: 72px;
    color: var(--accent);
    margin-bottom: 30px;
}

.thanks-card h1 {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 20px;
}

.thanks-card p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

.reference-list {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.reference-list h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.reference-list ol {
    text-align: left;
    margin-left: 20px;
}

.reference-list li {
    margin-bottom: 8px;
}

.reference-list a {
    color: var(--secondary);
    text-decoration: none;
}

.reference-list a:hover {
    text-decoration: underline;
}

.citation {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    vertical-align: super;
}

.citation:hover {
    text-decoration: underline;
}

.disclaimer-section {
    background: #fff9f0;
    border-left: 4px solid var(--accent);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.disclaimer-section h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.disclaimer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .info-cards-wrapper {
        gap: 30px;
    }

    .footer-container {
        gap: 30px;
    }

    .contact-grid {
        gap: 30px;
    }

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

    .cookie-buttons {
        justify-content: center;
    }
}
