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

:root {
    --primary: #e63946;
    --secondary: #1d3557;
    --accent: #f4a261;
    --light: #f1faee;
    --dark: #0d1b2a;
    --gray: #6c757d;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

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

header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
}

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

nav {
    display: flex;
    gap: 30px;
}

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

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

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

nav a:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.hero-editorial {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero-editorial h1 {
    font-size: 3.2rem;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 800px;
}

.hero-editorial .lead {
    font-size: 1.4rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-image-wrapper {
    margin: 60px 0;
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.story-section {
    padding: 80px 0;
}

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

.story-section.dark-bg {
    background: var(--secondary);
    color: var(--white);
}

.story-section h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

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

.story-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.inline-image {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.inline-image img {
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cta-inline {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    margin: 30px 0;
    transition: all 0.3s ease;
}

.cta-inline:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-section {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 18px 45px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

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

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

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.service-card .cta-small {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-card .cta-small:hover {
    background: var(--primary);
}

.testimonial-block {
    background: var(--secondary);
    padding: 60px;
    border-radius: 16px;
    margin: 60px 0;
    position: relative;
}

.testimonial-block::before {
    content: '"';
    font-size: 8rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial-block p {
    color: var(--white);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 60px;
    border-radius: 16px;
    margin-top: 40px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

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

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(230,57,70,0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.sticky-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(230,57,70,0.5);
}

.sticky-cta svg {
    width: 20px;
    height: 20px;
}

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

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

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

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

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 25px;
    z-index: 10000;
    display: none;
}

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

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

.cookie-banner p {
    flex: 1;
    font-size: 0.95rem;
}

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

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

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

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

.cookie-btn:hover {
    transform: scale(1.05);
}

.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

.content-page {
    padding: 80px 0;
}

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

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

.content-page ul {
    margin: 20px 0 20px 30px;
}

.content-page li {
    margin-bottom: 10px;
    color: var(--gray);
}

.about-split {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.about-split.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    background: var(--secondary);
    text-align: center;
}

.stat-item {
    color: var(--white);
}

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

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.contact-info-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-item {
    flex: 1;
    background: var(--light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.contact-info-item svg {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

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

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

.thanks-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

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

.thanks-icon {
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

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

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

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

.back-home {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home:hover {
    background: var(--primary);
}

@media (max-width: 992px) {
    .about-split {
        flex-direction: column;
    }

    .about-split.reverse {
        flex-direction: column;
    }

    .contact-info-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-editorial h1 {
        font-size: 2.2rem;
    }

    .hero-editorial .lead {
        font-size: 1.1rem;
    }

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

    .testimonial-block {
        padding: 40px 25px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

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

    .stats-row {
        flex-direction: column;
        gap: 40px;
    }

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

    .sticky-cta {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-editorial {
        padding: 140px 0 60px;
    }

    .hero-editorial h1 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .story-section h2 {
        font-size: 1.8rem;
    }
}
