/*
Theme Name: Mayorga Landing
Theme URI: https://mayorga.com.co
Author: Jorge Mayorga
Author URI: https://mayorga.com.co
Description: Minimal landing theme with full PHP/HTML/CSS/JS control of the homepage.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: mayorga-landing
*/

:root {
  --bg: #0b0b0f;
  --fg: #f5f5f7;
  --accent: #ff6a3d;
  --accent-soft: rgba(255, 106, 61, 0.12);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #141421, #050509);
  color: var(--fg);
  line-height: 1.6;
}
body {
  outline: 5px solid hotpink !important;
}

/* Layout básico */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* Hero */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 1rem 0 .75rem;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 32rem;
  opacity: .85;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-primary {
  background: var(--accent);
  color: #08070b;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: .9;
}

.btn-ghost {
  border-color: rgba(245, 245, 247, 0.3);
  background: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: rgba(245, 245, 247, 0.6);
}

.hero-meta {
  margin-top: 1rem;
  font-size: .8rem;
  opacity: .7;
}

/* Panel derecho del hero (card) */
.hero-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at top left, rgba(255,255,255,.08), rgba(5,5,9,.9));
  padding: 1.75rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* Sección de beneficios */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .6;
}

.section-title {
  font-size: 1.6rem;
  margin: .25rem 0;
}

.section-subtitle {
  font-size: .95rem;
  opacity: .75;
  max-width: 32rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(10,10,18,.9);
  padding: 1.25rem 1.35rem;
}

.benefit-title {
  font-size: 1rem;
  margin-bottom: .4rem;
}

/* Contacto / formulario */
.contact-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(5,5,9,.95);
  padding: 1.75rem;
  max-width: 640px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  font-size: .85rem;
  display: block;
  margin-bottom: .25rem;
  opacity: .9;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(3,3,8,.9);
  padding: .6rem .8rem;
  color: var(--fg);
  font: inherit;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.5rem 1.5rem;
  font-size: .8rem;
  opacity: .7;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 4.5rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* Secciones genéricas */
.mm-section {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.mm-site-header{
	
}
.mm-header-inner{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	background-color: white;
	border-bottom: 1px solid gray;

	border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #d6d6d6;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;

	/*border-top: 5px solid #78a4dd;*/

}
.mm-logo{
	width: 100px;
	padding: 0.5em;
}
/* HERO ---------------------------------------------------- */

.mm-section--hero {
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mm-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mm-hero-poster,
.mm-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
	top: 0;
	left: 0;
    object-fit: cover;
    transition: opacity 0.6s ease;
}

/* Por defecto solo se ve la imagen */
.mm-hero-poster {
    opacity: 1;
}

.mm-hero-video {
    opacity: 0;
}

.mm-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90, 90, 90, 0.55);
}

.mm-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 1.5rem;

	font-family: "Roboto", Sans-serif;
    font-weight: 500;
	font-size: 15px;
	color: #fff;
    letter-spacing: 1.6px;
    border-radius: 0px 0px 0px 0px;
    background-color: #60a8e2;
}

.mm-hero-content h1{
	font-size: 16px !important;
	margin: 0px;
	padding: 0px;
}


/* Sección QUIÉNES SOMOS ----------------------------------- */

.mm-section--info {
    background: #ffffff;
    color: #28323a;
    display: flex;
    align-items: center;

	min-height: 0vh;
}

.mm-section.mm-section--info {
  position: relative;
  width: 100%;
  min-height: 0vh !important;
}

.mm-section-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    gap: 3rem;
}


.mm-section-col--text{
	padding-left: 10em;
}

/* Texto izquierda */
.mm-section-col--text h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
	
}

.mm-section-col--text p {
    line-height: 1.7;
    max-width: 32rem;
}

.mm-info-logo {
    margin-top: 3rem;
}

.mm-info-logo img {
    max-width: 260px;
}

/* Imagen derecha con parallax */
.mm-section-col--image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mm-parallax-image {
    width: 100%;
    max-width: 460px;
    height: 460px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

/* MAPA ---------------------------------------------------- */

.mm-section--map {
    padding: 0;
}

.mm-map-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

.mm-map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Responsive simple */
@media (max-width: 768px) {
    .mm-section-inner {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }

    .mm-parallax-image {
        max-width: 100%;
        height: 320px;
    }
}



/* ====== HERO SECTION BASE ====== */

.mm-section {
  position: relative;
  width: 100%;
  min-height: 10vh;
  overflow: hidden;
}

.mm-section--hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 80vh !important;
  color: #ffffff;
}

/* Parallax target (opcional, por si quieres animar todo el section) */
.mm-section--parallax {
  will-change: transform;
}

/* ====== MEDIA BACKGROUND (IMG + VIDEO) ====== */

.mm-hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;   /* lo que pedías */
  height: 100vh;  /* full viewport */
  overflow: hidden;
  z-index: 0;
  pointer-events: none; /* no bloquea clicks en el contenido */
}

.mm-hero-media img,
.mm-hero-media video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease;
}

/* Estado inicial: solo imagen visible */
.mm-hero-poster {
  opacity: 1;
}

.mm-hero-video {
  opacity: 0;
}

/* Cuando el video está listo (clase que pone JS) */
.mm-hero-media.mm-hero-media--video-ready .mm-hero-poster {
  opacity: 0;
}

.mm-hero-media.mm-hero-media--video-ready .mm-hero-video {
  opacity: 1;
}

/* ====== OVERLAY OSCURO ====== */

.mm-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.75)
  );
}

/* ====== CONTENIDO DEL HERO ====== */

.mm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Ajustes responsive suaves */
@media (max-width: 768px) {
  .mm-hero-content {
    padding: 1.5rem;
  }
}

.mm-section-inner2{
  display: flex;
  justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
	width: 100%;
    gap: 2rem;   

	background-color: white;

	color: #345063;
}


.mm-section--into{
		height: 70vh !important;
		background-color: white;
}

 .mm-section-inner2 .mm-section-col {
    display: block;
    width: fit-content;
	height: 70vh  !important;
	min-width: calc(50% - 40px)
}
 .mm-section-inner2 .mm-section-col{
	height: 70vh  !important;
}

.mm-section-col--image .mm-parallax-image{
	width: 50vw!important;
	 max-width:  50vw!important;
	height: 200vh !important;
}










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

.mm-site-footer {
    background: #3a3b3d;          /* fondo gris oscuro del bloque grande */
    color: #f5f5f5;
    font-size: 14px;
}

/* Parte superior: 3 columnas */
.mm-footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 40px;
    display: flex;
    flex-wrap: nowrap;
    gap: 4rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
}

.mm-footer-col {
    line-height: 1.6;
}

/* Col 1: texto largo */
.mm-footer-col--about {
    flex: 2;
}

/* Col 2: datos de contacto */
.mm-footer-col--contact {
    flex: 1.4;
}

.mm-footer-col--contact p {
    margin: 0 0 1rem;
}

.mm-footer-col--contact a {
    color: #ffffff;
    text-decoration: none;
}

.mm-footer-col--contact a:hover {
    text-decoration: underline;
}

/* Col 3: logo y año, alineado a la derecha */
.mm-footer-col--logo {
    flex: 1;
    text-align: right;
}

.mm-footer-col--logo img {
    max-width: 260px;
    height: auto;
    display: inline-block;
    margin-bottom: 1rem;
}

.mm-footer-year {
    margin: 0;
}

/* Títulos */
.mm-footer-col h3 {
    margin: 0 0 1rem;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Parte inferior: franja oscura con iconitos cuadrados */
.mm-footer-bottom {
    background: #303133;
    color: rgba(255,255,255,0.7);
    padding: 10px 40px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    box-sizing: border-box;
}

.mm-footer-bottom p {
    margin: 0;
}

/* “Iconos” cuadrados */
.mm-footer-icons span {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    margin-left: 14px;
}

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

@media (max-width: 900px) {
    .mm-footer-top {
        flex-direction: column;
        gap: 2rem;
        padding: 32px 20px;
    }

    .mm-footer-col--logo {
        text-align: left;
    }

    .mm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 10px 20px 14px;
    }

    .mm-footer-icons span {
        margin-left: 8px;
    }
}


/* Sección mapa: ocupa toda la ventana */
.mm-section--map {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Wrapper para controlar el alto */
.mm-map-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;   /* 100% de la altura de la ventana */
    overflow: hidden;
}

/* El iframe ocupa todo el wrapper */
.mm-map-iframe {
    border: 0;
    width: 100%;
    height: 100%;
    display: block;  /* elimina espacios raros */
}


/* Sección mapa: pantalla completa, fondo gris oscuro */
.mm-section--map {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background: #33363a; /* gris oscuro como el footer */
}

/* Wrapper para que el mapa ocupe todo */
.mm-map-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* El iframe ocupa todo y lo “tintamos” un poco */
.mm-map-iframe {
    border: 0;
    width: 100%;
    height: 100%;
    display: block;

    /* Look gris + azul suave */
    filter: grayscale(40%) contrast(1.05) saturate(1.1);
}

/* Overlay muy suave azul para unificar con la marca */
.mm-map-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(33, 150, 243, 0.12),
        rgba(0, 0, 0, 0.22)
    );
    pointer-events: none; /* no bloquea click sobre el mapa */
}
