.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

:root {
  --primary: #0f6b3f;
  --primary-dark: #0b4f2f;
  --primary-soft: #dff5e8;
  --secondary: #f4f7f5;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --gold: #f4c542;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --radius-sm: 16px;

  --chat-primary: #0f6b3f;
  --chat-primary-dark: #0b4f2f;
  --chat-accent: #dff5e8;
  --chat-bg: #f4f7f5;
  --chat-text: #1f2937;
  --chat-muted: #6b7280;
  --chat-white: #ffffff;
  --chat-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  --chat-radius: 22px;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
  background: #f8fbf8;
  color: var(--text);
  overflow-x: hidden;
}

body {
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Raleway", sans-serif;
}

p {
  margin-top: 0;
}

a {
  text-decoration: none;
}

/* ===== Header pro ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10000;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 107, 63, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 56px;
  width: auto;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: var(--primary);
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--primary);
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover {
  color: #2aa35f;
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
  color: var(--white) !important;
}

/* ===== Social buttons ===== */
.social-buttons {
  position: fixed;
  top: 42%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-right: 10px;
  z-index: 15000;
  opacity: 0;
  animation: slideInFade 0.6s ease forwards;
  transition: opacity 0.4s ease;
}

@keyframes slideInFade {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.social-buttons a {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.social-buttons a:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.social-buttons a::after {
  content: attr(aria-label);
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-dark);
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.social-buttons a:hover::after {
  opacity: 1;
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 150px 24px 90px;
  background:
    linear-gradient(120deg, rgba(7, 48, 28, 0.86), rgba(15, 107, 63, 0.72)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(244, 197, 66, 0.12), transparent 24%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-logo {
  max-width: 140px;
  margin: 0 auto 22px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
  font-style: normal;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* BOTONES UNIFICADOS */
.btn {
    display: inline-block;
    text-align: center;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 110px;
}

/* colores */
.btn-primary {
    background: #0f6b3f;
    color: #fff;
}

.btn-secondary {
    background: #6b7280;
    color: #fff;
}

.btn-danger {
    background: #b91c1c;
    color: #fff;
}

.btn-info {
    background: #2563eb;
    color: #fff;
}

/* hover */
.btn:hover {
    opacity: 0.9;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 28px 22px;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.stat-card h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  margin-bottom: 0;
}

/* ===== Sections ===== */
.fullpage-section {
  padding: 110px 24px;
  position: relative;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.titulo-seccion {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 18px;
}

.descripcion-seccion {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  font-style: normal;
}

/* ===== Servicios ===== */
.servicios-modern {
  background:
    radial-gradient(circle at top left, rgba(15, 107, 63, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.servicios-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.servicio {
  background: white;
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.servicio-premium {
  border: 1px solid rgba(15, 107, 63, 0.08);
}

.servicio-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-soft), #f6fff9);
  margin-bottom: 18px;
}

.icono-servicio {
  font-size: 2rem;
  color: var(--primary);
}

.servicio h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.servicio p {
  color: var(--muted);
  font-style: normal;
  margin-bottom: 0;
}

/* ===== Benefits strip ===== */
.benefits-strip {
  max-width: 1180px;
  margin: -20px auto 30px;
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-item {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
  font-weight: 800;
}

.benefit-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ===== Sucursales ===== */
.sucursales-modern {
  background: linear-gradient(180deg, #f3f7f4 0%, #ffffff 100%);
}

.sucursales-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.map-card,
.branch-card {
  background: white;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(15, 107, 63, 0.08);
}

.map-card {
  padding: 18px;
}

#mapa-sucursales {
  height: 520px;
  width: 100%;
  border-radius: 18px;
  margin-bottom: 0;
}

#info-sucursal-container {
  max-width: none;
  margin: 0;
  padding: 24px;
  background: white;
  border-radius: 26px;
  box-shadow: none;
}

#mensaje-default {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

#info-sucursal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

#imagen-sucursal {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  object-fit: cover;
}

#datos-sucursal {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

#datos-sucursal strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* ===== Requisitos ===== */
.requisitos-modern {
  background:
    radial-gradient(circle at top right, rgba(15, 107, 63, 0.05), transparent 24%),
    #ffffff;
}

.requisitos-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.requisito {
  background: white;
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  border: 1px solid rgba(15, 107, 63, 0.06);
}

.requisito:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.requisito i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.requisito h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.requisito p {
  color: var(--muted);
  font-style: normal;
  margin-bottom: 0;
}

.requisito.destacado {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.requisito.destacado i,
.requisito.destacado h3,
.requisito.destacado p {
  color: white;
}

/* ===== Contacto ===== */
.contacto-modern {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef7f1 100%);
  padding-bottom: 0;
}

.contact-grid {
  max-width: 1180px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: white;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  border: 1px solid rgba(15, 107, 63, 0.06);
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-card h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--muted);
  font-style: normal;
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
  width: 100%;
  background: linear-gradient(135deg, #0d4f30, #0a3f26);
  color: white;
  padding: 46px 24px 16px;
  box-sizing: border-box;
  margin-top: 0;
  text-align: center;
}

.footer-container {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 26px;
  text-align: left;
}

.footer-col {
  margin: 0;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 8px;
  font-weight: 800;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
}

.social-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 16px;
  line-height: 2;
}

.social-link i,
.footer-col p i {
  margin-right: 8px;
  color: white;
}

.social-link:hover {
  color: #bff1d1;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

/* ===== Tooltips mapa ===== */
.leaflet-tooltip {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
  font-family: "Raleway", sans-serif !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}

/**************************************
CHAT WIDGET NUEVO
**************************************/
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: "Raleway", sans-serif;
}

.chat-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: linear-gradient(135deg, var(--chat-primary), var(--chat-primary-dark));
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: var(--chat-shadow);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-fab:hover {
  transform: translateY(-2px);
}

.chat-fab-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

.chat-panel {
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 620px;
  max-height: calc(100vh - 110px);
  background: var(--chat-white);
  border-radius: var(--chat-radius);
  overflow: hidden;
  box-shadow: var(--chat-shadow);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  transition: all 0.25s ease;
}

.chat-widget.collapsed .chat-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
}

.chat-widget:not(.collapsed) .chat-fab {
  display: none;
}

.chat-header {
  background: linear-gradient(135deg, var(--chat-primary), var(--chat-primary-dark));
  color: white;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  color: #fff;
}

.chat-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.chat-header p {
  margin: 4px 0 0;
  font-size: 0.84rem;
  opacity: 0.92;
  color: #fff;
  font-style: normal;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 6px;
}

.chat-header-actions {
  display: flex;
  gap: 8px;
}

.chat-header-actions button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  flex: 1;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(15, 107, 63, 0.08), transparent 25%),
    var(--chat-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.chat-date {
  text-align: center;
  font-size: 0.78rem;
  color: var(--chat-muted);
  margin: 6px 0 16px;
}

.chat-row {
  display: flex;
  margin-bottom: 14px;
}

.chat-row.bot {
  justify-content: flex-start;
}

.chat-row.user {
  justify-content: flex-end;
}

.bubble {
  max-width: 80%;
  padding: 13px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  font-style: normal;
}

.chat-row.bot .bubble {
  background: white;
  color: var(--chat-text);
  border-top-left-radius: 6px;
}

.chat-row.user .bubble {
  background: linear-gradient(135deg, var(--chat-primary), #15803d);
  color: white;
  border-top-right-radius: 6px;
}

.bubble-time {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-top: 8px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.quick-btn {
  border: 1px solid rgba(15, 107, 63, 0.15);
  background: white;
  color: var(--chat-primary-dark);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: "Raleway", sans-serif;
}

.quick-btn:hover {
  background: var(--chat-accent);
  transform: translateY(-1px);
}

.chat-footer {
  padding: 14px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f9fafb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px;
}

.chat-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--chat-text);
  font-family: "Raleway", sans-serif;
}

.chat-input-wrap button {
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--chat-primary), var(--chat-primary-dark));
  color: white;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(15, 107, 63, 0.28);
}

.chat-note {
  display: block;
  text-align: center;
  color: var(--chat-muted);
  margin-top: 10px;
  font-style: normal;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: #9ca3af;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-stats,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .requisitos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sucursales-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    height: 50px;
  }

  .hamburger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 16px;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    width: 250px;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 10002;
  }

  .main-nav.show {
    display: flex;
  }

  .hero-section {
    padding-top: 130px;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats,
  .servicios-grid,
  .requisitos-grid,
  .contact-grid,
  .benefits-strip,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .fullpage-section {
    padding: 90px 18px;
  }

  .social-buttons {
    top: auto;
    bottom: 110px;
    right: 8px;
  }

  #mapa-sucursales {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .chat-widget {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .chat-panel {
    width: 100%;
    height: 72vh;
    max-height: 72vh;
  }

  .chat-fab {
    width: 100%;
    justify-content: center;
  }
}

/**************************************
AFINADO VISUAL PRO
Pegar al final de styles.css
**************************************/

/* Fondo general más fino */
body {
  background:
    radial-gradient(circle at top left, rgba(15, 107, 63, 0.04), transparent 22%),
    radial-gradient(circle at bottom right, rgba(244, 197, 66, 0.05), transparent 18%),
    #f8fbf8;
}

/* Header más elegante */
.site-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 107, 63, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-nav a {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #29a35e);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,0.12);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 107, 63, 0.24);
}

/* Hero con más presencia */
.hero-section {
  background:
    linear-gradient(120deg, rgba(7, 48, 28, 0.82), rgba(15, 107, 63, 0.68)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
}

.hero-content h1 {
  letter-spacing: -0.03em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.hero-text {
  line-height: 1.75;
}

.hero-badge {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn {
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

/* Cards hero más premium */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  transition: transform 0.25s ease;
}

/* Títulos de sección */
.section-heading {
  margin-bottom: 56px;
}

.titulo-seccion {
  letter-spacing: -0.02em;
}

.descripcion-seccion {
  line-height: 1.8;
}

/* Servicios */
.servicio {
  position: relative;
  overflow: hidden;
}

.servicio::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #40b46f);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.servicio:hover::before {
  opacity: 1;
}

.servicio-icon-wrap {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.servicio h3 {
  letter-spacing: -0.01em;
}

/* Benefits */
.benefit-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.1);
}

/* Mapa y ficha sucursal */
.map-card,
.branch-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-card:hover,
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.1);
}

#info-sucursal-container {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
}

#imagen-sucursal {
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

/* Requisitos */
.requisito {
  position: relative;
  overflow: hidden;
}

.requisito::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #45bf75);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.requisito:hover::before {
  opacity: 1;
}

.requisito.destacado {
  box-shadow: 0 20px 40px rgba(15, 107, 63, 0.28);
}

/* Contacto */
.contact-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #49b978);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-card:hover::before {
  opacity: 1;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 18%),
    radial-gradient(circle at bottom left, rgba(244,197,66,0.08), transparent 18%);
  pointer-events: none;
}

.footer-container,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* Chat refinado */
.chat-fab {
  border: 1px solid rgba(255,255,255,0.14);
}

.chat-fab:hover {
  box-shadow: 0 18px 34px rgba(15,107,63,0.26);
}

.chat-panel {
  border: 1px solid rgba(15,107,63,0.08);
}

.quick-btn:hover {
  box-shadow: 0 10px 20px rgba(15,107,63,0.08);
}

/* Aparición suave */
.hero-badge,
.hero-logo,
.hero-content h1,
.hero-text,
.hero-actions,
.hero-stats,
.section-heading,
.servicio,
.benefit-item,
.map-card,
.branch-card,
.requisito,
.contact-card {
  animation: fadeUp 0.7s ease both;
}

.hero-logo { animation-delay: .05s; }
.hero-content h1 { animation-delay: .1s; }
.hero-text { animation-delay: .15s; }
.hero-actions { animation-delay: .2s; }
.hero-stats { animation-delay: .25s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajustes móvil */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .servicio,
  .requisito,
  .contact-card,
  .benefit-item {
    border-radius: 20px;
  }
}

/**************************************
PULIDO PREMIUM
ESTILO BANCO / COOPERATIVA MODERNA
**************************************/

/* Paleta más elegante */
:root {
  --primary: #0c5a35;
  --primary-dark: #083f25;
  --primary-soft: #e8f5ed;
  --secondary: #f7faf8;
  --text: #17212b;
  --muted: #5f6b76;
  --white: #ffffff;
  --gold: #d8b24a;
  --line-soft: rgba(12, 90, 53, 0.08);
  --shadow-soft: 0 14px 30px rgba(16, 24, 40, 0.08);
  --shadow-medium: 0 24px 48px rgba(16, 24, 40, 0.12);
}

/* Base */
body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(12, 90, 53, 0.035), transparent 22%),
    radial-gradient(circle at bottom right, rgba(216, 178, 74, 0.04), transparent 18%),
    #f8fbf9;
}

/* Header más corporativo */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.brand img {
  height: 60px;
}

.main-nav a {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.main-nav a:not(.nav-cta)::after {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 28px rgba(12, 90, 53, 0.18);
}

/* Hero más premium */
.hero-section {
  background:
    linear-gradient(120deg, rgba(5, 38, 22, 0.84), rgba(12, 90, 53, 0.64)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
}

.hero-overlay {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 30%),
    radial-gradient(circle at bottom right, rgba(216,178,74,0.11), transparent 22%);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f8fffb;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-content h1 {
  font-weight: 900;
  letter-spacing: -0.04em;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  max-width: 720px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

.btn {
  font-size: 0.98rem;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff, #eef8f2);
  color: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}

/* Cards del hero más sobrias */
.stat-card {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}

.stat-card i {
  color: var(--gold);
}

.stat-card h3 {
  font-size: 1.1rem;
}

.stat-card p {
  font-size: 0.98rem;
}

/* Secciones */
.section-tag {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(12, 90, 53, 0.08);
  font-size: 0.92rem;
}

.titulo-seccion {
  color: #0f2f1d;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.descripcion-seccion {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Servicios más elegantes */
.servicio {
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fcfefd 100%);
}

.servicio::before {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.servicio-icon-wrap {
  background: linear-gradient(135deg, #eef8f2, #f8fcfa);
  border: 1px solid rgba(12, 90, 53, 0.06);
}

.servicio h3 {
  color: #123824;
  font-size: 1.35rem;
}

.servicio p {
  color: var(--muted);
  line-height: 1.75;
}

/* Benefits strip más institucional */
.benefit-item {
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  box-shadow: 0 10px 24px rgba(16,24,40,0.06);
  font-size: 0.98rem;
}

/* Sucursales */
.map-card,
.branch-card {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

#info-sucursal-container {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
}

#datos-sucursal {
  color: var(--muted);
}

#datos-sucursal strong {
  color: #103421;
  font-weight: 900;
}

/* Requisitos */
.requisito {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fcfefd 100%);
}

.requisito::before {
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.requisito h3 {
  color: #113422;
  font-size: 1.1rem;
}

.requisito p {
  line-height: 1.7;
}

.requisito.destacado {
  background: linear-gradient(135deg, var(--primary), #0a4a2b);
  border: none;
  box-shadow: 0 24px 44px rgba(12, 90, 53, 0.24);
}

/* Contacto */
.contact-card {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fcfefd 100%);
}

.contact-card::before {
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.contact-card h3 {
  color: #113422;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Footer más premium */
.footer {
  background: linear-gradient(135deg, #0a4429, #072f1d);
}

.footer::before {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 18%),
    radial-gradient(circle at bottom left, rgba(216,178,74,0.08), transparent 18%);
}

.footer-col h3 {
  font-weight: 800;
  color: #ffffff;
}

.footer-col p,
.social-link,
.footer-bottom {
  color: rgba(255,255,255,0.84);
}

.social-link:hover {
  color: #f3d57a;
}

/* Botones sociales */
.social-buttons a {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1px solid rgba(255,255,255,0.08);
}

/* Chat más premium */
.chat-fab {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.chat-panel {
  border: 1px solid rgba(12, 90, 53, 0.08);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.quick-btn {
  border: 1px solid rgba(12, 90, 53, 0.12);
}

.quick-btn:hover {
  background: #eef8f2;
}

/* Hover más sutil y elegante */
.servicio:hover,
.requisito:hover,
.contact-card:hover,
.benefit-item:hover,
.map-card:hover,
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

/* Ajustes móviles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.35rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .btn {
    min-width: 100%;
  }

  .main-nav {
    border: 1px solid var(--line-soft);
  }
}

/**************************************
SECCIÓN CONFIANZA
**************************************/
.trust-section {
  padding: 110px 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
}

.trust-container {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-text h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f2f1d;
  margin-bottom: 20px;
}

.trust-text p {
  color: #5f6b76;
  line-height: 1.8;
  margin-bottom: 25px;
}

.trust-list {
  list-style: none;
  padding: 0;
}

.trust-list li {
  margin-bottom: 12px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-list i {
  color: #0c5a35;
}

.trust-image img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .trust-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-text h2 {
    font-size: 2rem;
  }
}
/**************************************
ANIMACIONES PREMIUM SCROLL
**************************************/

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes */
.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}

/* Zoom suave */
.reveal-zoom {
  transform: scale(0.95);
}

.reveal-zoom.visible {
  transform: scale(1);
}

/* Delay elegante */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }



/* Contenedor de descarga de apps */
.app-icons {
  margin-top: 20px;
  text-align: center;
}

.app-text {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Contenedor de los íconos */
.icon-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Estilo general de los íconos */
.store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  font-size: 26px;
  border-radius: 50%;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff; /* Evita el color azul */
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* Eliminar color azul de los enlaces */
.store-icon:link,
.store-icon:visited,
.store-icon:hover,
.store-icon:active {
  color: #ffffff;
  text-decoration: none;
}

/* Efecto hover */
.store-icon:hover {
  transform: translateY(-4px);
  background: #ffffff;
  color: #0a3d62;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Colores distintivos al pasar el cursor */
.store-icon.android:hover {
  color: #3DDC84;
}

.store-icon.ios:hover {
  color: #000000;
}

/* dejar seleccionar iconos mientras el chat este cerrado */
/* Evita que el chat bloqueé la interacción cuando está minimizado */
.chat-widget.collapsed {
  pointer-events: none;
}

/* Permite la interacción solo con el botón flotante */
.chat-widget.collapsed .chat-fab {
  pointer-events: auto;
}

/* Permite la interacción completa cuando el chat está abierto */
.chat-widget:not(.collapsed) {
  pointer-events: auto;
}
