/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ===== HERO CTA CARDS (desktop + mobile) ===== */
/* Ensures styles load even if Avada strips <style> tags from fusion_code blocks */
.cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 460px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
.cta-box {
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 20px;
    padding: 26px 28px;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.cta-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 20px;
}
.cta-box:hover { transform: translateY(-3px); }
.cta-box:hover::after { opacity: 1; }
.cta-box__icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.cta-box__icon svg { width: 28px; height: 28px; }
.cta-box__content { position: relative; z-index: 1; flex: 1; }
.cta-box__title {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.cta-box__subtitle { font-size: 13px; font-weight: 400; line-height: 1.4; }
.cta-box__arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.cta-box:hover .cta-box__arrow { transform: translateX(5px); }
.cta-box__arrow svg { width: 18px; height: 18px; }
.cta-box--particular {
    background: linear-gradient(135deg, #2979FF 0%, #1558CC 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(41, 121, 255, 0.35);
}
.cta-box--particular:hover { box-shadow: 0 12px 36px rgba(41, 121, 255, 0.45); }
.cta-box--particular::after { background: linear-gradient(135deg, #448AFF 0%, #2979FF 100%); }
.cta-box--particular .cta-box__icon { background: rgba(255,255,255,0.20); backdrop-filter: blur(6px); }
.cta-box--particular .cta-box__icon svg { fill: #fff; }
.cta-box--particular .cta-box__title { color: #fff; }
.cta-box--particular .cta-box__subtitle { color: rgba(255,255,255,0.80); }
.cta-box--particular .cta-box__arrow { background: rgba(255,255,255,0.20); }
.cta-box--particular .cta-box__arrow svg { fill: #fff; }
.cta-box--profesional {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(41, 121, 255, 0.22);
    color: #1a1a1a;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.cta-box--profesional:hover {
    box-shadow: 0 12px 36px rgba(41, 121, 255, 0.18);
    border-color: rgba(41, 121, 255, 0.45);
}
.cta-box--profesional::after { background: rgba(41,121,255,0.03); }
.cta-box--profesional .cta-box__icon { background: linear-gradient(135deg, #E8F0FE 0%, #D0E2FF 100%); }
.cta-box--profesional .cta-box__icon svg { fill: #2979FF; }
.cta-box--profesional .cta-box__title { color: #1558CC; }
.cta-box--profesional .cta-box__subtitle { color: #666; }
.cta-box--profesional .cta-box__arrow { background: #E8F0FE; }
.cta-box--profesional .cta-box__arrow svg { fill: #2979FF; }

/* ===== MOBILE CTA CARDS ===== */
.nexo-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin-top: 24px;
    padding: 0 4px;
}
.nexo-cta-box {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.nexo-cta-box__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nexo-cta-box__icon svg { width: 24px; height: 24px; }
.nexo-cta-box__content { flex: 1; }
.nexo-cta-box__title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.nexo-cta-box__arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nexo-cta-box__arrow svg { width: 16px; height: 16px; }
.nexo-cta-box--particular {
    background: linear-gradient(135deg, #2979FF 0%, #1558CC 100%);
    box-shadow: 0 4px 14px rgba(41,121,255,0.35);
}
.nexo-cta-box--particular .nexo-cta-box__icon { background: rgba(255,255,255,0.20); }
.nexo-cta-box--particular .nexo-cta-box__icon svg { fill: #fff; }
.nexo-cta-box--particular .nexo-cta-box__title { color: #fff; }
.nexo-cta-box--particular .nexo-cta-box__arrow { background: rgba(255,255,255,0.20); }
.nexo-cta-box--particular .nexo-cta-box__arrow svg { fill: #fff; }
.nexo-cta-box--profesional {
    background: rgba(255,255,255,0.95);
    border: 1.5px solid rgba(41,121,255,0.22);
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}
.nexo-cta-box--profesional .nexo-cta-box__icon { background: linear-gradient(135deg, #E8F0FE 0%, #D0E2FF 100%); }
.nexo-cta-box--profesional .nexo-cta-box__icon svg { fill: #2979FF; }
.nexo-cta-box--profesional .nexo-cta-box__title { color: #1558CC; }
.nexo-cta-box--profesional .nexo-cta-box__arrow { background: #E8F0FE; }
.nexo-cta-box--profesional .nexo-cta-box__arrow svg { fill: #2979FF; }

/* ===== MOBILE HERO FONT SIZE FIXES ===== */
@media only screen and (max-width: 640px) {
    .fusion-title h1,
    .fusion-title h2 {
        font-size: clamp(22px, 7vw, 30px) !important;
        line-height: 1.2 !important;
    }
    .fusion-title h3 {
        font-size: clamp(15px, 4.5vw, 19px) !important;
        line-height: 1.4 !important;
    }
}