/* ========== VARIABLES Y RESET ========== */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --light-gray: #e5e7eb;
    --border-color: #d1d5db;
    --success-color: #10b981;
    --error-color: #ef4444;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Georgia', serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.page-header {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 5rem 2rem;
}

.page-header h1 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.8rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== BOTONES ========== */
.btn {
    display: inline-block;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

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

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

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

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

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
}

/* ========== HEADER Y NAVBAR ========== */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5%;
}

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

.logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.logo-container h1 {
    font-size: 2.4rem;
    color: var(--dark-color);
    font-family: var(--font-secondary);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navbar a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* ========== BOTÓN 3D PREGUNTA ========== */
.question-button-3d {
    perspective: 800px;
    margin-left: 1rem;
}

.question-link {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: var(--border-radius);
    display: inline-block;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    transform: translateZ(0);
    font-weight: 600;
    box-shadow: 0 6px 0 0 rgba(245, 158, 11, 0.4);
}

.question-link:hover {
    background-color: #e68a00;
    color: white;
    transform: translateY(-3px) translateZ(10px);
}

.question-link:active {
    transform: translateY(3px) translateZ(-5px);
    box-shadow: 0 2px 0 0 rgba(245, 158, 11, 0.4);
}

/* ========== SECCIÓN HERO ========== */
.hero {
    display: flex;
    align-items: center;
    padding: 6rem 5%;
    background-color: #f8fafc;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 4.2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

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

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
}

/* ========== SECCIÓN POSTS DESTACADOS ========== */
.featured-posts {
    padding: 6rem 5%;
    background-color: white;
}

.featured-posts h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.post-card h3 {
    font-size: 2rem;
    margin: 1.5rem 1.5rem 1rem;
    line-height: 1.3;
}

.post-card p {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
    flex-grow: 1;
}

.read-more {
    display: block;
    padding: 0 1.5rem 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.view-more-container {
    text-align: center;
}

.view-more {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.view-more:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========== SECCIÓN SERVICIOS ========== */
.services {
    background-color: #f8fafc;
    padding: 6rem 5%;
}

.services h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.icon-container {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--gray-color);
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* ========== TESTIMONIOS ========== */
.testimonials {
    padding: 6rem 5%;
    background-color: white;
}

.testimonials h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    color: rgba(59, 130, 246, 0.2);
    margin-bottom: 2rem;
}

.testimonial-card p {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--gray-color);
}

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

.testimonial-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 1.4rem;
    font-style: normal;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 5%;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

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

/* ========== FOOTER ========== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 5% 2rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h4::after,
.footer-legal h4::after,
.footer-contact h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    width: 5rem;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 1rem;
}

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

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

.footer-contact address {
    font-style: normal;
}

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

.footer-contact svg {
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: white;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    opacity: 0.8;
}

/* ========== COOKIE CONSENT ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 1000;
    display: none;
}

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

.cookie-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-cookie {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

.btn-customize {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

.btn-customize:hover {
    background-color: #d1d5db;
}

.btn-reject {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--light-gray);
}

.btn-reject:hover {
    background-color: #f9fafb;
}

.cookie-more {
    font-size: 1.4rem;
    text-decoration: underline;
}

/* ========== BLOG PAGE ========== */
.blog-section {
    width: 70%;
}

.filter-container {
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    margin-bottom: 2rem;
}

.search-box input {
    flex: 1;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

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

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

.filter-categories span {
    font-weight: 600;
    margin-right: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.blog-card {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.blog-card-image {
    width: 35%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    width: 65%;
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.blog-category {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
}

.blog-date {
    color: var(--gray-color);
}

.blog-card-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.blog-card-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

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

.pagination span {
    margin: 0 0.5rem;
}

.pagination .next {
    width: auto;
    border-radius: var(--border-radius);
    padding: 0 1.5rem;
    gap: 0.5rem;
}

.blog-sidebar {
    width: 30%;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.sidebar-widget h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--primary-color);
}

.popular-posts li {
    margin-bottom: 1.5rem;
}

.popular-posts li a {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: var(--dark-color);
}

.popular-posts li a:hover {
    color: var(--primary-color);
}

.popular-posts img {
    width: 8rem;
    height: 6rem;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.popular-posts h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.popular-posts span {
    font-size: 1.3rem;
    color: var(--gray-color);
}

.categories li {
    margin-bottom: 1rem;
}

.categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-color);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.categories span {
    background-color: var(--light-gray);
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    font-size: 1.3rem;
    color: var(--gray-color);
}

.cta-widget {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    text-align: center;
}

.cta-widget h3 {
    text-align: center;
}

.cta-widget h3::after {
    left: 50%;
    transform: translateX(-50%);
}

.cta-widget p {
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subscribe-form input {
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

/* ========== ABOUT PAGE ========== */
.about-intro {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-intro-content {
    flex: 1;
}

.about-intro-content h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

.about-intro-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.about-intro-image {
    flex: 1;
}

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

.about-values {
    background-color: #f8fafc;
    padding: 6rem 5%;
    margin: 0 -5% 6rem;
}

.about-values h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
}

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

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.value-card h3 {
    font-size: 2.2rem;
    margin: 2rem 0 1.5rem;
}

.team-section {
    margin-bottom: 6rem;
}

.team-section h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--gray-color);
}

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

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

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

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

.team-card h3 {
    font-size: 2rem;
    padding: 2rem 2rem 0.5rem;
}

.team-card p {
    padding: 0 2rem;
    color: var(--gray-color);
}

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

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 2rem;
}

.social-links a {
    color: var(--gray-color);
    transition: var(--transition);
}

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

.history-section {
    margin-bottom: 6rem;
}

.history-section h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.history-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.history-image {
    flex: 1;
}

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

.history-text {
    flex: 1;
}

.history-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.testimonials-about {
    background-color: #f8fafc;
    padding: 6rem 5%;
    margin: 0 -5%;
}

.testimonials-about h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* ========== SERVICES PAGE ========== */
.services-intro {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.services-intro-content {
    flex: 1;
}

.services-intro-content h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

.services-intro-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.services-intro-image {
    flex: 1;
}

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

.services-main {
    margin-bottom: 6rem;
}

.service-item {
    display: flex;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-item:last-child {
    margin-bottom: 0;
}

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

.service-image {
    flex: 1;
}

.service-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.service-features {
    margin-bottom: 2.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.service-features svg {
    color: var(--success-color);
    margin-right: 1rem;
}

.upcoming-workshops {
    background-color: #f8fafc;
    padding: 6rem 5%;
    margin: 0 -5% 6rem;
}

.upcoming-workshops h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.workshop-card {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.workshop-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    min-width: 80px;
}

.workshop-date .day {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.workshop-date .month {
    font-size: 1.4rem;
}

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

.workshop-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.workshop-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--gray-color);
}

.workshop-details span {
    display: flex;
    align-items: center;
}

.workshop-details svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.workshop-content p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.workshop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workshop-price {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--dark-color);
}

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

.service-faq {
    margin-bottom: 6rem;
}

.service-faq h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 2rem;
}

.faq-question h3 {
    font-size: 2rem;
    font-weight: 600;
}

.faq-toggle {
    transition: var(--transition);
}

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

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    height: auto;
    padding-bottom: 2rem;
}

.faq-answer p {
    color: var(--gray-color);
}

/* ========== CONTACT PAGE ========== */
.contact-page {
    padding-bottom: 6rem;
}

.contact-intro {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.contact-intro-content {
    flex: 1;
}

.contact-intro-content h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

.contact-intro-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.contact-intro-image {
    flex: 1;
}

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

.contact-grid {
    display: flex;
    gap: 4rem;
    margin-bottom: 6rem;
}

.contact-info {
    width: 40%;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.contact-icon {
    margin-right: 1.5rem;
    width: 5rem;
    height: 5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-details h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-details p, 
.contact-details a {
    color: var(--gray-color);
}

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

.social-contact {
    margin-top: 4rem;
}

.social-contact h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

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

.contact-form {
    width: 60%;
}

.contact-form h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    flex: 1;
    margin-bottom: 2rem;
}

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

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.form-submit {
    margin-top: 2rem;
}

.map-section {
    margin-bottom: 6rem;
}

.map-section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
}

.map-container {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.map-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
}

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

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

.modal-content {
    background-color: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalFade 0.3s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.modal-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    color: var(--success-color);
}

.modal-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.modal-content p {
    margin-bottom: 2.5rem;
    color: var(--gray-color);
}

.modal-content .btn {
    margin-top: 1rem;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .navbar {
        gap: 1.5rem;
    }
    
    .hero {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
    
    .blog-section {
        width: 100%;
    }
    
    .blog-sidebar {
        width: 100%;
    }
    
    .container {
        display: flex;
        flex-direction: column;
    }
    
    .about-intro, .services-intro, .contact-intro {
        flex-direction: column;
    }
    
    .history-content {
        flex-direction: column;
    }
    
    .service-item, .service-item.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .navbar {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-card {
        flex-direction: column;
    }
    
    .blog-card-image, .blog-card-content {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }
    
    .post-grid, .services-grid, .team-grid, .workshops-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
