/* ===================================================
   ESTILOS PROFESIONALES PARA LYR SEGUROS
   Diseño moderno, elegante y confiable
   =================================================== */

:root {
    /* Colores - Paleta Profesional Corporativa Mejorada */
    --primary: #E85A7B;
    --primary-dark: #D64668;
    --primary-light: #F09FB5;
    --secondary: #1F3A52;
    --secondary-light: #2C5282;
    --secondary-lighter: #4A7BA7;
    --accent: #2E8B9E;
    --accent-light: #5DADE2;
    --success: #27AE60;
    --warning: #E67E22;
    --danger: #E74C3C;
    --light: #ECF0F1;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-light: #D9D9D9;
    --gray-medium: #D9D9D9;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --text-white: #FFFFFF;

    /* Colores de fondo alternos para accesibilidad */
    --section-alt-bg: #F0F6FA;

    /* Tipografía */
    --font-primary: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;

    /* Espaciado */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Transiciones */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===================================================
   BASE
   =================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    display: none;
}

/* ===================================================
   TIPOGRAFÍA
   =================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

p {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===================================================
   NAVBAR
   =================================================== */

.navbar {
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(32, 58, 82, 0.08);
    background-color: var(--text-white) !important;
}

.navbar-brand img {
    max-width: 100%;
    height: 45px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

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

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    .hero-content .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* ===================================================
   HERO SECTION
   =================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--light);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-image i {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ===================================================
   BOTONES
   =================================================== */

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-fast);
    text-transform: none;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 90, 123, 0.4);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: var(--text-lighter);
    border-color: var(--text-lighter);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    border-color: var(--text-light);
}

/* ===================================================
   SECCIONES GENERALES
   =================================================== */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================================
   SERVICIOS SECTION
   =================================================== */

.servicios-section {
    background: var(--section-alt-bg);
}

.service-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 158, 0.15);
    border-color: var(--accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    transition: var(--transition-normal);
    box-shadow: 0 8px 16px rgba(44, 82, 130, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 24px rgba(46, 139, 158, 0.3);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

.service-features i {
    color: var(--success);
    margin-right: 0.5rem;
    font-weight: 600;
}

/* ===================================================
   SOBRE LILI SECTION
   =================================================== */

.sobre-section {
    background: white;
}

.sobre-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #E8D4E8, #C8B4D0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(32, 58, 82, 0.12);
}

.badge-experience {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badge-experience h4 {
    color: var(--primary);
    font-size: 2.5rem;
    margin: 0;
}

.badge-experience p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    align-items: center;
}

.credential-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 30px;
    height: 30px;
}

.credential-item h5 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.credential-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ===================================================
   TESTIMONIOS SECTION
   =================================================== */

.testimonios-section {
    background: white;
    padding: 100px 0;
}

.testimonio-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--border-light);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonio-card:hover {
    box-shadow: 0 15px 40px rgba(32, 58, 82, 0.12);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.stars {
    color: var(--warning);
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-text {
    flex-grow: 1;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.testimonial-author small {
    color: var(--text-lighter);
}

/* ===================================================
   AGENDA SECTION
   =================================================== */

.agenda-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(232, 90, 123, 0.25);
}

.agenda-section .section-title {
    color: white;
    font-weight: 800;
}

.agenda-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

/* ===================================================
   CONTACTO SECTION
   =================================================== */

.contacto-section {
    background: var(--section-alt-bg);
}

/* .contact-form {
    background: white;
} */

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
}

.form-control,
.form-select {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: #FFFFFF;
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 90, 123, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-lighter);
}

.invalid-feedback {
    color: var(--danger);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.g-recaptcha {
    margin: 1rem 0;
    transform: scale(1);
    transform-origin: left;
}

@media (max-width: 576px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left;
    }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: var(--text-dark);
}

.contact-info-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.contact-info-item a {
    color: var(--primary);
}

.contact-info-item a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(232, 90, 123, 0.4);
    color: white;
    text-decoration: none;
}

/* ===================================================
   MODAL AGENDAMIENTO
   =================================================== */

.modal-content {
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.modal-header {
    border-color: var(--border-light);
    padding: 1.5rem;
}

.modal-title {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-color: var(--border-light);
    padding: 1.5rem;
}

.btn-close {
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.7;
}

.alert-info {
    background-color: rgba(242, 136, 156, 0.1);
    border-color: #f5a8bb;
    color: var(--text-dark);
}

/* ===================================================
   FOOTER
   =================================================== */

.footer {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: inline-block;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    transform: translateX(5px);
}

.footer small a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer small a:hover {
    color: white;
}

/* ===================================================
   SMOOTH SCROLL
   =================================================== */

.smooth-scroll {
    cursor: pointer;
}

/* ===================================================
   UTILIDADES
   =================================================== */

.shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .sobre-image {
        margin-bottom: 2rem;
    }

    .badge-experience {
        position: static;
        margin-top: -40px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .contact-info-item {
        margin-bottom: 1.5rem;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        padding: 100px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .credentials {
        gap: 1rem;
    }

    .credential-item {
        gap: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* ===================================================
   ACCESIBILIDAD
   =================================================== */

/* Focus visible para navegación por teclado */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Animaciones reducidas para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Contraste mejorado para modo oscuro */
/* @media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f0f0f0;
    }

    .form-control,
    .form-select {
        background-color: #2a2a2a;
        color: #f0f0f0;
        border-color: #444;
    }
} */