/* ====================================================== */
/* GLOBAL - CÓDIGO COMÚN PARA TODA LA WEB                */
/* NOTARÍA CHÁVEZ MONDRAGÓN                              */
/* ====================================================== */

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    /* Colores Principales */
    --color-primario: #231B36;
    --primary-color: #231B36;
    --primary-light: #513d78;
    --primary-dark: #1A1429;
    --color-secundario: #8B7AA8;

    /* Colores de Acento */
    --color-acento: #D4AF37;
    --accent-color: #4A90E2;
    --accent-hover: #357ABD;
    --gold-accent: #D4AF37;

    /* Colores de Texto */
    --color-texto: #333333;
    --text-dark: #1F1F1F;
    --color-texto-claro: #666666;
    --text-medium: #4A4A4A;
    --text-light: #717171;

    /* Colores de Fondo */
    --color-fondo: #FFFFFF;
    --bg-white: #FFFFFF;
    --color-fondo-claro: #F8F8F8;
    --bg-light: #F7F8FA;

    /* Bordes y Sombras */
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

    /* Espaciado */
    --espaciado-xl: 4rem;
    --espaciado-lg: 3rem;
    --espaciado-md: 2rem;
    --espaciado-sm: 1rem;
    --espaciado-xs: 0.5rem;

    /* Transiciones */
    --transicion: all 0.3s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
    background-color: var(--color-fondo);
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transicion);
}

/* ============================================
   ANIMACIONES GLOBALES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   CONTENEDORES COMUNES
   ============================================ */

.servicios-hero-overlay,
.citas-hero-overlay,
.noticias-hero-overlay,
.nosotros-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(35, 27, 54, 0.3) 100%);
    opacity: 0.5;
}

.servicios-hero-container,
.citas-hero-container,
.nosotros-hero-container,
.noticias-hero-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    z-index: 1;
}

.servicios-hero-title,
.citas-hero-title,
.noticias-hero-title,
.nosotros-hero-title {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.servicios-hero-subtitle,
.citas-hero-subtitle,
.noticias-hero-subtitle,
.nosotros-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}


.servicios-highlight,
.citas-highlight,
.noticias-highlight,
.nosotros-highlight {
    color: var(--color-acento);
    position: relative;
    display: inline-block;
}


/* ============================================
   RESPONSIVE - AJUSTES GLOBALES
   ============================================ */


@media (max-width: 640px) {
    html {
    font-size: clamp(12px, 2vw, 16px);
    }
}

@media (max-width: 768px) {
    :root {
        --espaciado-xl: 3rem;
        --espaciado-lg: 2rem;
        --espaciado-md: 1.5rem;
    }

    html {
    font-size: clamp(12px, 2vw, 16px);
    }

}

        