:root {
    --color-primary: #1a2e4c;
    --color-secondary: #e8a54b;
    --color-accent: #3d5a80;
    --color-bg-light: #f7f5f2;
    --color-bg-dark: #1a2e4c;
    --color-text: #2c3e50;
    --color-text-light: #6b7c93;
    --color-white: #ffffff;
    --color-border: #d4d8dd;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width-narrow: 720px;
    --max-width-medium: 960px;
    --max-width-wide: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 400;
}

h2 {
    font-size: 2.2rem;
    font-weight: 400;
}

h3 {
    font-size: 1.6rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.4rem;
}

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

.header-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--color-text);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-secondary);
}

.ad-disclosure {
    font-size: 0.75rem;
    color: var(--color-text-light);
    background-color: var(--color-bg-light);
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.3s ease;
}

.editorial-container {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.wide-container {
    max-width: var(--max-width-medium);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.full-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-editorial {
    padding: 5rem 1.5rem;
    background-color: var(--color-bg-light);
    text-align: center;
}

.hero-editorial h1 {
    max-width: var(--max-width-narrow);
    margin: 0 auto 1.5rem;
}

.hero-editorial .lead {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.hero-image {
    max-width: var(--max-width-medium);
    margin: 3rem auto;
    background-color: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    display: block;
}

.section-story {
    padding: 4rem 0;
}

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

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

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

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

.inline-image {
    margin: 2.5rem 0;
    background-color: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.inline-image img {
    width: 100%;
    display: block;
}

.inline-image figcaption {
    padding: 0.8rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: center;
}

.pull-quote {
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background-color: var(--color-bg-light);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-primary);
}

.cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-inline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.cta-block {
    text-align: center;
    padding: 3rem;
    margin: 3rem 0;
    background-color: var(--color-accent);
    border-radius: 6px;
}

.cta-block h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-block p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.cta-block .cta-inline {
    background-color: var(--color-secondary);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

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

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

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

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

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.service-card .cta-inline {
    width: 100%;
    justify-content: center;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-detail {
    margin-bottom: 1.2rem;
}

.contact-detail strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.contact-form-wrapper {
    flex: 1 1 400px;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.1);
}

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

.form-submit {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background-color: var(--color-primary);
}

.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

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

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

.footer-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
}

.disclaimer {
    background-color: var(--color-bg-light);
    padding: 2rem;
    border-radius: 4px;
    margin: 3rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

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

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

.cookie-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1 1 400px;
    font-size: 0.9rem;
}

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

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

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    transition: background-color 0.2s ease;
}

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

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

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

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

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

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

.legal-content {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

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

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

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

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.team-member {
    flex: 1 1 250px;
    text-align: center;
}

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

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

.team-member h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.value-item {
    flex: 1 1 280px;
    padding: 2rem;
    background-color: var(--color-bg-light);
    border-radius: 6px;
}

.value-item h4 {
    font-family: var(--font-body);
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 500;
}

.sticky-cta a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

    h2 {
        font-size: 1.7rem;
    }

    .header-inner {
        padding: 1rem;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav.open {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-editorial {
        padding: 3rem 1rem;
    }

    .editorial-container,
    .wide-container,
    .full-container {
        padding: 2rem 1rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

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

    .footer-grid {
        gap: 2rem;
    }

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

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

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}
