/*
Theme Name: Tema Canvas
Theme URI: http://miregister.com/
Author: Samahel Cambeross
Author URI: https://miregister.com
Description: Diseño en base al estudio de las caracteristicas de mir.
Version: 2.0
Text Domain: miregister
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* --- ESTILOS DEL ENCABEZADO --- */
.hero-header,
.hero-header ul,
.hero-header li,
.hero-header a,
.hero-header img {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hero-header {
    width: 100%;
    background: linear-gradient(90deg, #00c6ff 0%, #2f69c4 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    min-height: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    gap: 30px;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
}

.hero-header .logo-container img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    display: block;
    transition: transform 0.3s ease;
}

.hero-header .logo-container img:hover {
    transform: scale(1.05);
}

.hero-header .nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.hero-header .nav-links li {
    display: inline-block;
}

.hero-header .nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.hero-header .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.hero-header .nav-links li a:hover::after {
    width: 100%;
}

.hero-header .nav-links li.dropdown {
    position: relative;
}

.hero-header .nav-links li.dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
    border-radius: 8px;
    top: calc(100% + 10px);
    left: 0;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-header .nav-links li.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hero-header .nav-links li.dropdown .dropdown-content a {
    color: #333333;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.hero-header .nav-links li.dropdown .dropdown-content a::after {
    display: none;
}

.hero-header .nav-links li.dropdown .dropdown-content a:hover {
    background-color: #f0f7ff;
    color: #00befc;
}

@media (max-width: 1300px) and (min-width: 1025px) {
    .hero-header {
        padding: 12px 3%;
        gap: 20px;
    }

    .hero-header .nav-links {
        gap: 16px;
    }

    .hero-header .nav-links li a {
        font-size: 13px;
    }

    .hero-header .logo-container img {
        height: 42px !important;
        max-height: 42px !important;
    }
}

@media (max-width: 1024px) {
    .hero-header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .hero-header .nav-links {
        margin-top: 5px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-header .nav-links li.dropdown .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        transform: none;
        display: none;
        background-color: transparent;
        padding-left: 15px;
    }

    .hero-header .nav-links li.dropdown:hover .dropdown-content {
        display: block;
    }

    .hero-header .nav-links li.dropdown .dropdown-content a {
        color: #ffffff;
    }

    .hero-header .nav-links li.dropdown .dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* --- ESTILOS DEL PIE DE PÁGINA --- */
[data-purpose="site-footer"] {
    background-color: #232428 !important;
    border-top: 12px solid #00befc !important;
    padding: 60px 5% !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    position: relative;
}

[data-purpose="site-footer"] * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[data-purpose="footer-container"] {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 768px) {
    [data-purpose="footer-container"] {
        grid-template-columns: 1.2fr 1.5fr 1fr;
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    [data-purpose="footer-container"] {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 60px;
    }
}

[data-purpose="brand-identity"] img {
    width: 180px;
    height: auto;
    display: block;
}

[data-purpose="footer-brand-col"] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

[data-purpose="contact-details"] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: start;
}

@media (max-width: 767px) {
    [data-purpose="footer-brand-col"] {
        align-items: center !important;
    }

    [data-purpose="contact-details"] {
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    [data-purpose="contact-details"]>div {
        align-self: flex-start;
        width: 100%;
    }
}

[data-purpose="contact-details"] .flex {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-purpose="contact-details"] svg {
    color: #00befc !important;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

[data-purpose="social-links"] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: #00befc !important;
    color: #232428 !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

[data-purpose="footer-navigation"] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

@media (max-width: 767px) {
    [data-purpose="footer-navigation"] {
        align-items: center;
    }
}

[data-purpose="footer-navigation"] a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-align: right;
    line-height: 1.4;
    position: relative;
    padding-bottom: 2px;
}

@media (max-width: 767px) {
    [data-purpose="footer-navigation"] a {
        text-align: center;
    }
}

[data-purpose="footer-navigation"] a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #00befc;
    transition: width 0.3s ease;
}

@media (max-width: 767px) {
    [data-purpose="footer-navigation"] a::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

[data-purpose="footer-navigation"] a:hover {
    color: #00befc !important;
}

[data-purpose="footer-navigation"] a:hover::after {
    width: 100%;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #60d669 !important;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
}