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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2a2a2a;
    background: #fff;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal.visible {
    opacity: 1;
    pointer-events: all;
}

.cookie-box {
    background: #fff;
    padding: 2.5rem;
    max-width: 480px;
    border-radius: 2px;
}

.cookie-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cookie-box p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-box a {
    color: #2a2a2a;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-accept, .cookie-reject {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.cookie-accept {
    background: #2a2a2a;
    color: #fff;
}

.cookie-accept:hover {
    background: #1a1a1a;
}

.cookie-reject {
    background: #e8e8e8;
    color: #2a2a2a;
}

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

.floating-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2a2a2a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.ad-notice {
    font-size: 0.8rem;
    color: #666;
    padding: 0.3rem 0.8rem;
    background: #f5f5f5;
    border-radius: 2px;
}

.hero-visual {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #fff;
}

.hero-overlay h1 {
    max-width: 900px;
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 auto;
}

.stack-block {
    padding: 5rem 2rem;
}

.bg-light {
    background: #f9f9f9;
}

.bg-dark {
    background: #2a2a2a;
    color: #fff;
}

.bg-white {
    background: #fff;
}

.bg-image {
    padding: 0;
    background: #e8e8e8;
}

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

.content-narrow {
    max-width: 680px;
    margin: 0 auto;
}

.content-wide {
    max-width: 1100px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.stack-block p {
    margin-bottom: 1.3rem;
}

.stack-block h2 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.two-col-text {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.two-col-text .col {
    flex: 1;
}

.ref-link {
    color: #89cff0;
    text-decoration: none;
    border-bottom: 1px solid #89cff0;
}

.ref-link:hover {
    opacity: 0.7;
}

.testimonial-stack {
    margin-top: 2.5rem;
}

.testimonial-quote {
    border-left: 3px solid #2a2a2a;
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-quote cite {
    display: block;
    font-style: normal;
    font-size: 0.95rem;
    color: #666;
}

.services-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.service-item {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
}

.service-select-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: #fff;
    color: #2a2a2a;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.service-select-btn:hover {
    background: #e8e8e8;
}

.main-form {
    max-width: 520px;
    margin: 2.5rem auto 0;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #d0d0d0;
    font-size: 1rem;
    font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #2a2a2a;
}

.form-row input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
}

.form-submit-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: #2a2a2a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.form-submit-btn:hover {
    background: #1a1a1a;
}

.disclaimer-notice {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    padding: 1.5rem;
    background: #f5f5f5;
    border-left: 3px solid #d0d0d0;
}

.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.95rem;
    opacity: 0.8;
}

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

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

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

.footer-references {
    max-width: 1100px;
    margin: 0 auto 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-references h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-references p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-references a {
    color: #89cff0;
    text-decoration: none;
}

.footer-references a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

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

    .stack-block {
        padding: 3rem 1.5rem;
    }

    .stack-block h2 {
        font-size: 1.8rem;
    }

    .two-col-text {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

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