html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", sans-serif;
  background: #faf8f4;
  color: #1c2b3a;
}

/* ================= GLOBAL ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

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

/* ================= NAVBAR ================= */
.navbar {
  background: white;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Contenedor para alinear logo y texto */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre la imagen y el texto */
}

.logo-container img {
    border-radius: 50%;
}

/* Estilos para la imagen del logo */
.nav-logo {
    width: 40px;  /* Ajusta el tamaño según prefieras */
    height: 40px; /* Mismo valor que width para que sea simétrico */
    object-fit: contain; /* Evita que la imagen se deforme */
    border-radius: 4px;  /* Opcional: redondea un poco las esquinas */
}

/* Ajuste opcional para el h2 original */
.logo {
    margin: 0;
    font-size: 1.5rem; /* Ajusta si el nombre queda muy grande al lado del logo */
    white-space: nowrap; /* Evita que el nombre se parta en dos líneas */
    color: #2d4f73;
    font-weight: 700;
}


.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #2d4f73;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone {
  font-size: 14px;
  opacity: 0.75;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s;
}

.btn-primary {
  background: #2d4f73;
  color: white;
}

.btn-primary:hover {
  background: #1f3a55;
}

.btn-outline {
  border: 1px solid #2d4f73;
  color: #2d4f73;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(45, 79, 115, 0.08);
}

/* ================= HERO ================= */
.hero {
  padding: 70px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
}

/* Tag */
.tag {
  display: inline-block;
  padding: 8px 14px;
  background: #f0f2f5;
  border-radius: 20px;
  font-size: 13px;
  color: #2d4f73;
  margin-bottom: 20px;
}

/* Title */
.hero-text h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #2d4f73;
}

/* Paragraph */
.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 480px;
  margin-bottom: 28px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 45px;
}

/* Stats */
.stats {
  display: flex;
  align-items: center;
  gap: 25px;
}

.stat h3 {
  font-size: 26px;
  color: #2d4f73;
}

.stat p {
  font-size: 13px;
  opacity: 0.6;
}

.divider {
  width: 1px;
  height: 40px;
  background: #ddd;
}

/* ================= HERO IMAGE ================= */
.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Floating card */
.floating-card {
  position: absolute;
  bottom: -25px;
  left: -25px;

  display: flex;
  gap: 12px;
  align-items: center;

  background: white;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.floating-card p {
  font-size: 13px;
  opacity: 0.6;
}

.floating-card strong {
  font-size: 15px;
  color: #2d4f73;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(45, 79, 115, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .floating-card {
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-links {
    display: none;
  }
}

/* ================= SERVICES SECTION ================= */

.services {
  padding: 60px 20px;
  background: #fff;
}

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

.services-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #1f2a37;
}

.services-header p {
  margin-top: 10px;
  font-size: 16px;
  color: #64748b;
}

/* GRID 2x2 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  max-width: 1150px;
  margin: auto;
}

/* CARD GRANDE */
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 520px;
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* ICON */
.service-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

/* TITULO */
.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1f2a37;
}

/* TEXTO */
.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 18px;
}

/* LISTA */
.service-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f2a37;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.service-card ul li {
  font-size: 14px;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.service-card ul li::before {
  content: "➜";
  color: #1e3a8a;
  font-weight: bold;
}

/* BOTON ABAJO FIJO */
.service-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;

  padding: 14px;
  border-radius: 10px;
  background: #2f4f75;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.service-btn:hover {
  background: #1e3555;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

/* CTA Section */
.cta {
  padding: 0px 0px 60px 20px;
  background: #ffffff;
}

.cta-box {
  max-width: 1050px;
  margin: 0 auto;
  padding: 60px 30px;
  text-align: center;

  border-radius: 18px;

  /* degradado suave como la captura */
  background: linear-gradient(
    90deg,
    #f8f5ef 0%,
    #f5f8fc 100%
  );

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1f2a37;
}

.cta-box p {
  font-size: 16px;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Botón reutilizable */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 26px;
  border-radius: 10px;

  background: #2d4f73;
  color: white;
  font-weight: 600;
  font-size: 15px;

  text-decoration: none;
  transition: 0.25s ease;
}

.btn-primary:hover {
  background: #1f3b57;
}

.btn-primary span {
  font-size: 18px;
}

@media (max-width: 600px) {
  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 24px;
  }
}

/* About Section */
.about {
  padding: 100px 20px;
  background: #f8f5ef; /* beige suave */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 70px;
}

/* Imagen */
.about-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* Texto */
.about-content h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1f2a37;
}

.about-content p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 520px;
}

/* Cards Grid */
.about-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Card */
.about-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 18px;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);

  transition: transform 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 6px;
  color: #1f2a37;
}

.about-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Icono */
.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f1f5f9;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #ffffff;
}

.faq-title {
  text-align: center;
  margin-bottom: 50px;
}

.faq-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2a37;
}

.faq-title p {
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
}

/* FAQ List */
.faq-list {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Item */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #faf9f7;
  overflow: hidden;
}

/* Question Button */
.faq-question {
  width: 100%;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;

  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Arrow */
.arrow {
  transition: transform 0.25s ease;
  font-size: 16px;
  color: #64748b;
}

/* Answer hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 10px 0 18px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* Active item */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* Bottom box */
.faq-bottom {
  margin: 60px auto 0;
  max-width: 650px;
  text-align: center;

  padding: 35px 20px;
  border-radius: 14px;

  background: linear-gradient(90deg, #f8f5ef 0%, #f5f8fc 100%);
}

.faq-bottom h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f2a37;
}

.faq-bottom p {
  font-size: 13px;
  color: #64748b;
}

/* CONTACT SECTION */
.contact {
  padding: 60px 20px;
  background: #f8f5ef;
}

.contact-title {
  text-align: center;
  margin-bottom: 60px;
}

.contact-title h2 {
  font-size: 38px;
  font-weight: 700;
  color: #1f2a37;
}

.contact-title p {
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 35px;
  align-items: start;
}

/* LEFT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;

  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;

  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f1f5f9;

  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.info-card p,
.info-card small {
  font-size: 13px;
  color: #64748b;
}

/* FORM BOX */
.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.contact-form h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* FORM */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

input, select, textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}

textarea {
  min-height: 110px;
  resize: none;
}

.full-btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);

  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #f8f5ef;
  width: 90%;
max-width: 800px;
height: auto;
max-height: 90vh; /* Que no supere el alto de la pantalla */
overflow-y: auto;
  border-radius: 14px;
  padding: 25px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

#calendly-container {
    overflow: hidden; /* Evita el scroll del contenedor padre */
}

/* FORM MSG - ERRORS*/

.form-msg {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 500;
  display: none;
}

.form-msg.success {
  display: block;
  color: green;
}

.form-msg.error {
  display: block;
  color: red;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
}

input:invalid:focus + .error-msg,
textarea:invalid:focus + .error-msg,
select:invalid:focus + .error-msg {
  display: block;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* BUTTONS */

button {
  border: none;
  outline: none;
  cursor: pointer;
}

.btn-primary,
.full-btn {
  border: none !important;
  outline: none !important;
  cursor: pointer;
}

button:focus,
button:active {
  outline: none !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  transition: 0.2s;
}

.btn-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Tooltip oculto */
.btn-tooltip {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);

  background: #111;
  color: white;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Mostrar SOLO si está disabled + hover wrapper */
.btn-wrapper:hover .btn-tooltip {
  opacity: 1;
}

/* Tooltip solo cuando el botón está disabled */
button:not(:disabled) + .btn-tooltip {
  display: none;
}

.btn-tooltip::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #111 transparent;
}

.main-footer {
  background-color: #1a252f; /* Azul muy oscuro/negro */
  color: #ffffff;
  padding: 60px 0 20px 0;
  font-family: 'Inter', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-info p {
  color: #adb5bd;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-tag span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.85rem;
}

.footer-links h4, .footer-contact h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-links ul, .footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li, .footer-contact ul li {
  margin-bottom: 12px;
  color: #adb5bd;
  font-size: 0.9rem;
}

.footer-links ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

/* FOOTER */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #868e96;
}

/* Contenedor en el footer */
.logo-container-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Imagen del logo redonda */
.footer-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;  
    margin: 0; 
    display: block;
}

.logo-footer {
    margin: 0;
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1;
    display: flex;
    align-items: center;
    transform: translateY(4px)
}

.legal-links a {
  color: #868e96;
  text-decoration: none;
  margin-left: 20px;
}

.legal-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bottom-content {
    flex-direction: column;
    gap: 15px;
  }
  .legal-links a {
    margin: 0 10px;
  }
}

/* FLOAT BUTTON */

.wpp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #003d7a; /* Azul de tu marca */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wpp-float:hover {
    background-color: #003d7a; /* Un azul más oscuro al pasar el mouse */
    transform: scale(1.1);
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
}

.wpp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste para móviles */
@media screen and (max-width: 768px) {
    .wpp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* ================= RESPONSIVE NAVBAR ================= */
@media (max-width: 900px) {
    /* Permitimos que el contenido del nav se distribuya mejor */
    .nav-content {
        flex-wrap: wrap; /* Permite que los elementos bajen si no hay espacio */
        justify-content: center; /* Centramos el logo */
        gap: 15px;
    }

    /* Ocultamos el teléfono y el botón del navbar en móviles 
       ya que tienes el botón flotante de WPP y el botón en el Hero */
    .nav-right {
        display: none; 
    }

    /* Ajustamos el tamaño del nombre para que entre en una línea */
    .logo {
        font-size: 1.2rem;
    }

    /* Si prefieres mantener los botones, usa esta alternativa en lugar de display:none:
    .nav-right {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .phone {
        font-size: 12px;
    }
    */
}

/* Ajuste específico para pantallas muy pequeñas (celulares) */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    .nav-logo {
        width: 35px;
        height: 35px;
    }

    .logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Estandariza la distancia entre todas las secciones */
    section {
        padding: 50px 0 !important;
    }
    
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .services, .about, .faq, .contact {
        padding: 60px 0; /* Un poco más de aire para que respire */
    }
}

@media (max-width: 768px) {
    /* Centrado del bloque de marca en el footer */
    .logo-container-footer {
        justify-content: center; /* Centra el logo y texto horizontalmente */
        margin-bottom: 25px;
    }

    .footer-info p {
        text-align: center;
        margin: 0 auto 20px;
    }

    .footer-tag {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .wpp-float {
        width: 65px;  /* Aumentamos de 50px a 65px */
        height: 65px;
        bottom: 30px; /* Separamos un poco más del borde */
        right: 25px;
        font-size: 35px; /* Icono más grande */
    }

    .wpp-float svg {
        width: 35px; /* Tamaño del icono interno */
        height: 35px;
    }
}

/* --- Estilos base del tooltip (Desktop) --- */
.btn-tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: white;
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

/* --- AJUSTE MOBILE --- */
@media (max-width: 900px) {
    /* 1. Forzamos que el tooltip sea un bloque relativo debajo del botón */
    .btn-tooltip {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-top: 10px;
        background: #fff5f5; /* Fondo rojo muy suave */
        color: #e03131;      /* Texto rojo profesional */
        border: 1px solid #ffc9c9;
        padding: 10px;
        white-space: normal;
        text-align: center;
        opacity: 1;          /* Visible cuando el display lo permita */
        display: none;       /* Oculto por defecto */
    }

    /* 2. Clase que activaremos con JS */
    .btn-tooltip.show-mobile {
        display: block !important;
    }

    /* 3. Quitamos la flecha en mobile */
    .btn-tooltip::after {
        display: none;
    }

    .footer-info h3 {
    font-size: 1rem;
  }
  .hero-text p {
    margin-bottom: 18px;
}
}

/* Solo hover en Desktop */
@media (min-width: 901px) {
    .btn-wrapper:hover button:disabled + .btn-tooltip {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 25px 0; /* Aumentamos de 18px a 25px para dar más altura */
    }

    .nav-logo {
        width: 45px; /* Un poco más grande para acompañar la altura */
        height: 45px;
    }
}

/* Color original del botón */
.btn-primary {
    background: #2d4f73;
    color: white;
    transition: 0.25s;
    border: none;
}

/* Solo aplicar el hover si el botón NO está deshabilitado */
.btn-primary:hover:not(:disabled) {
    background: #1f3a55; /* El color oscuro solo aquí */
    transform: translateY(-2px);
}

/* Evitar el cambio de color al tocar (active) en mobile si está deshabilitado */
.btn-primary:active:not(:disabled) {
    background: #1f3a55;
}

/* Estado deshabilitado: mantenemos el color pero con opacidad */
.btn-primary:disabled {
    background: #2d4f73 !important; /* Forzamos el color original */
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important; /* Evita que se mueva al tocarlo */
}