/* 
   FinanzAR - Estilos principales
   Blog de consejos financieros para Argentina
   2023
*/

/* ----- Base y Reset ----- */
:root {
    --primary: #0047ab;
    --primary-dark: #003380;
    --primary-light: #3373c4;
    --secondary: #ffd700;
    --secondary-dark: #e6c200;
    --accent: #ff6b6b;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --background: #ffffff;
    --background-alt: #f7f9fc;
    --border: #e0e0e0;
    --border-dark: #cccccc;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --font-primary: 'Nunito', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Montserrat', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
    font-size: 16px;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-position: inside;
    padding-left: 1.5rem;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

input, textarea, select, button {
    font-family: var(--font-primary);
}

/* ----- Layout ----- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

/* ----- Header ----- */
header {
    background-color: var(--background);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ----- Buttons ----- */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--border);
}

.btn-tertiary:hover {
    background-color: var(--border);
    color: var(--text);
}

/* ----- Hero Section ----- */
.hero {
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ----- Featured Posts ----- */
.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    overflow: hidden;
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    background-color: var(--primary-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.post-content h3 a {
    color: var(--text);
}

.post-content h3 a:hover {
    color: var(--primary);
}

.post-meta {
    color: var(--text-lighter);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.read-more {
    display: flex;
    align-items: center;
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
}

.read-more svg {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(5px);
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* ----- Newsletter ----- */
.newsletter {
    background-color: var(--background-alt);
}

.newsletter .container {
    display: flex;
    align-items: center;
}

.newsletter-content {
    flex: 1;
    padding-right: 2rem;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.newsletter-form {
    display: flex;
    margin: 1.5rem 0;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1.5rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.newsletter-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.newsletter-image img {
    max-width: 80%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ----- Blog Page ----- */
.blog-header {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.blog-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.blog-header p {
    font-size: 1.25rem;
    opacity: 0.8;
}

.blog-filter {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
}

.search-box {
    display: flex;
    max-width: 400px;
    width: 100%;
}

.search-box input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-box button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

.categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.categories span {
    font-weight: 600;
    color: var(--text-light);
}

.categories a {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: var(--background);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.categories a:hover, .categories a.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary);
    color: white;
}

.pagination .next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

/* ----- About Page ----- */
.about-header {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.about-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.about-header p {
    font-size: 1.25rem;
    opacity: 0.8;
}

.about-story .container, .about-mission .container {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-content, .mission-content, .values-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-section {
    background-color: var(--background-alt);
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    margin: 1rem 0 0.25rem;
}

.team-card p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.team-card p:first-of-type {
    color: var(--primary);
    font-weight: 600;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.team-card .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--background-alt);
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.team-card .social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.testimonials {
    text-align: center;
}

.testimonials-slider {
    margin-top: 3rem;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    padding-bottom: 2rem;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 4px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-light);
    border-radius: 4px;
}

.testimonial-card {
    scroll-snap-align: start;
    min-width: 320px;
    max-width: 500px;
    flex: 1;
    padding: 2rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.testimonial-content svg {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author p {
    margin-bottom: 0.25rem;
}

/* ----- Contact Page ----- */
.contact-header {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.contact-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-header p {
    font-size: 1.25rem;
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container h2, .contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 0.5rem;
}

.info-content p {
    margin-bottom: 0.5rem;
}

.info-content .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.info-content .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-alt);
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.info-content .social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.faq-section {
    background-color: var(--background-alt);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn.active {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    background-color: var(--background-alt);
    margin-bottom: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--background);
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.thank-you-content {
    text-align: center;
}

.thank-you-content svg {
    color: var(--success);
    margin-bottom: 1rem;
}

.thank-you-content h2 {
    margin-bottom: 1rem;
}

.thank-you-content a {
    display: inline-block;
    margin-top: 1.5rem;
}

/* ----- Blog Post ----- */
.post-single {
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header h1 {
    margin: 1rem 0;
    font-size: 2.5rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.post-author, .post-date, .post-reading-time {
    display: flex;
    align-items: center;
}

.post-meta svg {
    margin-right: 0.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-intro {
    font-size: 1.25rem;
    color: var(--text-light);
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
}

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

.info-box, .warning-box, .tips-box {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.info-box {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid var(--info);
}

.warning-box {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning);
}

.tips-box {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success);
}

.info-box h3, .warning-box h3, .tips-box h3 {
    margin-top: 0;
}

.conclusion {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding-top: 2rem;
}

.post-tags {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--background-alt);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.post-share span {
    font-weight: 600;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-alt);
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary);
    color: white;
}

.post-author-bio {
    display: flex;
    gap: 1.5rem;
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.post-author-bio .author-avatar {
    width: 100px;
    height: 100px;
    margin-right: 0;
}

.author-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--text-light);
}

.author-info h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.author-info p {
    margin-bottom: 1rem;
}

.author-info .social-links {
    display: flex;
    gap: 1rem;
}

.author-info .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--background);
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.author-info .social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-posts .posts-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* ----- Call to Action ----- */
.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-section .newsletter-form {
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-section .form-note {
    color: rgba(255, 255, 255, 0.7);
}

/* ----- Interesting Facts ----- */
.interesting-facts {
    background-color: var(--background-alt);
    text-align: center;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fact-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.fact-card h3 {
    margin-bottom: 1rem;
}

.fact-card p {
    margin-bottom: 0;
}

.current-date {
    margin-top: 3rem;
    color: var(--text-light);
    font-style: italic;
}

/* ----- Footer ----- */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-logo {
    height: 50px;
    border-radius: 50%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: white;
    color: var(--primary-dark);
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-contact p svg {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

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

.copyright p {
    opacity: 0.7;
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.legal-links a:hover {
    color: white;
}

/* ----- Cookie Consent ----- */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    flex-wrap: wrap;
}

.cookie-more-info {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ----- Responsive Design ----- */
@media (max-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-story .container, .about-mission .container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--background);
        padding: 1.5rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero .container {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .newsletter .container {
        flex-direction: column;
    }
    
    .newsletter-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .blog-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .categories {
        justify-content: flex-start;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-info .social-links {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
