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

/* BASE */
html {
font-size: 14px;
}

@media (min-width: 768px) {
html {
font-size: 15px;
}
}

@media (min-width: 1024px) {
html {
font-size: 16px;
}
}

/* BODY */
body {
font-family: Arial, sans-serif;
background: #f1f5f9;
background-image: url("./img/fondo.png");
background-repeat: repeat;
margin-top: 15px;
}

/* IMÁGENES */
img {
max-width: 100%;
height: auto;
}

/* CONTAINER */
.container {
max-width: 1200px;
margin: auto;
padding: 12px;
}

@media (min-width: 768px) {
.container {
padding: 20px;
}
}

/* HEADER */
.header {
  background: #2e3339;
}

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

.logo {
  width: 100px;
}

@media (max-width: 768px) {
.nav {
flex-wrap: wrap;
gap: 10px;
height: auto;
padding: 10px 0;
}

.logo {
width: 80px;
}
}
/* CARD PROFESIONAL */
.pro-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: 0.3s;
  border: 1px solid #e5e7eb;
}

.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* HEADER */
.pro-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pro-header h3 {
  font-size: 18px;
  color: #111827;
}

@media (max-width: 768px) {
.pro-header {
flex-direction: column;
align-items: flex-start;
}
}

.ubicacion {
  font-size: 14px;
  color: #6b7280;
  margin: 8px 0;
}

/* DESCRIPCIÓN */
.descripcion {
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
}
/* BOTÓN WHATSAPP */

.btnWhatsapp {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* ❌ estado desactivado */
.btnWhatsapp.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* ✅ estado activo */
.btnWhatsapp:not(.disabled) {
    background-color: #25D366;
    color: white;
}

/* ✨ hover solo si está activo */
.btnWhatsapp:not(.disabled):hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}
 
  .btn-wsp {
  display: inline-block;
  margin-left: 12px;
  margin-top: 8px;
  background: #25D366;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;  
  font-weight: bold;
  transition: 0.3s;  
}

.btn-wsp:hover {
  background: #1ebe5d;
}
.tyc{
  display: inline-block;
  color: #1ebe5d;
  font-size: 12px;
  font-weight: bold;
}

.btn-wsp.disabled {   
    opacity: 0.5;           /* efecto visual */
    cursor: not-allowed;
}


.btn-reportar {
  margin-top: 14px;
  margin-left: 12px;
  background: none;
  border: none;
  color: #ef4444;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  padding: 0;
  text-decoration: none;
}

.btn-reportar:hover {
  text-decoration: underline;
}

.badge {
  display: inline-block;
  background: #d1fae5;   /* verde claro */
  color: #065f46;        /* verde oscuro */
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;  /* estilo pill */
  white-space: nowrap;
  line-height: 1.2;
  margin-left: 12px;
}

/* Hover opcional (queda más pro) */
.badge:hover {
  filter: brightness(0.95);
}
.disclaimer {
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
  line-height: 1.4;
}

.disclaimer a {
  color: #2563eb;
  text-decoration: none;
}

.disclaimer a:hover {
  text-decoration: underline;
}

/* Versión responsive (un poco más grande en pantallas grandes) */
@media (min-width: 768px) {
  .badge {
    font-size: 13px;
    padding: 5px 12px;
  }
}
@media (min-width: 768px) {
.btn-wsp {
width: auto;
display: inline-block;
padding: 8px 14px;
}

.pro-header h3 {
font-size: 18px;
}
}
.pro-footer {
  display: flex;
  justify-content: flex-end;
}

.social-proof {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #555;
}

/* LINKS */
.link {
  color: #ccc;
  text-decoration: none;
  margin-left: 16px;
}

.link:hover {
  color: white;
}

.highlight {
  color: #fbc82e;
}

/* MOBILE */
.mobile {
  display: block;
}

.desktop {
  display: none;
}

.mobile-menu {
  background: #2e3339;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.hidden {
  display: none;
}

.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
}

/* HERO */
.hero {
  text-align: center;
  margin: 25px 0;  
}

.hero h1 {
  color: #2e3339;
}

.subtitle {
  margin-top: 10px;
}

/* BOX */
.intro-box {
  text-align:center ;
  padding: 10px;
  margin-top: 5px;
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;

}

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

select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* GRID */

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

/* Tablet vertical */
@media (min-width: 768px) {
.grid-4 {
grid-template-columns: repeat(2, 1fr);
}
}

/* Tablet horizontal */
@media (min-width: 1024px) {
.grid-4 {
grid-template-columns: repeat(3, 1fr);
}
}

/* Desktop */
@media (min-width: 1280px) {
.grid-4 {
grid-template-columns: repeat(4, 1fr);
}
}


.cta-bottom {
  margin-top: 40px;
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fbc82e, #f4b404);
  color: #2e3339;
  border-radius: 12px;
}

.cta-bottom h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-bottom p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-bottom .btn-primary {
  background: #2e3339;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}
.quiero{
  background: #fbc82e;
  color: #2e3339;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  width: 75%;
  text-align: center;
}
.quiero:hover{
  transform: scale(1.05);
}

.cta-bottom .btn-primary:hover {
  background: #1f2327;
  transform: scale(1.05);
}

.counter {
  margin-bottom: 20px;
}

.counter .number {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.counter p {
  margin: 5px 0 0;
  font-size: 0.95rem;
}
/*FOOTER*/
 footer{     
      padding: 1rem 1rem;
      background-color:#2e3339 ;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);       
      border-radius: 5px;
      color: white;
      text-align: center;
    }

   .redes{    
    display: inline-flex;       
   }

.redes img{
    margin-right: 20px;
    width: 30px;
    height: 30px;
}
.rotate:hover{
	transform: rotateZ(-45deg);
	transition: transform 1s;
	cursor: pointer;
}

/* RESPONSIVE */



@media (min-width: 1024px) { 

   .mi-contenedor {
    padding-left: 2rem;    /* 32px */
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  .pro-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }
}


@media (min-width: 768px) {
  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }
}
/* Tablet y dispositivos medianos (Equivalente a sm:px-6) */
@media (min-width: 640px) {
  .mi-contenedor {
    padding-left: 1.5rem;  /* 24px */
    padding-right: 1.5rem;
  }
}

