/* Google Fonts - Rubik y Golos Text */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-primary: #d32f2f;
    --red-dark: #8B0000;
    --orange-primary: #FF6B35;
    --orange-light: #FF8C5A;
    --red-highlight: #E63946;
    --softian-red: #d32f2f;
    --softian-blue: #003358;
    --softian-burgundy: #600010;
    --softianpet-primary: #FF6B35;
    --softianpet-secondary: #FF8C5A;
    --white: #ffffff;
    --black: #000000;
    --blue-facebook: #1877f2;
    --blue-linkedin: #0a66c2;
    --blue-dark: #1a237e;
    --gray-dark: #333333;
    --text-dark: #333333;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-footer: #f8f8f8;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Eliminar paddings laterales de Bootstrap por defecto */
.container,
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Para pantallas pequeñas, reducir aún más los paddings */
@media (max-width: 576px) {

    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 360px) {

    .container,
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ===== Header / Top Navigation Bar ===== */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header .container {
    max-width: 100%;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo-image {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    overflow: visible;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--red-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--red-primary);
}
.nav-link:hover::after,
.nav-dropdown.active .nav-link::after {
    width: 100%;
}

.dropdown-icon {
    color: var(--red-primary);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* Asegurar que no haya pseudo-elementos duplicados del ícono */
.nav-link .dropdown-icon::before,
.nav-link .dropdown-icon::after {
    display: none !important;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Crear área de conexión invisible entre el botón y el menú */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
    z-index: 999;
}

/* Asegurar que el hover funcione incluso en el área de conexión */
.nav-dropdown:hover::before {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--red-primary);
}

/* Ítem Softian Pet en menú SAAS: icono + texto estilo logo */
.dropdown-item-softianpet {
    display: flex;
    align-items: center;
    gap: 6px;
}
.menu-softianpet-icon {
    height: 18px;
    width: auto;
    flex-shrink: 0;
}
.menu-softianpet-brand {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.15rem;
    font-weight: 600;
}
.menu-softianpet-strong {
    font-weight: 600;
    color: #333;
}
.menu-softianpet-pet {
    font-weight: 400;
    font-size: 0.9em;
    color: #6c757d;
    margin-left: 1px;
}

.badge-menu-mx {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    background: rgba(0, 51, 88, 0.08);
    border: 1px solid rgba(0, 51, 88, 0.15);
    color: #003358;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-menu-mx .fi {
    margin-right: 4px;
    width: 1em;
    height: 0.75em;
}

.nav-dropdown:hover .dropdown-toggle .dropdown-icon,
.nav-dropdown.active .dropdown-toggle .dropdown-icon {
    transform: rotate(180deg);
}


.navbar-right {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon i {
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.social-icon.facebook {
    background-color: var(--blue-facebook);
}

.social-icon.linkedin {
    background-color: var(--blue-linkedin);
}

/* Iconos de redes en navbar: escala de grises 50% por defecto, color en hover */
.header .social-icon {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.header .social-icon:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== Botón Hamburguesa (visible solo en móviles) ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.menu-toggle:active {
    background-color: rgba(0, 0, 0, 0.1);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #FF6B35;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Página SoftianPet: color naranja para hamburguesa (ya es por defecto) */
.page-softianpet .hamburger-icon span {
    background-color: #FF6B35;
}

.menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Sidebar (menú lateral móvil) ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    transform: translateX(0);
}

/* Encabezado del menú: 15% altura, fondo según página, logo en blanco */
.sidebar-header {
    flex: 0 0 15%;
    min-height: 15vh;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 50px 20px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-header-logo {
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

/* Logo de SoftianPet sin filtro (ya tiene colores) */
.page-softianpet .sidebar-header-logo {
    filter: none !important;
    max-height: 40px !important;
}

.sidebar-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.9rem;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 300;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.sidebar-close:active {
    transform: rotate(90deg) scale(0.9);
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Filas de enlaces: 20px padding, icono a la izquierda, tipografía 1.1rem / 500 */
.sidebar-link {
    color: var(--black);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    width: 100%;
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: #FF6B35;
    background-color: rgba(0, 0, 0, 0.04);
    border-left-color: #FF6B35;
    transform: translateX(2px);
}

.sidebar-link-icon {
    width: 24px;
    text-align: center;
    color: #FF6B35;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-link:hover .sidebar-link-icon {
    color: #FF6B35;
    transform: scale(1.1);
}

/* Icono de imagen (para logos pequeños como Softian) */
.sidebar-link-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sidebar-link:hover .sidebar-link-icon-img {
    transform: scale(1.1);
}

/* En páginas SoftianPet, aplicar filtro naranja al logo */
.page-softianpet .sidebar-link:hover .sidebar-link-icon-img {
    filter: brightness(1.1);
}

.sidebar-link .dropdown-icon {
    color: #FF6B35;
    font-size: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-left: auto;
}

/* Sidebar Dropdown (Softian SAAS → SoftianPet) */
.sidebar-dropdown {
    position: relative;
}

.sidebar-dropdown-menu {
    display: none;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0.0, 0.2, 1), max-height 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.sidebar-dropdown.active .sidebar-dropdown-menu {
    display: block;
    opacity: 1;
    max-height: 250px;
}

.sidebar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 20px 58px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
    font-size: 1.1rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-dropdown-item:hover {
    color: #FF6B35;
    background-color: rgba(0, 0, 0, 0.04);
    border-left-color: var(--orange-primary);
    transform: translateX(2px);
}

.sidebar-dropdown-item-softianpet {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-dropdown-item-softianpet .menu-softianpet-icon {
    width: 24px;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sidebar-dropdown-item:hover .menu-softianpet-icon {
    transform: scale(1.1);
}

.sidebar-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Separador visual entre elementos del menú */
.sidebar-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 12px 20px;
}

/* Mejoras en la tipografía del menú SoftianPet */
.menu-softianpet-brand {
    font-size: 1.05rem;
}

.menu-softianpet-strong {
    font-weight: 700;
    color: #333;
}

.menu-softianpet-pet {
    font-weight: 600;
    color: var(--orange-primary);
}

.sidebar-dropdown-item:hover .menu-softianpet-strong {
    color: #FF6B35;
}

.sidebar-dropdown-item:hover .menu-softianpet-pet {
    color: var(--orange-light);
}

/* En página SoftianPet, el hover es naranja */
.page-softianpet .sidebar-dropdown-item:hover .menu-softianpet-strong {
    color: var(--orange-primary);
}

/* ===== Estilos específicos por página ===== */

/* Página SoftianPet: colores naranjas (hereda los estilos base naranjas) */
.page-softianpet .sidebar-header {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%) !important;
}

.page-softianpet .sidebar-link-icon {
    color: var(--orange-primary) !important;
}

.page-softianpet .sidebar-link:hover {
    border-left-color: var(--orange-primary) !important;
}

.page-softianpet .sidebar-link:hover .sidebar-link-icon {
    color: var(--orange-primary) !important;
}

.page-softianpet .sidebar-footer .sidebar-footer-btn {
    background-color: var(--orange-primary) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.page-softianpet .sidebar-footer .sidebar-footer-btn:hover {
    background-color: #e55a2a !important;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4) !important;
}

.page-softianpet .sidebar-footer-socials a:hover {
    color: var(--orange-primary) !important;
    background-color: rgba(255, 107, 53, 0.1) !important;
}

/* Icono hamburguesa en SoftianPet */
.page-softianpet .hamburger-icon span {
    background-color: var(--orange-primary) !important;
}

/* Dropdown icon en SoftianPet */
.page-softianpet .sidebar-link .dropdown-icon {
    color: var(--orange-primary) !important;
}

/* Footer del menú: sticky abajo, gris claro, redes + botón Contáctanos */
.sidebar-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 28px 24px;
    background-color: var(--gray-footer);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.sidebar-footer-socials a {
    color: #555;
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.02);
}

.sidebar-footer-socials a:hover {
    color: #FF6B35;
    background-color: rgba(255, 107, 53, 0.1);
    transform: scale(1.1);
}

.sidebar-footer .sidebar-footer-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    background-color: #FF6B35;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.sidebar-footer .sidebar-footer-btn:hover {
    background-color: #e55a2a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-image: url('../resources/images/banner_seccion1.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 0;
    max-width: 700px;
    padding-left: 5%;
    padding-right: 5%;
    margin-left: 0;
}

.hero-title {
    font-family: 'Rubik', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    /* ExtraBold */
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    /* Medium */
    line-height: 1.3;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.hero-subtitle span {
    display: block;
}

.hero-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    /* Bold */
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 600px;
}

/* ===== Logo dentro del Hero Section ===== */
.hero-logo {
    position: absolute;
    bottom: 80px;
    right: 2%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 10;
}

.hero-logo img {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* ===== Responsive Design ===== */

/* Desktop grande (1400px+) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 6rem;
    }

    .hero-subtitle {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.4rem;
    }

    .hero-content {
        padding-left: 3%;
    }
}

/* Desktop mediano (1200px - 1399px) */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 5.5rem;
    }

    .hero-subtitle {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.35rem;
    }

    .hero-content {
        padding-left: 4%;
    }
}

/* Desktop pequeño / Tablet landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .hero {
        background-size: cover;
        background-position: center center;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-logo {
        bottom: 60px;
        right: 3%;
    }

    .hero-logo img {
        max-height: 70px;
    }
}

/* Tablet portrait / Mobile large (768px - 991px) */
@media (max-width: 991px) {
    .hero {
        background-size: cover;
        background-position: center center;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
        max-width: 100%;
    }

    .hero-logo {
        bottom: 40px;
        right: 4%;
    }

    .hero-logo img {
        max-height: 65px;
    }
}

/* Tablet / resoluciones medianas: mostrar menú hamburguesa (992px o menos) */
@media (max-width: 992px) {
    .navbar-right .nav-link {
        display: none;
    }

    .navbar-right .nav-dropdown {
        display: none;
    }

    .navbar-right .language-switcher {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: 0.25rem;
    }
}

/* Mobile medium / Tablet portrait small (576px - 767px) */
@media (max-width: 768px) {
    /* overflow-x: hidden ya está definido en body base, no es necesario duplicarlo */

    .header {
        padding: 0.5rem 0;
    }

    .header .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.4rem;
        position: relative;
        margin-right: -5px;
    }

    .navbar-logo-image {
        max-height: 36px;
    }

    .navbar-right {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: flex-end;
        margin-right: 0;
    }

    /* Ocultar textos del menú en móviles */
    .navbar-right .nav-link {
        display: none;
    }

    /* Mantener visibles solo los iconos sociales */
    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        flex-shrink: 0;
        display: flex;
    }

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: block;
        margin-left: 0.25rem;
    }

    .hero {
        background-size: cover;
        background-position: center center;
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-logo {
        bottom: 30px;
        right: 5%;
    }

    .hero-logo img {
        max-height: 60px;
    }
}

/* Mobile pequeño (480px - 575px) */
@media (max-width: 576px) {
    .hero {
        min-height: 70vh;
        padding: 80px 0 50px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-logo {
        bottom: 25px;
        right: 5%;
        position: relative;
        margin-top: 20px;
        text-align: center;
    }

    .hero-logo img {
        max-height: 50px;
    }
}

/* Mobile muy pequeño (360px - 479px) */
@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-logo {
        bottom: 20px;
        position: relative;
        margin-top: 20px;
        text-align: center;
    }

    .hero-logo img {
        max-height: 45px;
    }

    /* header .container con padding de 8px se maneja en la media query de 360px */

    .navbar {
        gap: 0.3rem;
        margin-right: -3px;
    }

    .navbar-logo-image {
        max-height: 32px;
    }

    .navbar-right {
        gap: 0.4rem;
    }

    /* nav-link ya está oculto desde 768px, no necesita estilos aquí */

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .menu-toggle {
        padding: 6px;
    }

    .hamburger-icon {
        width: 24px;
        height: 18px;
    }
    
    .hamburger-icon span {
        height: 2.5px;
    }
}

/* Mobile extra pequeño (hasta 360px) */
@media (max-width: 360px) {
    .header .container {
        padding-right: 8px;
        padding-left: 8px;
    }

    .navbar {
        gap: 0.3rem;
        margin-right: -3px;
    }

    .navbar-logo-image {
        max-height: 28px;
    }

    .navbar-right {
        gap: 0.4rem;
    }

    /* nav-link ya está oculto desde 768px, no necesita estilos aquí */

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .menu-toggle {
        padding: 5px;
    }

    .hamburger-icon {
        width: 22px;
        height: 17px;
    }
    
    .hamburger-icon span {
        height: 2.5px;
    }

    .hero {
        min-height: 50vh;
        padding: 50px 0 30px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-logo {
        bottom: 15px;
        position: relative;
        margin-top: 20px;
        text-align: center;
    }

    .hero-logo img {
        max-height: 40px;
    }
}

/* ===== Section: Probar Ahora ===== */
.try-now-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin-top: 120px;
    margin-bottom: 80px;
    background-image: url('../resources/images/probarahora.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.try-now-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    z-index: 2;
}

.try-now-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.try-now-title {
    font-family: 'Rubik', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.try-now-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-try-now {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 40px;
    border: 2px solid var(--red-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-try-now:hover {
    background-color: var(--red-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-try-now i {
    color: var(--orange-primary);
    transition: transform 0.3s ease;
}

.btn-try-now:hover i {
    color: var(--white);
    transform: translateX(5px);
}

/* Responsive Try Now Section */
@media (max-width: 768px) {
    .try-now-section {
        min-height: 300px;
        margin-top: 60px;
    }

    .try-now-title {
        font-size: 2rem;
    }

    .try-now-description {
        font-size: 1rem;
    }

    .btn-try-now {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

/* ===== Footer Section ===== */
.footer {
    position: relative;
    width: 100%;
    margin-top: 150px;
    padding: 0;
    background-color: var(--white);
}

/* Fondo con óvalo negro */
.footer-oval {
    position: relative;
    background-image: url('../resources/images/footer.png');
    background-color: transparent;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 40px 0 85px;
    margin-top: -38px;
    margin-bottom: 0;
    border-radius: 0;
    z-index: 3;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    min-height: 500px;
}

.footer-column {
    padding: 16px 3px;
}

.footer-oval .container {
    padding-left: 15px;
    padding-right: 15px;
}

.footer-oval .row {
    margin-left: -3px;
    margin-right: -3px;
}

.footer-oval .row>[class*="col-"] {
    padding-left: 3px;
    padding-right: 3px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-stripes {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-stripe {
    width: 30px;
    height: 6px;
    border-radius: 2px;
}

.footer-stripe-orange {
    background-color: var(--orange-primary);
}

.footer-stripe-red {
    background-color: var(--red-primary);
}

.footer-stripe-dark {
    background-color: var(--red-dark);
}

.footer-logo-text {
    display: inline-block;
    font-family: 'Rubik', sans-serif;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo-softian {
    font-weight: 800;
}

.footer-logo-pet {
    font-weight: 400;
    font-size: 1.5rem;
    opacity: 0.9;
}

.footer-description {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 20px;
    opacity: 0.9;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Rubik', sans-serif;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.2s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--red-primary);
    transform: translateX(5px);
    opacity: 1;
}

.footer-arrow {
    color: var(--red-primary);
    font-size: 0.7rem;
}

.footer-contact-text {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: 0;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--red-primary);
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-social-icon:hover {
    transform: scale(1.1);
    background-color: var(--red-dark);
    color: var(--white);
}

.footer-social-icon i {
    font-size: 1rem;
}

/* Sección de Copyright */
.footer-copyright {
    background-color: var(--red-dark);
    padding: 20px 0;
    position: relative;
    z-index: 5;
    margin-top: -55px;
}

.copyright-text {
    color: var(--white);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    padding-top: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ===== Variantes de Footer ===== */

/* Footer Softian - Tema Azul */
.footer-softian .footer-stripe-orange {
    background-color: #003f65;
}

.footer-softian .footer-stripe-red {
    background-color: #003f65;
}

.footer-softian .footer-stripe-dark {
    background-color: #003f65;
}

.footer-softian .footer-links a:hover {
    color: #64b5f6;
    transform: translateX(5px);
    opacity: 1;
}

.footer-softian .footer-arrow {
    color: #64b5f6;
    font-size: 0.7rem;
}

.footer-softian .footer-social-icon {
    background-color: #003f65;
    border: 2px solid var(--white);
}

.footer-softian .footer-social-icon:hover {
    background-color: #005a8f;
    transform: scale(1.1);
}

.footer-softian .footer-copyright {
    background-color: #002a4a;
}

/* Footer SoftianPet - Tema Rojo/Naranja (mantener estilos actuales) */
.footer-softianpet .footer-stripe-orange {
    background-color: var(--orange-primary);
}

.footer-softianpet .footer-stripe-red {
    background-color: var(--red-primary);
}

.footer-softianpet .footer-stripe-dark {
    background-color: var(--red-dark);
}

.footer-softianpet .footer-links a:hover {
    color: var(--red-primary);
    transform: translateX(5px);
    opacity: 1;
}

.footer-softianpet .footer-arrow {
    color: var(--red-primary);
    font-size: 0.7rem;
}

.footer-softianpet .footer-social-icon {
    background-color: var(--red-primary);
    border: 2px solid var(--white);
}

.footer-softianpet .footer-social-icon:hover {
    background-color: var(--red-dark);
    transform: scale(1.1);
}

.footer-softianpet .footer-copyright {
    background-color: var(--red-dark);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-oval {
        padding: 50px 0 75px;
        margin-top: -80px;
        background-size: cover;
        background-position: center center;
        background-color: #1a1a1a;
        min-height: auto;
        max-width: 100%;
        overflow: visible;
    }

    .footer-oval .row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-oval .footer-column {
        margin-bottom: 28px;
    }

    .footer-oval .footer-column:last-child {
        margin-bottom: 0;
    }

    .footer-softian .footer-oval {
        background-color: #002a4a;
    }

    .footer-softianpet .footer-oval {
        background-color: #1a1a1a;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-description,
    .footer-contact-text,
    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .footer-social-icon i {
        font-size: 0.9rem;
    }

    .copyright-text {
        font-size: 0.85rem;
    }

    .footer-copyright {
        padding: 16px 0;
        margin-top: -40px;
    }
}

@media (max-width: 576px) {
    .footer-oval {
        padding: 40px 15px 65px;
        min-height: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-oval {
        padding: 32px 12px 55px;
        margin-top: -60px;
        background-size: cover;
        background-position: center center;
        background-color: #1a1a1a;
        min-height: auto;
        max-width: 100%;
        overflow: visible;
    }

    .footer-oval .footer-column {
        margin-bottom: 24px;
    }

    .footer-softian .footer-oval {
        background-color: #002a4a;
    }

    .footer-softianpet .footer-oval {
        background-color: #1a1a1a;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-description,
    .footer-contact-text,
    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .footer-social-icon i {
        font-size: 0.85rem;
    }

    .footer-copyright {
        padding: 14px 0;
        margin-top: -35px;
    }

    .footer-copyright .row {
        row-gap: 10px;
        justify-content: center;
    }

    .footer-copyright .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-copyright .row > [class*="col-"]:first-child {
        margin-bottom: 4px;
    }

    .copyright-text {
        font-size: 0.8rem;
    }
}

/* ===== Features Section (Section 2) ===== */
.features-section {
    position: relative;
    width: 100%;
    padding: 60px 0 80px;
    background: linear-gradient(to right, #ffffff 0%, #fff8f5 40%, #ffffff 100%);
    background-color: var(--white);
}

/* Banner con forma circular */
.features-banner {
    position: relative;
    width: 100%;
    padding: 70px 0;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: hidden;
}

.features-banner-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-shape-img {
    width: 100%;
    height: auto;
    min-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.features-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-banner-title {
    font-family: 'Rubik', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.features-banner-title span {
    display: block;
}

/* Contenido principal de features */
.features-section .container {
    position: relative;
}

.features-section .row {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

/* Lista de características */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-right: 0;
    position: relative;
    z-index: 2;
}

.feature-item {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 28px;
    padding: 12px 15px 12px 50px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: rgba(230, 57, 70, 0.03);
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--red-highlight);
    border-radius: 50%;
}

.feature-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red-highlight);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: var(--red-primary);
    transform: translateY(-50%) scale(1.2);
}

.feature-highlight {
    color: var(--red-highlight);
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-highlight {
    color: #c92a2a;
    text-shadow: 0 0 8px rgba(230, 57, 70, 0.2);
}

/* Imagen única del perrito y doctor */
.features-image-single {
    position: relative;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: transparent;
}

.features-image-single img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: transform 0.3s ease;
}

.features-image-single:hover img {
    transform: scale(1.02);
}

/* Hacer que el texto se extienda sobre la imagen */
.features-section .col-lg-7 {
    position: relative;
    z-index: 2;
    padding-right: 0%;
    background: transparent;
}

.features-section .col-lg-5 {
    position: relative;
    z-index: 1;
}

/* Responsive Features Section */
@media (max-width: 992px) {
    .features-section {
        padding: 50px 0 60px;
    }

    .features-banner {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .features-banner-content {
        padding: 0 35px;
    }

    .banner-shape-img {
        width: 100%;
    }

    .features-banner-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .features-list {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .feature-item {
        font-size: 1.05rem;
        margin-bottom: 22px;
        padding: 10px 12px 10px 48px;
    }

    .feature-item::before {
        left: 15px;
    }

    .feature-icon {
        left: 12px;
        font-size: 1rem;
    }

    .feature-highlight {
        font-size: 1.05rem;
    }

    .features-image-single {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 0;
    }

    .features-section .col-lg-7 {
        padding-right: 0;
    }
}

/* ===== Section 3: ¿Por qué elegirnos? ===== */
.why-choose-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin-top: 80px;
    margin-bottom: 0;
    background-color: var(--white);
    overflow: hidden;
}

.why-choose-container {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.why-choose-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.why-choose-bg-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.why-choose-content {
    position: absolute;
    right: calc(4% + 2.5cm);
    top: 5%;
    width: 40%;
    max-width: 500px;
    z-index: 2;
    padding: 45px 55px 45px 25px;
}

.why-choose-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--red-dark);
    margin-bottom: 35px;
    line-height: 1.2;
    white-space: nowrap;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-item {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
}

.why-choose-item strong {
    font-weight: 700;
    color: var(--white);
}

/* Responsive Why Choose Section */
@media (max-width: 992px) {
    .why-choose-section {
        margin-top: 60px;
    }

    .why-choose-content {
        right: 3%;
        top: 10%;
        width: 45%;
        padding: 35px 45px 35px 30px;
    }

    .why-choose-title {
        font-size: 2.3rem;
        margin-bottom: 28px;
    }

    .why-choose-item {
        font-size: 1rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        margin-top: 50px;
    }

    .why-choose-content {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        padding: 30px 20px;
        background-color: var(--red-primary);
        margin-top: -5px;
    }

    .why-choose-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .why-choose-item {
        font-size: 0.95rem;
        margin-bottom: 16px;
        padding-left: 25px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0 50px;
    }

    .features-banner {
        padding: 50px 0;
        margin-bottom: 50px;
    }

    .features-banner {
        padding: 45px 0;
    }

    .features-banner-content {
        padding: 0 25px;
    }

    .banner-shape-img {
        width: 100%;
    }

    .features-banner-title {
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    .features-list {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .features-section .col-lg-7 {
        padding-right: 0;
    }

    .features-image-single {
        position: relative;
        width: 100%;
        height: auto;
    }

    .feature-item {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 8px 10px 8px 45px;
        line-height: 1.6;
    }

    .feature-item::before {
        left: 15px;
    }

    .feature-icon {
        left: 10px;
        font-size: 0.95rem;
    }

    .feature-highlight {
        font-size: 1rem;
    }

    /* features-image-single ya tiene position: relative y width: 100% en el CSS base */

    .features-section .col-lg-7 {
        padding-right: 0;
    }
}

/* Media query intermedia para pantallas medianas-pequeñas (576px) */
@media (max-width: 576px) {
    .features-banner {
        padding: 40px 0;
    }

    .features-banner-content {
        padding: 0 22px;
    }

    .features-banner-title {
        font-size: 1.4rem;
        line-height: 1.22;
        letter-spacing: -0.005em;
    }
}

/* Media query para pantallas pequeñas (480px) */
@media (max-width: 480px) {
    .features-banner {
        padding: 35px 0;
        margin-bottom: 40px;
    }

    .features-banner-content {
        padding: 0 20px;
    }

    .features-banner-title {
        font-size: 1.25rem;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .features-banner-title span {
        display: block;
    }
}

/* Media query para pantallas muy pequeñas (360px) */
@media (max-width: 360px) {
    .features-banner {
        padding: 30px 0;
        margin-bottom: 35px;
    }

    .features-banner-content {
        padding: 0 18px;
    }

    .features-banner-title {
        font-size: 1.1rem;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .features-banner-title span {
        display: block;
    }
}

/* ===== Section 4: Planes y Precios ===== */
.pricing-section {
    padding: 80px 0 100px;
    background-color: var(--white);
}

/* Plan Básico */
.basic-plan-section {
    margin-bottom: 40px;
}

.basic-plan-section .row {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    background-color: var(--white);
    margin: 0;
}

.plan-image-wrapper {
    width: 100%;
    height: auto;
    position: relative;
}

.plan-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.plan-image-title {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.plan-pricing-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.plan-price-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.plan-price-badge {
    background-color: #e8e8e8;
    border-radius: 50px;
    padding: 8px 15px;
    margin-bottom: 8px;
    display: inline-block;
}

.plan-price-amount {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-primary);
}

.plan-price-period {
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-dark);
}

.plan-price-annual {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--red-primary);
    margin: 0 0 6px 0;
}

.plan-price-disclaimer {
    font-family: 'Rubik', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0 0 10px 0;
    opacity: 0.8;
}

.plan-features {
    margin-bottom: 20px;
}

.plan-features-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-list li {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.plan-features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--red-primary);
    font-size: 1.5rem;
    line-height: 1;
}

.btn-plan-contract {
    background-color: var(--white);
    color: var(--red-primary);
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 25px;
    border: 2px solid var(--red-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-plan-contract {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-plan-contract:hover {
    background-color: var(--red-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Add-ons Section */
.addons-section {
    margin-bottom: 50px;
}

.addons-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 35px;
}

.addon-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.addon-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.addon-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.addon-name-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    margin: 0;
}

.addon-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.addon-header {
    display: none;
}

.addon-header-orange {
    display: none;
}

.addon-header-red {
    display: none;
}

.addon-body {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.addon-price-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.addon-price-badge {
    background-color: #e8e8e8;
    border-radius: 50px;
    padding: 8px 15px;
    margin-bottom: 10px;
    display: inline-block;
}

.addon-price-amount {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red-primary);
}

.addon-price-period {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-dark);
}

.addon-disclaimer {
    font-family: 'Rubik', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.8;
}

.addon-features {
    margin-bottom: 15px;
    flex-grow: 1;
}

.addon-feature-item {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
    padding-left: 20px;
    position: relative;
}

.addon-feature-item::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--red-primary);
    font-weight: bold;
    font-size: 1rem;
}

.btn-addon-contract {
    background-color: var(--white);
    color: var(--red-primary);
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 25px;
    border: 2px solid var(--red-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.btn-addon-contract {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-addon-contract:hover {
    background-color: var(--red-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Call to Action */
.pricing-cta {
    background-image: url('../resources/images/CONTACTANOS.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cta-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-cta-contact {
    background-color: var(--white);
    color: var(--red-primary);
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 50px;
    border: 2px solid var(--red-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-contact {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-cta-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ===== Modal de Contrato ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.modal-contract {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-contract.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #e9ecef;
}

.modal-header h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: var(--red-primary);
}

.modal-body {
    padding: 30px;
}

/* Selector de Período */
.period-selector-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.period-selector {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    gap: 5px;
    border: 2px solid #e9ecef;
}

.period-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: 'Rubik', sans-serif;
}

.period-btn .period-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6c757d;
    transition: color 0.3s ease;
}

.period-btn .period-discount {
    font-size: 0.7rem;
    font-weight: 500;
    color: #28a745;
    background-color: #d4edda;
    padding: 2px 8px;
    border-radius: 12px;
}

.period-btn.active {
    background-color: var(--red-primary);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.period-btn.active .period-label {
    color: var(--white);
    font-weight: 700;
}

.period-btn:hover:not(.active) {
    background-color: #e9ecef;
}

.plan-item,
.addon-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: var(--white);
    position: relative;
}

.plan-item.plan-selected {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-color: var(--red-primary);
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
}

.addon-item:hover {
    border-color: var(--red-primary);
    background-color: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.plan-checkbox-wrapper {
    position: relative;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-checkbox-wrapper input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: not-allowed;
    opacity: 0.6;
}

.checkmark-disabled {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: var(--red-primary);
    border-radius: 4px;
    pointer-events: none;
}

.checkmark-disabled::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.plan-item input[type="checkbox"],
.addon-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--red-primary);
    flex-shrink: 0;
}

.plan-item label,
.addon-item label {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon-item input[type="checkbox"]:checked~label .addon-label-content .item-title {
    color: var(--red-primary);
}

.addon-item input[type="checkbox"]:checked~label .addon-label-content .item-price .price-amount {
    color: var(--red-primary);
}

.item-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.item-features {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Golos Text', 'Rubik', sans-serif;
}

.item-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 4px;
}

.price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--red-primary);
    font-family: 'Rubik', sans-serif;
}

.price-period {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
}

.addons-selection {
    margin-top: 25px;
    margin-bottom: 25px;
}

.addons-selection-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.price-summary {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--red-primary);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
}

.summary-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.price-detail-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
}

.price-label {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.price-value {
    font-family: 'Rubik', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red-primary);
}

.price-note {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    margin: 10px 0 0 0;
    font-style: italic;
    text-align: center;
}

.price-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px;
    background-color: #d4edda;
    border-radius: 8px;
    color: #155724;
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
}

.price-savings i {
    color: #28a745;
}

.price-savings strong {
    font-weight: 700;
    color: #28a745;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-top: 2px solid #e9ecef;
    background-color: #f8f9fa;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    flex-wrap: wrap;
}

.btn-cancel,
.btn-confirm {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-cancel {
    background-color: var(--white);
    color: #6c757d;
    border-color: #6c757d;
}

.btn-cancel:hover {
    background-color: #6c757d;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-confirm {
    background-color: var(--red-primary);
    color: var(--white);
    border-color: var(--red-primary);
}

.btn-confirm:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-contract {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 20px;
    }

    .period-selector {
        width: 100%;
    }

    .period-btn {
        padding: 10px 16px;
    }

    .period-btn .period-label {
        font-size: 0.9rem;
    }

    .period-btn .period-discount {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .plan-item,
    .addon-item {
        padding: 15px;
    }

    .item-title {
        font-size: 1rem;
    }

    .item-features {
        font-size: 0.8rem;
    }

    .price-amount {
        font-size: 1.2rem;
    }

    .price-period {
        font-size: 0.85rem;
    }

    .modal-footer {
        flex-direction: column;
        padding: 20px;
    }

    .btn-cancel,
    .btn-confirm {
        width: 100%;
    }

    .price-detail-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .price-label {
        font-size: 1rem;
    }

    .price-value {
        font-size: 1.6rem;
    }

    .price-summary {
        padding: 20px;
    }

    .summary-title {
        font-size: 1.3rem;
    }
}

/* Estilos para cantidad de usuarios */
.addon-label-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.addon-label-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.usuarios-cantidad-wrapper {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    width: 100%;
}

.usuarios-cantidad-label {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.usuarios-cantidad-input {
    width: 100%;
    max-width: 150px;
    padding: 10px 15px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--white);
    border: 2px solid var(--red-primary);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.usuarios-cantidad-input:focus {
    outline: none;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.addon-item input[type="checkbox"]:checked~label .usuarios-cantidad-wrapper {
    display: block;
}

#addonUsuariosItem input[type="checkbox"]:checked~label {
    padding-bottom: 10px;
}

.addon-item.usuarios-selected {
    border-color: var(--red-primary);
    background-color: #fff5f5;
}

/* Estilos para pasos del modal */
.modal-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Estilos para formulario de contacto en modal */
.contact-form-step {
    padding: 10px 0;
}

.form-step-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-step-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.form-group-modal {
    margin-bottom: 20px;
}

.form-label-modal {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control-modal {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-modal:focus {
    outline: none;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-control-modal::placeholder {
    color: #999;
}

.required-asterisk {
    color: var(--red-primary);
    margin-left: 2px;
}

/* Botones de navegación del modal */
.btn-back,
.btn-next {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-back {
    background-color: var(--white);
    color: #6c757d;
    border-color: #6c757d;
}

.btn-back:hover {
    background-color: #6c757d;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-next {
    background-color: var(--red-primary);
    color: var(--white);
    border-color: var(--red-primary);
}

.btn-next:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive para formulario del modal */
@media (max-width: 768px) {
    .usuarios-cantidad-input {
        max-width: 100%;
    }

    .usuarios-cantidad-wrapper {
        margin-top: 12px;
        padding-top: 12px;
    }

    .form-step-title {
        font-size: 1.3rem;
    }

    .form-step-description {
        font-size: 0.9rem;
    }

    .form-control-modal {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .btn-back,
    .btn-next {
        font-size: 0.95rem;
        padding: 10px 25px;
    }

    .addon-label-wrapper {
        gap: 0;
    }
}

/* Responsive Pricing Section */
@media (max-width: 992px) {
    .pricing-section {
        padding: 60px 0;
    }

    .basic-plan-section {
        margin-bottom: 60px;
    }

    .plan-price-amount {
        font-size: 1.8rem;
    }

    .plan-price-annual {
        font-size: 1.1rem;
    }

    .addons-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .cta-title {
        font-size: 2.3rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 50px 0;
    }

    .basic-plan-section {
        margin-bottom: 50px;
    }

    .plan-pricing-column {
        margin-bottom: 30px;
    }

    .plan-price-badge {
        padding: 12px 25px;
    }

    .plan-price-amount {
        font-size: 1.6rem;
    }

    .plan-price-annual {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-plan-contract {
        font-size: 1rem;
        padding: 12px 35px;
    }

    .plan-features-title {
        font-size: 1.5rem;
    }

    .plan-features-list li {
        font-size: 1rem;
    }

    .addons-section {
        margin-bottom: 50px;
    }

    .addons-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .addon-name {
        font-size: 1.3rem;
    }

    .addon-price {
        font-size: 1.1rem;
    }

    .pricing-cta {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .btn-cta-contact {
        font-size: 1rem;
        padding: 15px 40px;
    }
}

/* ===== Banner Section 1 ===== */
.banner-section-1 {
    position: relative;
    width: 100%;
    margin-top: 70px;
    padding: 0;
    background: transparent;
    overflow: visible;
    display: block;
    min-height: 500px;
    height: auto;
}

.banner-section-1 .banner-image-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.banner-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
}

.banner-section-1 .banner-image-full {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    z-index: 2;
}

.banner-text-overlay {
    position: absolute;
    top: 18%;
    right: 22%;
    max-width: 50%;
    text-align: right;
    z-index: 3;
    padding-right: 20px;
}

.banner-title {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.banner-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    text-indent: 0;
}

/* Responsive Banner Section 1 */
@media (max-width: 1024px) {
    .banner-text-overlay {
        right: 10%;
        max-width: 85%;
        top: 18%;
    }

    .banner-description {
        font-size: 1.6rem;
    }
}

@media (max-width: 900px) {
    .banner-text-overlay {
        max-width: 100%;
        width: 100%;
        right: 0;
        left: 0;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .banner-description {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .banner-section-1 {
        margin-top: 60px;
        min-height: 400px;
    }

    .banner-section-1 .banner-image-wrapper {
        display: flex;
        flex-direction: column;
    }

    .banner-section-1 .banner-image-full {
        order: 1;
        width: 100%;
    }

    .banner-text-overlay {
        position: relative;
        order: 2;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 30px 24px;
        text-align: center;
        background-color: rgba(0, 63, 101, 0.45);
        box-sizing: border-box;
    }

    .banner-title {
        margin-bottom: 15px;
    }

    .banner-description {
        font-size: 1.05rem;
    }
}

/* ===== Banner Logo ===== */
.banner-logo {
    position: absolute;
    bottom: 150px;
    right: 2%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 3;
}

.banner-logo-image {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* Responsive Banner Logo */
@media (max-width: 768px) {
    .banner-logo {
        bottom: auto;
        top: 40px;
        right: auto;
        left: 10px;
    }

    .banner-logo-image {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .banner-logo {
        bottom: auto;
        top: 30px;
        right: auto;
        left: 10px;
    }

    .banner-logo-image {
        max-height: 30px;
    }
}

/* ===== Banner Section 2 ===== */
.banner-section-2 {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: auto;
    padding: 0;
    padding-bottom: 80px;
    background: transparent;
    overflow: visible;
    display: block;
    margin-top: 80px;
}

.banner-section-2 .banner-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow: visible;
}

.banner-section-2 .banner-image-full {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.banner-2-text-overlay {
    position: absolute;
    top: 0;
    right: 4%;
    left: auto;
    transform: translateY(0);
    max-width: 680px;
    text-align: right;
    z-index: 20;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    padding: 10px 20px 20px;
    margin-left: 0;
    background: transparent;
}

.text-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}

.banner-2-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 0 10px 0;
    max-width: 100%;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.banner-2-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 0 6px 0;
    max-width: 100%;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.banner-2-description-wrap {
    width: 100%;
    max-width: 96%;
    box-sizing: border-box;
    padding-right: 12px;
    align-self: flex-end;
}

.banner-2-description {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Ajuste solo página inglés: bajar overlay para que texto blanco quede en zona azul */
.banner-section-2-en .banner-2-text-overlay {
    top: 5%;
}

/* Responsive Banner Section 2 */
@media (max-width: 1200px) {
    .banner-section-2 {
        min-height: 520px;
        padding-bottom: 100px;
    }

    .banner-2-text-overlay {
        right: 4%;
        left: auto;
        max-width: 95%;
        margin-left: 0;
        background: transparent;
    }

    .text-content-wrapper {
        align-items: flex-end;
        background: transparent;
    }

    .banner-section-2-en .banner-2-text-overlay {
        top: 5%;
    }

    .banner-2-title {
        font-size: 2.25rem;
    }

    .banner-2-subtitle {
        font-size: 2rem;
    }

    .banner-2-description-wrap {
        max-width: 96%;
        padding-right: 12px;
    }

    .banner-2-description {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .banner-section-2 {
        min-height: 480px;
        padding-bottom: 120px;
    }

    .banner-section-2 .banner-image-wrapper {
        justify-content: center;
    }

    .banner-2-text-overlay {
        box-sizing: border-box;
        padding: 10px 24px 24px;
        top: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        text-align: center;
        background: rgba(0, 48, 100, 0.22);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .text-content-wrapper {
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .banner-2-description-wrap {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
        align-self: center;
    }

    .banner-2-description {
        max-width: 100%;
        font-size: 1.1rem;
    }

    .banner-2-title {
        font-size: 1.85rem;
    }

    .banner-2-subtitle {
        font-size: 1.55rem;
    }
}

@media (max-width: 992px) {
    .banner-section-2 {
        margin-top: 60px;
        padding-bottom: 100px;
    }

    .banner-section-2 .banner-image-wrapper {
        justify-content: center;
    }

    .banner-2-text-overlay {
        box-sizing: border-box;
        padding: 10px 22px 22px;
        top: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        text-align: center;
        background: rgba(0, 48, 100, 0.22);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .text-content-wrapper {
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .banner-2-description-wrap {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
        align-self: center;
    }

    .banner-2-description {
        max-width: 100%;
    }

    .banner-section-2-en .banner-2-text-overlay {
        top: 5%;
    }

    .banner-2-title {
        font-size: 1.75rem;
    }

    .banner-2-subtitle {
        font-size: 1.8rem;
    }

    .banner-2-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .banner-section-2 {
        margin-top: 40px;
        min-height: 400px;
        height: auto;
    }

    .banner-section-2 .banner-image-wrapper {
        flex-direction: column;
        height: auto;
        justify-content: center;
    }

    .banner-2-text-overlay {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 14px 24px 28px;
        min-height: 0;
        text-align: center;
        background: rgba(0, 48, 100, 0.22);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        margin-top: 0;
        margin-left: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        z-index: 20;
    }

    .text-content-wrapper {
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .banner-2-description-wrap {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
        align-self: center;
    }

    .banner-2-description {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .banner-2-title {
        font-size: 1.5rem;
    }

    .banner-2-subtitle {
        font-size: 1.35rem;
    }
}

/* ===== Background Section ===== */
.background-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 60px;
    background-image: url('../resources/images/fondoseccion.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 600px;
    height: auto;
    display: block;
    overflow: hidden;
}

.background-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.background-section-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 80px 40px;
    z-index: 2;
    min-height: 600px;
    height: auto;
}


/* ===== Section Content ===== */
.section-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 0 40px 40px 40px;
    margin-top: -38px;
}

.section-title-badge {
    background-color: #003f65;
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 50px;
    text-align: center;
    margin-bottom: 80px;
    margin-top: -57px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
    white-space: nowrap;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -20px;
    position: relative;
    width: 100%;
    padding: 0;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 380px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.step-form-shape {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 320px;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.step-form-image {
    width: 320px;
    height: auto;
    display: block;
}

.step-visual {
    background-color: transparent;
    padding: 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 320px;
    padding-top: 0;
}

.step-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: -20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.step-icon {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.step-text {
    background-color: transparent;
    padding: 20px 15px;
    margin-top: 100px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.step-heading {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    color: #333;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for process steps - CSS Grid */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-step {
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-step {
        min-height: 340px;
        max-width: 100%;
        min-width: min(320px, 100%);
        width: 100%;
        box-shadow: none;
    }

    .section-title-badge {
        font-size: 1.2rem;
        padding: 12px 20px;
    }

    .step-form-shape,
    .step-visual {
        text-align: center;
    }

    .step-visual {
        min-height: 120px;
        padding: 15px;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-icon {
        font-size: 2rem;
    }

    /* Sin borde transparente estrecho: texto usa todo el ancho de la tarjeta (como la forma); no se reduce más que el paso */
    .step-text {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 20px 20px;
        margin-top: 120px;
        text-align: center;
        box-sizing: border-box;
    }

    .step-heading {
        font-size: 1.15rem;
    }

    .step-description {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .step-title {
        margin-top: -10px;
    }
}

@media (max-width: 576px) {
    .background-section-wrapper {
        padding: 60px 16px;
    }

    .section-content {
        padding: 0 16px 40px 16px;
    }
}

/* ===== Form Section Page ===== */
.form-section-page {
    min-height: calc(100vh - 200px);
    background-color: var(--white);
    padding: 80px 15px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-wrapper {
    max-width: 1000px;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 50px 30px 40px 30px;
    box-shadow: none;
    position: relative;
}

.form-title-badge {
    background-color: #003f65;
    color: var(--white);
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 50px;
    text-align: center;
    margin: -30px auto 30px auto;
    display: block;
    width: fit-content;
}

.contact-form {
    background-color: transparent;
}

.contact-form .row {
    margin-left: -15px;
    margin-right: -15px;
}

.contact-form .row>[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required-asterisk {
    color: var(--red-primary);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-dark);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background-color: var(--blue-dark);
    color: var(--white);
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #283593;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-instruction {
    margin-top: 25px;
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* Responsive Form Section */
@media (max-width: 768px) {
    .form-section-page {
        padding: 100px 15px 60px;
    }

    .form-wrapper {
        padding: 30px 20px;
        border-radius: 8px;
        max-width: 100%;
    }

    .form-title-badge {
        font-size: 0.9rem;
        padding: 8px 25px;
    }

    .contact-form .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form .row>[class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .form-control {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .btn-submit {
        font-size: 0.95rem;
        padding: 12px 25px;
    }

    .form-instruction {
        font-size: 0.85rem;
    }
}

/* ===== Sección de Clientes ===== */
.clients-section {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 80px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

/* ===== Product Showcase Section (Sistema de Tabs) ===== */
.product-showcase-section {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 80px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.product-showcase-container {
    position: relative;
    width: 100%;
    padding: 0 60px 80px 60px;
}

.product-showcase-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Panel de Navegación (Tabs Verticales) */
.product-tabs-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 280px;
    flex-shrink: 0;
}

.product-tab {
    background-color: transparent;
    border: none;
    border-left: 4px solid transparent;
    padding: 20px 25px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-tab:hover {
    background-color: rgba(211, 47, 47, 0.05);
    border-left-color: var(--red-primary);
}

.product-tab.active {
    background-color: rgba(211, 47, 47, 0.1);
    border-left-color: var(--red-primary);
}

.product-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 4px;
    background-color: var(--red-primary);
    border-radius: 0 2px 2px 0;
}

.tab-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.product-tab.active .tab-title {
    color: var(--red-primary);
}

.tab-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-dark);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1.4;
}

.product-tab:hover .tab-description,
.product-tab.active .tab-description {
    opacity: 1;
}

/* Panel de Visualización */
.product-display-panel {
    flex: 1;
    min-width: 0;
}

.product-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-image-wrapper:hover {
    transform: scale(1.02);
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    user-select: none;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    pointer-events: none;
}

.product-image-wrapper:hover .image-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.expand-icon {
    font-size: 2.5rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.expand-text {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Bullets de navegación (solo móvil) */
.product-bullets {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px;
}

.product-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--red-primary);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.product-bullet:hover {
    transform: scale(1.2);
    background-color: rgba(211, 47, 47, 0.3);
}

.product-bullet.active {
    background-color: var(--red-primary);
    transform: scale(1.3);
}

/* Descripción debajo de la imagen */
.product-description-container {
    position: relative;
    min-height: 120px;
}

.product-description-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    text-align: center;
    padding: 0 20px;
}

.product-description-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.product-description-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-description-text {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.clients-container {
    position: relative;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 60px 80px 60px;
}

.clients-badge {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    padding: 25px 80px;
    border-radius: 50px;
    text-align: center;
    margin-bottom: 60px;
    max-width: 90%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
    white-space: normal;
    box-sizing: border-box;
    display: block;
    line-height: 1.2;
    word-wrap: break-word;
}

.clients-badge-softian {
    background-color: var(--softian-blue);
}

.clients-badge-softianpet {
    background-color: var(--red-primary);
}

.clients-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.clients-carousel-wrapper:hover .client-logo:not(:hover) {
    opacity: 0.6;
}

.clients-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.clients-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 40px 0;
    flex-shrink: 0;
}

/* Estilos para el carrusel del sistema */
.system-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.system-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.system-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.system-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.system-slide-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.system-slide-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.system-slide-description {
    font-family: 'Golos Text', 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Mantener estilos legacy para client-logo por si acaso */
.client-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 350px;
    width: 350px;
    height: 200px;
    padding: 30px;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

.carousel-dot.active {
    background-color: var(--black);
    transform: scale(1.3);
}

/* ===== Clients Grid (Trusted by Our Clients - Azul Softian) ===== */
.clients-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.clients-filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--softian-blue);
    border-radius: 24px;
    background: var(--white);
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--softian-blue);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.clients-filter-btn:hover {
    background-color: rgba(0, 51, 88, 0.08);
    border-color: var(--softian-blue);
    color: var(--softian-blue);
}

.clients-filter-btn.active {
    background-color: var(--softian-blue);
    border-color: var(--softian-blue);
    color: var(--white);
}

/* Clients Swiper (slider de clientes) */
.clients-swiper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
}

.clients-swiper .swiper-wrapper {
    align-items: stretch;
}

.clients-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.clients-swiper .swiper-slide .client-card {
    width: 100%;
}

.clients-swiper-prev,
.clients-swiper-next {
    color: var(--softian-blue);
}

.clients-swiper-prev::after,
.clients-swiper-next::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.clients-swiper-pagination .swiper-pagination-bullet {
    background: var(--softian-blue);
    opacity: 0.3;
}

.clients-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.client-card {
    position: relative;
    padding: 24px 16px;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-card:hover {
    box-shadow: 0 10px 20px rgba(0, 51, 88, 0.15);
    border-color: rgba(0, 51, 88, 0.2);
}

.client-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.client-card-logo img,
.client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    background: transparent;
}

.client-card:hover .client-card-logo img,
.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-8px);
}

.badge-country {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    background-color: rgba(0, 51, 88, 0.05);
    border: 1px solid rgba(0, 51, 88, 0.1);
    color: #003358;
    box-shadow: none;
}

.badge-country .fi {
    margin-right: 4px;
    width: 1em;
    height: 0.75em;
}

.region-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--gray-dark);
}

/* Responsive Clients Section */
@media (max-width: 992px) {
    .clients-badge {
        font-size: 3rem;
        padding: 20px 60px;
        max-width: 95%;
        width: fit-content;
    }

    .clients-slide {
        gap: 60px;
    }

    .system-slide-content {
        max-width: 900px;
        padding: 0 15px;
    }

    .system-image-wrapper {
        max-width: 900px;
        margin-bottom: 25px;
    }

    .system-image {
        max-height: 500px;
    }

    .system-slide-title {
        font-size: 1.8rem;
    }

    .system-slide-description {
        font-size: 1rem;
    }

    .client-logo {
        max-width: 250px;
        width: 250px;
        height: 150px;
        padding: 25px;
    }

    .clients-grid {
        gap: 20px;
    }

    .client-card {
        min-height: 140px;
        padding: 20px 12px;
    }

    .client-card-logo {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .clients-section {
        margin-top: 60px;
    }

    .clients-container {
        padding: 0 20px 60px 20px;
    }

    .clients-badge {
        font-size: 2rem;
        padding: 18px 40px;
        max-width: 95%;
        width: fit-content;
        margin-bottom: 40px;
        white-space: normal;
        line-height: 1.2;
    }

    .clients-slide {
        gap: 40px;
        flex-wrap: wrap;
        padding: 30px 0;
    }

    .system-slide-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .system-image-wrapper {
        max-width: 100%;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .system-image {
        max-height: 400px;
    }

    .system-slide-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .system-slide-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .system-slide-description {
        font-size: 0.95rem;
    }

    .client-logo {
        max-width: 180px;
        width: 180px;
        height: 120px;
        padding: 20px;
    }

    .clients-filter {
        margin-bottom: 24px;
        gap: 8px;
    }

    .clients-filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 16px;
    }

    .client-card {
        min-height: 130px;
        padding: 16px 10px;
    }

    .client-card-logo {
        height: 80px;
    }

    .badge-country,
    .region-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .clients-badge {
        font-size: 1.5rem;
        padding: 15px 30px;
        max-width: 95%;
        width: fit-content;
        white-space: normal;
        line-height: 1.3;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }

    .client-card {
        min-height: 120px;
        padding: 12px 8px;
    }

    .client-card-logo {
        height: 70px;
    }

    .clients-slide {
        gap: 30px;
        padding: 25px 0;
    }

    .system-slide-content {
        padding: 0 5px;
    }

    .system-image-wrapper {
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .system-image {
        max-height: 300px;
    }

    .system-slide-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .system-slide-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .client-logo {
        max-width: 140px;
        width: 140px;
        height: 100px;
        padding: 15px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 20px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Responsive Product Showcase Section */
@media (max-width: 992px) {
    .product-showcase-container {
        padding: 0 40px 60px 40px;
    }

    .product-showcase-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .product-tabs-panel {
        flex-direction: row;
        min-width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .product-tabs-panel::-webkit-scrollbar {
        height: 6px;
    }

    .product-tabs-panel::-webkit-scrollbar-thumb {
        background-color: var(--red-primary);
        border-radius: 3px;
    }

    .product-tab {
        min-width: 180px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 25px;
        padding: 12px 20px;
        flex-shrink: 0;
        background-color: rgba(211, 47, 47, 0.05);
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .product-tab::after {
        display: none;
    }

    .product-tab.active {
        background-color: var(--red-primary);
        border-color: var(--red-primary);
        color: var(--white);
    }

    .product-tab.active .tab-title,
    .product-tab.active .tab-description {
        color: var(--white);
    }

    .product-tab:hover {
        border-left: none;
        background-color: rgba(211, 47, 47, 0.1);
        border-color: var(--red-primary);
        transform: translateY(-2px);
    }

    .product-image-container {
        min-height: 400px;
    }

    .product-image {
        max-height: 400px;
    }

    .product-description-title {
        font-size: 1.7rem;
    }

    .product-description-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .product-showcase-section {
        margin-top: 60px;
    }

    .product-showcase-container {
        padding: 0 20px 60px 20px;
    }

    .product-tabs-panel {
        gap: 6px;
    }

    .product-tab {
        min-width: 160px;
        padding: 12px 16px;
    }

    .tab-title {
        font-size: 1.1rem;
    }

    .tab-description {
        font-size: 0.85rem;
    }

    .product-image-container {
        min-height: 350px;
        margin-bottom: 25px;
    }

    .product-image {
        max-height: 350px;
        padding: 15px;
    }

    .product-description-container {
        min-height: 100px;
    }

    .product-description-item {
        padding: 0 10px;
    }

    .product-description-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .product-description-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .product-showcase-container {
        padding: 0 15px 50px 15px;
    }

    .product-tab {
        min-width: 140px;
        padding: 10px 14px;
    }

    .tab-title {
        font-size: 1rem;
    }

    .tab-description {
        font-size: 0.8rem;
    }

    .product-image-container {
        min-height: 280px;
        margin-bottom: 20px;
    }

    .product-image {
        max-height: 280px;
        padding: 10px;
    }

    .product-description-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .product-description-text {
        font-size: 0.9rem;
    }
}

/* Mostrar bullets solo en móvil */
@media (max-width: 768px) {
    .product-bullets {
        display: flex;
    }
}

/* ===== Lightbox Styles ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper {
    width: 100%;
    height: calc(90vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: transform 0.3s ease;
}

.lightbox-image.zoomed {
    cursor: grab;
}

.lightbox-image.zoomed:active {
    cursor: grabbing;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background-color: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    z-index: 10001;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-container {
        width: 95%;
        height: 95vh;
    }

    .lightbox-image-wrapper {
        height: calc(95vh - 80px);
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 10px;
        font-size: 1rem;
        padding: 8px 16px;
    }

    .expand-text {
        display: none;
    }

    .expand-icon {
        font-size: 2rem;
    }
}

/* ========================================
   Language Switcher Styles
   ======================================== */
.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.language-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.language-flag {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* ========================================
   Botón Flotante de WhatsApp - Optimizado
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none;
    opacity: 1;
    transition: all 0.4s ease;
    animation: ripple-pulse 10s ease-in-out infinite;
}

.whatsapp-float.visible {
    opacity: 1;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.3);
    animation: ripple-wave 10s ease-in-out infinite;
    z-index: -1;
}

/* Tooltip del botón - Dinámico y profesional */
.whatsapp-tooltip {
    position: fixed;
    bottom: 40px;
    right: 95px;
    background-color: #ffffff;
    color: #2c3e50;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    font-size: 13.5px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    white-space: nowrap;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* Aparición automática con temporizador */
.whatsapp-tooltip.show-auto {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    animation: tooltipPulse 0.4s ease-out;
}

/* Aparición en hover (siempre funcional) */
.whatsapp-float:hover+.whatsapp-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Flecha del tooltip */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.05));
}

/* Animación de entrada del tooltip */
@keyframes tooltipPulse {
    0% {
        opacity: 0;
        transform: translateX(15px) scale(0.95);
    }

    50% {
        transform: translateX(-3px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Animación de onda circular (ripple) cada 10 segundos */
@keyframes ripple-wave {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    5% {
        opacity: 0.3;
    }

    10% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Pulso sutil del botón */
@keyframes ripple-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.05);
    }

    10% {
        transform: scale(1);
    }
}

/* Animación de fade-in para scroll trigger */
@keyframes fadeInWhatsApp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive: Tamaños optimizados por dispositivo */
@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: none !important;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 33px;
    }
}

/* ========================================
   Modal de Contacto Simple
   ======================================== */
.modal-contacto-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-contacto-header {
    background-color: var(--orange-primary);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 25px 30px;
    border: none;
}

.modal-contacto-header .modal-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-contacto-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-contacto-header .btn-close:hover {
    opacity: 1;
}

.modal-contacto-body {
    padding: 35px 30px;
    background-color: #f8f9fa;
}

.contacto-simple-form {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group-contacto {
    margin-bottom: 20px;
}

.form-label-contacto {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.form-control-contacto {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    background-color: #fafafa;
}

.form-control-contacto:focus {
    outline: none;
    border-color: var(--orange-primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea.form-control-contacto {
    resize: vertical;
    min-height: 120px;
}

.modal-contacto-footer {
    border-top: none;
    padding: 0;
    margin-top: 25px;
}

.btn-enviar-contacto {
    width: 100%;
    background-color: var(--orange-primary);
    color: white;
    font-family: 'Rubik', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enviar-contacto:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Mensaje de éxito */
.mensaje-exito-contacto {
    text-align: center;
    padding: 50px 30px;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mensaje-exito-contacto h4 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.mensaje-exito-contacto p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-cerrar-success {
    background-color: var(--orange-primary);
    color: white;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cerrar-success:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Responsive Modal Contacto */
@media (max-width: 768px) {
    .modal-contacto-header {
        padding: 20px;
    }

    .modal-contacto-header .modal-title {
        font-size: 1.2rem;
    }

    .modal-contacto-body {
        padding: 20px 15px;
    }

    .contacto-simple-form {
        padding: 20px;
    }

    .form-control-contacto {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Botón Flotante de WhatsApp - Optimizado
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none;
    opacity: 1;
    transition: all 0.4s ease;
    animation: ripple-pulse 10s ease-in-out infinite;
}

.whatsapp-float.visible {
    opacity: 1;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.3);
    animation: ripple-wave 10s ease-in-out infinite;
    z-index: -1;
}

/* Tooltip del botón - Dinámico y profesional */
.whatsapp-tooltip {
    position: fixed;
    bottom: 40px;
    right: 95px;
    background-color: #ffffff;
    color: #2c3e50;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    font-size: 13.5px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    white-space: nowrap;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* Aparición automática con temporizador */
.whatsapp-tooltip.show-auto {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    animation: tooltipPulse 0.4s ease-out;
}

/* Aparición en hover (siempre funcional) */
.whatsapp-float:hover+.whatsapp-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Flecha del tooltip */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.05));
}

/* Animación de entrada del tooltip */
@keyframes tooltipPulse {
    0% {
        opacity: 0;
        transform: translateX(15px) scale(0.95);
    }

    50% {
        transform: translateX(-3px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Animación de onda circular (ripple) cada 10 segundos */
@keyframes ripple-wave {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    5% {
        opacity: 0.3;
    }

    10% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Pulso sutil del botón */
@keyframes ripple-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.05);
    }

    10% {
        transform: scale(1);
    }
}

/* Animación de fade-in para scroll trigger */
@keyframes fadeInWhatsApp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive: Tamaños optimizados por dispositivo */
@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: none !important;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 33px;
    }
}

/* intl-tel-input: texto negro en dropdown y búsqueda para buena legibilidad */
.iti__search-input,
.iti__country-name,
.iti__dial-code,
.iti input.iti__tel-input {
    color: #111 !important;
}
.iti__search-input::placeholder {
    color: #555;
}

/* intl-tel-input: bandera alineada al centro al escribir */
.iti {
    display: flex !important;
    align-items: center !important;
}
.iti__flag-container {
    display: flex !important;
    align-items: center !important;
    align-self: stretch !important;
}
.iti__selected-flag {
    display: flex !important;
    align-items: center !important;
    min-height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.iti input.iti__tel-input {
    height: 100%;
    min-height: 38px;
}

/* Mensaje de error del teléfono: Just Validate usa errorsContainer .phone-error-container,
   así el mensaje queda fuera del bloque intl-tel-input y no afecta bandera ni input */
.phone-error-container {
    margin-top: 6px;
}
.phone-error-container,
.phone-error-container * {
    color: #b81111 !important;
}

/* ===== REGLAS FINALES: SoftianPet Colores Naranjas (Máxima Prioridad) ===== */
body.page-softianpet .sidebar-header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%) !important;
}

body.page-softianpet .sidebar-link-icon {
    color: #FF6B35 !important;
}

body.page-softianpet .sidebar-link:hover {
    border-left-color: #FF6B35 !important;
    color: #FF6B35 !important;
}

body.page-softianpet .sidebar-link:hover .sidebar-link-icon {
    color: #FF6B35 !important;
}

body.page-softianpet .sidebar-link .dropdown-icon {
    color: #FF6B35 !important;
}

body.page-softianpet .sidebar-dropdown-item:hover {
    color: #FF6B35 !important;
}

body.page-softianpet .sidebar-footer .sidebar-footer-btn {
    background-color: #FF6B35 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

body.page-softianpet .sidebar-footer .sidebar-footer-btn:hover {
    background-color: #e55a2a !important;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4) !important;
}

body.page-softianpet .sidebar-footer-socials a:hover {
    color: #FF6B35 !important;
    background-color: rgba(255, 107, 53, 0.1) !important;
}

body.page-softianpet .hamburger-icon span {
    background-color: #FF6B35 !important;
}

/* ===== REGLAS FINALES: Softian Colores AZULES (Máxima Prioridad con Selectores de Atributo) ===== */
/* Los selectores de atributo [data-page] tienen mayor especificidad */

body[data-page="softian"] .sidebar-header {
    background: #003358 !important;
    background-color: #003358 !important;
    background-image: none !important;
}

body[data-page="softian"] .sidebar-link-icon {
    color: #003358 !important;
}

body[data-page="softian"] .sidebar-link:hover {
    border-left-color: #003358 !important;
    color: #003358 !important;
}

body[data-page="softian"] .sidebar-link:hover .sidebar-link-icon {
    color: #003358 !important;
}

body[data-page="softian"] .sidebar-link .dropdown-icon {
    color: #003358 !important;
}

body[data-page="softian"] .sidebar-dropdown-item:hover {
    color: #003358 !important;
}

body[data-page="softian"] .sidebar-dropdown-item:hover .menu-softianpet-strong {
    color: #003358 !important;
}

body[data-page="softian"] .sidebar-footer .sidebar-footer-btn {
    background-color: #003358 !important;
    background: #003358 !important;
    box-shadow: 0 4px 12px rgba(0, 51, 88, 0.3) !important;
}

body[data-page="softian"] .sidebar-footer .sidebar-footer-btn:hover {
    background-color: #002240 !important;
    background: #002240 !important;
    box-shadow: 0 6px 16px rgba(0, 51, 88, 0.4) !important;
}

body[data-page="softian"] .sidebar-footer-socials a:hover {
    color: #003358 !important;
    background-color: rgba(0, 51, 88, 0.1) !important;
}

body[data-page="softian"] .hamburger-icon span {
    background-color: #003358 !important;
}

/* Reglas adicionales para asegurar que no haya herencia de naranjas */
body[data-page="softian"] .sidebar *[style*="orange"],
body[data-page="softian"] .sidebar *[style*="FF6B35"] {
    color: #003358 !important;
    background-color: #003358 !important;
}

/* Botón que actúa como enlace en el sidebar */
button.sidebar-link {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

/* Ocultar la flecha automática de Bootstrap en dropdown-toggle */
.dropdown-toggle::after {
    display: none !important;
}

/* Ocultar botón de WhatsApp cuando el sidebar está activo */
.sidebar-overlay.active ~ .whatsapp-float,
.sidebar.active ~ .whatsapp-float {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}