/* Variables globales */
:root {
    /* Colores */
    --color-primary: #4a6fa5;
    --color-secondary: #6e9cd7;
    --color-accent: #ff8a5c;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e0e0e0;
    --color-success: #4caf50;
    --color-warning: #ff9800;
    --color-error: #f44336;
    
    /* Tipografía */
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Ancho máximo del contenedor */
    --container-width: 1200px;
}

/* Variables para el tema oscuro */
.dark-theme {
    --color-primary: #6e9cd7;
    --color-secondary: #4a6fa5;
    --color-accent: #ff8a5c;
    --color-text: #e0e0e0;
    --color-text-light: #a0a0a0;
    --color-bg: #121212;
    --color-bg-alt: #1e1e1e;
    --color-border: #333333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

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

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

ul, ol {
    list-style-position: inside;
}

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-block {
    display: block;
    width: 100%;
}

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

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

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

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

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

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

/* Header y navegación */
header {
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-normal);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: var(--spacing-md);
}

.menu li a {
    color: var(--color-text);
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

.menu li a:hover,
.menu li a.active {
    color: var(--color-primary);
}

.menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.theme-toggle {
    margin-left: var(--spacing-md);
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--color-bg-alt);
}

/* Hero section */
.hero {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.hero .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Features section */
.features {
    padding: var(--spacing-xl) 0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-box {
    background-color: var(--color-bg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-box svg {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.feature-box h3 {
    margin-bottom: var(--spacing-sm);
}

/* Recent posts section */
.recent-posts {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-alt);
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.post-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.post-content {
    padding: var(--spacing-md);
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.post-content p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

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

.read-more:hover {
    text-decoration: underline;
}

.more-posts {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Testimonials section */
.testimonials {
    padding: var(--spacing-xl) 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--color-warning);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.testimonial-author {
    font-weight: 600;
    margin-top: var(--spacing-sm);
    text-align: right;
}

/* CTA section */
.cta {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

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

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Page header */
.page-header {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Blog page specific styles */
.blog-content {
    padding-bottom: var(--spacing-xl);
}

.blog-filter {
    margin-bottom: var(--spacing-lg);
}

.filter-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.filter-list li a {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.blog-grid {
    margin-bottom: var(--spacing-lg);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.post-category {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-sm);
}

.post-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

/* Newsletter section */
.newsletter {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-lg) 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* Consultas page specific styles */
.consulta-info {
    padding-bottom: var(--spacing-lg);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.benefits-list li svg {
    flex-shrink: 0;
    margin-right: var(--spacing-sm);
    color: var(--color-success);
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

.info-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.how-works {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-alt);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.step h3 {
    margin-bottom: var(--spacing-sm);
}

.appointment-form {
    padding: var(--spacing-lg) 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition-fast);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

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

.checkbox input {
    width: auto;
    margin-right: var(--spacing-sm);
    margin-top: 0.3rem;
}

.faq {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-alt);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: var(--spacing-md);
}

.accordion-item {
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    background-color: var(--color-bg);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background-color: var(--color-bg-alt);
}

.accordion-header svg {
    transition: transform var(--transition-fast);
}

.accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.accordion-content.active {
    padding: 0 var(--spacing-md) var(--spacing-md);
    max-height: 500px;
}

/* About page specific styles */
.about-story {
    padding-bottom: var(--spacing-lg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

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

.mission-values {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-alt);
}

.mission-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.value-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.team {
    padding: var(--spacing-lg) 0;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.team-member {
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
}

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

.team-member h3 {
    margin-top: var(--spacing-sm);
    padding: 0 var(--spacing-sm);
}

.team-member p {
    padding: 0 var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.team-member p:nth-of-type(1) {
    color: var(--color-primary);
    font-weight: 600;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.member-social a {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.member-social a:hover {
    color: var(--color-primary);
}

.achievements {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-primary);
    color: white;
}

.achievements h2 {
    color: white;
    margin-bottom: var(--spacing-lg);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

/* Contact page specific styles */
.contact-info {
    padding-bottom: var(--spacing-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

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

.contact-text h3 {
    margin-bottom: var(--spacing-xs);
}

.contact-text p {
    color: var(--color-text-light);
}

.contact-text a {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.contact-text a:hover {
    color: var(--color-primary);
}

.social-contact {
    margin-top: var(--spacing-lg);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.map {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-alt);
}

.map-container {
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--color-bg-alt);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    color: var(--color-text-light);
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: var(--spacing-xs);
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.footer-contact svg {
    margin-right: var(--spacing-xs);
}

.copyright {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    margin-bottom: var(--spacing-sm);
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-content a {
    font-size: 0.9rem;
}

/* Thank you modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.thank-you-modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--color-primary);
}

.modal-content svg {
    color: var(--color-success);
    margin-bottom: var(--spacing-sm);
}

.modal-content h2 {
    margin-bottom: var(--spacing-sm);
}

.modal-content p {
    margin-bottom: var(--spacing-md);
}

/* Media queries */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image,
    .info-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: var(--spacing-md) 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-normal), opacity var(--transition-normal);
        z-index: 99;
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .menu li {
        margin-left: 0;
        margin-bottom: var(--spacing-sm);
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo img {
        height: 40px;
    }
    
    .form-container {
        padding: var(--spacing-md);
    }
    
    .modal-content {
        padding: var(--spacing-md);
    }
}
