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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, .btn-contactanos, .btn-agendar, .btn-seguros, .btn-nav-contactar {
  font-family: 'Poppins', sans-serif;
}

:root {
  --navy-deep: #1a2755;
  --navy-medium: #1e2f5e;
  --yellow-accent: #F5C842;
  --white: #ffffff;
  --border: #dde3ef;
  --text-soft: #666666;
  --text-mid: #444444;
  --gray-bg: #f5f6fa;
  --shadow-soft: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.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; 
}
.btn-nav-contactar {
    background: #F5C842;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    color: #1a2755 !important;
}
.hero-wrap {
  background: var(--white);
  padding: 0;
}

.hero-banner {
  background: var(--navy-deep);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 440px;
}

.hero-text {
  flex: 1;
  padding: 60px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
}

.btn-contactanos {
  display: inline-block;
  background: var(--yellow-accent);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 12px;
  transition: background .2s, transform .15s;
}

.btn-contactanos:hover {
  background: #e0b200;
  transform: translateY(-2px);
}

.hero-photo {
  width: 45%;
  position: relative;
  background: var(--navy-deep);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-photo::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 0%, transparent 20%);
  z-index: 2;
  pointer-events: none;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  position: relative;
  z-index: 1;
}

.productos-section {
  background: var(--white);
  padding: 64px 0 32px;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.producto-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(59, 100, 210, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 100, 210, 0.18);
}

.producto-card-body {
  padding: 24px 20px;
  flex: 1;
}

.producto-card-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.3;
}

.producto-card-body p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 10px;
  text-align: justify;
}

.img-slot {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #e8eaf2;
}

.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agendar-wrap {
  text-align: center;
  padding: 24px 0 48px;
  background: var(--white);
}

.btn-agendar {
  display: inline-block;
  background: var(--yellow-accent);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 36px;
  border-radius: 12px;
  transition: background .2s, transform .15s;
}

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

.formatos-section {
  background: var(--white);
  padding-bottom: 64px;
}

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

.card {
  background: var(--navy-medium);
  color: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.card-icon-slot {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  text-align: justify;
}

.btn-seguros {
  display: inline-block;
  margin-top: 32px;
  background: var(--yellow-accent);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 28px;
  border-radius: 12px;
  transition: background .2s, transform .15s;
}

.btn-seguros:hover {
  background: #e0b200;
  transform: translateY(-2px);
}

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

.why-section {
  background: var(--white);
  padding: 40px 0 64px;
}

.why-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.75;
}

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

.why-card {
  border: 2px solid var(--navy-medium);
  border-radius: 20px;
  padding: 32px 24px 24px;
  position: relative;
  margin-top: 20px;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -25px;
  left: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.why-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.why-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.faq-section {
  background: var(--white);
  padding-bottom: 64px;
}

.faq-list {
  border-top: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: background .15s;
}

.faq-question:hover {
  background: var(--gray-bg);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid var(--navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

.faq-chevron svg {
  width: 10px;
  height: 10px;
  stroke: var(--navy-deep);
  fill: none;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 16px;
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 4px 16px 20px;
}

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: 992px) {
  .productos-grid, .cards-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-banner {
    flex-direction: column;
  }
  .hero-text {
    align-items: center;
    text-align: center;
    padding: 48px 24px;
  }
  .hero-photo {
    width: 100%;
    height: 350px;
  }
  .hero-photo::before {
    background: linear-gradient(to top, var(--navy-deep) 0%, transparent 20%);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    height: 70px;
  }
  .navbar-links {
    gap: 15px;
  }
  .navbar-links a {
    font-size: 0.85rem;
  }
  .btn-nav-contactar {
    padding: 8px 16px;
    border-radius: 8px;
  }
  .productos-grid, .cards-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .card {
    max-width: 100%;
  }
  .footer-head {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-cols, .footer-mapa-grid {
    flex-direction: column;
    gap: 30px;
  }
  .no-title {
    padding-top: 0;
  }
  .social-icons {
    justify-content: center;
  }
}