/* Variables */
:root {
    --primary-color: #e63946; /* Rojo LinkRed */
    --primary-dark: #c1121f; /* Rojo oscuro para hover/active */
    --primary-light: #f8ad9d; /* Rojo claro para fondos */
    --secondary-color: #780000; /* Rojo vino para acentos */
    --text-color: #212529; /* Texto negro */
    --light-gray: #f8f9fa; /* Gris muy claro para fondos */
    --white: #ffffff; /* Blanco puro */
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    transition: var(--transition);
    color: var(--text-color) !important;
    position: relative;
    margin: 0 0.2rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Estilos de títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Hero Section */
#inicio.hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248, 173, 157, 0.1) 100%);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    color: var(--text-color);
}

/* Estilos para botones en dispositivos móviles */
@media (max-width: 768px) {
    .hero .btn {
        width: 100%;
        margin: 10px 0;
    }
    .hero .btn + .btn {
        margin-top: 10px;
    }
    .hero .text-center {
        padding: 0 15px;
    }
}

.hero .min-vh-100 {
    min-height: auto !important;
    padding: 20px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p.lead {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Servicios */
#servicios {
    padding: 2rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    margin: 0 auto 2.5rem;
    position: relative;
    display: block;
    width: 100%;
    letter-spacing: -0.5px;
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 900;
    padding: 0 15px 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(230, 57, 70, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-8px) translateZ(0);
        box-shadow: 0 15px 30px rgba(230, 57, 70, 0.15);
    }
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

/* Contacto */
#contacto {
    padding: 5rem 0;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248, 173, 157, 0.05) 100%);
    z-index: 0;
}

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

#contacto .row {
    justify-content: center;
}

.contact-info,
.contact-hours {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    text-align: left;
    margin-bottom: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(230, 57, 70, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info:hover,
.contact-hours:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.1);
}

.contact-info h3,
.contact-hours h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.contact-info ul,
.contact-hours ul {
    padding-left: 0;
}

.contact-info li,
.contact-hours li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i,
.contact-hours i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
}

.social-media {
    margin-top: 1.5rem;
    text-align: center;
}

.social-media .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.social-media .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Planes */
#planes {
    padding: 10px 0 15px;
}

.plan-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.plan-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-header h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.plan-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.plan-body {
    padding: 2rem;
}

/* Precios adicionales */
.price-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-list {
    margin-top: 2rem;
}

.price-item {
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--white);
    margin-bottom: 1rem;
}

.price-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.price-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Botones */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.7rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Listas */
.list-unstyled li {
    margin-bottom: 1rem;
}

.list-unstyled li i {
    color: var(--primary-color);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .plan-card {
        margin-bottom: 1.5rem;
    }
}
