:root {
    --accent-color: #f17230;
    --secondary-color: #FFF6F0;
    --light-color: #f8f6f6;
    --dark-color: #2B2F33;
}


body {
    font-family: "Montserrat", sans-serif;
}

/* CLASES PERSONALIZADAS */

/* font sizes */
.fs-12 {
    font-size: 0.75rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-40 {
    font-size: 2.5rem;
}

.fs-80 {
    font-size: 6rem;
}

.fw-300 {
    font-weight: 300;
}

/* fonts weights */
.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

/* text colors */
.text-accent {
    color: var(--accent-color);
}

.section-secondary {
    background: var(--secondary-color);
}

.section-title {
    letter-spacing: 1px;
}

/* RESET BOOTSTRAP */
.form-select {
    background-image: none !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* RESET NAVBAR */
.navbar {
    transition: all 0.3s ease-in-out;
    padding: 1rem 0;
    position: relative;
    z-index: 1030;
}

.navbar-nav .nav-link {
    font-weight: 300;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 400;
    border-radius: 8px;
    padding: 6px 12px;
    /* mejora forma */
    transition: all 0.2s ease-in-out;
}

.navbar-toggler:focus {
    color: var(--secondary-color);
}

/* NAVBAR EN EL TOP - Posición normal, sin flotar */
.navbar.at-top {
    position: relative;
    background-color: #f8f9fa !important;
    box-shadow: none;
}

/* NAVBAR FLOTANTE - Se activa cuando el usuario hace scroll */
.navbar.floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(248, 249, 250, 0.8) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

/* NAVBAR FLOTANTE CON SCROLL - Más opaco cuando hay más scroll */
.navbar.floating.scrolled {
    background-color: rgba(248, 249, 250, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Ajuste para el contenido cuando el navbar es fixed */
body {
    padding-top: 0;
}

/* Ajuste del banner para compensar el navbar fixed */
.main-banner {
    margin-top: 0;
}

/* BANNER */
.main-banner {
    /* Definimos la imagen y su comportamiento */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/menuonline-hero.jpg');
    background-size: cover;
    /* Llena el espacio sin estirarse */
    background-position: center;
    /* Centra la imagen para no cortar caras o logos */
    background-repeat: no-repeat;

    /* Controlamos la altura */
    height: 60vh;
    /* 60% de la altura de la pantalla */
    min-height: 400px;
    /* Altura mínima para que no se vea muy delgado en móviles */
}

/* Banner text container */
.banner-text {
    z-index: 10;
    position: relative;
}

.banner-text .btn {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}



/* Sobrescribir el color principal */
.btn-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #ffffff;
    /* Texto blanco para que resalte */
}

/* Estado Hover (cuando pasas el mouse) */
.btn-primary:hover {
    background-color: #d65d22 !important;
    /* Un tono un poco más oscuro */
    border-color: #d65d22 !important;
}

/* Estado Focus/Active (cuando haces clic) */
.btn-primary:focus,
.btn-primary:active {
    background-color: #d65d22 !important;
    border-color: #d65d22 !important;
    box-shadow: 0 0 0 0.25rem rgba(241, 114, 48, 0.5) !important;
}


/* SEPARATOR SVG */

.separator-container {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.separator-container svg {
    pointer-events: none;
}

.separator-container svg path:not([style*="fill:#FFFFFF"]) {
    fill: #ff6600;
}

/* CUSTOM SHAPE DIVIDER */
.custom-shape-divider-bottom-1769808713 {
    fill: var(--secondary-color) !important;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
    pointer-events: none;
}

.custom-shape-divider-bottom-1769808713 svg {
    pointer-events: none;
}

.custom-shape-divider-top-1769814102 {
    position: absolute;
    fill: var(--secondary-color) !important;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* SECTION CARACTERISTICAS */
.circulo-icono {
    /* 1. Dimensiones iguales para que sea un cuadrado */
    width: 60px;
    height: 60px;

    /* 2. El truco del círculo */
    border-radius: 50%;

    /* 3. Centrado perfecto del contenido (Icono) */
    display: flex;
    align-items: center;
    justify-content: center;

    /* 4. Estética */
    background-color: #f17230;
    /* Fondo naranja */
    color: white;
    /* Icono blanco */

    /* Opcional: una sombra suave para dar profundidad */
    box-shadow: 0 4px 10px rgba(241, 114, 48, 0.3);
}

/* PRICING CARDS */
.pricing-card {
    background-color: var(--light-color);
    border-radius: 15px 15px 0 0;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-cost {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-initial {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.pricing-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-monthly {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
}

.pricing-period {
    font-size: 1rem;
    color: #666;
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--dark-color);
}

.pricing-features li i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.pricing-features li span {
    line-height: 1.4;
}

.pricing-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
    margin-top: auto;
}

.pricing-btn i {
    font-size: 1.25rem;
}

/* STEP CARDS - ¿Cómo funciona? */
.step-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(241, 114, 48, 0.2);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(241, 114, 48, 0.15);
    line-height: 1;
    z-index: 0;
    font-family: "Montserrat", sans-serif;
    transition: color 0.3s ease;
}

.step-card:hover .step-number {
    color: rgba(241, 114, 48, 0.25);
}

.step-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
    transform: scale(1.1);
}

.step-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-content h3 {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.step-card:hover .step-content h3 {
    color: var(--accent-color);
}

.step-content p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Responsive para step cards */
@media (max-width: 768px) {
    .step-number {
        font-size: 3rem;
        top: -10px;
        right: 15px;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }
}

/* FOOTER */
.footer-contact {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.footer-divider {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.footer-divider svg {
    width: 200px;
    height: 20px;
}

.footer-info {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-top: auto;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-btn:hover {
    background-color: #d65d22;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 114, 48, 0.4);
    color: white;
}

/* Contact Form */
.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-input {
    background-color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.contact-input:focus {
    background-color: white;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(241, 114, 48, 0.25);
    color: var(--dark-color);
}

.contact-input::placeholder {
    color: #666;
}

.contact-input-flag {
    background-color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    padding: 0;
    gap: 0.5rem;
}

.flag-wrapper {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    border-right: 1px solid #e0e0e0;
}

.contact-input-flag .flag-icon {
    width: 20px;
    height: auto;
}

.country-select {
    border: none;
    background-color: white;
    color: var(--dark-color);
    font-size: 0.875rem;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    outline: none;
}

.country-select:focus {
    border: none;
    box-shadow: none;
}

.input-group .contact-input {
    border-radius: 0 8px 8px 0;
}

.contact-submit-btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    font-size: 0.875rem;
}

.contact-submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.contact-submit-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-form-alert {
    font-size: 0.875rem;
}

.contact-form-success {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Footer About Section */
.footer-about {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-about h3 {
    font-size: 1.5rem;
}

.footer-about a {
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-about a:hover {
    color: #d65d22;
}

.footer-logo {
    margin-top: auto;
}

.logo-text {
    font-size: 1.25rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* sticky whatsapp */
.sticky {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9;
}

.sticky img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .sticky {
        right: 5px;
    }

    .sticky img {
        width: 40px;
        height: 40px;
    }

    .footer-contact {
        padding-top: 3rem;
    }

    .contact-form {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .footer-about {
        margin-top: 2rem;
    }

    .contact-details {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-divider svg {
        width: 150px;
        height: 15px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* IPHONE MOCKUP - DEMO SECTION */
.iphone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    perspective: 1000px;
}

.iphone-frame {
    position: relative;
    width: 375px;
    max-width: 100%;
    height: 812px;
    background: linear-gradient(145deg, #1e1e1e, #2d2d2d);
    border-radius: 50px;
    padding: 8px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    /*  transition: transform 0.3s ease; */
}

/* .iphone-frame:hover {
    transform: translateY(-10px) rotateX(5deg);
} */

.iphone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #fff;
}

.iphone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    z-index: 10;
}

/* Responsive para iPhone mockup */
@media (max-width: 768px) {
    .iphone-frame {
        width: 320px;
        height: 693px;
        border-radius: 40px;
        padding: 6px;
    }

    .iphone-screen {
        border-radius: 34px;
    }

    .iphone-notch {
        width: 120px;
        height: 25px;
        border-radius: 0 0 15px 15px;
    }

    .iphone-home-indicator {
        width: 110px;
        height: 4px;
    }

    .iphone-mockup {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .iphone-frame {
        width: 280px;
        height: 607px;
        border-radius: 35px;
        padding: 5px;
    }

    .iphone-screen {
        border-radius: 30px;
    }

    .iphone-notch {
        width: 100px;
        height: 20px;
    }

    .iphone-home-indicator {
        width: 90px;
        height: 3px;
    }

    .iphone-mockup {
        padding: 0.5rem;
    }
}

/* Laptop */
@media (min-width: 1024px) {

    .separator-container {
        width: 100px;
    }
}