/* ===============================================
   PIXELIA - Modern Tech Review Website Styles
   Brand Colors:
   - Primary: #1A202C
   - Cyan: #06B6D4
   - Purple: #8B5CF6
   - White: #FFFFFF
   =============================================== */

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

:root {
    --primary-dark: #1A202C;
    --cyan: #06B6D4;
    --purple: #8B5CF6;
    --white: #FFFFFF;
    --gray-100: #F7FAFC;
    --gray-200: #EDF2F7;
    --gray-300: #E2E8F0;
    --gray-600: #718096;
    --gray-700: #4A5568;
    --gradient: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.circuit-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0.6;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-isotipo {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-logotipo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-isotipo,
.logo:hover .logo-logotipo {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--primary-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--purple);
}

.nav-link.active::after {
    width: 100%;
    background: var(--gradient);
}

.search-icon {
    cursor: pointer;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.search-icon:hover {
    color: var(--purple);
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header scroll effects */
.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(139, 92, 246, 0.03) 50px, rgba(139, 92, 246, 0.03) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(6, 182, 212, 0.03) 50px, rgba(6, 182, 212, 0.03) 51px);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-isotipo {
    height: 150px;
    width: auto;
    animation: fadeIn 0.8s ease;
}

.hero-logotipo {
    height: 100px;
    width: auto;
    animation: fadeIn 0.8s ease 0.2s backwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ===== FEATURED CARD ===== */
.featured-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.featured-description {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.pixel-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.pixel-score::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.score-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--purple);
    font-weight: 600;
    border: 2px solid var(--purple);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    grid-auto-flow: dense;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.card-large {
    grid-column: span 2;
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-large .card-image {
    height: 320px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.review-card:hover .card-image img {
    transform: scale(1.15);
}

.card-content {
    padding: 1.75rem;
}

.card-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.review-card:hover .card-title {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-large .card-title {
    font-size: 1.5rem;
}

.card-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pixel-score-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
    width: fit-content;
}

.pixel-score-mini .score-label {
    font-size: 0.75rem;
}

.pixel-score-mini .score-value {
    font-size: 1.5rem;
}

/* Card Links and Buttons */
.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.card-image-link {
    display: block;
    position: relative;
    z-index: 1;
}

.card-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.review-card:hover .card-title a {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--purple);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    gap: 0.75rem;
}

.btn-read-more svg {
    transition: transform 0.3s ease;
}

.btn-read-more:hover svg {
    transform: translateX(4px);
}

/* ===== SOBRE NOSOTROS SECTION ===== */
.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    position: relative;
    overflow: hidden;
}

.about-page {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-intro,
.about-philosophy,
.about-mission,
.about-promise {
    animation: fadeIn 0.8s ease;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.about-text-highlight {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary-dark);
    font-weight: 500;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    text-align: center;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
    filter: grayscale(0);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.feature-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== LEGAL PAGES (Privacy Policy, etc.) ===== */
.legal-section {
    margin-top: 80px;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    min-height: calc(100vh - 80px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-top: 1.5rem;
    text-align: left;
}

.legal-content {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.legal-article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subsection {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--purple);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text a {
    color: var(--purple);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: var(--cyan);
}

.legal-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-update {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-left: 4px solid var(--purple);
    border-radius: 8px;
}

.contact-info {
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 12px;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-100);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-isotipo {
    width: 45px;
    height: auto;
}

.footer-logotipo {
    width: auto;
    height: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--gray-600);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--purple);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-300);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large Screens (4K, Ultra-wide monitors) */
@media (min-width: 2560px) {
    .nav-container,
    .hero-container,
    .section-container,
    .footer-container {
        max-width: 1800px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .card-image {
        height: 300px;
    }

    .card-large .card-image {
        height: 400px;
    }
}

/* Large Desktop (1440px - 2559px) */
@media (min-width: 1440px) and (max-width: 2559px) {
    .nav-container,
    .hero-container,
    .section-container,
    .footer-container {
        max-width: 1400px;
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Standard Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-large {
        grid-column: span 1;
    }
}

/* Small Desktop / Large Tablet Landscape (1024px - 1199px) */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 1;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape (900px - 1023px) */
@media (max-width: 1023px) {
    .nav-container {
        padding: 0.875rem 1.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 1.25rem;
    }

    .hero-logos {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .hero-isotipo {
        height: 80px;
    }

    .hero-logotipo {
        height: 55px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .blog-section {
        padding: 3rem 1.25rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .card-image {
        height: 180px;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .category, .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .pixel-score {
        padding: 0.6rem 0.85rem;
        gap: 0.6rem;
    }

    .score-label {
        font-size: 0.65rem;
    }

    .score-value {
        font-size: 1.25rem;
    }

    .pixel-score-mini {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .pixel-score-mini .score-label {
        font-size: 0.6rem;
    }

    .pixel-score-mini .score-value {
        font-size: 1rem;
    }

    .about-section {
        padding: 3rem 1.25rem;
    }

    .about-text,
    .about-text-highlight {
        font-size: 0.95rem;
    }

    .about-content {
        gap: 1.5rem;
    }

    .legal-section {
        padding: 3rem 1.25rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .featured-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .pixel-score {
        justify-content: space-between;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .btn-read-more {
        font-size: 0.8rem;
    }
}

/* Small Mobile / Large Phone (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .logo-isotipo {
        height: 42px;
    }

    .logo-logotipo {
        height: 35px;
    }

    .hero-logos {
        gap: 0.75rem;
    }

    .hero-isotipo {
        height: 90px;
    }

    .hero-logotipo {
        height: 60px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .featured-title {
        font-size: 1.35rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pixel-score-mini {
        padding: 0.6rem 1rem;
    }

    .pixel-score-mini .score-value {
        font-size: 1.25rem;
    }
}

/* Extra Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .nav-container {
        padding: 0.75rem;
    }

    .logo-isotipo {
        height: 36px;
    }

    .logo-logotipo {
        height: 28px;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .hero-logos {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-isotipo {
        height: 60px;
    }

    .hero-logotipo {
        height: 40px;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .featured-content {
        padding: 1rem;
    }

    .featured-meta {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .featured-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .featured-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .featured-footer {
        gap: 0.75rem;
    }

    .blog-section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .blog-grid {
        gap: 1rem;
    }

    .card-image {
        height: 160px;
    }

    .card-content {
        padding: 1rem;
    }

    .card-meta {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .card-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .card-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .category, .tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    .pixel-score {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .score-label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .score-value {
        font-size: 1.1rem;
    }

    .pixel-score-mini {
        padding: 0.4rem 0.6rem;
        gap: 0.4rem;
    }

    .pixel-score-mini .score-label {
        font-size: 0.55rem;
    }

    .pixel-score-mini .score-value {
        font-size: 0.9rem;
    }

    .card-footer {
        gap: 0.5rem;
    }

    .btn-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.75rem;
    }

    .btn-read-more {
        font-size: 0.75rem;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    .legal-section {
        padding: 2rem 1rem;
    }

    .legal-content {
        padding: 1.25rem;
    }

    .legal-subtitle {
        font-size: 1.1rem;
    }

    .legal-text {
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-container {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-isotipo {
        width: 30px;
    }

    .footer-logotipo {
        height: 25px;
    }

    .footer-column h4 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .footer-column a {
        font-size: 0.8rem;
    }

    .footer-column li {
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 1rem;
    }
}

/* Very Small Screens (below 320px) */
@media (max-width: 319px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-isotipo {
        height: 60px;
    }

    .hero-logotipo {
        height: 40px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .featured-title {
        font-size: 1.1rem;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    }
}
