/* ======================== */
/* ROOT VARIABLES */
/* ======================== */
:root {
    --primary-dark: #0a2d4d; 
    --primary: #1a5688;
    --primary-light: #3a86ba;
    --accent: #3a86ba;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ======================== */
/* GLOBAL STYLES */
/* ======================== */
* {
    scroll-behavior: smooth;
}

body {
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ======================== */
/* MAIN NAVIGATION - IMPROVED */
/* ======================== */
.nav-principal-Cliente {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 70px;
    width: auto;
    transition: var(--transition) cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-brand:hover .logo {
    transform: scale(1.1) rotate(-5deg);
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.8px;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-link:hover::before {
    transform: translateX(100%);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--accent); 
    font-weight: 700;
    animation: subtlePulse 2s infinite;
    box-shadow: 0 0 10px rgba(58, 134, 186, 0.5);
}

@keyframes subtlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.nav-slogan .slogan {
    height: 60px;
    width: auto;
    opacity: 0.95;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ======================== */
/* FOOTER SIMPLIFICADO */
/* ======================== */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 30px 5%;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social img {
    height: 20px;
    width: 20px;
}

.footer-center {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.footer-center h5 {
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.5;
}

/* ======================== */
/* RESPONSIVE DESIGN */
/* ======================== */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-center {
        order: 3;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-logo img {
        height: 40px;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
    }
    
    .footer-social img {
        height: 18px;
        width: 18px;
    }
    
    .footer-center h5 {
        font-size: 11px;
    }
}





/* ======================== */
/* VARIABLES DE DISEÑO */
/* ======================== */
:root {
    --primary-dark: #0a2d4d;
    --primary: #1a5688;
    --primary-light: #3a86ba;
    --primary-lighter: #5ca8e0;
    --accent: #3a86ba;
    --accent-light: #5ca8e0;
    --text-light: #ffffff;
    --text-dark: #1a365d;
    --text-medium: #4a5568;
    --border-color: #cbd5e0;
    --light-bg: #f5f9fc;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ======================== */
/* BASE ESTILIZADA */
/* ======================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ======================== */
/* SECCIÓN DE COTIZACIÓN */
/* ======================== */
#AcercadelSeguro {
    padding: 50px 5% 0;
    margin-bottom: 30px;
    text-align: center;
}

.seguro h1 {
    font-size: 2.4rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.seguro h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Variables de color */
:root {
    --primary-dark: #0a2d4d;
    --primary: #1a5688;
    --primary-light: #3a86ba;
    --accent: #3a86ba;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
}

/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Sección de información de contacto */
.contact-info {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 2.5rem;
    flex: 1;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.contact-details p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Formulario */
.contact-form {
    background-color: white;
    padding: 2.5rem;
    flex: 1.5;
}

.contact-form h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #777;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary);
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

/* Pie del formulario */
.form-footer {
    margin-top: 2rem;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-right: 10px;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    width: 100%;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .half-width {
        width: 100%;
    }
}




/* diseno de mierda */


/* ESTILOS PARA ENCUADRE BAJADO CON MÁS ALTURA */
.video-adjusted {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 70vh;
  margin-top: 0;
}

.video-adjusted-container {
  width: 100%;
  height: 130%; /* Ajustado para mantener proporción */
  position: relative;
}

.video-adjusted-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Mantiene el encuadre bajo */
  position: absolute;
  top: 0;
  left: 0;
}

.video-adjusted-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.video-adjusted-content h2 {
  font-size: 2.5rem; /* Aumentado ligeramente */
  margin-bottom: 0.5rem;
}

.video-adjusted-content span {
  color: #00aeff;
}

/* Responsive */
@media (max-width: 768px) {
  .video-adjusted {
    height: 50vh; /* Aumentado de 40vh */
    max-height: 400px;
  }
  
  .video-adjusted-content {
    top: 65%; 
  }
  
  .video-adjusted-content h2 {
    font-size: 2rem; /* Aumentado de 1.8rem */
  }
}

.btn-agregar {
  background-color: #1a5688;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-agregar:hover {
  background-color: #0a2d4d;
}

.btn-eliminar {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  margin-left: 10px;
}

.btn-eliminar:hover {
  background-color: #a71d2a;
}


.custom-tooltip-container {
    position: relative;
    display: inline-block;
  }

  .custom-tooltip-btn {
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4);
  }

  .custom-tooltip-btn:hover {
    background-color: #0056b3;
  }

  .custom-tooltip-content {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    width: 240px;
    background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    border-radius: 15px;
    transition: all 0.4s ease;
    z-index: 1;
    box-shadow: 0px 10px 20px rgba(0, 123, 255, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  }

  .custom-tooltip-container:hover .custom-tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }

  .custom-tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #007bff;
  }

  .custom-tooltip-text {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.5px;
  }

  
.swal2-confirm.custom-blue {
  background-color: #007bff !important;
  color: white !important;
  border: none !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 15px;
}












