@charset "utf-8";
/* ============================================================
   LAY INSURANCE – CUSTOM STYLE SHEET
   Este archivo sobrescribe estilos sin modificar la plantilla.
   ============================================================ */

/* ============================================================
   LAY INSURANCE – PALETA DE COLORES Y VARIABLES
   ------------------------------------------------------------
   Este bloque sirve como referencia rápida de todos los colores
   corporativos y auxiliares utilizados en la web.
   ============================================================

   COLORES CORPORATIVOS PRINCIPALES
   --------------------------------
   --lay-red:          #B30000   (Rojo corporativo)
   --lay-gold:         #C9A646   (Dorado corporativo)
   --lay-black:        #000000   (Negro)
   --lay-white:        #FFFFFF   (Blanco)

   TONOS DE GRIS
   --------------------------------
   --lay-gray-light:   #F7F7F7   (Gris muy claro, casi blanco)
   --lay-gray-medium:  rgba(200,200,200,0.4) (Gris medio translúcido)
   --lay-gray-inactive:#F0F0F0   (Gris claro para elementos inactivos)
   --lay-gray-dark:    #333333   (Gris oscuro para texto)

   COLORES AUXILIARES
   --------------------------------
   --lay-blue-light:   #ADD8E6   (Azul claro para botones de opción)
   --lay-green-light:  #90EE90   (Verde claro para opción seleccionada)
   --lay-blue-dark:    #0A0A1A   (Azul casi negro para footer final)

   USOS PRINCIPALES
   --------------------------------
   - Barra superior: fondo rojo corporativo, texto blanco
   - Navbar: fondo blanco, texto rojo corporativo
   - Dropdowns: fondo blanco, borde dorado, sombra 3D
   - Botón principal: fondo rojo corporativo, texto blanco
   - Formularios: fondo gris translúcido, inputs con borde dorado
   - Footer legal: fondo negro, texto blanco
   - Footer principal: fondo rojo corporativo, texto blanco
   - Footer final: azul casi negro, texto blanco

   ============================================================ */

/* ============================================================
   LAY INSURANCE – CUSTOM STYLE SHEET
   ============================================================ */

/* ============================================================
   VARIABLES DE COLOR CORPORATIVAS
   ============================================================ */
:root {
    --lay-red: #B30000;
    --lay-gold: #C9A646;
    --lay-black: #000000;
    --lay-white: #FFFFFF;
    --lay-gray-light: #F7F7F7;
    --lay-gray-medium: rgba(200,200,200,0.4);
    --lay-gray-inactive: #F0F0F0;
    --lay-gray-dark: #333333;
    --lay-blue-light: #ADD8E6;
	--lay-blue: #1D0DA8 ;
    --lay-green-light: #90EE90;
	--lay-green-dark: #36631B;
    --lay-blue-dark: #0A0A1A;

}

/* ============================================================
   GLOBAL
   ============================================================ */
body {
    background: var(--lay-white);
    color: var(--lay-black);
}

.accordion-button,
.accordion-body {
    font-size: 16px !important;
    color: var(--lay-black)!important;
}

.page-title.pagintro h1 { color: var(--lay-red)  !important; }
.page-title.pagintro .page-title-left *, .page-title.pagintro .page-title-right * { color: rgba(255, 255, 255, 0.2) !important; }

.container p { font-size: 18px !important; }

.section-50.section-md-90 p,
.section-50.section-md-90 li { text-align: justify !important; }

.section-50.section-md-90 li { font-size: 18px !important; }
.section-50.section-md-90 a { color: var(--lay-blue); font-size: 18px !important; }
.container h1 { font-size: 40px !important; }
.container h2 { font-size: 24px !important; }
.container h3 { font-size: 22px !important; }
.container h4 { font-size: 20px !important; font-weight: bold; }
.container h5 { font-size: 18px !important; font-style: italic; font-weight: bold; }
.container h6 { 
	font-size: 16px !important; 
	color: var(--lay-green-dark);
	}
.col-sm-12.direccontac { font-size: 16px !important; }

.container .p a { color: var(--lay-green-dark) !important; }

.section-light { background: var(--lay-gray-light); }

.highlight { color: var(--lay-red); }

.border-gold { border: 1px solid var(--lay-gold); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--lay-red);
    color: var(--lay-white);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.rd-navbar {
    background: var(--lay-white) !important;
    color: var(--lay-red);
}

.rd-navbar-brand img { max-height: 45px; }

.rd-navbar-nav > li > a {
    color: var(--lay-red) !important;
    font-weight: 600;
    padding: 15px 18px;
}

.rd-navbar-nav > li > a:hover {
    color: var(--lay-white) !important;
    background: var(--lay-red) !important;
}

.rd-navbar-nav > li.active > a,
.rd-navbar-nav > li > a.active {
    background: var(--lay-red) !important;
    color: var(--lay-white) !important;
}

.rd-navbar-nav > li.inactive > a {
    background: var(--lay-gray-inactive) !important;
    color: var(--lay-gray-dark) !important;
}

.textfecha1 h6{
	text-align:right;
	color: var(--lay-green-dark) !important;
}

/* Submenús */
.rd-navbar-megamenu,
.rd-navbar-dropdown {
    background: var(--lay-white) !important;
    border: 1px solid var(--lay-gold) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.rd-megamenu-header,
.header_variant2 {
    color: var(--lay-red) !important;
    font-weight: 700;
}

.rd-navbar-list li a { color: var(--lay-black) !important; }
.rd-navbar-list li a:hover { color: var(--lay-red) !important; }

/* Botón hamburguesa */
.rd-navbar-toggle span,
.rd-navbar-aside-toggle span {
    background: var(--lay-red) !important;
}

/* Aside superior */
.rd-navbar-aside {
    background: var(--lay-red) !important;
    color: var(--lay-white) !important;
}

.rd-navbar-aside a,
.rd-navbar-aside .icon {
    color: var(--lay-white) !important;
}
@media (max-width: 992px) {

    /* Ocultar barra roja */
    .rd-navbar-aside {
        display: none !important;
    }

    /* Ocultar el panel del navbar (logo + botón) */
    .rd-navbar-panel .rd-navbar-brand {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .rd-navbar-aside {
        display: none !important;
    }
}



/* ============================================================
   BOTONES
   ============================================================ */
.btn-primary,
.btn-danger,
.btn-red {
    background: var(--lay-red) !important;
    color: var(--lay-white) !important;
    border: none;
}

.btn-option { background: var(--lay-blue-light); color: var(--lay-black); }
.btn-option.selected { background: var(--lay-green-light); }

/* ============================================================
   SECCIÓN “ES FÁCIL”
   ============================================================ */
.box.bg-cello {
    background-color: var(--lay-red) !important;
    border-left: 5px solid var(--lay-gold);
    border-radius: 4px;
    padding: 30px;
}

.box.bg-cello h3,
.box.bg-cello p,
.box.bg-cello li {
    color: var(--lay-white) !important;
}

.box-cita-previa p { font-size: 16px !important; }
.box-cita-previa h3 { font-size: 20px !important; }

.box.bg-cello ul.list-marked li::marker { color: var(--lay-gold); }

.btn.btn-white-outline {
    border: 2px solid var(--lay-gold) !important;
    color: var(--lay-white) !important;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn.btn-white-outline:hover {
    background-color: var(--lay-gold) !important;
    color: var(--lay-black) !important;
}

/* ============================================================
   FORMULARIOS
   ============================================================ */
.form-quote {
    background: var(--lay-gray-medium);
    padding: 20px;
    border-radius: 8px;
}

.form-quote label {
    color: var(--lay-red);
    font-weight: 600;
}

.form-control,
textarea,
select {
    background: var(--lay-white) !important;
    color: var(--lay-black) !important;
    border: 1px solid var(--lay-gold) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ============================================================
   SECCIÓN “NOSOTROS” – TARJETAS DE EQUIPO
   ============================================================ */
.team-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  margin-top: 40px;
}

.team-card {
  max-width: 280px;
  text-align: center;
}

/* Foto */
.thumbnail-image {
  position: relative;
  display: inline-block;
}

.team-photo {
  width: 180px;
  border-radius: 50%;
  display: block;
}

/* Iconos sobre la foto */
.thumbnail-image-inner {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: 0.3s ease;
}

.thumbnail-image:hover .thumbnail-image-inner {
  opacity: 1;
}

.thumbnail-image-inner a {
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 8px;
  border-radius: 50%;
  font-size: 16px;
}

/* Texto */
.cargo {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #333;
}

.email {
  font-size: 0.95rem;
  margin: 0;
  color: #555;
}

.nombre {
  font-size: 1.3rem;
  margin-top: 10px;
}

.apellido .inicial {
  font-weight: 700;
  color: var(--lay-red);
  font-size: 1.6em;
  letter-spacing: 1px;
  margin-right: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Pantallas grandes */
@media (min-width: 1400px) {
  .team-photo { width: 180px; }
  .team-wrapper { gap: 50px; }
}

/* Laptops 14–15" */
@media (max-width: 1399px) {
  .team-photo { width: 160px; }
  .team-wrapper { gap: 35px; }
}

/* Tablets */
@media (max-width: 1023px) {
  .team-photo { width: 150px; }
  .team-wrapper { gap: 25px; }
}

/* Teléfonos */
@media (max-width: 767px) {
  .team-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .team-photo { width: 130px; }
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
  .team-photo { width: 110px; }
}

/* ============================================================
   SEPARADORES
   ============================================================ */
.lay-separator {
  width: 100%;
  height: 20px;
  background: transparent;
  border-bottom: 6px solid var(--lay-gold);
  margin-top: 20px;
  margin-bottom: 2px;
}

.lay-separator-red {
  width: 100%;
  height: 20px;
  background: transparent;
  border-top: 6px solid var(--lay-red);
}

@media (max-width: 768px) {
  .lay-separator { border-bottom-width: 2px; }
  .lay-separator-red { border-top-width: 2px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-legal {
    background: var(--lay-black);
    color: var(--lay-white);
    padding: 15px 0;
}

.footer-legal-container {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    text-align: center;
    flex-wrap: wrap;
}

.footer-legal-logo {
    height: 50px;
    width: auto;
}

.footer-legal-text p {
    margin: 0;
    color: var(--lay-white);
    font-size: 14px;
    line-height: 1.4;
}

.section-footer {
    background: var(--lay-red) !important;
    color: var(--lay-white) !important;
}

.section-footer .footer-title {
    color: var(--lay-white) !important;
    font-weight: 700;
    font-size: 20px !important;
}

.section-footer p,
.section-footer .text-bismark,
.section-footer a {
    color: var(--lay-white) !important;
    font-size: 14px !important;
}

.section-footer a:hover { color: var(--lay-gold) !important; }

.footer-end {
    background: var(--lay-blue-dark);
    color: var(--lay-white);
    padding: 10px 0;
    font-size: 14px !important;
}

/* ============================================================
   PANEL FAQ
   ============================================================ */
.faq-nav-item { position: relative; display: flex; align-items: center; }

.faq-icon-button {
    background: var(--lay-red);
    color: var(--lay-white);
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: background 0.2s ease;
}

.faq-icon { font-size: 20px; font-weight: 700; }

.faq-tooltip {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lay-black);
    color: var(--lay-white);
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.faq-icon-button:hover .faq-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.faq-icon-button:hover {
    background: var(--lay-gold);
    color: var(--lay-black);
}

.faq-close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--lay-red);
    color: var(--lay-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.faq-close-button:hover {
    background: var(--lay-gold);
    color: var(--lay-black);
}

/* ============================================================
   FIN DEL CSS
   ============================================================ */
