/* Landing "LATAM Market Entry" (/latam-market-entry/ y /es/entrada-mercado-latam/) */

.fa-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: currentColor; }

/* --- Botones ------------------------------------------------------------- */
.me-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.me-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px;
	font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .02em;
	border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.me-btn .fa-icon { font-size: 13px; }
.me-btn--red { background: var(--red); color: #fff; }
.me-btn--red:hover { background: var(--red-dark); }
.me-btn--outline { border-color: #fff; color: #fff; }
.me-btn--outline:hover { background: #fff; color: #000; }
.me-btn--black { background: #000; color: #fff; cursor: pointer; }
.me-btn--black:hover { background: #333; }
.me-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.me-link .fa-icon { font-size: 12px; transition: transform .2s; }
a:hover > .me-link .fa-icon, .me-link:hover .fa-icon { transform: translateX(4px); }

/* --- Base de secciones ------------------------------------------------------ */
.me-section { padding: 80px 0; }
.me-h2 { font-family: var(--font-head); font-weight: 900; font-size: 36px; line-height: 1.12; text-transform: uppercase; color: #000; }
.me-h2::before { content: ""; display: block; width: 45px; height: 4px; background: var(--red); margin-bottom: 18px; }
.me-lead { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: #333; margin-top: 18px; }
.me-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; font-size: 24px; flex: none; }
.me-icon--sm { width: 46px; height: 46px; font-size: 19px; }
.me-cards { display: grid; gap: 24px; }
.me-cards--3 { grid-template-columns: repeat(3, 1fr); }
.me-cards--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Hero -------------------------------------------------------------------- */
.me-hero { background: #000; padding-top: 110px; }
.me-hero__photo {
	position: relative;
	background: #000 url("../img/market-entry-hero.webp") 62% center / cover no-repeat;
}
.me-hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 85%); }
.me-hero__inner { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 70px; color: #fff; }
.me-hero h1 { font-family: var(--font-head); font-weight: 900; font-size: 58px; line-height: 1.02; text-transform: uppercase; max-width: 760px; }
.me-hero h1 span { color: var(--red); }
.me-hero__lead { font-family: var(--font-body); font-size: 18px; line-height: 1.6; max-width: 620px; }
.me-hero__small { font-family: var(--font-body); font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 640px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); }

/* --- El problema ----------------------------------------------------------------- */
.me-problem { background: #F4F4F5; }
.me-problem__top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; margin-bottom: 50px; }
.me-mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 170px 170px; gap: 10px; }
.me-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.me-mosaic img:first-child { grid-row: span 2; object-position: center 35%; }
.me-card { background: #fff; padding: 30px 26px; box-shadow: 0 8px 24px rgba(0,0,0,.06); border-top: 4px solid var(--red); }
.me-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.3; margin: 20px 0 10px; }
.me-card p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; color: #444; }

/* --- Fases ------------------------------------------------------------------------ */
.me-steps__head { max-width: 760px; margin-bottom: 45px; }
.me-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.me-step { position: relative; padding: 30px 24px 32px; border: 1px solid #E2E2E5; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.me-step:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.me-step__top { display: flex; align-items: center; justify-content: space-between; color: var(--red); }
.me-step__num { font-family: var(--font-head); font-weight: 900; font-size: 46px; line-height: 1; }
.me-step__top .fa-icon { font-size: 28px; color: #000; }
.me-step h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; line-height: 1.3; margin: 22px 0 10px; text-transform: uppercase; }
.me-step p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; color: #444; }
.me-note { margin-top: 36px; padding: 20px 26px; background: #F4F4F5; border-left: 4px solid var(--red); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }

/* --- Dónde trabajamos --------------------------------------------------------------- */
.me-where { background: #000; color: #fff; }
.me-where .me-h2 { color: #fff; }
.me-where .me-lead { color: rgba(255,255,255,.85); margin-bottom: 30px; }
.me-where__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.me-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.me-region { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.me-region h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.me-region h3 .fa-icon { color: var(--red); font-size: 22px; flex: none; }
.me-region p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.85); }

/* --- Por qué MGG ---------------------------------------------------------------------- */
.me-why .me-h2 { margin-bottom: 40px; }
.me-reason { display: flex; gap: 18px; align-items: flex-start; }
.me-reason p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: #444; }
.me-reason strong { display: block; font-family: var(--font-head); color: #000; font-size: 16px; margin-bottom: 4px; }

/* --- Trabajos -------------------------------------------------------------------------- */
.me-work { background: #F4F4F5; }
.me-work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.me-work__card { display: flex; flex-direction: column; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.me-work__card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.me-work__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.me-work__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; flex: 1; font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; color: #444; }
.me-work__body h3 { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: #000; }
.me-work__body .me-link { margin-top: auto; padding-top: 6px; }

/* --- Preguntas frecuentes ---------------------------------------------------------------- */
.me-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.me-faq__list details { border-bottom: 1px solid #DCDCE0; }
.me-faq__list details:first-child { border-top: 1px solid #DCDCE0; }
.me-faq__list summary {
	display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0;
	font-family: var(--font-head); font-weight: 700; font-size: 16px; cursor: pointer; list-style: none;
}
.me-faq__list summary::-webkit-details-marker { display: none; }
.me-faq__list summary .fa-icon { color: var(--red); flex: none; font-size: 15px; }
.me-faq__list summary .icon-minus { display: none; }
.me-faq__list details[open] summary .icon-plus { display: none; }
.me-faq__list details[open] summary .icon-minus { display: inline-block; }
.me-faq__list details p { padding: 0 40px 22px 0; font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: #444; }

/* --- Cierre + formulario --------------------------------------------------------------------- */
.me-contact { background: var(--red); color: #fff; padding: 80px 0; scroll-margin-top: 20px; }
.me-contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.me-contact h2 { font-family: var(--font-head); font-weight: 900; font-size: 38px; line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; }
.me-contact__text > p { font-family: var(--font-body); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.me-contact .me-btn--red { background: #000; }
.me-contact .me-btn--red:hover { background: #333; }
.me-contact__mail { margin-top: 30px; font-family: var(--font-body); font-size: 15px; line-height: 1.6; }
.me-contact__mail a { font-weight: 700; text-decoration: underline; }
.me-contact__mail .fa-icon { margin-right: 6px; }

.me-form { background: #fff; color: var(--text); padding: 34px 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.18); scroll-margin-top: 20px; }
.me-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.me-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 13px; }
.me-form input[type="text"], .me-form input[type="email"], .me-form select, .me-form textarea {
	width: 100%; border: 1px solid #C9C9CE; padding: 11px 12px; font: 400 15px var(--font-body); color: var(--text); background: #fff; border-radius: 0;
}
.me-form input:focus, .me-form select:focus, .me-form textarea:focus { outline: none; border-color: var(--red); }
.me-form textarea { resize: vertical; min-height: 90px; }
.me-form fieldset { border: 0; margin: 0; padding: 0; }
.me-form legend { font-family: var(--font-head); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.me-form__checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; }
.me-form .me-form__checks label, .me-form .me-form__consent { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 13.5px; }
.me-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); flex: none; margin: 0; }
.me-form .me-form__consent { align-items: flex-start; line-height: 1.45; }
.me-form__consent input { margin-top: 2px !important; }
.me-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }

/* --- Responsive ------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.me-hero h1 { font-size: 46px; }
	.me-cards--4, .me-steps__list { grid-template-columns: 1fr 1fr; }
	.me-cards--3 { grid-template-columns: 1fr 1fr; }
	.me-problem__top, .me-where__grid, .me-faq__grid, .me-contact__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
	.me-section, .me-contact { padding: 56px 0; }
	.me-hero__photo { background-image: url("../img/market-entry-hero-m.webp"); background-position: 66% center; }
	.me-hero__inner { min-height: 0; padding-block: 50px; }
	.me-hero h1 { font-size: 34px; }
	.me-hero__lead { font-size: 16px; }
	.me-h2 { font-size: 27px; }
	.me-contact h2 { font-size: 28px; }
	.me-lead { font-size: 15.5px; }
	.me-cards--4, .me-cards--3, .me-steps__list, .me-regions, .me-form__row { grid-template-columns: 1fr; }
	.me-mosaic { grid-template-rows: 130px 130px; }
	.me-work__head { flex-direction: column; align-items: flex-start; }
	.me-form { padding: 26px 20px; }
	.me-form__checks { grid-template-columns: 1fr 1fr; }
	.me-btn { width: 100%; justify-content: center; }
}

/* Línea blanca de 3 px entre el cierre rojo y el footer (franja de certificaciones) */
.landing .certs { border-top: 3px solid #fff; }
