/* ============================================
   ASGECONT - Modern CSS Design
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #4b5bdc;
    --primary-blue-dark: #3a48b0;
    --primary-blue-light: #6c7ae0;
    --accent-pink: #ff4da6;
    --accent-pink-dark: #e6338f;
    --accent-pink-light: #ff6fb8;
    --neutral-900: #1a1a2e;
    --neutral-800: #16213e;
    --neutral-700: #2d3748;
    --neutral-600: #4a5568;
    --neutral-500: #718096;
    --neutral-300: #e2e8f0;
    --neutral-100: #f7fafc;
    --neutral-50: #ffffff;
    --gradient-hero: linear-gradient(135deg, #4b5bdc 0%, #6c7ae0 50%, #ff4da6 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(75, 91, 220, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER - Sticky Navigation
   ============================================ */
header {
    background: #4B5BDC;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    header {
        position: fixed;
        min-height: 60px;
    }

    .nav {
        min-height: 60px;
        padding: 0.5rem 0;
    }

    .logo {
        height: 35px;
    }
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 80px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .contact-top {
        display: flex;
        gap: 0.5rem;
    }

    .contact-top a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 20px;
    }

    .btn-whatsapp {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.5rem 0;
    }

    .logo {
        height: 35px;
    }

    .contact-top {
        gap: 0.3rem;
    }

    .contact-top a {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }

    .btn-whatsapp {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem;
    }
}

.logo {
    height: 55px;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover {
    transform: scale(1.05);
}

.contact-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-top a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-top a:hover {
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-normal) !important;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    padding: 160px 20px 100px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px !important;
        padding-bottom: 40px;
        min-height: auto;
    }

    body {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .hero h1 br {
        display: block;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-10%) translateY(-10%) rotate(0deg);
    }

    50% {
        transform: translateX(10%) translateY(10%) rotate(5deg);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-dark) 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(255, 77, 166, 0.4);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 77, 166, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-title.light {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(75, 91, 220, 0.15);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: var(--primary-blue);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card ul {
    list-style: none;
}

.card li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--neutral-600);
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(75, 91, 220, 0.15);
}

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

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-pink);
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 50%, #0f3460 100%);
    text-align: center;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about p {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    line-height: 1.9;
}

.about p strong {
    color: #ff4da6;
    font-weight: 700;
}

.about p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.15rem;
    color: var(--neutral-600);
    line-height: 1.8;
}

.about .highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 77, 166, 0.3);
    display: inline-block;
    margin-top: 1.5rem;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(75, 91, 220, 0.15) 0%, transparent 70%);
}

.benefits h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.benefits ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.benefits li {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.benefits li::before {
    content: '';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-light));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    content: '✓';
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    background: var(--neutral-100);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #4B5BDC;
    color: white;
    padding: 60px 0 30px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

footer .footer-brand img {
    height: 55px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

footer .footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

footer p,
footer a {
    color: var(--neutral-300);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.8;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--accent-pink-light);
}

footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

footer .contact-info a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

footer .contact-info .icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ff4da6;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #ff6fb8;
    text-decoration: underline;
}

/* Contact Options - CTA Section */
.contact-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    border: none;
    position: relative;
}

.contact-btn span {
    font-size: 1.3rem;
}

.contact-btn.phone {
    background: #4B5BDC;
    color: white;
}

.contact-btn.phone:hover {
    background: #3a48b0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 91, 220, 0.4);
}

.contact-btn.email {
    background: white;
    color: #4B5BDC;
}

.contact-btn.email:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.contact-btn.whatsapp {
    background: #25D366;
    color: white;
}

.contact-btn.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 600px) {
    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 200px;
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .contact-top {
        flex-direction: column;
        gap: 0.75rem;
    }

    .card {
        padding: 1.75rem;
    }

    .benefits ul {
        flex-direction: column;
        align-items: center;
    }

    .benefits li {
        width: 100%;
        max-width: 300px;
    }

    footer .container {
        text-align: center;
    }

    footer .footer-brand {
        justify-content: center;
    }

    footer .contact-info a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .about .highlight {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.about p,
.benefits li {
    animation: fadeInUp 0.6s ease-out forwards;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

.card:nth-child(4) {
    animation-delay: 0.3s;
}

/* ============================================
   MOBILE MENU & CONTACT STYLES
   ============================================ */

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    header {
        min-height: 50px;
    }

    .nav {
        min-height: 50px;
        padding: 0.3rem 0;
    }

    .logo {
        height: 32px;
    }

    .contact-mobile {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .contact-mobile a,
    .contact-mobile button {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 1rem;
        border: none;
        cursor: pointer;
    }

    .contact-mobile .phone-btn {
        background: white;
        color: #4B5BDC;
        text-decoration: none;
    }

    .contact-mobile .btn-whatsapp {
        background: #25D366;
        color: white;
        text-decoration: none;
        padding: 0 !important;
        box-shadow: none;
    }

    .menu-toggle {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 1.2rem;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background: #4B5BDC;
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 999;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        font-weight: 600;
    }

    .mobile-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .hero {
        padding: 80px 15px 60px;
    }
}
/* ============================================
   HIDE MOBILE MENU ON DESKTOP
   ============================================ */

.mobile-menu {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: flex !important;
    }
}
