:root {
    --primary: #1a3a5c;
    --secondary: #e85a1f;
    --accent: #f4a742;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    color: var(--white);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

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

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

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

/* Sections */
section {
    padding: 100px 0;
}

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

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

.section-gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    max-width: 380px;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.service-price span {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 400;
}

/* Features */
.features-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.features-row:nth-child(even) {
    flex-direction: row-reverse;
}

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

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-list li svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
    flex-shrink: 0;
}

.feature-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-image img {
    width: 100%;
    display: block;
}

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

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.section-dark .stat-number {
    color: var(--accent);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
}

.section-dark .stat-label {
    color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonials-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: var(--light-gray);
    position: absolute;
    top: 10px;
    left: 30px;
    line-height: 1;
    font-family: Georgia, serif;
}

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

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="20" y="20" width="60" height="60" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
    background-size: 150px;
}

.form-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.form-info {
    flex: 1;
    color: var(--white);
}

.form-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.form-benefits {
    list-style: none;
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.form-benefits svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
    flex-shrink: 0;
}

.form-container {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.form-container h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.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;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* CTA Sections */
.cta-section {
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

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

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

.section-dark.cta-section p {
    color: rgba(255,255,255,0.8);
}

/* About Page */
.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 100%);
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Team */
.team-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    flex: 1 1 calc(25% - 30px);
    min-width: 220px;
    max-width: 280px;
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

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

.team-member span {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Contact */
.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

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

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--gray);
}

.map-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--light-gray);
    margin-bottom: 15px;
}

/* Services Page */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-detail-card {
    display: flex;
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    align-items: center;
}

.service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--white);
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-detail-price {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-note {
    color: var(--gray);
    font-size: 0.95rem;
}

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

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

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
}

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

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

.thanks-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.thanks-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--white);
}

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

.thanks-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.selected-service {
    background: var(--light);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.selected-service span {
    color: var(--gray);
}

.selected-service strong {
    color: var(--primary);
    font-size: 1.2rem;
}

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

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

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

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

.cookie-text p {
    font-size: 0.95rem;
    opacity: 0.9;
}

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

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

.cookie-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

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

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

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sticky-cta.show {
    opacity: 1;
    visibility: visible;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.sticky-cta a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

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

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

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

.legal-content ul {
    margin: 15px 0 15px 30px;
    color: var(--gray);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 35px;
    }

    .features-row,
    .features-row:nth-child(even) {
        flex-direction: column;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .form-info {
        text-align: center;
    }

    .about-content {
        flex-direction: column;
    }

    .service-detail-card,
    .service-detail-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
}

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--light-gray);
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-grid {
        flex-direction: column;
    }

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

    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
