:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --secondary: #ed8936;
    --accent: #38a169;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-cream: #fffaf0;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --max-width: 720px;
    --wide-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.ad-disclosure {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}

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

nav {
    margin-top: 12px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 25px;
    list-style: none;
}

nav ul li a {
    font-size: 15px;
    color: var(--text-dark);
    padding: 5px 0;
    position: relative;
}

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

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

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

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

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

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

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

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

.editorial-section {
    padding: 70px 20px;
}

.editorial-section h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.editorial-section h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 35px 0 15px;
}

.editorial-section p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.editorial-section ul {
    margin: 20px 0 20px 25px;
}

.editorial-section li {
    margin-bottom: 10px;
}

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

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

.inline-image {
    margin: 35px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--bg-light);
}

.inline-image img {
    width: 100%;
    height: 350px;
}

.inline-image figcaption {
    padding: 12px 15px;
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-white);
    font-style: italic;
}

.cta-inline {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
    text-align: center;
    border-left: 4px solid var(--secondary);
}

.cta-inline p {
    margin-bottom: 15px;
    font-size: 18px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 300px;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    height: 180px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.service-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.form-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 70px 20px;
}

.form-section h2 {
    color: var(--bg-white);
    text-align: center;
    margin-bottom: 10px;
}

.form-section > p {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 35px;
}

.form-container {
    max-width: 550px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

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

.form-submit {
    text-align: center;
    margin-top: 25px;
}

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

.testimonials {
    padding: 70px 20px;
    background: var(--bg-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 45px;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.testimonial-card {
    flex: 1 1 320px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

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

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 20px 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: var(--wide-width);
    margin: 0 auto 40px;
}

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

.footer-col h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

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

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    max-width: var(--wide-width);
    margin: 0 auto;
}

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

.disclaimer {
    background: var(--bg-cream);
    padding: 25px;
    border-radius: var(--radius);
    margin: 40px auto;
    max-width: var(--max-width);
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.disclaimer p {
    margin-bottom: 8px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

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

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

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.cookie-content p {
    flex: 1 1 400px;
    font-size: 14px;
}

.cookie-content a {
    color: var(--secondary);
}

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

.cookie-btn {
    padding: 10px 22px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.cookie-accept:hover {
    background: #2f855a;
}

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

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

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

.page-header h1 {
    color: var(--bg-white);
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

.content-page {
    padding: 60px 20px;
}

.content-page h2 {
    font-size: 26px;
    color: var(--primary-dark);
    margin: 40px 0 20px;
}

.content-page h2:first-of-type {
    margin-top: 0;
}

.content-page h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.content-page p {
    margin-bottom: 18px;
}

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

.content-page li {
    margin-bottom: 8px;
}

.contact-info {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.contact-info h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.contact-info p {
    margin-bottom: 12px;
}

.contact-info .email-display {
    font-weight: 600;
    color: var(--text-dark);
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--bg-white);
}

.thanks-content h1 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.thanks-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    flex: 1 1 280px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

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

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.feature-text h4 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .editorial-section h2 {
        font-size: 26px;
    }

    .form-container {
        padding: 25px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    nav ul {
        gap: 5px 15px;
    }

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