:root {
    --color-bg: #f5f2ed;
    --color-panel: #f0ede6;
    --color-text: #2c3e50;
    --color-accent: #1e3a8a;
    --color-accent-secondary: #6b8e7f;
    --color-border: #e5e0d5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

.container-lg {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 34px;
}

.navbar-custom {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

.navbar-custom .nav-link {
    color: var(--color-text);
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: var(--color-accent);
}

.hero {
    background-size: cover;
    background-position: center;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-capsule {
    background-color: rgba(240, 237, 230, 0.90);
    padding: 3rem;
    border-radius: 28px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-small {
    background-size: cover;
    background-position: center;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.hero-capsule-small {
    background-color: rgba(240, 237, 230, 0.90);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-capsule-small h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
}

.section-spacing {
    padding: 4rem 2rem;
    text-align: center;
}

.lead-paragraph {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.rounded-panel {
    background-color: var(--color-panel);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rounded-panel h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
}

.rounded-panel h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--color-accent);
    font-weight: 600;
}

.rounded-panel p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    line-height: 1.8;
}

.img-container {
    margin: 2rem 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.img-container img {
    width: 100%;
    height: auto;
    display: block;
}

.img-left {
    float: left;
    width: 45%;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.img-right {
    float: right;
    width: 45%;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.daily-words p {
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    color: var(--color-accent-secondary);
    font-weight: 500;
}

.observations p {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent-secondary);
}

.questions p {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent-secondary);
}

.quotes blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--color-accent);
    background-color: rgba(30, 58, 138, 0.05);
    font-style: italic;
}

.quotes footer {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: var(--color-accent-secondary);
    font-style: normal;
}

.final-cta {
    text-align: center;
}

.final-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.concepts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.concept-item {
    padding: 2rem;
    background-color: rgba(30, 58, 138, 0.05);
    border-radius: 16px;
    border-left: 4px solid var(--color-accent);
}

.concept-item h3 {
    margin-top: 0;
}

.btn {
    border-radius: 24px;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #153b75;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

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

.btn-secondary:hover {
    background-color: #5a7b6f;
    transform: scale(1.03);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.blog-posts {
    background-color: transparent;
    padding: 0;
}

.blog-post {
    background-color: var(--color-panel);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.blog-post h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.blog-post p {
    margin-bottom: 1.25rem;
}

.newsletter {
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto;
}

.newsletter-form input {
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    width: 100%;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.contact-form .form-control {
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--color-accent-secondary);
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.contact-item a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.thank-you-page {
    padding: 4rem 0;
    text-align: center;
}

.thank-you-content {
    padding: 4rem;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.legal-page {
    padding: 2rem 0;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.last-updated {
    color: var(--color-accent-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-article {
    display: contents;
}

.article-nav {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.footer {
    background-color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4,
.footer-section h5 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-accent-secondary);
    font-size: 0.9rem;
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    color: white;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-accept {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
    .container-lg {
        padding: 0 24px;
    }

    .hero {
        height: 50vh;
    }

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

    .hero-capsule {
        padding: 2rem;
    }

    .navbar-custom .nav-link {
        margin-left: 1rem;
    }

    .rounded-panel {
        padding: 2rem;
    }

    .rounded-panel h2 {
        font-size: 1.5rem;
    }

    .img-left,
    .img-right {
        float: none;
        width: 100%;
        margin: 1.5rem 0;
    }

    .concepts-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container-lg {
        padding: 0 16px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .rounded-panel {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .rounded-panel h2 {
        font-size: 1.25rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.25rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}
