:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a8a;
    --primary-dark: #0f2744;
    --accent: #c9a227;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #6b6b7b;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-alt: #eef1f5;
    --border: #dde2e8;
    --success: #28a745;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    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(--accent);
}

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

.ad-disclosure {
    background-color: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

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

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-list {
    display: flex;
    gap: 32px;
}

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

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: transform 0.3s ease;
}

.main {
    min-height: calc(100vh - 200px);
}

.editorial {
    max-width: 100%;
}

.hero-editorial {
    position: relative;
}

.hero-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.hero-content {
    max-width: 720px;
    margin: -80px auto 0;
    padding: 48px 40px;
    background-color: var(--bg-white);
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 20px;
    color: var(--text-medium);
    line-height: 1.7;
}

.page-hero {
    background-color: var(--bg-alt);
    padding: 80px 24px;
    text-align: center;
}

.page-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-lead {
    font-size: 19px;
    color: var(--text-medium);
}

.editorial-section {
    padding: 64px 24px;
}

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

.editorial-wide {
    max-width: 1000px;
    margin: 0 auto;
}

.editorial-section h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

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

.editorial-image-break {
    padding: 0 24px;
    max-width: 900px;
    margin: 0 auto;
}

.image-container {
    border-radius: 8px;
    overflow: hidden;
}

.section-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.editorial-highlight {
    background-color: var(--bg-alt);
    padding: 64px 24px;
}

.highlight-box {
    max-width: 680px;
    margin: 0 auto;
}

.highlight-box h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-list li {
    padding-left: 32px;
    position: relative;
    color: var(--text-medium);
}

.benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: var(--accent);
    border-radius: 50%;
}

.inline-cta {
    display: inline-block;
    margin-top: 24px;
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.inline-cta:hover {
    color: var(--accent);
}

.cta-button {
    display: inline-block;
    margin-top: 32px;
    padding: 16px 32px;
    background-color: var(--primary);
    color: var(--bg-white);
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-light);
    color: var(--bg-white);
}

.text-link {
    color: var(--primary);
    font-weight: 500;
    border-bottom: 1px solid currentColor;
}

.text-link:hover {
    color: var(--accent);
}

.services-preview {
    padding: 80px 24px;
    background-color: var(--bg-light);
}

.services-preview h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 48px;
}

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 340px;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-image-container {
    height: 180px;
    overflow: hidden;
}

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

.service-card h3 {
    padding: 24px 24px 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
}

.service-card p {
    padding: 0 24px;
    color: var(--text-medium);
    font-size: 15px;
}

.service-card .price {
    display: block;
    padding: 20px 24px 24px;
    color: var(--accent);
    font-weight: 700;
    font-size: 17px;
}

.services-link-container {
    text-align: center;
    margin-top: 48px;
}

.services-full {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.service-detail {
    display: flex;
    gap: 48px;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

.service-includes {
    margin: 24px 0;
    padding-left: 20px;
}

.service-includes li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-medium);
    list-style: none;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.price-display {
    background-color: var(--bg-alt);
    padding: 20px 24px;
    border-radius: 8px;
    margin-top: 24px;
}

.price-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.price-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-note {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.service-detail-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

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

.values-section {
    padding: 64px 24px;
    background-color: var(--bg-light);
}

.values-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 48px;
}

.values-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.value-item {
    flex: 1;
    min-width: 220px;
    max-width: 240px;
    text-align: center;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-medium);
    font-size: 15px;
}

.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px;
    display: flex;
    gap: 64px;
}

.contact-info {
    flex: 0 0 360px;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.info-block address,
.info-block p {
    color: var(--text-medium);
    line-height: 1.7;
}

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

.hours-list li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

.hours-list li span {
    font-weight: 500;
    color: var(--text-dark);
}

.contact-form-container {
    flex: 1;
}

.contact-form-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: border-color 0.2s ease;
}

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

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-medium);
}

.submit-button {
    padding: 16px 32px;
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

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

.thanks-section {
    padding: 100px 24px;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.thanks-icon svg {
    color: var(--bg-white);
}

.thanks-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

.service-selected {
    background-color: var(--bg-alt);
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.thanks-actions {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.legal-page .page-hero {
    padding: 60px 24px;
}

.legal-content {
    padding: 64px 24px;
}

.legal-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.legal-narrow h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-narrow h2:first-child {
    margin-top: 0;
}

.legal-narrow h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-narrow p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.legal-narrow ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-narrow ul li {
    list-style: disc;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.legal-date {
    margin-top: 48px;
    font-style: italic;
    color: var(--text-light);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.cookie-table th {
    background-color: var(--bg-alt);
    font-weight: 600;
    color: var(--text-dark);
}

.cookie-table td {
    color: var(--text-medium);
}

.footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 64px 24px 0;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
}

.footer-tagline {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

.disclaimer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    line-height: 1.6;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    color: var(--text-medium);
    font-size: 14px;
}

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

.cookie-accept,
.cookie-reject {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.cookie-accept:hover {
    background-color: var(--primary-light);
}

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

.cookie-reject:hover {
    background-color: var(--border);
}

@media (max-width: 900px) {
    .service-detail {
        flex-direction: column;
    }

    .service-detail.reverse {
        flex-direction: column;
    }

    .service-detail-image {
        flex: none;
        width: 100%;
        height: 250px;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-info {
        flex: none;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-white);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .nav-list a {
        font-size: 24px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-image-container {
        height: 350px;
    }

    .hero-content {
        margin: -40px 16px 0;
        padding: 32px 24px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

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

    .page-hero {
        padding: 60px 16px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

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

    .service-card {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
