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

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #0d2c40;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .tab-btn, .blog-category, .card-badge {
  font-family: 'Poppins', sans-serif;
}

.text-justify {
  text-align: justify;
}

.text-center {
  text-align: center;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ==========================================
   2. NAVBAR (BARRA DE NAVEGACIÓN)
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    height: 75px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo-wrap img { height: 48px; display: block; }
.navbar-links { display: flex; list-style: none; gap: 35px; align-items: center; }
.navbar-links a {
    font-weight: 700; 
    color: #1a2755;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none; 
}
.btn-nav-contactar {
    background: #F5C842;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    color: #1a2755 !important;
}
/* ==========================================
   3. HERO BANNER (PÁGINA PRINCIPAL / SEGUROS)
   ========================================== */
.hero-wrap {
  background-color: #f4f7f9;
  padding: 50px 20px;
}

.hero-banner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  color: #0d2c40;
  line-height: 1.1;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 20px;
  color: #556b79;
  font-weight: 400;
}

.hero-photo img {
  max-width: 450px;
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ==========================================
   4. COMPONENTES COMPARTIDOS Y TÍTULOS
   ========================================== */
.section-title {
  text-align: center;
  font-size: 32px;
  color: #0d2c40;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #556b79;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.btn-agendar-cta {
  display: inline-block;
  background-color: #fcd56b;
  color: #0d2c40;
  padding: 12px 35px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(252,213,107,0.3);
}

.btn-agendar-cta:hover {
  background-color: #f0a818;
  transform: translateY(-2px);
}

.glow-effect {
  position: relative;
}

.glow-effect:hover img {
  box-shadow: 0 0 25px rgba(240,168,24,0.25);
  transition: box-shadow 0.4s ease;
}

/* ==========================================
   5. SECCIÓN TIPOS DE SEGUROS (TABS)
   ========================================== */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
}

.tab-btn {
  padding: 10px 30px;
  font-size: 15px;
  font-weight: 600;
  background-color: #f4f7f9;
  color: #0d2c40;
  border: 2px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background-color: #e4ebf0;
}

.tab-btn.active {
  background-color: #0d2c40;
  color: #ffffff;
}

.producto-detalle-card {
  display: flex;
  background-color: #ffffff;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(13,44,64,0.08);
  overflow: hidden;
  margin-bottom: 40px;
  align-items: center;
}

.detalle-info {
  flex: 1;
  padding: 45px;
}

.detalle-info p {
  margin-bottom: 15px;
  font-size: 15px;
  color: #334e61;
}

.detalle-info p strong {
  font-size: 18px;
  color: #0d2c40;
  display: block;
}

.detalle-img {
  flex: 1;
  height: 100%;
}

.detalle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   6. SECCIÓN PLANES DE PROTECCIÓN
   ========================================== */
.planes-section {
  background-color: #f8fafb;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.plan-card {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.plan-card img {
  height: 50px;
  margin-bottom: 15px;
}

.plan-card h3 {
  font-size: 16px;
  color: #0d2c40;
  font-weight: 600;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(13,44,64,0.06);
}

.plan-card.active {
  border-color: #f0a818;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(240,168,24,0.1);
}

.plan-detalle-banner {
  display: flex;
  background-color: #0d2c40;
  color: #ffffff;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 45px;
  align-items: center;
}

.plan-detalle-text {
  flex: 1.2;
  padding: 50px;
}

.plan-detalle-text p {
  margin-bottom: 15px;
  font-size: 15px;
  opacity: 0.9;
}

.plan-detalle-img {
  flex: 0.8;
}

.plan-detalle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   7. CONTENIDO EXCLUSIVO DE LA NOTA DEL BLOG
   ========================================== */
.blog-container {
  max-width: 800px;
}

.blog-hero {
  width: 100%;
  height: 400px;
  border-radius: 35px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  color: #ffffff;
  margin-bottom: 40px;
}

.blog-hero-text .blog-category {
  font-size: 14px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 4px 15px;
  border-radius: 15px;
  display: inline-block;
  margin-bottom: 12px;
}

.blog-hero-text h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.blog-hero-text .blog-date {
  font-size: 13px;
  opacity: 0.85;
}

.blog-content p {
  font-size: 15px;
  color: #334e61;
  margin-bottom: 22px;
}

.blog-content p.blog-lead {
  font-size: 16px;
  font-weight: 600;
  color: #0d2c40;
}

.blog-content h3 {
  font-size: 20px;
  color: #0d2c40;
  margin: 35px 0 15px 0;
  font-weight: 700;
}

.blog-content ul {
  margin: 0 0 25px 20px;
}

.blog-content ul li {
  font-size: 15px;
  color: #334e61;
  margin-bottom: 12px;
  list-style-type: square;
}

.blog-content ul li strong {
  color: #0d2c40;
}

.blog-cta {
  margin-top: 50px;
  padding: 30px;
  border-top: 2px dashed #e4ebf0;
}

.blog-cta h2 {
  font-size: 18px;
  color: #0d2c40;
  margin-bottom: 8px;
  font-weight: 700;
}

.blog-cta p {
  font-weight: 600;
  color: #f0a818;
  margin-bottom: 0;
}

/* ==========================================
   8. ÚLTIMAS ENTRADAS DEL BLOG (TARJETAS OVALADAS)
   ========================================== */
.ultimas-entradas-section {
  background-color: #ffffff;
  border-top: 1px solid #f4f7f9;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card-item {
  height: 280px;
  border-radius: 80px 80px 30px 30px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 25px 20px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.blog-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11,37,54,0.15);
}

.blog-card-info {
  width: 100%;
}

.blog-card-info .card-badge {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.8;
  display: block;
  margin-bottom: 5px;
}

.blog-card-info h3 {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================
   9. FOOTER (PIE DE PÁGINA)
   ========================================== */
footer {
    background: #1a2755;
    color: #fff;
    padding: 50px 5% 30px;
}

.footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
}

.footer-tagline {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Aplicamos text-decoration: none !important para quitar cualquier línea */
.footer-col p, 
.footer-col li, 
.footer-col a {
    font-size: 0.85rem;
    color: #fff;
    list-style: none;
    margin-bottom: 6px;
    opacity: 0.9;
    text-decoration: none !important; 
}

.footer-col a:hover {
    color: #F5C842;
    text-decoration: none !important;
}

.contact-highlight {
    font-weight: 600;
    font-size: 0.9rem !important;
}

.address-block {
    margin-top: 15px;
}

.footer-mapa-grid {
    display: flex;
    gap: 40px;
}

.map-group h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #fff;
}

.no-title {
    padding-top: 25px;
}

.social-links-container {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    align-items: center;
}

.social-icons a {
    font-size: 1.4rem;
    color: #fff;
    transition: color 0.3s;
    text-decoration: none !important;
}

.social-icons a:hover {
    color: #F5C842;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .hero-banner, .producto-detalle-card, .plan-detalle-banner {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        padding: 40px 20px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-photo.glow-effect {
        width: 100%;
        height: 300px;
        justify-content: center;
    }
    .planes-grid {
        grid-template-columns: 1fr;
    }
    .footer-cols, .footer-mapa-grid {
        flex-direction: column;
        gap: 30px;
    }
    .no-title {
        padding-top: 0;
    }
}