/* ================================
   BASE
================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

/* Contenedor genérico */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: 840px;
}

/* ================================
   HEADER
================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to right,
    rgba(2, 6, 23, 0.95),
    rgba(15, 159, 184, 0.92),
    rgba(244, 201, 93, 0.96)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 0.2rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #f9fafb;
}

/* Navegación */

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.main-nav a {
  color: #f9fafb;
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}

.main-nav .nav-cta {
  background: #020617;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.7);
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.main-nav .nav-cta:hover {
  border-color: #f4c95d;
}

/* Hamburguesa (mobile) */

.nav-toggle {
  display: none;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Estado abierto en mobile (lo maneja el script) */
.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 1.25rem;
  margin-top: 0.4rem;
  padding: 0.6rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

/* ================================
   BOTONES GENÉRICOS
================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.5);
}

.btn.primary {
  background: linear-gradient(135deg, #f4c95d, #0f9fb8);
  color: #020617;
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn.primary:hover,
.btn.ghost:hover {
  filter: brightness(1.04);
}

/* ================================
   HERO
================================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(15,159,184,0.35), transparent 60%),
              radial-gradient(circle at bottom right, rgba(244,201,93,0.25), transparent 60%),
              #020617;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(15,159,184,0.30), transparent 60%),
    radial-gradient(circle at bottom right, rgba(244,201,93,0.30), transparent 60%),
    linear-gradient(to bottom, rgba(15,23,42,0.35), rgba(15,23,42,0.25));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 5.5rem 0 4.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  max-width: 40rem;
  margin: 0 auto 1.6rem;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

/* Sello consultora certificada */

.ml-certificado {
  margin: 1.1rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.ml-consultora-certificada {
  width: 145px;         /* tamaño razonable escritorio */
  max-width: 65vw;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* ================================
   SECCIONES GENERALES
================================== */

.section {
  padding: 3.4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
}

.section-header p {
  margin: 0;
  font-size: 0.96rem;
  color: #cbd5f5;
}

/* Fondos de secciones */

.section-gradient {
  background: linear-gradient(135deg, #022c3a 0%, #036c7b 40%, #f4c95d 100%);
  color: #f9fafb;
}

.section-gradient-soft {
  background:
    radial-gradient(circle at top left, rgba(15,159,184,0.22), transparent 60%),
    radial-gradient(circle at bottom right, rgba(244,201,93,0.22), transparent 60%),
    #020b16;
  color: #e5e7eb;
}

.section-alt {
  background: #020b16;
  color: #e5e7eb;
}

.section-dark {
  background: #020617;
  color: #e5e7eb;
}

.section-contact {
  background: linear-gradient(135deg, #0f9fb8, #f4c95d);
  color: #020617;
}

.section-contact .section-header p,
.section-contact .contact-note {
  color: #111827;
}

/* Columnas y listas */

.columns-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

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

.list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.list li::before {
  content: "•";
  color: #facc15;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.1rem;
}

/* ================================
   "NUESTRA FORMA DE TRABAJAR"
================================== */

.forma-grid {
  display: flex;
  justify-content: center;
}

.card.gradient-border {
  max-width: 650px;
  width: 100%;
}

.gradient-border {
  position: relative;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f9fb8, #f4c95d);
}

.gradient-border .inner {
  border-radius: 20px;
  background: #020617;
  padding: 1.5rem 1.6rem 1.7rem;
}

.gradient-border .inner p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

/* ================================
   EQUIPO / QUIÉNES SOMOS
================================== */

.team {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.member {
  text-align: center;
  max-width: 260px;
  margin: 0 auto;
}

.member img {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 0.9rem;
  border: 2px solid rgba(148, 163, 184, 0.7);
}

.member h3 {
  margin: 0 0 0.3rem;
  font-size: 1.04rem;
}

.member p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.member .mat {
  font-size: 0.86rem;
  color: #9ca3af;
}

.member-extra {
  font-size: 0.87rem;
  color: #9ca3af;
}

.member-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.84rem;
  color: #38bdf8;
  text-decoration: none;
}

.member-link:hover {
  text-decoration: underline;
}

/* ================================
   REDES / SOCIAL
================================== */

.brand-social {
  margin-top: 2.1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

.social-links {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.82rem;
  text-decoration: none;
  color: #e5e7eb;
  background:
    radial-gradient(circle at top left, rgba(15,159,184,0.2), transparent 60%),
    radial-gradient(circle at bottom right, rgba(244,201,93,0.2), transparent 60%),
    rgba(15,23,42,0.96);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.7);
}

/* ================================
   CONTACTO
================================== */

.contact-center {
  text-align: center;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  background: linear-gradient(135deg, #f4c95d, #0f9fb8);
  color: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
}

.contact-whatsapp:hover {
  filter: brightness(1.04);
}

.contact-note {
  font-size: 0.86rem;
  margin-top: 0.9rem;
}

/* ================================
   FOOTER
================================== */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
}

.footer-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #9ca3af;
}

.footer-right {
  opacity: 0.9;
}

/* ================================
   RESPONSIVE
================================== */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-footer .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero-inner {
    padding: 5rem 0 3.6rem;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-subtitle {
    font-size: 0.94rem;
  }

  .header-content {
    padding-inline: 0.3rem;
  }

  .section {
    padding: 2.6rem 0;
  }

  .ml-consultora-certificada {
    width: 120px;
    max-width: 55vw;
  }

  .brand-tagline {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-content {
    font-size: 0.8rem;
  }
}
/* Ajuste sello Consultora Certificada */

.ml-certificado {
  margin: 1.5rem auto 0;   /* separadito de los botones */
  display: flex;
  justify-content: center;
  align-items: center;
}

.ml-consultora-certificada {
  display: block;
  width: 150px;            /* tamaño para escritorio */
  max-width: 40vw;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .ml-certificado {
    margin-top: 1.2rem;
  }

  .ml-consultora-certificada {
    width: 110px;          /* más chica en celu */
    max-width: 55vw;
  }
}
/* Sello Consultora Certificada: centrado y tamaño lógico */
.ml-certificado {
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ml-consultora-certificada {
  display: block;
  width: 220px;     /* probá así; si lo querés más chico, bajá a 200 o 180 */
  max-width: 70vw;
  height: auto;
}
  
@media (max-width: 768px) {
  .ml-certificado {
    margin-top: 1.2rem;
  }

  .ml-consultora-certificada {
    width: 150px;   /* más chico en celu */
    max-width: 60vw;
  }
}
/* Botón Hablemos con gradiente */
.main-nav .nav-cta {
  background: linear-gradient(135deg, #f4c95d, #0f9fb8);
  color: #020617;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.45);
}

.main-nav .nav-cta:hover {
  filter: brightness(1.05);
}
/* ===== FIX FINAL SELLO CONSULTORA CERTIFICADA ===== */

.ml-certificado {
  margin: 1.8rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ESTA es la clase que usa tu IMG en el index */
.ml-certificado-img {
  display: block;
  width: 200px;     /* tamaño escritorio */
  max-width: 60vw;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .ml-certificado {
    margin-top: 1.3rem;
  }

  .ml-certificado-img {
    width: 140px;   /* más chico en celu */
    max-width: 70vw;
  }
}
/* ===== SELLO CONSULTORA CERTIFICADA ===== */

.ml-certificado {
  margin: 1.8rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ml-consultora-certificada {
  display: block;
  width: 200px;      /* tamaño escritorio */
  max-width: 60vw;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .ml-certificado {
    margin-top: 1.3rem;
  }

  .ml-consultora-certificada {
    width: 140px;    /* más chico en celu */
    max-width: 70vw;
  }
}
/* Matrícula en amarillo */
.mat {
  color: #f4c95d;
  font-weight: 600;
}
.hero h1 {
  line-height: 1.20;      /* compacto pero elegante */
  margin-bottom: 1.2rem;  /* separa del subtítulo */
}
/* Permitir saltos de línea en el H1 del hero */
.hero h1 {
  white-space: normal !important;
}
