/* 
* CoachVital - Estilo CSS principal
* Tema: Coaching y Desarrollo Personal
* Versión: 1.0
*/

/* ========================
   Variables y Configuración
======================== */
:root {
    /* Colores principales */
    --primary-color: #3a86ff;
    --secondary-color: #4cc9f0;
    --accent-color: #8338ec;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #38b000;
    --warning-color: #ffbe0b;
    --danger-color: #ff006e;
    --gray-dark: #343a40;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    
    /* Fuentes */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    --font-secondary: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
    
    /* Tamaños y espaciados */
    --header-height: 80px;
    --footer-height: 400px;
    --container-max-width: 1200px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Bordes y sombras */
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================
   Reseteo y Normalización
======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

ul, ol {
    list-style: none;
    padding-left: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* ========================
   Utilidades y Clases Comunes
======================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
}

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

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

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

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

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

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

/* ========================
   Encabezado y Navegación
======================== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

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

nav ul {
    display: flex;
}

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

nav ul li a {
    position: relative;
    font-weight: 600;
    color: var(--gray-dark);
    padding: var(--spacing-xs) 0;
}

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

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

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

/* ========================
   Página Principal - Hero
======================== */
.hero {
    background-color: #f8f9fa;
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, rgba(58, 134, 255, 0.05) 100%);
    z-index: 0;
    animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateZ(20px);
    transition: transform var(--transition-normal);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateZ(30px);
}

/* Countdown Timer */
.countdown {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.countdown p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

#timer {
    display: flex;
    gap: var(--spacing-md);
    justify-content: space-between;
}

#timer div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#timer div span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

#timer div span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: var(--spacing-xs);
}

/* ========================
   Página Principal - Posts
======================== */
.featured-posts {
    padding: var(--spacing-xxl) 0;
}

.featured-posts h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--dark-color);
    position: relative;
}

.featured-posts h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

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

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

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

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

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

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

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

.post-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* ========================
   Newsletter
======================== */
.newsletter {
    background-color: var(--accent-color);
    padding: var(--spacing-xl) 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,208C96,224,192,256,288,245.3C384,235,480,181,576,154.7C672,128,768,128,864,154.7C960,181,1056,235,1152,218.7C1248,203,1344,117,1392,74.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E') no-repeat bottom center/cover;
    z-index: 0;
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
}

#newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

#newsletter-form input:focus {
    outline: none;
}

#newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 0 1.5rem;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    transition: background-color var(--transition-fast);
}

#newsletter-form button:hover {
    background-color: #2766cc;
}

/* ========================
   Footer
======================== */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

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

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

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

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    color: white;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

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

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p svg {
    margin-right: var(--spacing-sm);
    fill: var(--primary-color);
}

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

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

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

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.legal-links {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

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

.page-number {
    margin-top: var(--spacing-md);
    font-size: 0.8rem;
    opacity: 0.5;
    text-align: center;
}

/* ========================
   Cookie Notice
======================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
    z-index: 1000;
    display: none; /* Initially hidden, shown via JS */
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    color: var(--gray);
    max-width: 800px;
}

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
}

#accept-cookies {
    background-color: var(--primary-color);
    color: white;
}

#customize-cookies {
    background-color: var(--gray-light);
    color: var(--dark-color);
}

#reject-cookies {
    background-color: transparent;
    color: var(--gray);
}

.cookie-content a {
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* ========================
   About Us Page
======================== */
.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.about-hero h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.about-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-content {
    padding: var(--spacing-xl) 0;
}

.about-description {
    max-width: 800px;
    margin: 0 auto;
}

.about-description h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    color: var(--dark-color);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.about-description p {
    margin-bottom: var(--spacing-md);
    color: var(--gray);
    line-height: 1.7;
}

.about-description ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: var(--spacing-md);
}

.about-description ul li {
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

.team-section {
    background-color: var(--gray-light);
    padding: var(--spacing-xl) 0;
}

.team-section h2 {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

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

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

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

.team-member h3 {
    font-size: 1.25rem;
    margin: var(--spacing-md) 0 var(--spacing-xs);
    color: var(--dark-color);
}

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

.team-member p:nth-of-type(2) {
    font-size: 0.9rem;
    color: var(--gray);
    padding: 0 var(--spacing-md) var(--spacing-md);
    line-height: 1.5;
}

.testimonials {
    padding: var(--spacing-xl) 0;
}

.testimonials h2 {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.testimonial {
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial .quote {
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
}

.testimonial p {
    position: relative;
    z-index: 1;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.testimonial-author p {
    margin-bottom: 0;
}

.testimonial-author p:first-child {
    color: var(--dark-color);
    font-size: 1rem;
}

.testimonial-author p:last-child {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ========================
   Contact Page
======================== */
.contact-hero {
    background-color: var(--accent-color);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact-hero h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-section {
    padding: var(--spacing-xl) 0;
}

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

.contact-info h2, .contact-form-container h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
}

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

.info-item .icon {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    margin-top: 5px;
}

.info-item .text h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-color);
}

.info-item .text p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

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

.social-contact h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
    color: var(--gray-dark);
}

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

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

.form-group.consent {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.form-group.consent input {
    width: auto;
}

.form-group.consent label {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.btn-submit {
    grid-column: span 2;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

.map-section {
    padding: 0 0 var(--spacing-xl);
}

.map-section h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

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

.close-modal {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: color var(--transition-fast);
}

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

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

.success-icon {
    color: var(--success-color);
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.thank-you-message h2 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.thank-you-message p {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

#close-modal-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-fast);
}

#close-modal-btn:hover {
    background-color: var(--accent-color);
}

/* ========================
   Blog Post Pages
======================== */
.blog-post {
    padding: var(--spacing-xl) 0;
}

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

.post-header h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: var(--spacing-xs);
    object-fit: cover;
}

.post-meta .author span {
    font-size: 0.95rem;
    color: var(--gray);
}

.post-meta .author a {
    font-weight: 600;
}

.post-meta .date, .post-meta .categories {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--gray);
}

.post-meta .date svg, .post-meta .categories svg {
    margin-right: var(--spacing-xs);
}

.featured-image {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

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

.post-content p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.post-content h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    color: var(--dark-color);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.post-content h3 {
    font-size: 1.35rem;
    color: var(--dark-color);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.post-content ul, .post-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: 20px;
}

.post-content ul li, .post-content ol li {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content blockquote {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    background-color: rgba(58, 134, 255, 0.05);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-content blockquote p {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-xs);
}

.post-content blockquote cite {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: normal;
}

.post-footer {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.post-footer .tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
}

.post-footer .tags span {
    font-weight: 600;
    color: var(--gray-dark);
    margin-right: var(--spacing-xs);
}

.post-footer .tags a {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--gray-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray);
    transition: all var(--transition-fast);
}

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

.post-footer .share {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.post-footer .share span {
    font-weight: 600;
    color: var(--gray-dark);
    margin-right: var(--spacing-xs);
}

.post-footer .share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--gray-dark);
    transition: all var(--transition-fast);
}

.post-footer .share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    padding: var(--spacing-md) 0;
}

.post-navigation .prev, .post-navigation .next {
    max-width: 45%;
}

.post-navigation .prev a, .post-navigation .next a {
    display: flex;
    flex-direction: column;
}

.post-navigation span:first-child {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.post-navigation span:last-child {
    font-weight: 600;
    color: var(--dark-color);
}

.post-navigation .next {
    text-align: right;
}

.post-navigation .next a {
    align-items: flex-end;
}

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

.related-posts h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.related-posts .post-card {
    display: flex;
    flex-direction: column;
}

.related-posts .post-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

/* ========================
   Responsive Styles
======================== */
@media (max-width: 992px) {
    :root {
        --spacing-xxl: 4rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .post-grid, .team-grid, .testimonial-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-contact {
        margin-bottom: var(--spacing-lg);
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-content h2, .about-hero h1, .contact-hero h1 {
        font-size: 2rem;
    }
    
    header .logo h1 {
        font-size: 1.25rem;
    }
    
    nav ul li {
        margin-left: var(--spacing-md);
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    #newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: var(--spacing-sm);
    }
    
    #newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
        padding: 0.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .post-navigation .prev, .post-navigation .next {
        max-width: 100%;
    }
    
    .post-navigation .next {
        text-align: left;
    }
    
    .post-navigation .next a {
        align-items: flex-start;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .btn-submit {
        grid-column: 1;
    }
}
