/*
Theme Name: AdSales Clean Theme
Theme URI: https://accuweather.com/adsales
Author: AccuWeather Team
Author URI: https://accuweather.com
Description: Tema minimalista y limpio para AdSales.
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: adsales-clean
*/

/* ============================================
   TIPOGRAFÍA - Fuente Solis
   ============================================ */
@font-face {
    font-family: 'Solis';
    src: url('./assets/fonts/Solis-Thin.woff2') format('woff2'),
        url('./assets/fonts/Solis-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Solis';
    src: url('./assets/fonts/Solis-Light.woff2') format('woff2'),
        url('./assets/fonts/Solis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Solis';
    src: url('./assets/fonts/Solis-Regular.woff2') format('woff2'),
        url('./assets/fonts/Solis-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Solis';
    src: url('./assets/fonts/Solis-Medium.woff2') format('woff2'),
        url('./assets/fonts/Solis-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Solis';
    src: url('./assets/fonts/Solis-Bold.woff2') format('woff2'),
        url('./assets/fonts/Solis-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Solis';
    src: url('./assets/fonts/Solis-Black.woff2') format('woff2'),
        url('./assets/fonts/Solis-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: 'Solis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    background-color: #fff;
    color: #000;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* ============================================
   HEADER
   ============================================ */
.adsales-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99998; 
    width: 100%;
    height: 100px;
    background: #252525;
}

.adsales-header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    height: 100px;
    margin: 0 auto;
    padding: 0 0;
}

/* Logo */
.adsales-header__logo a {
    display: block;
}

.adsales-header__logo img {
    width: 223px;
    height: 34px;
    object-fit: contain;
}

/* Navigation */
.adsales-header__nav {
    display: flex;
    align-items: center;
}

.adsales-header__menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.adsales-header__menu li a {
    color: #FFF;
    font-family: 'Solis', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    transition: all 0.2s ease;
}

.adsales-header__menu li a:hover {
    color: #F05514;
}

/* Current page - Active state (WordPress adds these classes automatically) */
.adsales-header__menu li.current-menu-item > a,
.adsales-header__menu li.current_page_item > a,
.adsales-header__menu li.current-menu-ancestor > a,
.adsales-header__menu li.current-page-ancestor > a {
    color: #F05514;
}

/* Mobile Toggle */
.adsales-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.adsales-header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFF;
    transition: all 0.3s ease;
}

.adsales-header__toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.adsales-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.adsales-header__toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.adsales-main {
    padding-top: 0px;
}

/* ============================================
   FOOTER
   ============================================ */
.adsales-footer {
    width: 100%;
     /* fallback si no carga el video */
    position: relative;
    overflow: hidden;
    background: #F05514;
}

/* Video de fondo */
.adsales-footer__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Overlay con tu gradiente */
.adsales-footer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    
    background-blend-mode: multiply, normal;
    
    z-index: 1;
    pointer-events: none;
}

/* Footer Top */
.adsales-footer__top {
     position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 0;
}

/* Footer Left Column */
.adsales-footer__left {
    display: flex;
    width: 223px;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    flex-shrink: 0;
}

.adsales-footer__logo img {
    width: 223px;
    height: 34px;
    object-fit: contain;
}

/* Social */
.adsales-footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.adsales-footer__social-title {
    color: #FFF;
    text-align: center;
    font-family: 'Solis', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

.adsales-footer__social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.adsales-footer__social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.adsales-footer__social-icons a:hover {
    opacity: 0.8;
}

.adsales-footer__social-icons img {
    width: auto;
    height: 25px;
}
/* Footer Navigation */
.adsales-footer__nav {
    display: flex;
    align-items: flex-start;
    gap: 62px;
}

.adsales-footer__nav-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
}

.adsales-footer__nav-column a {
    color: #FFF;
    font-family: 'Solis', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    transition: opacity 0.2s ease;
}

.adsales-footer__nav-column a:hover {
    opacity: 0.8;
}

/* Footer Line */
.adsales-footer__line {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 1px;
    background: #FFF;
}

/* Footer Bottom */
.adsales-footer__bottom {
    position: relative;
    z-index: 2;
    width: 100%;
}

.adsales-footer__bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 26px 0;
}

.adsales-footer__copyright {
    color: #FFF;
    text-align: center;
    font-family: 'Solis', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

.adsales-footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adsales-footer__legal a {
    color: #FFF;
    font-family: 'Solis', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    transition: opacity 0.2s ease;
}

.adsales-footer__legal a:hover {
    opacity: 0.8;
}

.adsales-footer__legal-separator {
    color: #FFF;
    font-family: 'Solis', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

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

/* Large Desktop - 1800px */
@media (max-width: 1800px) {
    .adsales-header__wrapper,
    .adsales-footer__top,
    .adsales-footer__bottom-wrapper {
        padding-left: 0px;
        padding-right: 0px;
    }
}

/* Desktop - 1500px */
@media (max-width: 1500px) {
    .adsales-header__wrapper,
    .adsales-footer__top,
    .adsales-footer__bottom-wrapper {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* Large Desktop - 1400px */
@media (max-width: 1400px) {
    .adsales-footer__nav {
        gap: 40px;
    }
}

@media (max-width: 1350px) {
    .adsales-header__menu {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .adsales-header__menu li a {
        color: #FFF;
        font-family: 'Solis', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%;
        transition: all 0.2s ease;
    }
    
    /* Active state for 1350px */
    .adsales-header__menu li.current-menu-item > a,
    .adsales-header__menu li.current_page_item > a,
    .adsales-header__menu li.current-menu-ancestor > a,
    .adsales-header__menu li.current-page-ancestor > a {
        color: #F05514;
    }
}

/* Tablet - 1200px */
@media (max-width: 1200px) {
    .adsales-header__toggle {
        display: flex;
    }

    .adsales-header__nav {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        z-index: 99998;
        background: #252525;
        padding: 20px 50px 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .adsales-header__nav.is-open {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

    .adsales-header__menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .adsales-header__menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .adsales-header__menu li:last-child {
        border-bottom: none;
    }

    .adsales-header__menu li a {
        display: block;
        padding: 15px 0;
    }
    
    /* Active state in mobile menu */
    .adsales-header__menu li.current-menu-item > a,
    .adsales-header__menu li.current_page_item > a,
    .adsales-header__menu li.current-menu-ancestor > a,
    .adsales-header__menu li.current-page-ancestor > a {
        color: #F05514;
    }

    /* Footer responsive */
    .adsales-footer__top {
        flex-direction: column;
        gap: 40px;
    }

    .adsales-footer__nav {
        flex-wrap: wrap;
        gap: 40px 60px;
    }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .adsales-header__wrapper,
    .adsales-footer__top,
    .adsales-footer__bottom-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .adsales-header__nav {
        padding: 0px 20px 20px 20px;
    }

    .adsales-footer__nav {
        gap: 30px 50px;
    }

    .adsales-footer__nav-column a {
        font-size: 16px;
    }

    .adsales-footer__copyright,
    .adsales-footer__legal a,
    .adsales-footer__legal-separator {
        font-size: 16px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .adsales-header {
        height: 70px;
    }
    .adsales-header__wrapper {
        height: 70px;
    }
    .adsales-header__nav {
        position: fixed;
        top: 70px;
    }
    .adsales-header__logo img {
        width: 180px;
        height: auto;
    }
    .adsales-main {
        padding-top: 0px;
    }

    /* Footer */
    .adsales-footer__top {
        padding: 40px 20px;
    }

    .adsales-footer__left {
        width: 100%;
        gap: 30px;
    }

    .adsales-footer__logo img {
        width: 180px;
        height: auto;
    }

    .adsales-footer__nav {
        width: 100%;
        flex-direction: column;
        gap: 25px;
    }

    .adsales-footer__nav-column {
        gap: 12px;
    }

    .adsales-footer__bottom-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .adsales-footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .adsales-footer__copyright,
    .adsales-footer__legal a,
    .adsales-footer__legal-separator {
        font-size: 14px;
    }
}

/* Mobile Small - 480px */
@media (max-width: 480px) {
    .adsales-header__logo img {
        width: 160px;
    }

    .adsales-header__menu li a {
        font-size: 16px;
    }

    .adsales-footer__logo img {
        width: 160px;
    }

    .adsales-footer__social-title {
        font-size: 14px;
    }

    .adsales-footer__social-icons {
        gap: 15px;
    }

    .adsales-footer__social-icons img {
        width: 22px;
        height: 22px;
    }

    .adsales-footer__nav-column a {
        font-size: 14px;
    }

    .adsales-footer__copyright,
    .adsales-footer__legal a,
    .adsales-footer__legal-separator {
        font-size: 12px;
    }
}

/* ============================================
   SCROLL-DOWN ARROW + GRADIENT OVERLAY
   ============================================ */
.adsales-scroll-arrow {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    /* No background here */
}

/* Gradient that sits behind and below the arrow */
.adsales-scroll-arrow::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.75) 20%,
        rgba(255, 255, 255, 0.45) 75%,
        rgba(255, 255, 255, 0.3) 90%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.adsales-scroll-arrow svg {
    display: block;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    animation: adsales-bounce 2s ease-in-out infinite;
}

.adsales-scroll-arrow.is-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes adsales-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .adsales-scroll-arrow svg {
        width: 50px;
        height: 50px;
        margin-bottom: 30px;
    }
    .adsales-scroll-arrow::before {
        height: 110px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}




































/* ============================================
   404 PAGE STYLES - AdSales Theme
   ============================================ */
.error-404-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(700px + 100px);
    background: #fff;
    padding: 75px 187px;
    padding-top: calc(75px + 100px);
    box-sizing: border-box;
}

.error-404-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.error-404-title {
    color: #000;
    font-family: 'Solis', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 35px 0;
}

.error-404-description {
    color: #000;
    font-family: 'Solis', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0 0 40px 0;
}

.error-404-button {
    display: inline-flex;
    padding: 12px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #f05514;
    color: #ffffff;
    font-family: 'Solis', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(245, 73, 0, 0.30),
                0 4px 6px -4px rgba(245, 73, 0, 0.30);
}

.error-404-button:hover {
    background: #d94a0f;
    transform: translateY(-2px);
    box-shadow: 0 14px 20px -3px rgba(245, 73, 0, 0.35),
                0 6px 8px -4px rgba(245, 73, 0, 0.35);
}

/* Responsive */
@media (max-width: 1800px) {
    .error-404-page {
        padding: 75px 100px;
        padding-top: calc(75px + 100px);
    }
}

@media (max-width: 1500px) {
    .error-404-page {
        padding: 75px 50px;
        padding-top: calc(75px + 100px);
        min-height: calc(650px + 100px);
    }

    .error-404-title {
        font-size: 40px;
    }

    .error-404-description {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .error-404-page {
        padding: 50px 20px;
        padding-top: calc(50px + 100px);
        min-height: calc(550px + 100px);
    }

    .error-404-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .error-404-description {
        font-size: 20px;
        margin-bottom: 35px;
    }
}

@media (max-width: 768px) {
    .error-404-page {
        padding: 40px 20px;
        padding-top: calc(40px + 70px);
        min-height: calc(500px + 70px);
    }

    .error-404-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .error-404-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .error-404-button {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .error-404-page {
        padding: 30px 15px;
        padding-top: calc(30px + 70px);
        min-height: calc(450px + 70px);
    }

    .error-404-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .error-404-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .error-404-button {
        font-size: 15px;
        width: 100%;
    }
}