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

:root {
    /* Paleta de colores principal */
    --primary: #3a7bd5;
    --primary-dark: #2d62aa;
    --primary-light: #6fa1ff;
    --secondary: #00bf9a;
    --secondary-dark: #00a884;
    --secondary-light: #4fd5bc;
    --dark: #333333;
    --medium: #666666;
    --light: #f5f5f5;
    --white: #ffffff;
    --accent: #ff6b6b;
    
    /* Tipografía */
    --font-primary: 'Poppins', 'Helvetica Neue', sans-serif;
    --font-secondary: 'Montserrat', Arial, sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Bordes y sombras */
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

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

ul, ol {
    margin-bottom: var(--spacing-sm);
    margin-left: var(--spacing-md);
}

blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--light);
    margin: var(--spacing-md) 0;
    font-style: italic;
}

/* Clases de utilidad */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    text-align: center;
}

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

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

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

.btn-accept:hover {
    background-color: var(--secondary-dark);
}

.btn-customize {
    background-color: var(--medium);
}

.btn-decline {
    background-color: transparent;
    border: 1px solid var(--medium);
    color: var(--medium);
}

.btn-decline:hover {
    background-color: var(--light);
    color: var(--dark);
}

.btn-submit {
    background-color: var(--secondary);
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: var(--secondary-dark);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

/* Iconos */
[class^="icon-"] {
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

/* Header y navegación */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--spacing-md);
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container img {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    border-radius: 50%;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary);
}

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

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

nav a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

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

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

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

/* Layout principal */
main {
    min-height: 70vh;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfb 100%);
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 500px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

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

/* Featured Posts Section */
.featured-posts {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

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

.post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal);
}

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

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

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

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

.read-more {
    display: inline-block;
    margin-top: var(--spacing-sm);
    font-weight: 600;
    color: var(--primary);
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Services Preview Section */
.services-preview {
    background-color: var(--light);
    padding: var(--spacing-xl) var(--spacing-md);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal);
}

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

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

.service-card h3 {
    padding: var(--spacing-sm) var(--spacing-sm) 0;
    font-size: 1.3rem;
}

.service-card p {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
}

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

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: var(--spacing-md);
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 var(--spacing-sm);
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    left: -15px;
    top: -20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: var(--spacing-lg) var(--spacing-md);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-md);
}

.footer-info .footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
}

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

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

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

.footer-links a, .footer-legal a {
    color: var(--light);
    transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--primary-light);
}

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

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

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-icons svg {
    fill: var(--white);
    width: 20px;
    height: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    color: var(--white);
    padding: var(--spacing-md);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.cookie-more {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-light);
    text-decoration: underline;
}

/* Blog Page Styles */
.blog-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.blog-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.blog-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.blog-header-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.blog-header-content p {
    font-size: 1.2rem;
}

.blog-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.blog-post {
    display: flex;
    margin-bottom: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post .post-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

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

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: var(--medium);
    font-size: 0.9rem;
}

.post-date, .post-category {
    margin-right: var(--spacing-md);
}

.post-category {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Services Page Styles */
.services-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.services-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.services-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.services-header-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.services-header-content p {
    font-size: 1.2rem;
}

.service-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.service-item {
    display: flex;
    margin-bottom: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-item img {
    width: 400px;
    height: 350px;
    object-fit: cover;
}

.service-content {
    flex: 1;
    padding: var(--spacing-md);
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.service-content ul {
    margin-bottom: var(--spacing-md);
}

.service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--light);
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.methodology {
    background-color: var(--light);
    padding: var(--spacing-xl) var(--spacing-md);
}

.methodology-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.methodology-text {
    flex: 1;
}

.methodology-content img {
    flex: 1;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 500px;
}

/* About Page Styles */
.about-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.about-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.about-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.about-header-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.about-header-content p {
    font-size: 1.2rem;
}

.about-story {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.story-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.story-text {
    flex: 3;
}

.story-content img {
    flex: 2;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission-vision {
    background-color: var(--light);
    padding: var(--spacing-xl) var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.mission, .vision, .values {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission h2, .vision h2, .values h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

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

.team-member {
    text-align: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal);
}

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

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

.team-member h3 {
    margin: var(--spacing-sm) 0 0;
    font-size: 1.3rem;
}

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

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

.team-member p:nth-of-type(2) {
    font-size: 0.9rem;
    color: var(--medium);
    margin-bottom: var(--spacing-sm);
}

.credentials {
    background-color: var(--light);
    padding: var(--spacing-xl) var(--spacing-md);
}

.credentials-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.credentials-list {
    flex: 3;
}

.logos-container {
    flex: 2;
    text-align: center;
}

.logos-container img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

/* Contact Page Styles */
.contact-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.contact-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.contact-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.contact-header-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.contact-header-content p {
    font-size: 1.2rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h2, .contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.info-item {
    display: flex;
    margin-bottom: var(--spacing-md);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: var(--spacing-md);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-social h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

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

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

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

.map-section {
    background-color: var(--light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

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

.faq-item {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

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

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

.modal i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

.modal h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.modal-btn {
    margin-top: var(--spacing-md);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

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

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

.cta-content .btn:hover {
    background-color: var(--light);
}

/* Blog Post Single Page */
.blog-post-single {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.post-header {
    margin-bottom: var(--spacing-lg);
}

.post-header-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.post-meta-top {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.post-meta-top .post-category, .post-meta-top .post-date {
    margin-right: var(--spacing-sm);
}

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

.post-author {
    display: flex;
    align-items: center;
}

.post-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

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

.post-content img {
    max-width: 100%;
    border-radius: var(--border-radius);
    margin: var(--spacing-md) 0;
}

.post-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light);
}

.post-tags {
    margin-bottom: var(--spacing-md);
}

.post-tags a {
    display: inline-block;
    background-color: var(--light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: background-color var(--transition-fast);
}

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

.post-share {
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: var(--spacing-sm);
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    background-color: var(--light);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.post-share a:hover {
    transform: translateY(-3px);
}

.share-facebook:hover {
    background-color: #3b5998;
}

.share-twitter:hover {
    background-color: #1da1f2;
}

.share-linkedin:hover {
    background-color: #0077b5;
}

.share-whatsapp:hover {
    background-color: #25d366;
}

.post-share a:hover svg {
    fill: var(--white);
}

.related-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md) var(--spacing-xl);
}

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

.related-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal);
}

.related-post:hover {
    transform: translateY(-5px);
}

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

.related-post h3 {
    padding: var(--spacing-sm);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.related-post .read-more {
    display: block;
    padding: 0 var(--spacing-sm) var(--spacing-sm);
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content, .story-content, .methodology-content {
        flex-direction: column;
    }
    
    .hero-image, .story-content img, .methodology-content img {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: span 2;
        margin-bottom: var(--spacing-md);
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: var(--spacing-sm);
    }
    
    .logo-container {
        margin-bottom: var(--spacing-sm);
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0 var(--spacing-sm) var(--spacing-sm);
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .blog-post .post-image {
        width: 100%;
        height: 250px;
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-item img {
        width: 100%;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info, .footer-links, .footer-legal, .footer-social {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .post-grid, .services-container, .team-grid, .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        margin-bottom: var(--spacing-xs);
    }
}
