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

:root {
    --primary: #1a365d;
    --primary-light: #2d4a7c;
    --accent: #e63946;
    --accent-hover: #c1121f;
    --neutral-dark: #1d1d1d;
    --neutral-mid: #4a4a4a;
    --neutral-light: #f8f9fa;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-mid);
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Asymmetric */
.hero-asymmetric {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--neutral-light) 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
}

.hero-asymmetric::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: var(--primary);
    transform: rotate(-12deg);
    opacity: 0.04;
}

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

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--accent);
    display: block;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--neutral-mid);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transform: rotate(3deg);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--accent);
    border-radius: 16px;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

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

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230,57,70,0.3);
}

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

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

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

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

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

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

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

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

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-mid);
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

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

/* Offset Layout */
.offset-layout {
    display: flex;
    gap: 80px;
    align-items: center;
}

.offset-layout.reverse {
    flex-direction: row-reverse;
}

.offset-content {
    flex: 1;
}

.offset-visual {
    flex: 1;
    position: relative;
}

.offset-image {
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    transform: translateX(40px);
}

.offset-layout.reverse .offset-image {
    transform: translateX(-40px);
}

/* Feature Cards */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--neutral-mid);
    font-size: 0.95rem;
}

/* Service Cards */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 320px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--neutral-mid);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

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

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

.service-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

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

.testimonial-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--neutral-mid);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neutral-light);
}

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

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--neutral-mid);
}

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

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

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

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

.stat-label {
    font-size: 1rem;
    color: var(--neutral-mid);
}

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

/* Contact Form */
.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-label {
    font-size: 0.85rem;
    color: var(--neutral-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

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

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

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

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

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

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

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

.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-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--neutral-dark);
    color: var(--white);
    padding: 20px 24px;
    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: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

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

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

.sticky-cta .btn {
    box-shadow: var(--shadow-medium);
    padding: 16px 28px;
}

/* Thanks Page */
.thanks-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--neutral-light) 0%, #e8eef5 100%);
}

.thanks-card {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    max-width: 600px;
    box-shadow: var(--shadow-medium);
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

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

.thanks-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-text {
    font-size: 1.1rem;
    color: var(--neutral-mid);
    margin-bottom: 32px;
    line-height: 1.8;
}

.thanks-service {
    background: var(--neutral-light);
    padding: 16px 24px;
    border-radius: 10px;
    margin-bottom: 32px;
    font-weight: 600;
    color: var(--primary);
}

/* About Page */
.about-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Page Header Generic */
.page-header {
    padding: 140px 0 60px;
    background: var(--neutral-light);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

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

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

.legal-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 16px;
}

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

.legal-content p {
    color: var(--neutral-mid);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    color: var(--neutral-mid);
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

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

.timeline-year {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-text {
    color: var(--neutral-mid);
    line-height: 1.7;
}

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

.team-card {
    flex: 1 1 calc(25% - 23px);
    min-width: 240px;
    text-align: center;
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--neutral-light);
    box-shadow: var(--shadow-soft);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

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

    .hero-text {
        padding-right: 0;
    }

    .hero-desc {
        margin: 0 auto 36px;
    }

    .btn-group {
        justify-content: center;
    }

    .hero-image-wrapper {
        transform: rotate(0);
        max-width: 500px;
        margin: 0 auto;
    }

    .offset-layout,
    .offset-layout.reverse {
        flex-direction: column;
    }

    .offset-image {
        transform: none;
        max-width: 100%;
    }

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

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-soft);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 70px 0;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

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

    .stats-grid {
        gap: 40px;
    }

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

    .sticky-cta {
        right: 16px;
        bottom: 80px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .nav-cta {
        display: none;
    }

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