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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Inputs */
input {
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  padding: 1em;
  font-size: 1rem;
}

/* NAVIGATION */
nav {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background: transparent;
  z-index: 10;
}
.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--black);
}
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav ul a {
  position: relative;
  font-weight: 600;
  padding-bottom: 4px;
  color: var(--black);
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
}
nav ul a:hover::after,
nav ul a.active::after {
  width: 100%;
}
nav ul li.has-dropdown {
  position: relative;
}
nav ul .dropdown {
  position: absolute;
  top: 100%; left: 0;
  list-style: none;
  background: var(--white);
  padding: .5rem 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 20;
}
nav ul .dropdown li a {
  display: block;
  padding: .5rem 1rem;
  color: var(--black);
  font-weight: 400;
}
nav ul li.has-dropdown:hover .dropdown,
nav ul li.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
}

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  position: relative;
  transition: transform .3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.hamburger.active {
  background: transparent;
}
.hamburger.active::before {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active::after {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* BUTTONS */
.btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.btn svg {
  width: 18px; height: 18px;
  fill: currentColor;
}
.btn:hover {
  transform: translateY(-3px);
  opacity: .9;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
}
.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn-login {
  padding: .5rem 1rem;
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background .2s;
}
.btn-login svg {
  width: 16px; height: 16px;
  fill: var(--black);
}
.btn-login:hover {
  background: rgba(0,0,0,0.05);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 100vh;
  padding: 0 4rem;
  position: relative;
  overflow: hidden;        /* ← recorta cualquier overflow */
  background:
    linear-gradient(135deg, rgba(0,0,0,0.01), rgba(250,250,250,0.1)),
    url('assets/hero.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top:    -20%;
  left:   -70%;            /* ← usamos left en lugar de right */
  width:  100%;            /* ← más ancho que el contenedor, pero en % */
  height: 100%;            /* ← similar para altura */
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.1),
    transparent
  );
  filter: blur(150px);
  z-index: 0;
  box-sizing: border-box;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-content .pre {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-medium);
  margin-bottom: .75rem;
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--black);
}
.hero-content h1 span {
  color: var(--accent);
}
.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-dark);
}
.btn-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stats {
  display: flex;
  gap: 2rem;
  font-size: .9rem;
  color: var(--gray-medium);
  margin-top: .5rem;
}
.stats span {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.stats span strong {
  font-size: 1.5rem;
  color: var(--black);
}

/* DASHBOARD CARD */
.dashboard-card {
  background: #f2f2f2;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  padding: .5rem;
  max-width: 600px;
  margin: auto;
}
.dashboard-card img {
  width: 100%;
  border-radius: 12px;
}
.dashboard-card {
  /* 1) Fondo semitransparente */
  background: rgba(255, 255, 255, 0.15);

  /* 2) Filtro de difuminado */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px); /* para Safari */

  /* 3) Borde y sombra suaves */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  border-radius: 20px;
  padding: 1rem;
  max-width: 600px;
  margin: auto;
}


/* FEATURE SECTIONS */
.feature {
  position: relative;
  padding: 2rem 4rem;
  background: var(--white);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 85%;
  overflow: hidden;
  border: 0px solid var(--gray-light);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.feature::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 50vw; height: 80vw;
  background: var(--gray-light);
  border-radius: 50%;
  z-index: 0;
}
.feature .feature-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.feature .text {
  color: #141414;
}
.feature .text svg {
  width: 32px; height: 32px;
  fill: var(--accent);
  margin-bottom: 1rem;
}
.feature .text h2,
.feature .text h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.feature .text p {
  font-size: 1rem;
  line-height: 1.5;
}
.feature .image {
  max-width: 400px;
  max-height: 500px;
  display: none;
}
.feature .image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* DIRECTORY */
.directory {
  padding: 6rem 0;
  background: var(--white);
  text-align: center;
  margin-top: -50px;
}
.directory-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--black);
}
.directory-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  max-width: 85%;
  margin: auto;
}
.directory-card {
  background: #f2f2f2;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-logo {
  width: 80px; height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 50%;
}
.card-name {
  font-size: 1.25rem;
  margin: .5rem 0;
  color: var(--black);
}
.card-type {
  background: var(--black);
  color: var(--white);
  font-size: .75rem;
  padding: .25rem .5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.card-services {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.card-services span {
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: .75rem;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.card-btn {
  margin-top: 20px;
  padding: .7rem 1.25rem;
  background: #141414;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #666;
  border-radius: 6px;
  transition: transform .2s, opacity .2s;
  font-size: 16px;
}
.card-btn:hover {
  transform: translateY(-2px);
  opacity: .9;
}

/* FAQ */
.faq {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.faq h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: var(--black);
}
.faq details {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  outline: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  float: right;
  transition: transform .2s;
}
.faq details[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}
.faq p {
  margin-top: .5rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* FOOTER */
.footer {
  background: var(--black);
  color: var(--white);
  border-radius: 60px 60px 0 0;
  padding: 6rem 4rem;
  margin-top: 80px;
}
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer .col {
  flex: 1;
  min-width: 200px;
}
.footer .col h4 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.footer .col ul {
  list-style: none;
}
.footer .col ul li {
  margin-bottom: .5rem;
}
.footer .col ul li a {
  color: var(--white);
  transition: opacity .2s;
}
.footer .col ul li a:hover {
  opacity: .7;
}
.footer .bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: .875rem;
  color: var(--gray-medium);
}
.logoblanco {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 2rem;
  }
  nav {
    padding: 1rem 2rem;
  }
  .dashboard-card {
    margin-top: 2rem;
  }
  .stats {
    justify-content: center;
  }
  .feature .feature-content {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 4rem 2rem;
  }
  .directory-container {
    grid-template-columns: 1fr;
  }
  nav ul,
  .btn-login {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  nav.open .btn-login {
    display: flex;
    margin: 1rem 2rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn {
    padding: .6rem 1.4rem;
    width: auto;
  }
  .btn-group {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    justify-content: center;
  }
  .feature .image button.btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
  }
  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: .6rem 1.4rem;
  }
  .stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
}


/* --- Características --- */
.features {
  padding: 4rem 4rem;
  background: var(--white);
}
.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 85%;
  margin: 0 auto;
}
.feature-box {
  background: #f2f2f2;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.feature-box svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
  margin-bottom: 1rem;
}
.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: .75rem;
  font-weight: 600;
  color: var(--black);
}
.feature-box p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.4;
}

/* Responsive: en pantallas pequeñas apilar */
@media (max-width: 900px) {
  .features-container {
    grid-template-columns: 1fr;
  }
  .features {
    padding: 2rem 2rem;
  }
}

.feature-box {
  position: relative;
  padding-top: 1rem; 
  
}

.feature-box .feature-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background: #141414;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: -20px;
  
}

.country-selector {
  display: inline-block;
  margin-left: 1rem;
}
#country {
  padding: 0.3rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}



/* Dropdown para Contactanos */
.contact-dropdown {
  position: relative;
  display: inline-block;
}

.contact-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.contact-dropdown.show .dropdown-menu {
  display: block;
}

.contact-dropdown .dropdown-item {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-dropdown .dropdown-item:hover {
  background-color: #f5f5f5;
}






.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}




.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float a:hover,
.whatsapp-float a:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.whatsapp-float a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* 1) Pinta todo el SVG de verde (burbuja) */
.whatsapp-float a svg {
  fill: #25d366;
}

/* 2) Sobrepinta solo el último <path> (el teléfono) en blanco */
.whatsapp-float a svg path:last-of-type {
  fill: #ffffff;
}

/* Backdrop y modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s;
  z-index: 2000;
}
.modal.show {
  visibility: visible;
  opacity: 1;
}

/* Contenido del modal */
.modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
}

/* Botón cerrar */
.modal-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Formulario interno */
.modal-content form label {
  display: block;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.modal-content form input,
.modal-content form select,
.modal-content form textarea {
  width: 100%;
  margin-top: .25rem;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: .5rem;
  font-size: 1rem;
}
.modal-content form .btn-primary {
  margin-top: 1rem;
  width: 100%;
}

/* Botón verde de WhatsApp dentro del modal */
.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  max-width:  300px;
  
}
.btn-whatsapp:hover {
  opacity: .9;
}

.btn-whatsapp-black{
    background-color: #141414;
    color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 400;
  text-decoration: none;
  max-width:  250px;

}
.btn-whatsapp-black:hover {
  opacity: .5;
}

.select-flag {
  display: block;
  position: relative;
  max-width: 300px;
  margin-left: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--gray-dark);
}

.select-flag select {
  width: 100%;
  padding: .6rem 2.5rem .6rem .75rem;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.3;
  cursor: pointer;
}

.select-flag::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--gray-dark);
  pointer-events: none;
}

.select-flag select:hover,
.select-flag select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39,36,36,0.1);
}

/* ===== Sección Precios ===== */
.pricing {
  padding: 4rem 4rem;
  background: var(--white);
  text-align: center;
}
.pricing .section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--black);
}
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 85%;
  margin: 0 auto;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-card .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0rem;
}
.pricing-card .plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}
.pricing-card .plan-price span {
  font-size: 1rem;
  color: var(--gray-medium);
}
.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}
.pricing-card .plan-features li {
  margin: 0.5rem 0;
  color: var(--gray-dark);
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}
@media (max-width: 900px) {
  .pricing {
    padding: 2rem 2rem;
  }
}


.divisor{
    margin-top: 100px;
}