/*
Theme Name: StreamCan IPTV España
Theme URI: https://espanaiptv2026.com
Author: StreamCan
Author URI: https://espanaiptv2026.com
Description: Tema profesional IPTV España - Más de 10.000 canales en HD, Full HD y 4K
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamcan
Tags: iptv, españa, one-column, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    --gold: #C9A84C;
    --gold-hover: #B8963A;
    --gold-light: rgba(201,168,76,0.1);
    --gold-glow: rgba(201,168,76,0.3);
    --red: #E53935;
    --red-hover: #C62828;
    --dark: #0A0A0A;
    --dark-2: #141414;
    --dark-3: #1E1E1E;
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --gray-light: #E8E6E1;
    --gray: #999999;
    --gray-dark: #555555;
    --text: #1A1A1A;
    --text-light: #777777;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-hover);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1em;
    color: var(--text-light);
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--off-white);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: var(--gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--gray-light);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--red-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229,57,53,0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1DA851;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ============================================
   HEADER / NAVEGACIÓN
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo:hover {
    color: var(--gold);
}

.site-logo .logo-accent {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.current {
    color: var(--gold);
    background: rgba(201,168,76,0.1);
}

.nav-cta {
    margin-left: 10px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .text-gold {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

/* ============================================
   BENEFICIOS
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: var(--gold);
}

.benefit-card h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.benefit-card p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ============================================
   PRECIOS
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--gold);
    box-shadow: 0 10px 40px var(--gold-glow);
}

.pricing-card.popular::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.pricing-plan {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================
   DISPOSITIVOS
   ============================================ */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.device-item {
    text-align: center;
    padding: 30px 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.device-item:hover {
    background: var(--gold-light);
    border-color: rgba(201,168,76,0.2);
}

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.device-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.testimonial-location {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    gap: 15px;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question.active {
    color: var(--gold);
    background: var(--gold-light);
}

.faq-toggle {
    font-size: 1.3rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--gold);
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--dark);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
}

.cta-section h2 {
    color: var(--white);
    position: relative;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--gray);
    position: relative;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   PAGE HEADER (Páginas internas)
   ============================================ */
.page-header {
    background: var(--dark);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.page-header h1 {
    color: var(--white);
    position: relative;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--gray);
    position: relative;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    position: relative;
}

.breadcrumbs a {
    color: var(--gold);
}

.breadcrumbs span {
    color: var(--gray);
}

.breadcrumbs .sep {
    color: rgba(255,255,255,0.3);
}

/* ============================================
   CONTENIDO DE PÁGINA
   ============================================ */
.page-content {
    padding: 60px 0;
}

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.page-content p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.page-content ul {
    margin: 15px 0;
    padding-left: 0;
}

.page-content ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
}

.page-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.content-box {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    margin: 25px 0;
}

.content-box-gold {
    background: var(--gold-light);
    border-color: rgba(201,168,76,0.3);
}

/* ============================================
   INSTALACIÓN / GUÍAS
   ============================================ */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.setup-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.setup-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.setup-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.setup-card h3 .step-icon {
    font-size: 1.5rem;
}

.setup-steps {
    counter-reset: step;
}

.setup-steps li {
    counter-increment: step;
    padding: 10px 0 10px 40px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.setup-steps li:last-child {
    border-bottom: none;
}

.setup-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    background: var(--gold-light);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--gold);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-card h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.form-message {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 2.5rem;
}

.blog-card-body {
    padding: 25px;
}

.blog-card-category {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text);
}

.blog-card h3 a:hover {
    color: var(--gold);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    font-size: 0.82rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Single post */
.single-post-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 30px;
}

.single-post-header .blog-card-category {
    margin-bottom: 15px;
}

.single-post-header h1 {
    max-width: 800px;
    margin: 0 auto 15px;
}

.single-post-header .post-meta {
    color: var(--gray);
    font-size: 0.9rem;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-content h2 {
    margin-top: 40px;
}

.single-post-content h3 {
    margin-top: 30px;
}

.single-post-content p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.single-post-content img {
    border-radius: var(--radius);
    margin: 25px 0;
}

.single-post-content ul,
.single-post-content ol {
    margin: 15px 0 15px 30px;
}

.single-post-content ul li,
.single-post-content ol li {
    padding: 5px 0;
    color: var(--text-light);
}

.single-post-content ul {
    list-style: disc;
}

.single-post-content ol {
    list-style: decimal;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo {
    margin-bottom: 15px;
    display: inline-flex;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-contact-item .fc-icon {
    color: var(--gold);
    margin-top: 3px;
}

.footer-contact-item a {
    color: var(--gray);
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-bottom a {
    color: var(--gray);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ============================================
   404
   ============================================ */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.error-404 h2 {
    margin-bottom: 15px;
}

.error-404 p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
    color: white;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.checkout-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 25px;
}

.checkout-plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.checkout-plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 20px;
}

.checkout-plan-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.checkout-features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkout-features-list li:last-child {
    border-bottom: none;
}

.checkout-features-list .check {
    color: var(--gold);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 15px;
        border-bottom: 1px solid rgba(201,168,76,0.15);
        gap: 0;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu a {
        padding: 12px 16px;
        width: 100%;
    }
    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
    }
    .mobile-toggle {
        display: block;
    }
    .benefits-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .devices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .setup-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        gap: 25px;
        flex-wrap: wrap;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .pricing-price {
        font-size: 2.5rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   WORDPRESS CLASES GLOBALES
   ============================================ */
.aligncenter {
    display: block;
    margin: 20px auto;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.wp-block-image img {
    border-radius: var(--radius);
}

.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;
    width: 1px;
    word-wrap: normal !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--dark);
}