/* =====================================================
   CONOCE SEGUROS Y FIANZAS — Estilos principales
   Archivo: styles.css
   =====================================================

   CÓMO CAMBIAR FOTOS DEL CARRUSEL:
   Busca en conoce-seguros.html las secciones marcadas
   con "FOTO 1", "FOTO 2", etc. y reemplaza el atributo
   style del div.slide-img por:

   style="background-image:url('ruta/a/tu-foto.jpg');
          background-size:cover;
          background-position:center;"

   PARA AGREGAR O QUITAR FOTOS:
   - Copia/elimina el bloque <div class="carousel-slide">
   - Agrega/quita un <button class="dot"> en carousel-dots
   - El JS se ajusta automático al número de slides
   =====================================================

   <!-- todos los emojis solo son copia de la pagina sigiente https://emojiterra.com/  que estan el index.html pagina principal -->
*/
/* FUENTES DE CONOCE SEGUROS DOCUMENTO TIPOGRAFIA */

/* Korinna BT Bold → Libre Baskerville Bold (serif elegante cercano) */
/* Myriad Pro Bold → Raleway Bold (sans-serif elegante cercano) */


:root {
  --maroon: #6b0e1e;
  /* sombras de punta y banner superior "porqueelegirnos"  */
  --maroon-dark: #4a0912;
  /*sombre de 30 alos letra princial hook currsel y quienes somos*/
  --maroon-light: #8b1a2e;
  /*iluminacion inferior*/
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  /*color de click al seleccionar */
  --cream: #fdf6ee;
  /*rojizo se puso crema pero se cambio */
  --text-dark: #1a0a0e;
  --text-muted: #7a5a60;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', 'Myriad Pro', 'Myriad', Arial, sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(107, 14, 30, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 72px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 6vw 80px;
  border-bottom: 4px solid var(--maroon);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b0e1e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* decorative circle */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(107, 14, 30, 0.08);
  top: -100px;
  right: -150px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(107, 14, 30, 0.08);
  border: 1px solid rgba(107, 14, 30, 0.25);
  color: var(--maroon);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--maroon);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
}

.hero h1 span {
  color: var(--maroon-dark);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-family: 'Raleway', 'Myriad Pro', 'Myriad', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  padding: 14px 32px;
  border: 2px solid var(--maroon);
  border-radius: 4px;
  font-family: 'Raleway', 'Myriad Pro', 'Myriad', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
  display: inline-block;
}

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

/* hero card */
.hero-card {
  background: var(--maroon);
  border: none;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(107, 14, 30, 0.25);
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-card-title {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-num {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── SECTION BASE ── */
section {
  padding: 100px 6vw;
}

.section-label {
  display: inline-block;
  color: var(--maroon);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--maroon);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 540px;
  font-weight: 300;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px 0 32px;
}

/* ── SERVICES ── */
.services {
  background: var(--white);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 60px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.service-card {
  border: 1px solid #e8ddd8;
  border-radius: 12px;
  padding: 36px 28px;
  background: var(--cream);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(107, 14, 30, 0.12);
  border-color: rgba(107, 14, 30, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ── ABOUT ── */
.about {
  background: var(--cream);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-box {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  border-radius: 16px;
  padding: 48px 40px;
  color: var(--white);
}

.about-main-box .big-num {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.about-main-box .big-label {
  font-size: 1.1rem;
  opacity: 0.85;
  font-weight: 300;
  line-height: 1.5;
}

.about-float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  bottom: -24px;
  right: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-float-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-float-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
}

.about-float-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-content {}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--maroon);
  box-sizing: border-box;
  width: 100%;
}

.value-item > span {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.value-item > div {
  flex: 1;
  min-width: 0;
}

.value-item > div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 3px;
}

.value-item > div p {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
}

/* ── TEAM ── */
.team {
  background: var(--maroon-dark);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.team-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.team-header {
  margin-bottom: 60px;
}

.team-header .section-label {
  color: var(--gold-light);
}

.team-header .section-title {
  color: var(--white);
}

.team-header .section-title span {
  color: var(--gold-light);
}

.team-header .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

.team-header .divider {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tablet: 2 columnas */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Móvil: 1 columna */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.team-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s, background 0.25s;
}

.team-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-light), var(--gold));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  border: 3px solid rgba(201, 168, 76, 0.3);
}

.team-card h3 {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-card p {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.team-card .team-bio {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 14px;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}

/* ── CONTACT ── */
.contact {
  background: var(--cream);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e8ddd8;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--maroon);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Contact Form */
.contact-form-wrap {}

.contact-form-title {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Raleway', 'Myriad Pro', 'Myriad', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(107, 14, 30, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 32px 6vw;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

footer span {
  color: var(--gold);
}

/* ── CAROUSEL ── */
.carousel-section {
  background: var(--maroon-dark);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.carousel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.carousel-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 6vw;
}

.carousel-title {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.carousel-title span {
  color: var(--gold-light);
}

/* Stage */
.carousel-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.carousel-track {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

/* Slides */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transform: scale(1.04) translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: all;
}

.carousel-slide.exit-left {
  opacity: 0;
  transform: scale(0.96) translateX(-60px);
}

.slide-img {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

}

.slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.slide-placeholder-icon {
  font-size: 5rem;
  opacity: 0.25;
  position: relative;
  z-index: 1;
  user-select: none;
}

/* Caption panel */
.slide-caption {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.slide-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  width: fit-content;
}

.slide-desc {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.5;
  font-weight: 400;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 80px;
  right: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  width: 20%;
  transition: width 0.4s ease;
}

/* Footer */
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  padding: 0 6vw;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  padding: 0;
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
  transform: none;
}

.carousel-counter {
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  min-width: 60px;
}

.carousel-counter span:first-child {
  color: var(--gold-light);
  font-size: 1.05rem;
}

/* Hint */
.carousel-hint {
  text-align: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0 6vw;
}

.carousel-hint span {
  margin-right: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    display: none;
  }

  nav .nav-links {
    display: none;
  }

  .about-float {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .carousel-stage {
    padding: 0 52px;
  }

  .carousel-track {
    height: 220px;
    border-radius: 14px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow.prev {
    left: 6px;
  }

  .carousel-arrow.next {
    right: 6px;
  }

  .carousel-progress {
    left: 52px;
    right: 52px;
  }

  /* About / Quiénes Somos */
  .about {
    padding: 60px 5vw;
  }

  .about-inner {
    gap: 28px;
  }

  .about-main-box {
    padding: 28px 22px;
  }

  .about-main-box .big-num {
    font-size: 2.6rem;
  }

  .about-main-box .big-label {
    font-size: 0.92rem;
  }

  /* Valores */
  .values-list {
    gap: 12px;
    margin-top: 12px;
  }

  .value-item {
    padding: 12px 14px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .value-item > span {
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .value-item > div strong {
    font-size: 0.86rem;
  }

  .value-item > div p {
    font-size: 0.79rem;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .about {
    padding: 48px 4vw;
  }

  .about-main-box {
    padding: 22px 18px;
  }

  .about-main-box .big-num {
    font-size: 2rem;
  }

  .about-main-box .big-label {
    font-size: 0.85rem;
  }

  .values-list {
    gap: 10px;
    margin-top: 10px;
  }

  .value-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .value-item > span {
    font-size: 1rem;
  }

  .value-item > div strong {
    font-size: 0.82rem;
  }

  .value-item > div p {
    font-size: 0.76rem;
  }
}

/* ── TYPOGRAPHY REFINEMENTS ── */
h1,
h2,
h3,
.hero h1,
.section-title,
.carousel-title,
.about-main-box .big-num,
.team-card h3,
.contact-form-title,
.hero-card-title,
.stat-num 
{
  font-family: 'Libre Baskerville', 'Korinna BT', 'Korinna', Georgia, serif !important;
  font-weight: 700 !important;
}

nav,
.nav-links a,
.hero-badge,
.hero p,
.btn-primary,
.btn-outline,
.section-label,
.section-sub,
.service-card p,
.service-card h3,
.slide-tag,
.slide-desc,
.team-card p,
.team-card .team-bio,
.contact-item p,
.contact-item strong,
.carousel-counter,
.form-group label,
.form-group input,
.form-group select,
.form-group textarea,
footer {
  font-family: 'Raleway', 'Myriad Pro', 'Myriad', Arial, sans-serif !important;
}

.section-label {
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
}

.hero h1 {
  letter-spacing: -0.02em !important;
}

.section-title {
  letter-spacing: -0.015em !important;
}

.btn-primary,
.btn-outline {
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

.hero p,
.section-sub,
.team-card .team-bio {
  font-weight: 300 !important;
  letter-spacing: 0.01em !important;
}

.slide-tag {
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
}

.slide-desc {
  font-family: 'Libre Baskerville', 'Korinna BT', Georgia, serif !important;
  font-weight: 400 !important;
}

/* ── FORM EMAILJS ── */
.form-destino {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(107, 14, 30, 0.06), rgba(107, 14, 30, 0.02));
  border: 1px solid rgba(107, 14, 30, 0.15);
  border-left: 3px solid var(--maroon);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  animation: fadeUp 0.3s ease both;
}

.destino-icon {
  font-size: 1.6rem;
}

.destino-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.destino-email {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--maroon);
}

.form-status {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}

.form-status.error {
  background: #fce4ec;
  border: 1px solid #ef9a9a;
  color: #c62828;
}

.form-status.loading {
  background: rgba(107, 14, 30, 0.05);
  border: 1px solid rgba(107, 14, 30, 0.15);
  color: var(--maroon);
}

#btnEnviar:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: 28px 6vw;
  font-size: 0.78rem;
}

footer span {
  color: var(--gold);
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--gold-light);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════════════════
   ASEGURADORAS TICKER — Carrusel infinito de logos
   ══════════════════════════════════════════════════════ */

.aseg-ticker {
  padding: 64px 0 60px;
  background: var(--white);
  border-top: 1px solid rgba(107, 14, 30, 0.07);
  border-bottom: 1px solid rgba(107, 14, 30, 0.07);
  overflow: hidden;
  position: relative;
}

/* Encabezado */
.aseg-ticker__header {
  text-align: center;
  margin-bottom: 44px;
  padding: 0 6vw;
}

.aseg-ticker__label {
  display: inline-block;
  color: var(--maroon);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 10px;
}

.aseg-ticker__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.aseg-ticker__title span {
  color: var(--maroon);
}

.aseg-ticker__divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 14px auto 0;
}

/* Envoltorio con fade lateral */
.aseg-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* Pista animada */
.aseg-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  min-width: 200%;
  flex-wrap: nowrap;
  animation: asegScroll 55s linear infinite;
  will-change: transform;
}

.aseg-track-wrap:hover .aseg-track {
  animation-play-state: paused;
}

@keyframes asegScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cada ítem */
.aseg-item {
  flex-shrink: 0;
  flex-grow: 0;
  transition: transform 0.28s ease;
}

.aseg-item:hover {
  transform: translateY(-3px);
}

/* Caja del logo */
.aseg-logo-box {
  width: 140px;
  height: 70px;
  background: var(--cream);
  border: 1px solid rgba(107, 14, 30, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  overflow: hidden;
  flex-shrink: 0;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.aseg-item:hover .aseg-logo-box {
  background: var(--white);
  border-color: rgba(107, 14, 30, 0.22);
  box-shadow: 0 6px 20px rgba(107, 14, 30, 0.10);
}

/* Texto-logo */
.aseg-logo-text {
  display: block;
  text-align: center;
  color: #8a8f98;
  line-height: 1.25;
  transition: color 0.28s ease;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aseg-logo-text small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: uppercase;
}
.aseg-logo-text strong { font-weight: 900; }

.aseg-item:hover .aseg-logo-text {
  color: var(--maroon-dark);
}

/* Variantes tipográficas por marca */
.aseg-logo-text.axa         { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.02em; font-family: 'Libre Baskerville', Georgia, serif; }
.aseg-logo-text.chubb        { font-size: 0.95rem; letter-spacing: 0.18em; }
.aseg-logo-text.gnp          { font-size: 0.9rem; }
.aseg-logo-text.allianz      { font-size: 0.88rem; font-style: italic; font-family: 'Libre Baskerville', Georgia, serif; }
.aseg-logo-text.atlas        { font-size: 0.75rem; line-height: 1.3; }
.aseg-logo-text.afirme       { font-size: 0.72rem; }
.aseg-logo-text.hdi          { font-size: 1.2rem; font-weight: 900; font-family: 'Libre Baskerville', Georgia, serif; }
.aseg-logo-text.metlife      { font-size: 0.95rem; font-style: italic; font-family: 'Libre Baskerville', Georgia, serif; }
.aseg-logo-text.banorte      { font-size: 0.65rem; }
.aseg-logo-text.berkley      { font-size: 0.82rem; }
.aseg-logo-text.bxmas        { font-size: 0.82rem; }
.aseg-logo-text.mapfre       { font-size: 0.9rem; letter-spacing: 0.12em; }
.aseg-logo-text.primero      { font-size: 0.78rem; font-style: italic; }
.aseg-logo-text.sura         { font-size: 0.78rem; }
.aseg-logo-text.potosi       { font-size: 0.7rem; }
.aseg-logo-text.general      { font-size: 0.68rem; }
.aseg-logo-text.avia         { font-size: 1.1rem; font-style: italic; font-family: 'Libre Baskerville', Georgia, serif; }
.aseg-logo-text.sofimex      { font-size: 0.75rem; }
.aseg-logo-text.dorama       { font-size: 0.75rem; }
.aseg-logo-text.aserta       { font-size: 0.7rem; font-style: italic; }

/* SVG logos */
.aseg-svg {
  width: 100%;
  max-height: 44px;
  color: #8a8f98;
  transition: color 0.28s ease;
  overflow: visible;
}

.aseg-item:hover .aseg-svg {
  color: var(--maroon-dark);
}

/* ── IMAGEN DE LOGO (reemplaza los SVG/texto) ── */
.aseg-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(25%) opacity(0.75);
  transition: filter 0.28s ease;
  /* evita que imagen rota expanda la caja */
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
}
.aseg-item:hover .aseg-logo-img {
  filter: grayscale(0%) opacity(1);
}

/* ── RESPONSIVE ASEGURADORAS ── */
@media (max-width: 900px) {
  .aseg-track-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
}
@media (max-width: 768px) {
  .aseg-ticker { padding: 44px 0 40px; }
  .aseg-ticker__header { margin-bottom: 28px; padding: 0 5vw; }
  .aseg-ticker__title { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .aseg-logo-box { width: 118px; height: 60px; padding: 8px 10px; }
  .aseg-track { gap: 12px; animation-duration: 42s; }
}
@media (max-width: 480px) {
  .aseg-ticker { padding: 32px 0 28px; }
  .aseg-ticker__header { margin-bottom: 20px; padding: 0 4vw; }
  .aseg-ticker__title { font-size: clamp(0.95rem, 5vw, 1.25rem); }
  .aseg-logo-box { width: 98px; height: 52px; border-radius: 8px; padding: 6px 8px; }
  .aseg-logo-text { font-size: 0.68rem !important; }
  .aseg-logo-text.axa     { font-size: 1.05rem !important; }
  .aseg-logo-text.hdi     { font-size: 0.9rem !important; }
  .aseg-logo-text.metlife { font-size: 0.75rem !important; }
  .aseg-svg { max-height: 34px; }
  .aseg-track { gap: 9px; animation-duration: 34s; }
}


/* ── VALORES — value-item robusto ── */
  .values-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }
  .value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 10px;
    border-left: 3px solid #6b0e1e;
    box-sizing: border-box;
    width: 100%;
  }
  .value-item > span {
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1.4;
  }
  .value-item > div {
    flex: 1;
    min-width: 0;
  }
  .value-item > div strong {
    display: block;
    font-size: 0.9rem;
    color: #1a0a0e;
    font-weight: 700;
    margin-bottom: 3px;
  }
  .value-item > div p {
    font-size: 0.83rem;
    color: #7a5a60;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
  }

  /* ══ RESPONSIVE ASEGURADORAS ══ */
  @media (max-width: 900px) {
    .aseg-track-wrap {
      -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    }
  }
  @media (max-width: 768px) {
    .aseg-ticker { padding: 44px 0 40px; }
    .aseg-ticker__header { margin-bottom: 28px; padding: 0 5vw; }
    .aseg-ticker__title { font-size: clamp(1.1rem, 4vw, 1.5rem); }
    .aseg-logo-box { width: 118px; height: 60px; padding: 8px 10px; }
    .aseg-track { gap: 12px; animation-duration: 42s; }
  }
  @media (max-width: 480px) {
    .aseg-ticker { padding: 32px 0 28px; }
    .aseg-ticker__header { margin-bottom: 20px; padding: 0 4vw; } 
    .aseg-ticker__title { font-size: clamp(0.95rem, 5vw, 1.25rem); }
    .aseg-logo-box { width: 98px; height: 52px; border-radius: 8px; padding: 6px 8px; }
    .aseg-logo-text { font-size: 0.68rem !important; }
    .aseg-logo-text.axa    { font-size: 1.05rem !important; }
    .aseg-logo-text.hdi    { font-size: 0.9rem !important; }
    .aseg-logo-text.metlife { font-size: 0.75rem !important; }
    .aseg-svg { max-height: 34px; }
    .aseg-track { gap: 9px; animation-duration: 34s; }
  }

  /* ══ RESPONSIVE VALORES / QUIÉNES SOMOS ══ */
  @media (max-width: 768px) {
    .about { padding: 60px 5vw; }
    .about-inner { gap: 28px; }
    .about-main-box { padding: 28px 22px; }
    .about-main-box .big-num { font-size: 2.6rem; }
    .about-main-box .big-label { font-size: 0.92rem; }
    .values-list { gap: 12px; margin-top: 12px; }
    .value-item { padding: 12px 14px; gap: 12px; }
    .value-item > span { font-size: 1.1rem; }
    .value-item > div strong { font-size: 0.86rem; }
    .value-item > div p { font-size: 0.79rem; }
  }
  @media (max-width: 480px) {
    .about { padding: 48px 4vw; }
    .about-main-box { padding: 22px 18px; }
    .about-main-box .big-num { font-size: 2rem; }
    .about-main-box .big-label { font-size: 0.85rem; }
    .values-list { gap: 10px; margin-top: 10px; }
    .value-item { padding: 10px 12px; gap: 10px; }
    .value-item > span { font-size: 1rem; }
    .value-item > div strong { font-size: 0.82rem; }
    .value-item > div p { font-size: 0.76rem; }
  } 