/* --- 1. VARIABLES --- */
:root {
    --fucsia: #EE5B9B;
    --fucsia-dark: #d44182;
    --fucsia-soft: #FFF5F9;
    --border-soft: #fce2ee;
    --shadow: rgba(238, 91, 155, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1200px;
}

/* --- 2. CONFIGURACIÓN BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #fdfdfd;
    color: #444;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 3. HEADER --- */
#main-header {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid var(--fucsia);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
}

.brand-logo { height: 65px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--fucsia); }

/* --- 4. HERO SECTION (TÍTULO DE CATÁLOGO) --- */
.home-hero {
    width: 100%;
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.hero-text h2 {
    font-size: 2.8rem;
    color: var(--fucsia);
    margin-bottom: 10px;
}

.hero-text p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

/* --- 5. CUADRÍCULA DE SERVICIOS (MENOS MARGEN Y MÁS ANCHA) --- */
.secondary-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 20px;
    width: 100%;
    max-width: var(--max-width);
    margin: 20px auto;
    padding: 0 15px;
}

/* --- 6. TARJETAS DE SERVICIO (VERTICALES) --- */
.content-section {
    background: #fff;
    padding: 30px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-soft);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow);
    border-color: var(--fucsia);
}

/* Contenedor de Imagen Vertical */
.service-image {
    width: 100%;
    max-width: 260px; /* Forzamos ancho para que se vea vertical */
    height: 350px;    /* Altura tipo retrato */
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.content-section:hover .service-image img {
    transform: scale(1.08);
}

.content-section h2 {
    color: var(--fucsia);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.content-section p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Etiqueta de Precio */
.price-tag {
    display: inline-block;
    background: var(--fucsia-soft);
    color: var(--fucsia);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid var(--border-soft);
}

/* --- 7. BOTONES (ESTILO BLANCO CON SOMBRA FUCSIA) --- */
.btn-registro {
    background: #ffffff !important;
    color: var(--fucsia) !important;
    border: 2px solid var(--fucsia) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow); /* Sombra fucsia suave */
}

.btn-registro:hover {
    background: var(--fucsia) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 91, 155, 0.5); /* Sombra fucsia intensa */
}

/* Sección de Asesoría al final */
.cta-bottom {
    padding: 60px 20px;
    text-align: center;
    background: var(--fucsia-soft);
    width: 100%;
    margin-top: 40px;
}

.cta-bottom p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

/* --- 8. FOOTER --- */
#main-footer {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--fucsia);
}

/* --- 9. RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-text h2 { font-size: 2rem; }
    .secondary-sections { grid-template-columns: 1fr; }
    .service-image { max-width: 100%; height: 400px; } /* En móvil se agranda */
}

/* --- ESTILO DE FOOTER Y ENLACES LEGALES --- */

#main-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-soft);
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

/* Contenedor de los enlaces de texto */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espacio entre Privacidad y Términos */
}

.social-links a {
    text-decoration: none;
    color: #777; /* Gris elegante */
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

/* Efecto Hover: Cambia a fucsia y sube un poco */
.social-links a:hover {
    color: var(--fucsia);
    transform: translateY(-2px);
}

/* Línea animada fucsia debajo del texto */
.social-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: var(--fucsia);
    transition: var(--transition);
}

.social-links a:hover::after {
    width: 100%; /* La línea se expande al pasar el mouse */
}

/* Separador visual entre los dos enlaces */
.social-links a:not(:last-child)::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #ddd; /* Línea divisoria vertical */
    pointer-events: none;
}

/* Ajuste para móviles */
@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    .social-links a:not(:last-child)::before {
        display: none; /* Quitamos el separador en vertical */
    }
}

/* --- FOOTER COMPLETO: ICONOS + LINKS LEGALES --- */

#main-footer {
    background: #fff;
    border-top: 1px solid var(--border-soft);
    padding: 40px 20px;
    text-align: center;
}

/* 1. Contenedor de Iconos (Redes Sociales) */
.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px; /* Espacio antes del copyright */
}

.icono {
    width: 35px; /* Tamaño pequeño y estético */
    height: 35px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.social-icons-container a:hover .icono {
    transform: translateY(-5px) scale(1.1);
    /* Resplandor fucsia al pasar el mouse */
    filter: drop-shadow(0 5px 15px var(--fucsia)); 
}

/* 2. Texto de Copyright */
.footer-content p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

/* 3. Enlaces Legales (Privacidad y Términos) */
.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    text-decoration: none;
    color: #bbb; /* Más tenue que los iconos */
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.legal-links a:hover {
    color: var(--fucsia);
}

/* Separador "|" entre Privacidad y Términos */
.legal-links a:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #eee;
    pointer-events: none;
}