/*
Theme Name: Limón Custom
Theme URI: https://limonconsal.cl
Author: Limón con Sal
Author URI: https://limonconsal.cl
Description: Tema personalizado para agencia de marketing digital Limón con Sal. Diseño moderno, rápido y optimizado para SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: limon-custom
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Limón con Sal - Creativos Ácidos & Jugosos
*/

/* ============================================
   CSS VARIABLES - PALETA DE COLORES
   ============================================ */
:root {
    --limon-primary: #cfdc01;
    --limon-primary-dark: #b8c400;
    --limon-secondary: #393939;
    --limon-dark: #1a1a1a;
    --limon-darker: #111111;
    --limon-white: #ffffff;
    --limon-light: #f8f9fa;
    --limon-gray: #6c757d;
    --limon-gray-light: #e9ecef;
    --limon-accent: #D1DA26;
    --limon-blue: #6EC1E4;
    --limon-transition: all 0.3s ease;
    --limon-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --limon-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.25);
    --limon-radius: 12px;
    --limon-radius-sm: 8px;
    --limon-container: 1200px;
    --limon-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --limon-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--limon-font-primary);
    color: var(--limon-secondary);
    background-color: var(--limon-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* Global Font Awesome icon size control */
i.fab, i.fas, i.far, i.fa {
    font-size: inherit;
    line-height: 1;
    vertical-align: middle;
}

.social-icons-top a i,
.footer-social a i {
    font-size: 0.65rem !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--limon-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--limon-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--limon-gray);
}

.container {
    width: 100%;
    max-width: var(--limon-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--limon-dark);
    transition: var(--limon-transition);
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    background: var(--limon-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-top-left a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-top-left a:hover {
    color: var(--limon-primary);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.social-icons-top a {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6rem;
    transition: var(--limon-transition);
}

.social-icons-top a:hover {
    background: var(--limon-primary);
    border-color: var(--limon-primary);
    color: var(--limon-dark);
}

.header-main {
    padding: 1rem 0;
}

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

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

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.main-navigation a {
    color: var(--limon-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--limon-radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--limon-transition);
    position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--limon-dark);
    background: var(--limon-primary);
}

.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--limon-white);
    min-width: 220px;
    border-radius: var(--limon-radius-sm);
    box-shadow: var(--limon-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--limon-transition);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 100;
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    color: var(--limon-secondary);
    padding: 0.6rem 1.2rem;
    display: block;
    border-radius: 0;
}

.main-navigation .sub-menu a:hover {
    background: var(--limon-light);
    color: var(--limon-primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--limon-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--limon-dark) 0%, var(--limon-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(207, 220, 1, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(207, 220, 1, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-subtitle {
    color: var(--limon-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero-title {
    color: var(--limon-white);
    margin-bottom: 0.5rem;
}

.hero-title span {
    color: var(--limon-primary);
    display: block;
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--limon-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--limon-transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn i,
.btn .fa {
    font-size: 0.8rem !important;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--limon-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(207, 220, 1, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--limon-white);
    border-color: var(--limon-white);
}

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

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

.btn-secondary:hover {
    background: var(--limon-primary);
    border-color: var(--limon-primary);
    transform: translateY(-2px);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--limon-dark);
    color: var(--limon-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--limon-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-gray {
    background: var(--limon-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .divider {
    width: 80px;
    height: 4px;
    background: var(--limon-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--limon-white);
    border-radius: var(--limon-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--limon-transition);
    border: 1px solid var(--limon-gray-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--limon-primary);
    transform: scaleX(0);
    transition: var(--limon-transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--limon-shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: var(--limon-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--limon-transition);
    overflow: hidden;
}

.service-card:hover .service-icon {
    background: var(--limon-primary);
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--limon-secondary);
    transition: var(--limon-transition);
}

.service-card:hover .service-icon i {
    color: var(--limon-dark);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--limon-dark);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--limon-primary-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.service-link:hover {
    color: var(--limon-primary);
    gap: 0.6rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--limon-primary) 0%, var(--limon-accent) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--limon-dark);
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-section p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.btn-dark:hover {
    background: transparent;
    color: var(--limon-dark);
    border-color: var(--limon-dark);
}

/* ============================================
   PROYECTOS / PORTAFOLIO
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-item {
    position: relative;
    border-radius: var(--limon-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--limon-transition);
}

.project-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   CLIENTS CAROUSEL
   ============================================ */
.clients-section {
    background: var(--limon-dark);
    padding: 3rem 0;
    overflow: hidden;
}

.clients-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.clients-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    align-items: center;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.clients-track img {
    height: 45px;
    width: auto;
    min-width: 100px;
    max-width: 150px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.clients-track img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   ALL ICONS - GLOBAL SIZE CONTROL
   ============================================ */
i.fas, i.fab, i.far, i.fa {
    font-size: 0.7rem !important;
    line-height: 1;
    vertical-align: middle;
}

/* Header top bar */
.header-top-left i {
    font-size: 0.65rem !important;
    margin-right: 0.25rem;
}

.social-icons-top a {
    width: 24px;
    height: 24px;
    font-size: 0.6rem !important;
}

/* Hamburger */
.menu-toggle i {
    font-size: 1.1rem !important;
}

/* Buttons */
.btn i, .btn .fa {
    font-size: 0.7rem !important;
}

/* Service links */
.service-link i {
    font-size: 0.65rem !important;
}

.contact-details .icon i {
    font-size: 0.65rem !important;
}

/* Footer social */
.footer-social a {
    width: 28px;
    height: 28px;
}

.footer-social a i {
    font-size: 0.6rem !important;
}

/* Footer contact */
.footer-contact .icon i {
    font-size: 0.65rem !important;
}

/* Scroll to top */
.scroll-to-top i {
    font-size: 0.85rem !important;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--limon-gray);
}

.contact-details .icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--limon-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--limon-dark);
    flex-shrink: 0;
    font-size: 0.65rem;
}

.contact-details strong {
    display: block;
    color: var(--limon-dark);
    margin-bottom: 0.2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--limon-darker);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 45px;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--limon-transition);
    font-size: 0.7rem;
}

.footer-social a:hover {
    background: var(--limon-primary);
    border-color: var(--limon-primary);
    color: var(--limon-dark);
}

.footer-title {
    color: var(--limon-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--limon-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '›';
    color: var(--limon-primary);
    font-weight: bold;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact .icon {
    color: var(--limon-primary);
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.footer-contact .icon i {
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--limon-primary);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--limon-primary);
    color: var(--limon-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--limon-transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(207, 220, 1, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--limon-dark);
    color: var(--limon-white);
    transform: translateY(-3px);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--limon-dark) 0%, var(--limon-secondary) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--limon-white);
    margin-bottom: 1rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--limon-primary);
}

.page-content {
    padding: 5rem 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--limon-dark);
        padding: 5rem 2rem 2rem;
        transition: var(--limon-transition);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        display: none;
        padding-left: 1rem;
    }
    
    .main-navigation .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .header-top {
        display: none;
    }
    
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-track {
        gap: 2rem;
        animation-duration: 20s;
    }
    
    .clients-track img {
        height: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .header-main .container {
        padding: 0 1rem;
    }
    
    .site-logo img {
        height: 40px;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--limon-primary) !important; }
.text-white { color: var(--limon-white) !important; }
.text-dark { color: var(--limon-dark) !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   BLOG & POSTS
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--limon-white);
    border-radius: var(--limon-radius);
    overflow: hidden;
    border: 1px solid var(--limon-gray-light);
    transition: var(--limon-transition);
}

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

.post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.post-content {
    padding: 1.5rem;
}

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

.post-content h2 a {
    color: var(--limon-dark);
}

.post-content h2 a:hover {
    color: var(--limon-primary-dark);
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--limon-gray);
    margin-bottom: 1rem;
}

.post-meta i {
    margin-right: 0.3rem;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-thumbnail-large {
    border-radius: var(--limon-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-thumbnail-large img {
    width: 100%;
    height: auto;
}

.post-meta-single {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--limon-gray);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--limon-gray-light);
}

.post-meta-single i {
    margin-right: 0.3rem;
    color: var(--limon-primary);
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.entry-content img {
    border-radius: var(--limon-radius-sm);
    margin: 1.5rem 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--limon-primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--limon-light);
    border-radius: 0 var(--limon-radius-sm) var(--limon-radius-sm) 0;
    font-style: italic;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--limon-gray-light);
}

.nav-previous a,
.nav-next a {
    color: var(--limon-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--limon-primary-dark);
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--limon-radius-sm);
    background: var(--limon-light);
    color: var(--limon-secondary);
    font-weight: 500;
    transition: var(--limon-transition);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--limon-primary);
    color: var(--limon-dark);
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--limon-gray-light);
}

.comments-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--limon-light);
    border-radius: var(--limon-radius-sm);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-author {
    font-weight: 600;
    color: var(--limon-dark);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--limon-gray);
}

.comment-body p {
    margin-bottom: 0;
}

.comment-reply-link {
    color: var(--limon-primary-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--limon-dark);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--limon-gray-light);
    border-radius: var(--limon-radius-sm);
    font-family: var(--limon-font-primary);
    font-size: 1rem;
    transition: var(--limon-transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--limon-primary);
    box-shadow: 0 0 0 3px rgba(207, 220, 1, 0.2);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.search-form label {
    flex: 1;
}

.search-field {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--limon-gray-light);
    border-radius: var(--limon-radius-sm) 0 0 var(--limon-radius-sm);
    font-size: 1rem;
    font-family: var(--limon-font-primary);
}

.search-field:focus {
    outline: none;
    border-color: var(--limon-primary);
}

.search-submit {
    padding: 0.8rem 1.2rem;
    background: var(--limon-primary);
    color: var(--limon-dark);
    border: none;
    border-radius: 0 var(--limon-radius-sm) var(--limon-radius-sm) 0;
    cursor: pointer;
    transition: var(--limon-transition);
}

.search-submit:hover {
    background: var(--limon-primary-dark);
}

/* ============================================
   WIDGETS
   ============================================ */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--limon-primary);
}

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

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--limon-gray-light);
}

.widget a {
    color: var(--limon-secondary);
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--limon-white);
    border-radius: var(--limon-radius-sm);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--limon-secondary);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--limon-primary);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--limon-primary);
    color: var(--limon-dark);
    padding: 0.5rem 1rem;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   NO RESULTS
   ============================================ */
.no-results {
    padding: 4rem 2rem;
}

.no-results h2 {
    margin-bottom: 1rem;
}

.no-results p {
    margin-bottom: 2rem;
}

/* Error 404 */
.error-404 {
    padding: 4rem 2rem;
}

.error-404 h2 {
    margin-bottom: 1rem;
}

.error-404 p {
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .scroll-to-top,
    .menu-toggle,
    .mobile-overlay {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
        background: none;
    }
}
