/**
 * STF WATER - Estilos Personalizados
 * Diseño elegante y moderno para tratamiento de agua
 */

/* Variables de color definidas en header.php */

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes flipRotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(180deg);
    }
}

/* ============================================
   FLIP CARD EFFECT
   ============================================ */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.flip-card-front {
    background-color: transparent;
    color: black;
    z-index: 2;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark, #0052a3) 100%);
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.12) !important;
}

/* ============================================
   SERVICE CARDS NUMBERED
   ============================================ */
.service-card-numbered {
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: visible;
    background: #fff;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.service-card-numbered .row {
    overflow: hidden;
    border-radius: 12px;
}

.service-card-numbered:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15) !important;
}

.service-card-numbered .card-img-left {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
}

.service-card-numbered .card-body {
    position: relative;
}

.service-number {
    position: absolute;
    top: 15px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    font-family: 'Poppins', sans-serif;
    z-index: 10;
}

.service-card-numbered .card-title {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.service-card-numbered .card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Estilos para pantallas grandes */
@media (min-width: 992px) {
    .service-card-numbered .card-title {
        font-size: 1.75rem;
    }
    
    .service-card-numbered .card-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

.service-card-numbered .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-card-numbered .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* ============================================
   CATEGORY CARDS (Productos)
   ============================================ */
.category-card-link {
    text-decoration: none;
    display: block;
}

.category-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 102, 204, 0.2) !important;
}

.category-card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.category-card-img i {
    font-size: 80px;
    color: white;
    transition: all 0.4s ease;
}

.category-card:hover .category-card-img i {
    transform: scale(1.1);
}

.category-card-img-real {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.category-card:hover .category-card-img-real {
    transform: scale(1.05);
}

.category-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.category-card .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-card .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.card.product-card {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
}

.card.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15) !important;
}

.product-card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-card-img i {
    font-size: 50px;
    color: white;
    transition: all 0.3s ease;
}

.product-card:hover .product-card-img i {
    transform: scale(1.15);
}

/* Product card with real images */
.product-card-img-real {
    height: 300px;
    object-fit: contain;    
    padding: 15px;
    transition: all 0.3s ease;
}

.product-card:hover .product-card-img-real {
    transform: scale(1.05);
}

.product-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card.product-card .card-body {
    background-color: azure !important;
}

.product-card .card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-card .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-card .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   DROPDOWN MENU STYLES
   ============================================ */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.dropdown-item i {
    color: var(--primary-color);
}

a {
    transition: color 0.3s ease;
}

button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    animation: slideInDown 0.5s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

nav.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background-attachment: fixed;
}

.hero h1 {
    animation: fadeInScale 0.8s ease;
}

/* ============================================
   FORMS
   ============================================ */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* ============================================
   BOTONES MEJORADOS
   ============================================ */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ============================================
   TARJETAS (CARDS)
   ============================================ */
.card {
    border: none;
    border-radius: 12px;
    background: white;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
}

.card-text {
    line-height: 1.7;
}

/* ============================================
   SECCIONES
   ============================================ */
section {
    transition: background-color 0.1s ease;
}

section h2 {
    position: relative;
    display: inline-block;
    color: var(--text-dark) !important;
}

.cta-section h2 {
    color: white !important;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Títulos globales */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
}

.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary p {
    color: white !important;
}

.card-title {
    color: var(--text-dark) !important;
}

.card-text {
    color: var(--text-light) !important;
}

/* ============================================
   LINKS Y NAVEGACIÓN
   ============================================ */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

.nav-link {
    position: relative;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Dropdown hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-toggle::after {
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c70b4, #87c46e);
}

footer h5 {
    color: white !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #87c46e;
}

footer p,
footer small {
    color: #b0b0b0 !important;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #d0d0d0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #87c46e !important;
    padding-left: 5px;
}

footer .btn-outline-light {
    transition: all 0.3s ease;
    border-radius: 50%;
    border-color: #555555;
    color: #d0d0d0;
}

footer .btn-outline-light:hover {
    background: linear-gradient(135deg, #0c70b4, #87c46e);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

footer .social-icon-minimal {
    color: white;
    font-size: 1.7rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer .social-icon-minimal:hover {
    color: #87c46e;
    transform: translateY(-2px);
}

footer hr {
    border-color: #404040 !important;
    margin: 2rem 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 10px 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ============================================
   BADGE
   ============================================ */
.badge {
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* ============================================
   DROPDOWN
   ============================================ */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

/* ============================================
   MODAL
   ============================================ */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* ============================================
   ALERT
   ============================================ */
.alert {
    border: none;
    border-radius: 8px;
    animation: slideInDown 0.4s ease;
}

.alert-success {
    background-color: rgba(46, 125, 50, 0.1);
    color: #1B5E20;
}

.alert-danger {
    background-color: rgba(211, 47, 47, 0.1);
    color: #C62828;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 60px 0 !important;
    }
    
    section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .display-5 {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 40px 0 !important;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-light-primary {
    background-color: var(--primary-light) !important;
}

.bg-light-accent {
    background-color: var(--accent-light) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.15) !important;
}

.rounded-xl {
    border-radius: 20px;
}

.border-light {
    border-color: var(--border-color) !important;
}

/* ============================================
   SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
}

.breadcrumb-item {
    color: var(--primary-color) !important;
}

.breadcrumb-item.active {
    color: var(--text-dark) !important;
}

.section-header {
    background: white;
    padding: 3rem 0;
}

.section-light {
    background: var(--bg-light);
    padding: 3rem 0;
}

.section-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
}

.section-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #00D4C4 100%);
    color: white;
    padding: 3rem 0;
}

/* ============================================
   TEXT STYLES
   ============================================ */
.text-light-secondary {
    color: var(--text-light) !important;
}

.text-accent-light {
    color: var(--accent-light) !important;
}

.text-main-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.text-lead {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
}

.text-subtitle {
    color: var(--accent-light);
    font-weight: 300;
}

/* ============================================
   CARD STYLES
   ============================================ */
.card-service {
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
}

.service-card-img {
    height: 240px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.card-service:hover .service-card-img {
    transform: scale(1.05);
}

.card-product {
    border: none !important;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
}

.card-product .card-body {
    display: flex;
    flex-direction: column;
}

.card-product .card-text {
    flex-grow: 1;
}

.plant-card-img {
    height: 240px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.card-product:hover .plant-card-img {
    transform: scale(1.05);
}

/* ============================================
   ALIADOS COMERCIALES
   ============================================ */
.aliados-container {
    overflow: hidden;
    padding: 20px 0;
}

.aliados-slider {
    display: flex;
    gap: 50px;
    animation: scrollAliados 25s linear infinite;
    width: max-content;
}

.aliados-slider:hover {
    animation-play-state: paused;
}

.aliado-item {
    flex-shrink: 0;
    width: 175px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aliado-item:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.15);
}

.aliado-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.aliado-item:hover img {
    filter: grayscale(0%);
}

@keyframes scrollAliados {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.card-icon-container {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-text-light {
    color: var(--text-light) !important;
}

/* ============================================
   GRADIENT CONTAINERS
   ============================================ */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-primary-tall {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-large-light {
    font-size: 150px;
    color: white;
    opacity: 0.2;
}

.icon-xlarge-light {
    font-size: 150px;
    color: white;
    opacity: 0.3;
}

.icon-large-gradient {
    font-size: 80px;
    color: white;
    opacity: 0.2;
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-custom-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.btn-custom-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ============================================
   BOX & BORDER STYLES
   ============================================ */
.box-light {
    background: var(--bg-light);
    border-radius: 10px;
}

.box-white {
    background: white;
    border-radius: 10px;
}

.box-with-border {
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.box-with-border-accent {
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
}

.box-with-border-accent-alt {
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
}

.border-accent {
    border-left: 4px solid var(--accent-color) !important;
}

/* ============================================
   LIST STYLES
   ============================================ */
.list-unstyled-custom {
    list-style: none;
    padding: 0;
}

.list-item-spacing {
    padding-left: 20px;
    color: var(--text-light);
}

.list-with-icons li {
    color: var(--text-light);
    padding-left: 20px;
}

/* ============================================
   FLEX CONTAINERS
   ============================================ */
.flex-item-center {
    display: flex;
    align-items: center;
}

.flex-item-icon {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.5rem;
}

.flex-item-icon-small {
    color: var(--accent-color);
    margin-right: 15px;
}

/* ============================================
   BADGES & LABELS
   ============================================ */
.badge-category {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.label-accent {
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.label-accent:hover {
    color: var(--primary-color);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon-box-whatsapp {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: white;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-control-custom {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.step-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   HEADER DECORATIVE
   ============================================ */
.header-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
}

/* ============================================
   TEXT ALIGNMENT
   ============================================ */
.mb-spacing {
    margin-bottom: 20px;
}

.mb-spacing-lg {
    margin-bottom: 30px;
}

.p-text-small {
    font-size: 0.9rem;
}

.p-text-xsmall {
    font-size: 0.85rem;
}

.font-weight-semi {
    font-weight: 500;
}

/* ============================================
   PRINT STYLES
   ============================================ */
/* ============================================
   HERO CAROUSEL - OPTIMIZADO
   ============================================ */

/* Contenedor principal del carrusel */
#heroCarousel.hero-carousel {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

#heroCarousel.hero-carousel .carousel-inner {
    position: relative;
    height: 100%;
}

/* Items del carrusel */
#heroCarousel.hero-carousel .carousel-item {
    transition: opacity 0.3s ease-in-out !important;
    opacity: 0;
    height: 100%;
    position: relative;
}

#heroCarousel.hero-carousel .carousel-item.active {
    opacity: 1;
}

/* Indicadores */
#heroCarousel.hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
}

#heroCarousel.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border: none !important;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

#heroCarousel.hero-carousel .carousel-indicators button.active {
    background-color: white !important;
    width: 14px;
    height: 14px;
}

#heroCarousel.hero-carousel .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Controles de navegación */
#heroCarousel.hero-carousel .carousel-control-prev,
#heroCarousel.hero-carousel .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
    z-index: 50 !important;
    background: rgba(0, 102, 204, 0.7) !important;
    
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

#heroCarousel.hero-carousel .carousel-control-prev {
    left: 20px !important;
}

#heroCarousel.hero-carousel .carousel-control-next {
    right: 20px !important;
}

#heroCarousel.hero-carousel .carousel-control-prev:hover,
#heroCarousel.hero-carousel .carousel-control-next:hover {
    opacity: 1 !important;
    background: rgba(3, 79, 156, 0.9) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4) !important;
}

#heroCarousel.hero-carousel .carousel-control-prev-icon,
#heroCarousel.hero-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 30px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

/* Contenido de diapositivas */
.carousel-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 1980px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    z-index: 5;
}

.carousel-slide-content > .container {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    padding: 0 60px !important;
    max-width: none !important;
    margin: 0 !important;
}

.carousel-slide-content .row {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.carousel-slide-content .col-lg-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 0 0 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .carousel-slide-content > .container {
        padding: 0 40px !important;
    }
}

@media (max-width: 768px) {
    #heroCarousel {
        height: 400px !important;
    }

    .carousel-slide-content > .container {
        padding: 0 30px !important;
    }

    .carousel-slide-content .col-lg-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    #heroCarousel.hero-carousel .carousel-item h1 {
        font-size: 2rem !important;
    }

    #heroCarousel.hero-carousel .carousel-item h2 {
        font-size: 1.3rem !important;
    }

    #heroCarousel.hero-carousel .carousel-item p {
        font-size: 0.95rem !important;
    }

    #heroCarousel.hero-carousel .carousel-indicators {
        bottom: 20px;
        padding: 6px 15px;
    }

    #heroCarousel.hero-carousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    #heroCarousel.hero-carousel .carousel-indicators button.active {
        width: 12px;
        height: 12px;
    }

    #heroCarousel.hero-carousel .carousel-control-prev {
        left: 80px !important;
    }

    #heroCarousel.hero-carousel .carousel-control-next {
        right: 80px !important;
    }
}

@media (max-width: 576px) {
    #heroCarousel {
        height: 320px !important;
    }

    .carousel-slide-content > .container {
        padding: 0 20px !important;
    }

    #heroCarousel.hero-carousel .carousel-item h1 {
        font-size: 1.5rem !important;
    }

    #heroCarousel.hero-carousel .carousel-item .lead {
        display: none;
    }

    #heroCarousel.hero-carousel .carousel-control-prev {
        left: 30px !important;
    }

    #heroCarousel.hero-carousel .carousel-control-next {
        right: 30px !important;
    }
}

/* ============================================
   CONTACTO - TARJETAS Y MAPA
   ============================================ */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon-wrapper.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-color);
}

.contact-card .whatsapp-link {
    color: #25D366;
}

.contact-card .whatsapp-link:hover {
    color: #128C7E;
}

/* Mapa de Google */
.map-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 102, 204, 0.1);
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
}

.map-container h3 {
    font-size: 1.5rem;
}

.map-container h3::after {
    display: none;
}

/* Responsive tarjetas de contacto */
@media (max-width: 768px) {
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .map-container {
        padding: 20px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
}

/* ============================================
   FORMULARIO DE CONTACTO MEJORADO
   ============================================ */
.form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 102, 204, 0.08);
}

.form-container h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
}

.form-container h2::after {
    display: none;
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    color: white;
}

/* Sidebar de información */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.08);
}

.info-box h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.info-box h4::after {
    display: none;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-day {
    color: var(--text-dark);
    font-weight: 500;
}

.schedule-day i {
    color: var(--primary-color);
}

.schedule-time {
    color: var(--primary-color);
    font-weight: 600;
}

.schedule-item.emergency .schedule-day i {
    color: #ff6b6b;
}

.schedule-item.emergency .schedule-time {
    color: #ff6b6b;
    font-size: 0.9rem;
}

/* Botones de redes sociales */
.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
    color: white;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn.whatsapp {
    background: #25D366;
}

/* CTA Box WhatsApp */
.cta-box {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box .cta-icon {
    font-size: 3rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.cta-box h5 {
    color: white;
    margin-bottom: 5px;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: white;
    color: #25D366;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #128C7E;
    transform: scale(1.05);
}

/* Responsive formulario */
@media (max-width: 992px) {
    .form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 25px 20px;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


@media print {
    nav.navbar,
    footer,
    .btn,
    .d-print-none {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
}
