:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --secondary: #c53030;
    --accent: #dd6b20;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-cream: #fffaf0;
    --bg-gray: #edf2f7;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.625rem; }

p { margin-bottom: 1rem; }

.ad-disclosure {
    background-color: var(--bg-gray);
    padding: 8px 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

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

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 3rem 0;
}

.hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

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

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

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

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

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

.section {
    padding: 5rem 0;
}

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

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.magazine-cols-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.magazine-cols-3 > * {
    flex: 1;
    min-width: 280px;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    height: 200px;
    background-color: var(--bg-gray);
    overflow: hidden;
}

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

.card-content {
    padding: 1.5rem;
}

.card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

.price-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

.feature-box {
    background-color: var(--bg-cream);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
}

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

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 1rem;
}

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

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

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

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

.form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.two-cols {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.two-cols > * {
    flex: 1;
    min-width: 280px;
}

.asymmetric-left {
    flex: 1.5;
}

.asymmetric-right {
    flex: 1;
}

.image-block {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-gray);
}

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

.content-block {
    padding: 2rem 0;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--white);
}

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

.list-check li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.contact-text h4 {
    margin-bottom: 0.25rem;
}

.contact-text p {
    margin: 0;
    color: var(--text-medium);
}

footer {
    background-color: var(--text-dark);
    color: var(--bg-gray);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

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

.footer-col a {
    color: var(--bg-gray);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--text-medium);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.disclaimer {
    background-color: var(--bg-cream);
    padding: 2rem;
    border-left: 4px solid var(--accent);
    margin: 2rem 0;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

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

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

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

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

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.cookie-accept:hover {
    background-color: #9b2c2c;
}

.cookie-reject {
    background-color: transparent;
    border: 1px solid var(--bg-gray);
    color: var(--bg-gray);
}

.cookie-reject:hover {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thanks-content h1 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.legal-content {
    padding: 3rem 0;
}

.legal-content h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow);
    overflow: hidden;
}

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

.service-image {
    flex: 1;
    min-width: 300px;
    min-height: 280px;
    background-color: var(--bg-gray);
}

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

.service-content {
    flex: 1.5;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-intro {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.about-intro-content {
    flex: 1.2;
    min-width: 300px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.team-member {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

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

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

.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 2px solid var(--white);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 10px var(--shadow);
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        border-bottom: 1px solid var(--border);
    }

    nav a {
        display: block;
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 400px;
    }

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

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-image {
        min-height: 200px;
    }

    .two-cols {
        flex-direction: column;
    }

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

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

    .footer-links {
        justify-content: center;
    }
}
