/* ========== VARIABLES CSS DINÁMICAS ========== */
:root {
    /* Colores principales */
    --color-primario: #FFD700;
    --color-fondo: #000000;
    --color-texto: #FFFFFF;
    --color-header-bg: rgba(0, 0, 0, 0.95);
    --color-hero-overlay: rgba(0, 0, 0, 0.7);
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-footer-bg: #111111;
    /* Tipografía */
    --font-family: 'Montserrat', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-hero-title: 4rem;
    --font-size-hero-subtitle: 24px;
    --marquee-speed: 20s;
}

/* ========== RESET Y BASE ========== */
.latina-network-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.latina-network-wrapper {
    font-family: var(--font-family);
    background: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    min-height: 100vh;
    font-size: var(--font-size-base);
}
.latina-network-wrapper a {
    text-decoration: none;
    color: inherit;
}
.latina-network-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== HEADER ========== */
.home-one-header {
    background: var(--color-header-bg);
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--color-primario);
    transition: top 0.4s ease-in-out;
}
.home-one-header.header-visible {
    top: 0;
}
.nav-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.brand-logo {
    flex: 0 0 auto;
}
.brand-logo img {
    height: 60px !important;
    width: auto !important;
}

/* Menú central */
.nav-menu-center {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}
.nav-menu-center .nav-link {
    color: var(--color-texto);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}
.nav-menu-center .nav-link:hover {
    color: var(--color-primario);
    background: rgba(255, 215, 0, 0.1);
}
.menu-divider {
    color: var(--color-primario);
    font-weight: bold;
}

/* Redes sociales header */
.social-links-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.social-links-header .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.social-links-header .social-link:hover {
    background: var(--color-primario);
    transform: translateY(-2px);
    border-color: var(--color-primario);
}
.social-links-header .social-link i {
    font-size: 16px;
    color: var(--color-texto);
}
.social-links-header .social-link:hover i {
    color: #000;
}

/* ========== HERO SECTION ========== */
.home-hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

/* Fondo (video o imagen) */
.background-video-wrapper,
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-hero-overlay);
    z-index: 1;
}

/* Contenido */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

/* Título principal */
.hero-title-text {
    font-size: var(--font-size-hero-title);
    font-weight: 800;
    color: var(--color-texto);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

/* Subtítulo */
.hero-sub-title {
    font-size: var(--font-size-hero-subtitle);
    color: var(--color-primario);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 300;
    overflow: hidden;
    border-right: 3px solid var(--color-primario);
    white-space: nowrap;
    margin: 0 auto 30px;
    animation: 
        dramaticTypewriter 2.5s steps(30) 1s both,
        dramaticBlinkCursor 0.7s steps(30) infinite;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}

/* Título alternativo (hero-ttitle-wrap) */
.hero-ttitle-wrap {
    position: relative;
    margin: 0 auto 30px;
}
.hero-ttitle-wrap h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-texto);
    margin-bottom: 20px;
}

/* ========== AJUSTE DEL HERO-SHAPE ========== */
/*
 * MODIFICACIÓN: Se reestructuró hero-shape para centrarlo debajo de los textos (hero-sub-title y hero-ttitle-wrap h1).
 * Se elimina posicionamiento absoluto relativo al lateral y se coloca dentro del contenedor con display:flex.
 */
.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-shape {
    width: 120px;
    height: auto;
    opacity: 0.8;
    margin-top: 15px;
    filter: drop-shadow(0 0 10px var(--color-primario));
    /* Animación de flotación */
    animation: strongFloat 8s ease-in-out infinite;
}
/* =========================================== */

/* Botones */
.button-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 20px;
}
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    min-width: 140px;
    flex-shrink: 0;
}
.primary-button {
    background: var(--color-primario);
    color: #000000;
    border: 2px solid var(--color-primario);
}
.primary-button:hover {
    background: transparent;
    color: var(--color-primario);
    transform: translateY(-3px);
}
.secondary-button {
    background: transparent;
    color: var(--color-texto);
    border: 2px solid var(--color-texto);
}
.secondary-button:hover {
    background: var(--color-texto);
    color: #000000;
    transform: translateY(-3px);
}

/* Margins */
.margin-bottom-10px { margin-bottom: 10px !important; }
.margin-bottom-20px { margin-bottom: 20px !important; }
.margin-bottom-30px { margin-bottom: 30px !important; }

/* ========== ANIMACIONES HERO - VERSIÓN INTENSIFICADA ========== */

/* ROTACIÓN MÁS DRAMÁTICA AL CARGAR */
@keyframes dramaticRotateIn {
    0% {
        opacity: 0;
        transform: rotate(-25deg) scale(0.5) translateX(-100px);
        filter: blur(10px);
    }
    30% {
        opacity: 0.8;
        transform: rotate(15deg) scale(1.2) translateX(50px);
        filter: blur(5px);
    }
    60% {
        opacity: 1;
        transform: rotate(-8deg) scale(1.1) translateX(-20px);
        filter: blur(2px);
    }
    80% {
        transform: rotate(4deg) scale(1.05) translateX(10px);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1) translateX(0);
        filter: blur(0);
    }
}

.animate-rotate-in {
    animation: dramaticRotateIn 1.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
    animation-delay: 0.2s;
}

/* FADE UP MÁS DRAMÁTICO */
@keyframes dramaticFadeUp {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8) rotate(5deg);
        filter: blur(15px);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-10px) scale(1.1) rotate(-2deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        filter: blur(0);
    }
}

.animate-fade-up {
    animation: dramaticFadeUp 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.8s;
}

/* PULSO MÁS FUERTE PARA BOTONES */
@keyframes strongPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.animate-pulse {
    animation: strongPulse 2.5s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
    animation-delay: 1.8s;
}

/* ZOOM MÁS PRONUNCIADO AL HOVER */
.home-hero-section {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-hero-section:hover {
    transform: scale(1.08) !important;
}

/* EFECTOS DE TEXTO MÁS INTENSOS AL HOVER */
.home-hero-section:hover .hero-title-text {
    transform: scale(1.2) rotate(2deg) !important;
    text-shadow: 
        0 0 20px var(--color-primario),
        0 0 40px var(--color-primario),
        0 0 60px var(--color-primario),
        0 0 80px var(--color-primario),
        0 0 100px var(--color-primario) !important;
    letter-spacing: 5px !important;
    color: #ffffff !important;
}

.home-hero-section:hover .hero-sub-title {
    transform: scale(1.1) !important;
    letter-spacing: 8px !important;
    color: var(--color-primario) !important;
    text-shadow: 
        0 0 10px var(--color-primario),
        0 0 20px var(--color-primario) !important;
    font-weight: 700 !important;
}

/* RESPIRACIÓN MÁS PRONUNCIADA */
@keyframes strongBreathe {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    25% {
        transform: scale(1.08) rotate(1deg);
        text-shadow: 
            4px 4px 12px rgba(0, 0, 0, 0.8),
            0 0 25px var(--color-primario);
    }
    50% {
        transform: scale(1.12) rotate(-1deg);
        text-shadow: 
            6px 6px 20px rgba(0, 0, 0, 0.9),
            0 0 40px var(--color-primario);
    }
    75% {
        transform: scale(1.08) rotate(0.5deg);
        text-shadow: 
            4px 4px 12px rgba(0, 0, 0, 0.8),
            0 0 25px var(--color-primario);
    }
}

.hero-title-text {
    animation: strongBreathe 6s ease-in-out infinite;
    animation-delay: 2.5s;
    transform-origin: center center;
}

/* FLOTACIÓN MÁS EXAGERADA */
@keyframes strongFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) rotate(8deg) scale(1.1);
    }
    50% {
        transform: translateY(15px) rotate(-6deg) scale(0.9);
    }
    75% {
        transform: translateY(-15px) rotate(4deg) scale(1.05);
    }
}

.hero-shape {
    animation: strongFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--color-primario));
}

/* EFECTO MÁQUINA DE ESCRIBIR MÁS DRAMÁTICO */
@keyframes dramaticTypewriter {
    from {
        width: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes dramaticBlinkCursor {
    0%, 50% {
        border-right-color: var(--color-primario);
        box-shadow: 0 0 10px var(--color-primario);
    }
    51%, 100% {
        border-right-color: transparent;
        box-shadow: 0 0 0 transparent;
    }
}

.hero-sub-title {
    overflow: hidden;
    border-right: 3px solid var(--color-primario);
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        dramaticTypewriter 2.5s steps(30) 1s both,
        dramaticBlinkCursor 0.7s steps(30) infinite;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}

/* EFECTO DE PARTÍCULAS/CHISPAS */
@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

.hero-title-text::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 24px;
    animation: sparkle 3s ease-in-out infinite;
}

.hero-title-text {
    position: relative;
    display: inline-block;
}

.hero-title-text::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 24px;
    animation: sparkle 3s ease-in-out infinite;
}
@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

/* Efectos al hacer hover */
.home-hero-section {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.home-hero-section:hover {
    transform: scale(1.08) !important;
}
.home-hero-section:hover .hero-title-text {
    transform: scale(1.2) rotate(2deg) !important;
    text-shadow: 
        0 0 20px var(--color-primario),
        0 0 40px var(--color-primario),
        0 0 60px var(--color-primario),
        0 0 80px var(--color-primario),
        0 0 100px var(--color-primario) !important;
    letter-spacing: 5px !important;
    color: #ffffff !important;
}
.home-hero-section:hover .hero-sub-title {
    transform: scale(1.1) !important;
    letter-spacing: 8px !important;
    color: var(--color-primario) !important;
    text-shadow: 
        0 0 10px var(--color-primario),
        0 0 20px var(--color-primario) !important;
    font-weight: 700 !important;
}

/* ========== MARQUEE SECTION ========== */
.marquee-section {
    background: var(--color-fondo);
    padding: 30px 0;
    overflow: hidden;
    border-bottom: 1px solid #333;
}
.marquee-wrapper {
    display: flex;
    animation: marquee-scroll var(--marquee-speed) linear infinite;
    white-space: nowrap;
}
.marquee-item-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}
.marquee-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-texto);
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== WIDGETS SECTION ========== */
.widgets-section {
    padding: 20px 0;
    background: var(--color-fondo);
}
.widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.widget-time-weather,
.news-marquee,
.live-programming {
    margin-bottom: 20px;
}
.news-marquee iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ========== PROGRAMACION SECTION ========== */
.programacion-section {
    padding: 40px 0;
    background: var(--color-fondo);
}
.programacion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.social-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}
.social-icon-wrap:hover {
    transform: scale(1.1);
    background: var(--color-primario);
}
.social-icon-wrap i {
    font-size: 18px;
    color: var(--color-texto);
}
.social-icon-wrap:hover i {
    color: #000;
}

/* ========== SHORTCODES ========== */
.shortcode-section {
    padding: 80px 0;
    width: 100%;
}
.shortcode-section.primary {
    background: var(--color-primario);
}
.shortcode-section.secondary {
    background: var(--color-fondo);
    border-top: 3px solid var(--color-primario);
    border-bottom: 3px solid var(--color-primario);
}
.shortcode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== FOOTER ========== */
.footer-section.v2 {
    background: var(--color-footer-bg);
    padding: 30px 0 15px;
    border-top: 3px solid var(--color-primario);
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-widgets-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-widget {
    text-align: center;
    width: 100%;
}

.footer-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.copyright-compact,
.developer-credit {
    color: var(--color-texto);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
.developer-credit a {
    color: #4a90e2 !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.developer-credit a:hover {
    color: #1e56a0 !important;
    text-decoration: underline;
}

.social-icons-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    max-width: 400px;
}
.social-icons-wrapper .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.social-icons-wrapper .social-icon:hover {
    background: var(--color-primario);
    transform: translateY(-2px);
    border-color: var(--color-primario);
}
/* ========== FOOTER - ÍCONOS DE REDES SOCIALES (CORREGIDO) ========== */
.footer-section.v2 .social-icons-wrapper .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.footer-section.v2 .social-icons-wrapper .social-icon i {
    font-size: 16px;
    color: #ffffff !important; /* Fuerza blanco */
    transition: color 0.2s ease;
}

.footer-section.v2 .social-icons-wrapper .social-icon:hover {
    background: var(--color-primario); /* #FFD700 */
    transform: translateY(-2px);
    border-color: var(--color-primario);
}

.footer-section.v2 .social-icons-wrapper .social-icon:hover i {
    color: #000000 !important; /* Fuerza negro */
}

.footer-section.v2 .social-icons-wrapper .social-icon {
    color: #ffffff !important;
}
.footer-section.v2 .social-icons-wrapper .social-icon:hover {
    color: #000000 !important;
}

/* ========== REPRODUCTOR FIJO ========== */
#fixed-player {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: #000000 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: auto !important;
    z-index: 999;
    transition: bottom 0.4s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}
#fixed-player.player-visible {
    bottom: 0;
}
.player-container {
    background: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 0 !important;
}
.player-container iframe {
    background: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    line-height: 0 !important;
    width: 100% !important;
    height: 100px !important;
}

/* Eliminar márgenes innecesarios */
body,
.latina-network-wrapper,
.home-hero-section,
.marquee-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* ========== ICONOS ========== */
.social-link i,
.social-icon i {
    transition: transform 0.3s ease;
}
.social-link:hover i,
.social-icon:hover i {
    transform: scale(1.2);
}

/* ========== MEDIA QUERIES ========== */
/* Tablets ≤ 1024px */
@media (max-width: 1024px) {
    .hero-title-text { font-size: 2.8rem; }
    .hero-ttitle-wrap h1 { font-size: 2.8rem; }
    .hero-shape { width: 100px; }
    .primary-button, .secondary-button {
        padding: 11px 22px;
        font-size: 13px;
        min-width: 130px;
    }
    .footer-content-row {
        gap: 15px;
        justify-content: center;
    }
    .social-icons-wrapper { order: -1; margin-bottom: 10px; }
    .social-icons-wrapper .social-icon {
        width: 38px;
        height: 38px;
    }
    .copyright-compact, .developer-credit { font-size: 13px; }
}

/* Tablets ≤ 768px */
@media (max-width: 768px) {
    .hero-title-text { font-size: 2.5rem !important; margin-bottom: 20px; }
    .hero-sub-title { font-size: 18px; letter-spacing: 2px; margin-bottom: 20px; }
    .hero-ttitle-wrap h1 { font-size: 2rem; margin-bottom: 30px; }
    .hero-shape { width: 80px; margin-top: 15px; opacity: 0.7; }
    .button-wrapper {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
    }
    .primary-button, .secondary-button {
        padding: 12px 25px;
        font-size: 12px;
        min-width: 100%;
        max-width: 250px;
        min-height: 44px;
        touch-action: manipulation;
    }
    .home-one-header { padding: 20px 0; }
    .brand-logo img { height: 80px !important; }
    .nav-menu-center {
        order: 3;
        flex: 1 0 100%;
        justify-content: center;
        margin-top: 20px;
        gap: 15px;
    }
    .footer-section.v2 { padding: 25px 0 10px; }
    .footer-content-row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .copyright-compact, .developer-credit {
        font-size: 12px;
        white-space: normal;
        line-height: 1.4;
    }
    .social-icons-wrapper { gap: 8px; margin-bottom: 8px; }
    .social-icons-wrapper .social-icon {
        width: 36px;
        height: 36px;
    }
    .social-icons-wrapper .social-icon i { font-size: 14px; }
}

/* Móviles ≤ 600px */
@media (max-width: 600px) {
    .hero-title-text { font-size: 2rem !important; }
    .hero-sub-title { font-size: 16px; letter-spacing: 1px; }
    .hero-ttitle-wrap h1 { font-size: 1.7rem; }
    .hero-shape { width: 70px; opacity: 0.6; }
    .button-wrapper { max-width: 260px; }
    .primary-button, .secondary-button {
        padding: 12px 20px;
        font-size: 12px;
    }
}

/* Móviles ≤ 480px */
@media (max-width: 480px) {
    .hero-title-text { font-size: 1.8rem !important; letter-spacing: 1px; }
    .hero-sub-title { font-size: 14px; letter-spacing: 1px; }
    .hero-ttitle-wrap h1 { font-size: 1.5rem; }
    .hero-shape { width: 60px; opacity: 0.5; }
    .hero-content-wrapper { padding: 0 15px; }
    .button-wrapper { max-width: 240px; }
    .primary-button, .secondary-button {
        padding: 10px 18px;
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    .social-links-header .social-link { width: 32px; height: 32px; }
    .brand-logo img { height: 70px !important; }
    .footer-section.v2 { padding: 20px 0 8px; }
    .copyright-compact, .developer-credit { font-size: 11px; }
    .social-icons-wrapper .social-icon {
        width: 32px;
        height: 32px;
    }
    .social-icons-wrapper .social-icon i { font-size: 13px; }
}

/* Móviles ≤ 360px */
@media (max-width: 360px) {
    .hero-title-text { font-size: 1.6rem !important; }
    .hero-ttitle-wrap h1 { font-size: 1.3rem; }
    .hero-sub-title { font-size: 13px; }
    .hero-shape { width: 50px; opacity: 0.4; }
    .button-wrapper { max-width: 220px; }
    .primary-button, .secondary-button {
        padding: 9px 16px;
        font-size: 10px;
    }
}

/* Landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .home-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    .hero-shape { width: 60px; }
    .button-wrapper {
        flex-direction: row;
        max-width: 400px;
    }
    .primary-button, .secondary-button {
        min-width: 140px;
        width: auto;
        flex: 1;
    }
}

/* iPhone fixes */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .primary-button, .secondary-button {
            -webkit-appearance: none;
            border-radius: 50px;
        }
    }
}