:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d52;
    --secondary: #4a9c6d;
    --accent: #e8b44f;
    --text: #2c3e50;
    --text-light: #5d6d7e;
    --bg-light: #f8f9fa;
    --bg-alt: #eef2f5;
    --white: #ffffff;
    --border: #d1d8de;
    --shadow: rgba(45, 90, 123, 0.12);
}

* {
    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.7;
    color: var(--text);
    background-color: var(--white);
}

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

a:hover {
    color: var(--primary-dark);
}

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

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

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

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.ad-disclosure {
    background: var(--accent);
    color: var(--text);
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 500;
}

.header-main {
    padding: 15px 0;
}

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

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

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

.main-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    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.25;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 700px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.95;
}

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

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

.btn-primary:hover {
    background: #3d8259;
    color: var(--white);
}

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

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

.btn-accent {
    background: var(--accent);
    color: var(--text);
}

.btn-accent:hover {
    background: #d4a043;
}

/* Sections */
.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.85);
}

/* Service Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--bg-alt);
}

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

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

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

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.service-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

/* Features */
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.features-content {
    flex: 1 1 400px;
}

.features-image {
    flex: 1 1 400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-alt);
    min-height: 350px;
}

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

.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 18px;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

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

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
}

.testimonial-author-info strong {
    display: block;
    color: var(--text);
}

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

/* Stats */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 5px;
}

/* Forms */
.form-section {
    background: var(--bg-light);
    padding: 60px;
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 25px var(--shadow);
}

.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: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 123, 0.15);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Contact Info */
.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-item {
    flex: 1 1 250px;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--white);
}

.contact-info-item h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Page */
.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-intro-content {
    flex: 1 1 450px;
}

.about-intro-image {
    flex: 1 1 400px;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--bg-alt);
    min-height: 400px;
}

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

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.team-member {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

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

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

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

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

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

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

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

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

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

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

.legal-content ul {
    margin: 15px 0 15px 30px;
}

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

/* Thanks Page */
.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

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

.thanks-icon {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: var(--white);
}

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

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

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

.cookie-banner.hidden {
    display: none;
}

.cookie-banner .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    flex: 1 1 400px;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner p a {
    color: var(--accent);
}

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

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cookie-btn-accept:hover {
    background: #3d8259;
}

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

.cookie-btn-reject:hover {
    border-color: var(--white);
}

/* Disclaimer */
.disclaimer {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 40px;
    border-left: 4px solid var(--accent);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: var(--bg-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--text);
    margin: 0 8px;
}

/* Page Header */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }

    .service-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-top: 1px solid var(--border);
        margin-top: 15px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

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

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

    .section {
        padding: 50px 0;
    }

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

    .form-section {
        padding: 30px 20px;
    }

    .footer-col {
        flex: 1 1 100%;
        text-align: center;
    }

    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .header-top .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        width: 100%;
    }
}
