/********** Template CSS - Dental PARI Professional **********/

/* ===== Variables de Colores Profesionales ===== */
:root {
    --primary: #0077B6;          /* Azul dental profesional */
    --primary-dark: #005F8A;     /* Azul oscuro */
    --primary-light: #00A8E8;    /* Azul claro */
    --secondary: #E63946;        /* Rojo del logo */
    --secondary-dark: #C1121F;   /* Rojo oscuro */
    --secondary-light: #FF6B6B;  /* Rojo claro */
    --accent: #FFB703;           /* Dorado para acentos */
    --light: #F8FBFD;            /* Fondo claro */
    --dark: #1A1A2E;             /* Texto oscuro */
    --gray: #6C757D;             /* Gris texto */
    --gray-light: #E9ECEF;       /* Gris claro */
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(0, 119, 182, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 119, 182, 0.2);
    --shadow-red: 0 10px 40px rgba(230, 57, 70, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== Tipografia Profesional ===== */
h1, h2, .font-weight-bold {
    font-family: 'Jost', sans-serif;
    font-weight: 700 !important;
    color: var(--dark);
    letter-spacing: -0.5px;
}

h3, h4, .font-weight-semi-bold {
    font-family: 'Jost', sans-serif;
    font-weight: 600 !important;
    color: var(--dark);
}

h5, h6, .font-weight-medium {
    font-family: 'Jost', sans-serif;
    font-weight: 500 !important;
}

p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ===== Botones Profesionales ===== */
.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-square {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== Spinner Profesional ===== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-grow {
    background-color: var(--white);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 100px;
    z-index: 99;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ===== Topbar Profesional ===== */
.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: skew(40deg);
}

.container-fluid.bg-light {
    background: linear-gradient(90deg, var(--light) 0%, var(--white) 100%) !important;
    border-bottom: 1px solid var(--gray-light);
}

/* ===== Navbar Profesional ===== */
.navbar {
    transition: var(--transition);
    padding: 0 !important;
}

.navbar.sticky-top {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    font-size: 28px;
    color: var(--primary);
}

.navbar-brand h1 i,
.navbar-brand h1 span {
    color: var(--secondary) !important;
}

.navbar-brand h1:hover {
    opacity: 0.9;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 30px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition);
}


.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: calc(100% - 40px);
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar-light .navbar-nav .nav-link::after {
        display: none;
    }
}

/* ===== Dropdown Profesional ===== */
.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 15px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 30px;
}

/* ===== Hero / Carousel Profesional ===== */
.container-fluid.p-1 {
    padding: 0 !important;
}

#header-carousel {
    position: relative;
}

#header-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 119, 182, 0.75) 0%,
        rgba(26, 26, 46, 0.6) 50%,
        rgba(0, 95, 138, 0.7) 100%
    );
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 201, 167, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 168, 232, 0.2) 0%, transparent 50%);
    z-index: -1;
}

.carousel-caption h5 {
    color: var(--white) !important;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-caption h1 {
    color: var(--white);
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 35px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    font-weight: 700;
}

.carousel-caption .btn {
    padding: 18px 40px;
    font-size: 15px;
    margin: 5px;
}

@media (max-width: 991px) {
    #header-carousel .carousel-item {
        height: 80vh;
        min-height: 500px;
    }

    .carousel-caption h1 {
        font-size: 42px;
    }

    .carousel-caption h5 {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: 70vh;
        min-height: 450px;
    }

    .carousel-caption h5 {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .carousel-caption h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .carousel-caption .btn {
        padding: 12px 25px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    #header-carousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    opacity: 0;
    transition: var(--transition);
}

#header-carousel:hover .carousel-control-prev,
#header-carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 55px;
    height: 55px;
    background-color: var(--white);
    border-radius: 50%;
    background-size: 40%;
    filter: invert(0);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary);
    filter: invert(1);
    transform: scale(1.1);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid var(--white);
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

/* ===== Banner Section ===== */
@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -100px;
        z-index: 10;
    }
}

.banner .row {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.banner .bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.banner .bg-dark {
    background: linear-gradient(135deg, var(--dark) 0%, #0D0D1A 100%) !important;
}

.banner .bg-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%) !important;
}

.banner > .container > .row > div:first-child > div {
    border-radius: 20px 0 0 20px;
}

.banner > .container > .row > div:last-child > div {
    border-radius: 0 20px 20px 0;
}

@media (max-width: 991.98px) {
    .banner > .container > .row > div > div {
        border-radius: 0 !important;
    }

    .banner > .container > .row > div:first-child > div {
        border-radius: 20px 20px 0 0 !important;
    }

    .banner > .container > .row > div:last-child > div {
        border-radius: 0 0 20px 20px !important;
    }
}

.banner h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.banner h2 {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
}

.banner h6 {
    font-weight: 500;
}

.banner p {
    color: rgba(255,255,255,0.85);
}

.banner .btn-light {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.banner .btn-light:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.banner .form-control,
.banner .form-select {
    border-radius: 10px;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
}

.banner .form-control:focus,
.banner .form-select:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* ===== Section Title Profesional ===== */
.section-title {
    margin-bottom: 50px;
}

.section-title h5 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 3px;
    right: -60px;
    bottom: 8px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -80px;
    bottom: 8px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title h1 {
    font-size: 42px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .section-title h1 {
        font-size: 28px;
    }
}

/* ===== Hero Header ===== */
.hero-header {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%),
                url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.hero-header h1 {
    color: var(--white);
    font-size: 48px;
}

.hero-header a {
    color: rgba(255,255,255,0.8);
}

.hero-header a:hover {
    color: var(--white);
}

/* ===== About Section ===== */
.about-img {
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
}

.about-img img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ===== Service Cards Profesionales ===== */
.service-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.service-item img {
    transition: var(--transition);
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item .bg-light {
    background: var(--white) !important;
    padding: 30px 25px;
    position: relative;
}

.service-item .bg-light h5 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-item:hover .bg-light h5 {
    color: var(--secondary);
}

.service-item .bg-light::after {
    display: none;
}

.service-item .btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-item .btn-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ===== Appointment Section ===== */
.bg-appointment {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%),
                url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.appointment-form .form-control {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 15px;
    background: rgba(255,255,255,0.95);
}

.appointment-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* ===== Offer Section ===== */
.bg-offer {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.offer-text {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.95) 0%, rgba(0, 168, 232, 0.9) 100%);
    border-radius: 20px;
    padding: 60px;
}

.offer-text h1 {
    color: var(--white);
}

/* ===== Price Cards ===== */
.price-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.price-item:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-red);
}

.price-item.featured {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.price-item h2 {
    color: var(--secondary);
    font-size: 48px;
}

.price-item h2 small {
    font-size: 18px;
    color: var(--gray);
}

/* ===== Price Carousel ===== */
.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 60px);
    height: 50px;
    top: calc(50% - 25px);
    left: -30px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: var(--transition);
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #00A896 100%);
    transform: scale(1.1);
}

/* ===== Testimonial Section ===== */
.bg-testimonial {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1) 0%, rgba(0, 201, 167, 0.1) 100%),
                url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.testimonial-carousel {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: var(--shadow);
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-carousel p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-carousel h5 {
    color: var(--white);
}

.testimonial-carousel span {
    color: var(--secondary-light);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 60px);
    height: 50px;
    top: calc(50% - 25px);
    left: -30px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--white);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}

/* ===== Team Section ===== */
.team-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--secondary);
}

.team-item img {
    transition: var(--transition);
}

.team-item:hover img {
    transform: scale(1.05);
}

.team-item .team-text {
    padding: 25px;
    text-align: center;
    position: relative;
}

.team-item .team-text h5 {
    color: var(--dark);
    margin-bottom: 5px;
}

.team-item .team-text span {
    color: var(--primary);
    font-weight: 500;
}

.team-item .team-text::after {
    display: none;
}

.team-item .team-social {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.team-item:hover .team-social {
    opacity: 1;
    top: -20px;
}

.team-item .team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.team-item .team-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ===== Footer Profesional ===== */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0D0D1A 100%);
}

.footer h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer .text-primary {
    color: var(--secondary) !important;
}

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.footer .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #00A896 100%);
}

/* ===== Newsletter ===== */
.bg-primary.p-5.rounded-4 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    border-radius: 25px !important;
    box-shadow: var(--shadow-hover);
}

.bg-primary.p-5.rounded-4 h3 {
    font-size: 24px;
}

.bg-primary.p-5.rounded-4 .form-control {
    background: var(--white);
    border: none;
}

.bg-primary.p-5.rounded-4 .form-control:focus {
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}

.text-white-50 {
    color: rgba(255,255,255,0.6) !important;
}

.rounded-4 {
    border-radius: 25px !important;
}

/* ===== Contact Form ===== */
.contact-form .form-control {
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    padding: 15px 20px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

/* ===== WhatsApp Button ===== */
.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.btn-wsp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .btn-wsp {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== Twenty Twenty (Before/After) ===== */
.twentytwenty-wrapper {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Utilities ===== */
.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.rounded {
    border-radius: 20px !important;
}

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

.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* ===== Scrollbar Personalizado ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ===== Focus States para Accesibilidad ===== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== Iconos en Cards ===== */
.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-item:hover .icon-box {
    transform: rotateY(180deg);
}

/* ===== Feature Cards ===== */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h5 {
    margin-bottom: 15px;
}

/* ===== Stats Counter ===== */
.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin: 0;
}

/* ===== Estilos con Acento Rojo ===== */
.text-secondary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%) !important;
}

/* Efecto de borde rojo para elementos destacados */
.highlight-red {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

/* Botón de llamada a la acción rojo */
.btn-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 16px 40px;
    font-size: 16px;
    box-shadow: var(--shadow-red);
    animation: pulse-red 2s infinite;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.4);
    color: var(--white);
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(230, 57, 70, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

/* Hover rojo para iconos */
.icon-hover-red:hover {
    color: var(--secondary) !important;
    transform: scale(1.1);
}

/* Badge rojo */
.badge-red {
    background: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Línea decorativa azul-rojo */
.divider-gradient {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 30px 0;
}

/* Card con borde superior rojo */
.card-red-top {
    border-top: 4px solid var(--secondary);
}

/* Hover efecto rojo en links */
a.link-red:hover {
    color: var(--secondary) !important;
}

/* Checkbox/Radio personalizado con rojo */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    accent-color: var(--secondary);
}

/* Team social hover rojo */
.team-item .team-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Oferta/Descuento badge */
.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-red);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
