/* =========================================================
   Mary's English Club – estilos del sitio
   ======================================================= */
/* Tipografías incluidas (licencia SIL OFL): Montserrat y Source Serif 4 */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin-wght-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/source-serif-4-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(../fonts/source-serif-4-latin-wght-italic.woff2) format("woff2"); }

:root {
	--mec-red: #d7141a;
	--mec-red-dark: #b30f14;
	--mec-navy: #10213f;
	--mec-ink: #1c1f24;
	--mec-text: #3b4048;
	--mec-muted: #6b7280;
	--mec-cream: #f7f2ea;
	--mec-sky: #eef4fb;
	--mec-gold: #c98d26;
	--mec-yellow: #f6b800;
	--mec-line: #e6e1d8;
	--mec-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--mec-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--mec-radius: 14px;
	--mec-shadow: 0 10px 30px rgba(16, 33, 63, .12);
	--mec-header: 76px;
}

/* ---------- Base ---------- */
body.mec-site { font-family: var(--mec-sans); color: var(--mec-text); background: #fff; font-size: 16px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
:where(body.mec-site) :where(p, li) { font-weight: 400; }
body.mec-site #wrapper { overflow: clip; }
.mec-site h1, .mec-site h2, .mec-site h3 { color: var(--mec-ink); font-family: var(--mec-sans); letter-spacing: 0; text-transform: none; }
.mec-site p { margin: 0 0 1em; }
.mec-site img { max-width: 100%; height: auto; }
.mec-site a { transition: color .2s, background-color .2s, opacity .2s; }
.mec-site a:focus-visible, .mec-site button:focus-visible, .mec-site input:focus-visible, .mec-site select:focus-visible { outline: 3px solid var(--mec-yellow); outline-offset: 2px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mec-header) + 8px); }
.mec-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 10000; background: #fff; padding: 8px 14px; border-radius: 8px; }

.mec-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.mec-wrap--narrow { max-width: 820px; }
.mec-sec { padding: 96px 0; position: relative; }
.mec-center { text-align: center; }
.mec-serif { font-family: var(--mec-serif) !important; font-weight: 600; line-height: 1.12; }
.mec-serif em { font-style: italic; font-weight: 500; }

/* WPBakery: filas sin márgenes para que los bloques ocupen todo el ancho */
.mec-landing .vc_row.mec-row, .mec-landing .vc_row { margin: 0 !important; }
.mec-landing .vc_column_container > .vc_column-inner { padding: 0 !important; }
.mec-landing .wpb_content_element { margin-bottom: 0; }

/* ---------- Botones ---------- */
.mec-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font: 700 14px/1 var(--mec-sans); letter-spacing: .06em; text-transform: uppercase; padding: 16px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.mec-btn .mec-ico { transition: transform .2s; }
.mec-btn:hover .mec-ico { transform: translateX(3px); }
.mec-btn--red { background: var(--mec-red); color: #fff !important; box-shadow: 0 8px 20px rgba(215, 20, 26, .25); }
.mec-btn--red:hover { background: var(--mec-red-dark); }
.mec-btn--dark { background: var(--mec-ink); color: #fff !important; }
.mec-btn--dark:hover { background: #000; }
.mec-btn--white { background: #fff; color: var(--mec-navy) !important; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; padding: 13px 26px; }
.mec-btn--white:hover { background: var(--mec-cream); }
.mec-btn--yellow { background: var(--mec-yellow); color: var(--mec-ink) !important; }
.mec-btn--yellow:hover { background: #ffc933; }
.mec-btn--outline { border-color: var(--mec-navy); color: var(--mec-navy) !important; background: transparent; }
.mec-btn--outline:hover { background: var(--mec-navy); color: #fff !important; }
.mec-btn--sm { font-size: 12.5px; padding: 13px 22px; }
.mec-btn--lg { font-size: 20px; padding: 18px 44px; }
.mec-btn--block { width: 100%; }
.mec-link { font-weight: 700; color: var(--mec-navy) !important; display: inline-flex; gap: .4em; align-items: center; text-decoration: none !important; border-bottom: 2px solid var(--mec-red); padding-bottom: 2px; }
.mec-wa-link { display: inline-flex; align-items: center; gap: .55em; font: 700 13px/1 var(--mec-sans); letter-spacing: .12em; text-transform: uppercase; color: #fff !important; text-decoration: none !important; }
.mec-wa-link .mec-ico { font-size: 26px; color: #25d366; }
.mec-wa-link--dark { color: var(--mec-ink) !important; }

/* ---------- Encabezados de sección ---------- */
.mec-head { margin-bottom: 48px; max-width: 760px; }
.mec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.mec-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; }
.mec-head__sans { font-weight: 700 !important; letter-spacing: .04em !important; font-size: clamp(26px, 3.2vw, 36px) !important; }
.mec-head__script { font-family: var(--mec-serif); font-style: italic; color: var(--mec-muted); margin: -6px 0 18px !important; font-size: 18px; }
.mec-head__lead { font-size: 17px; color: var(--mec-text); }
.mec-head__es { font-family: var(--mec-serif); font-style: italic; color: var(--mec-red); font-size: 20px; margin-bottom: 10px !important; }
.mec-kicker { display: inline-flex; align-items: center; gap: 14px; font: 600 13px/1.2 var(--mec-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mec-gold); margin: 0 0 18px !important; }
.mec-kicker::before { content: ""; width: 46px; height: 2px; background: currentColor; }
.mec-kicker--plain::before { display: none; }
.mec-kicker--plain { color: var(--mec-muted); }
.mec-kicker--red { color: var(--mec-red); }

/* ---------- Íconos con texto ---------- */
.mec-feats { list-style: none; margin: 28px 0; padding: 0; display: flex; gap: 0; }
.mec-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 600 11.5px/1.25 var(--mec-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mec-ink); padding: 0 22px; border-left: 1px solid rgba(28, 31, 36, .2); }
.mec-feats li:first-child { border-left: 0; padding-left: 0; }
.mec-feats .mec-ico { font-size: 38px; }
.mec-feats--soft li { color: var(--mec-navy); }
.mec-feats--soft .mec-ico { font-size: 30px; width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: #e7eefa; }
.mec-feats--mini { margin: 14px 0 6px; justify-content: space-around; }
.mec-feats--mini li { font-size: 9.5px; padding: 0 12px; }
.mec-feats--mini .mec-ico { font-size: 26px; }

/* =========================================================
   CABECERA
   ======================================================= */
.mec-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.admin-bar .mec-header { top: 32px; }
.mec-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--mec-header); gap: 24px; max-width: 1320px; }
.mec-header__logo img { width: 132px; height: auto; display: block; }
.mec-nav { display: flex; align-items: center; gap: 22px; }
.mec-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.mec-nav__list li { display: flex; align-items: center; }
.mec-nav__list li + li::before { content: "|"; color: #c9c9c9; font-size: 12px; }
.mec-nav__list a { display: block; padding: 8px 9px; white-space: nowrap; font: 600 11px/1 var(--mec-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mec-ink) !important; text-decoration: none !important; }
.mec-nav__list a:hover, .mec-nav__list .is-current a { color: var(--mec-red) !important; }
.mec-socials { display: flex; gap: 8px; }
.mec-socials a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--mec-ink); color: #fff !important; font-size: 18px; }
.mec-socials a:hover { background: var(--mec-red); }
.mec-burger { display: none; background: none; border: 0; font-size: 30px; color: var(--mec-ink); padding: 6px; cursor: pointer; }

@media (max-width: 1240px) {
	.mec-burger { display: block; }
	.mec-nav { position: fixed; inset: var(--mec-header) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; box-shadow: 0 20px 30px rgba(0, 0, 0, .08); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; max-height: calc(100vh - var(--mec-header)); overflow: auto; }
	.admin-bar .mec-nav { top: calc(var(--mec-header) + 46px); }
	.mec-nav.is-open { transform: none; visibility: visible; }
	.mec-nav__list { flex-direction: column; align-items: stretch; }
	.mec-nav__list li + li::before { display: none; }
	.mec-nav__list a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid #eee; }
	.mec-socials--header { margin-top: 18px; }
}

/* =========================================================
   1. HERO
   ======================================================= */
.mec-hero { position: relative; height: clamp(560px, calc(100vh - var(--mec-header)), 860px); background: var(--mec-navy); color: #fff; overflow: hidden; }
.mec-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.mec-hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 38, .78) 0%, rgba(8, 18, 38, .45) 45%, rgba(8, 18, 38, 0) 75%), linear-gradient(0deg, rgba(8, 18, 38, .65) 0%, rgba(8, 18, 38, 0) 35%); }
.mec-hero__slide.is-active { opacity: 1; z-index: 1; }
.mec-hero__inner { z-index: 2; padding-bottom: 90px; }
.mec-hero__logo { width: 170px; margin-bottom: 26px; }
.mec-hero__title { font-family: var(--mec-serif) !important; font-weight: 700; color: #fff !important; font-size: clamp(34px, 5vw, 62px); line-height: 1.08; max-width: 640px; margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.mec-hero__line { display: block; width: min(460px, 80%); margin: 18px 0 20px; }
.mec-hero__text { max-width: 400px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.mec-hero__text strong { color: #fff; }
.mec-hero__slide.is-active .mec-hero__title, .mec-hero__slide.is-active .mec-hero__line, .mec-hero__slide.is-active .mec-hero__text { animation: mecUp .9s both; }
.mec-hero__slide.is-active .mec-hero__line { animation-delay: .15s; }
.mec-hero__slide.is-active .mec-hero__text { animation-delay: .3s; }
@keyframes mecUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.mec-hero__bar { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.mec-hero__feats { list-style: none; margin: 0; padding: 0; display: flex; }
.mec-hero__feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; font: 700 10.5px/1.25 var(--mec-sans); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .45); }
.mec-hero__feats li:first-child { padding-left: 0; border-left: 0; }
.mec-hero__feats .mec-ico { font-size: 32px; }
.mec-hero__nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 44px; opacity: .8; cursor: pointer; padding: 10px; }
.mec-hero__nav:hover { opacity: 1; }
.mec-hero__nav--prev { left: 8px; }
.mec-hero__nav--next { right: 8px; }
.mec-hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; }
.mec-hero__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.mec-hero__dots button.is-active { background: #fff; width: 26px; border-radius: 6px; }

@media (max-width: 767px) {
	.mec-hero { height: auto; min-height: 640px; }
	.mec-hero__slide { align-items: flex-start; padding-top: 44px; background-position: 65% center; }
	.mec-hero__slide::before { background: linear-gradient(180deg, rgba(8, 18, 38, .8) 0%, rgba(8, 18, 38, .35) 55%, rgba(8, 18, 38, .85) 100%); }
	.mec-hero__logo { width: 130px; margin-bottom: 16px; }
	.mec-hero__nav { display: none; }
	.mec-hero__bar { flex-direction: column; align-items: stretch; bottom: 34px; }
	.mec-hero__feats li { padding: 0 12px; flex: 1; font-size: 9.5px; }
	.mec-hero__bar .mec-btn { align-self: flex-start; }
}

/* =========================================================
   2. PROGRAMAS
   ======================================================= */
.mec-programas { background: #fff; overflow: hidden; }
.mec-programas::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; opacity: .55; pointer-events: none; }
/* Las tarjetas ocupan la fila y quedan centradas, sean 4, 5 o 6. */
.mec-programas__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.mec-programas__grid > .mec-card-prog { flex: 1 1 0; min-width: 0; max-width: calc((100% - 80px) / 5); }
.mec-card-prog { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 22px rgba(16, 33, 63, .1); text-decoration: none !important; color: var(--mec-text) !important; transition: transform .25s, box-shadow .25s; }
.mec-card-prog:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(16, 33, 63, .18); }
.mec-card-prog img { width: 100%; aspect-ratio: 336 / 288; object-fit: cover; display: block; }
.mec-card-prog__body { display: flex; flex-direction: column; gap: 4px; padding: 4px 16px 18px; flex: 1; font-size: 13px; line-height: 1.5; }
.mec-card-prog strong { font: 800 13px/1.25 var(--mec-sans); letter-spacing: .03em; text-transform: uppercase; color: var(--mec-ink); }
.mec-card-prog em { font-style: normal; font: 600 10.5px/1.3 var(--mec-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mec-muted); margin-bottom: 6px; }
.mec-card-prog__more { margin-top: auto; padding-top: 10px; color: var(--mec-red); font-weight: 700; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 1100px) { .mec-programas__grid > .mec-card-prog { flex: 0 1 calc((100% - 32px) / 3); max-width: none; } }
@media (max-width: 640px) {
	.mec-programas__grid { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -24px; padding: 4px 24px 20px; }
	.mec-programas__grid > .mec-card-prog { flex: 0 0 72%; max-width: none; scroll-snap-align: start; }
}

/* =========================================================
   3. IMMERSION DAY
   ======================================================= */
.mec-immersion { position: relative; background-size: cover; background-position: 60% center; padding: 90px 0; min-height: 620px; display: flex; align-items: center; }
.mec-immersion__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
.mec-immersion__main { max-width: 560px; }
@media (min-width: 1101px) { .mec-immersion__main { padding-left: clamp(40px, 6vw, 110px); } }
.mec-immersion__logo { width: 420px; margin-bottom: 18px; }
.mec-immersion__text { font-size: 16px; color: var(--mec-ink); font-weight: 500; }

.mec-placa { background: #fff; border-radius: 6px; box-shadow: var(--mec-shadow); padding: 28px 28px 20px; position: relative; justify-self: end; width: 100%; }
.mec-placa__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; position: relative; }
.mec-placa__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--mec-red); }
.mec-placa__head .mec-ico { font-size: 38px; color: var(--mec-ink); }
.mec-placa__head p { margin: 0 !important; line-height: 1; }
.mec-placa__head small { display: block; font: 500 11px/1 var(--mec-sans); letter-spacing: .4em; text-transform: uppercase; color: var(--mec-ink); margin-bottom: 5px; }
.mec-placa__head strong { font: 800 23px/1 var(--mec-sans); letter-spacing: -.01em; text-transform: uppercase; color: var(--mec-ink); }
.mec-placa h3 { font: 800 17px/1.25 var(--mec-sans); text-transform: uppercase; margin: 0 0 10px; }
.mec-placa > p { font-size: 14px; }
.mec-placa__date { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; font-size: 13px; }
.mec-placa__date strong { display: block; color: var(--mec-ink); text-transform: uppercase; }
.mec-placa__foot { display: flex; align-items: center; gap: 14px; border-top: 1px dashed #c8c8c8; margin-top: 22px; padding-top: 16px; font: 500 10px/1.5 var(--mec-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mec-ink); }
.mec-placa__foot .mec-ico { font-size: 26px; fill: currentColor; }
.mec-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 74px; font-family: var(--mec-sans); color: var(--mec-ink); line-height: 1; border-right: 1px solid var(--mec-line); padding-right: 14px; }
.mec-date small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.mec-date b { font-size: 46px; font-weight: 800; color: var(--mec-red); margin: 4px 0; }
.mec-date--soon b { font-size: 34px; color: var(--mec-red); }
.mec-date--soon .mec-ico { font-size: 34px; color: var(--mec-red); }
.mec-date--soon small { text-align: center; letter-spacing: .08em; line-height: 1.3; }
@media (max-width: 900px) {
	.mec-immersion { background-position: 72% center; padding: 60px 0; }
	.mec-immersion::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .85) 55%, rgba(255, 255, 255, .4) 100%); }
	.mec-immersion__grid { grid-template-columns: 1fr; }
	.mec-immersion__logo { width: 300px; }
	.mec-placa { justify-self: stretch; max-width: 420px; }
}

/* =========================================================
   4. VIDEO
   ======================================================= */
.mec-video { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 110px 0 60px; text-align: center; color: #fff; }
.mec-video::before { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 22, .55); }
.mec-video__title { font-family: var(--mec-serif) !important; font-weight: 600; color: #fff !important; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.25; margin: 0 0 30px; }
.mec-video__play { display: inline-block; transition: transform .25s; }
.mec-video__play:hover { transform: scale(1.08); }
.mec-video__play img { width: 96px; }
.mec-video .mec-wa-link { position: absolute; right: 24px; bottom: -30px; }
@media (max-width: 767px) {
	.mec-video { background-attachment: scroll; padding: 80px 0 90px; }
	.mec-video .mec-wa-link { position: static; margin-top: 30px; }
}
@supports (-webkit-touch-callout: none) { .mec-video { background-attachment: scroll; } }

/* =========================================================
   5. NÁUTICO (home)
   ======================================================= */
.mec-nautico { background: var(--mec-sky); }
.mec-nautico__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.mec-nautico__img img { border-radius: var(--mec-radius); box-shadow: var(--mec-shadow); display: block; width: 100%; }
.mec-nautico .mec-kicker { color: var(--mec-red); }
.mec-nautico__titulo { width: 380px; margin-bottom: 18px; }
.mec-nautico h3 { font-size: 30px; color: var(--mec-navy); margin: 0 0 12px; }
.mec-tagline { font: 700 13px/1 var(--mec-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mec-navy); }
.mec-nautico__cta { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center; margin-top: 26px; }
.mec-pill-date { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--mec-navy); box-shadow: 0 4px 14px rgba(16, 33, 63, .1); }
.mec-pill-date .mec-ico { color: var(--mec-red); font-size: 20px; }
@media (max-width: 900px) { .mec-nautico__grid { grid-template-columns: 1fr; gap: 36px; } .mec-nautico__titulo { width: 300px; } }

/* =========================================================
   6. KIDS CLUB (home)
   ======================================================= */
.mec-kids { background: var(--mec-cream); }
.mec-kids__top { display: flex; gap: 36px; align-items: center; margin-bottom: 36px; }
.mec-kids__logo { width: 190px; flex: none; }
.mec-kids__top p { max-width: 640px; margin: 0; font-size: 16px; color: var(--mec-ink); }
.mec-kids__grid { display: grid; grid-template-columns: 1fr 230px; gap: 30px; align-items: center; }
.mec-kids__photos { position: relative; }
.mec-kids__labels { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-family: var(--mec-sans); font-size: 13px; line-height: 1.35; color: var(--mec-text); text-align: center; }
.mec-kids__labels strong { display: block; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mec-ink); }
.mec-kids__script { width: 230px; }
.mec-kids .mec-center { margin-top: 36px; }
@media (max-width: 900px) {
	.mec-kids__top { flex-direction: column; align-items: flex-start; gap: 18px; }
	.mec-kids__grid { grid-template-columns: 1fr; }
	.mec-kids__script { width: 150px; justify-self: center; }
	.mec-kids__labels { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   7. METODOLOGÍA
   ======================================================= */
.mec-metodo { background: #fff; }
.mec-metodo h2 { font-size: clamp(28px, 3.6vw, 42px); }
.mec-metodo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mec-metodo figure { margin: 0; position: relative; border-radius: 6px; overflow: hidden; }
.mec-metodo figure img { display: block; width: 100%; aspect-ratio: 532 / 396; object-fit: cover; transition: transform .6s; }
.mec-metodo figure:hover img { transform: scale(1.05); }
.mec-metodo figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .55)); color: #fff; font: 700 12px/1.3 var(--mec-sans); letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; text-align: center; }
.mec-metodo .mec-center { margin-top: 40px; }
@media (max-width: 900px) { .mec-metodo__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .mec-metodo figcaption { font-size: 10.5px; padding: 9px 8px; } }

/* =========================================================
   8. CERTIFICACIONES
   ======================================================= */
.mec-cert { position: relative; background-size: cover; background-position: center; padding: 70px 0 80px; text-align: center; }
.mec-cert::before { content: ""; position: absolute; inset: 0; background: rgba(10, 20, 40, .72); }
.mec-cert__title { position: relative; color: #fff !important; font: 600 15px/1 var(--mec-sans) !important; letter-spacing: .3em !important; text-transform: uppercase !important; margin: 0 0 40px; }
.mec-cert__logos { position: relative; width: 100%; max-width: 1040px; }

/* =========================================================
   9. TESTIMONIOS
   ======================================================= */
.mec-testim { background: #fff var(--bg) center bottom/cover no-repeat; }
.mec-testim .mec-head h2 { font-size: clamp(32px, 4vw, 46px); }
.mec-testim .mec-head h2 em { font-style: italic; }
.mec-carousel { position: relative; }
.mec-carousel__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 26px; scrollbar-width: none; }
.mec-carousel__track::-webkit-scrollbar { display: none; }
.mec-testi { flex: 0 0 calc((100% - 66px) / 4); min-width: 250px; scroll-snap-align: start; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 26px rgba(16, 33, 63, .12); display: flex; flex-direction: column; }
.mec-testi__foto { width: 100%; aspect-ratio: 404 / 238; object-fit: cover; display: block; }
.mec-testi__body { padding: 16px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.mec-testi__q { font: 800 46px/0.6 var(--mec-serif); color: var(--mec-red); display: block; height: 20px; margin-top: 12px; }
.mec-testi p { font-size: 14px; line-height: 1.55; color: var(--mec-ink); flex: 1; }
.mec-testi footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid #dfe8f3; padding-top: 12px; }
.mec-testi footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.mec-testi footer span { font-size: 12px; color: var(--mec-muted); line-height: 1.3; }
.mec-testi footer strong { display: block; color: var(--mec-ink); font-size: 14px; }
.mec-carousel__btn { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); display: grid; place-items: center; font-size: 22px; color: var(--mec-ink); cursor: pointer; }
.mec-carousel__btn--prev { left: -18px; }
.mec-carousel__btn--next { right: -18px; }
.mec-testim__cta { display: flex; flex-wrap: wrap; gap: 20px 30px; justify-content: center; align-items: center; margin-top: 26px; }
@media (max-width: 1100px) { .mec-testi { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .mec-testi { flex-basis: 82%; } .mec-carousel__btn { display: none; } }

/* =========================================================
   PIE / CONTACTO
   ======================================================= */
.mec-footer { position: relative; background-color: #111; background-size: cover; background-position: center; color: rgba(255, 255, 255, .85); padding: 80px 0 0; }
.mec-footer::before { content: ""; position: absolute; inset: 0; background: rgba(12, 14, 18, .78); }
.mec-footer .mec-wrap { position: relative; }
.mec-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.mec-footer__grid > div + div { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 40px; }
.mec-footer__brand img { width: 230px; margin-bottom: 26px; }
.mec-footer__brand p { margin: 0 0 10px !important; }
.mec-footer__brand a { display: inline-flex; gap: 10px; align-items: center; color: #fff !important; text-decoration: none !important; font-size: 14px; }
.mec-footer__brand .mec-ico { font-size: 20px; color: #fff; }
.mec-footer h3 { color: #fff !important; font: 600 15px/1 var(--mec-sans) !important; letter-spacing: .08em !important; margin: 0 0 18px; }
.mec-footer__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.mec-footer__list a { color: rgba(255, 255, 255, .8) !important; text-decoration: none !important; font-size: 14px; line-height: 2.1; }
.mec-footer__list a:hover { color: #fff !important; }
.mec-socials--footer a { background: transparent; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; width: 40px; height: 40px; }
.mec-footer__claim { margin-top: 26px !important; font: 500 11px/1.8 var(--mec-sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.mec-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 60px; padding-top: 20px; padding-bottom: 24px; font-size: 12px; }
.mec-footer__bottom p { margin: 0 !important; }
.mec-footer__bottom a { color: #fff !important; }
.mec-footer__tags { letter-spacing: .2em; text-transform: uppercase; font-size: 10.5px; opacity: .7; }
@media (max-width: 900px) {
	.mec-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.mec-footer__grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 26px; }
}

/* WhatsApp flotante */
.mec-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 950; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; font-size: 32px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.mec-wa-float:hover { transform: scale(1.08); }
.mec-modal-open .mec-wa-float { display: none; }

/* =========================================================
   PÁGINAS: Conocé el Club / Náutico
   ======================================================= */
.mec-phero { position: relative; min-height: 600px; display: flex; align-items: center; background: #f4e3cc; overflow: hidden; }
.mec-phero__img { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.mec-phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 244, 228, .96) 0%, rgba(255, 244, 228, .85) 30%, rgba(255, 244, 228, 0) 55%); }
.mec-phero--navy { background: #e8eef6; }
.mec-phero--navy::before { background: linear-gradient(90deg, rgba(246, 249, 253, .96) 0%, rgba(246, 249, 253, .86) 32%, rgba(246, 249, 253, 0) 58%); }
.mec-phero__inner { z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.mec-phero__inner > * { max-width: 470px; }
.mec-phero__logo { width: 180px; margin-bottom: 30px; display: block; }
.mec-phero__timg { width: 380px; display: block; margin-bottom: 24px; }
.mec-phero__title { font-size: clamp(38px, 5vw, 62px); margin: 0 0 18px; color: var(--mec-ink) !important; font-weight: 500 !important; }
.mec-phero__title em { color: var(--mec-gold); }
.mec-phero--navy .mec-phero__title em { color: var(--mec-red); }
.mec-phero--navy .mec-kicker { color: var(--mec-navy); }
.mec-phero__text { font-size: 17px; color: var(--mec-ink); }
@media (max-width: 900px) {
	.mec-phero { min-height: 0; flex-direction: column; align-items: stretch; }
	.mec-phero::before { display: none; }
	.mec-phero__img { position: relative; height: 320px; order: 2; background-position: 70% center; }
	.mec-phero__inner { padding-top: 40px; padding-bottom: 40px; }
}

.mec-intro { background: var(--mec-cream); }
.mec-intro--navy { background: #fff; }
.mec-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mec-intro__title { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 16px; font-weight: 500 !important; }
.mec-intro__sub { font-size: 19px; color: var(--mec-ink); line-height: 1.4; }
.mec-intro__strong { font-weight: 700; color: var(--mec-ink); }
.mec-intro--navy .mec-kicker { color: var(--mec-red); }
.mec-intro--navy .mec-intro__strong { font-family: var(--mec-serif); font-size: 20px; color: var(--mec-navy); }
.mec-intro__img { position: relative; }
.mec-intro__img img:first-child { width: 100%; display: block; }
.mec-intro__sello { position: absolute; width: 22%; top: 1%; left: 51%; border-radius: 50%; }
@media (max-width: 900px) { .mec-intro__grid { grid-template-columns: 1fr; gap: 36px; } }

.mec-tres { background: var(--mec-cream); padding-top: 0; }
.mec-tres--blanco { background: #fff; }
.mec-tres__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mec-tres article { padding: 0 28px; }
.mec-tres article + article { border-left: 1px solid var(--mec-line); }
.mec-tres article:first-child { padding-left: 0; }
.mec-tres article:last-child { padding-right: 0; }
.mec-tres img { width: 100%; display: block; border-radius: 6px; margin-bottom: 18px; }
.mec-tres h3 { font-size: 30px; text-transform: uppercase; margin: 0 0 10px; font-weight: 500 !important; }
@media (max-width: 800px) {
	.mec-tres__grid { grid-template-columns: 1fr; gap: 34px; }
	.mec-tres article, .mec-tres article:first-child, .mec-tres article:last-child { padding: 0; border: 0; }
}

.mec-quote { background-color: #fbf6ee; background-size: cover; background-position: left center; min-height: 340px; display: flex; align-items: center; }
.mec-quote blockquote, .mec-site .mec-quote blockquote { margin: 0 0 0 auto !important; max-width: 520px; padding: 50px 0 !important; border: 0 !important; background: none !important; color: var(--mec-ink) !important; box-shadow: none !important; }
.mec-quote blockquote::before, .mec-quote blockquote::after { display: none !important; }
.mec-quote blockquote p { font: italic 500 clamp(21px, 2.3vw, 27px)/1.4 var(--mec-serif); color: var(--mec-ink); margin-bottom: 20px !important; }
.mec-quote cite { font-style: normal; font-weight: 700; color: var(--mec-ink); display: block; padding-top: 16px; position: relative; }
.mec-quote cite::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 2px; background: var(--mec-gold); }
@media (max-width: 800px) {
	.mec-quote { background-size: auto 100%; position: relative; }
	.mec-quote::before { content: ""; position: absolute; inset: 0; background: rgba(251, 246, 238, .86); }
	.mec-quote blockquote { position: relative; }
}

.mec-final { position: relative; background-color: var(--mec-navy); background-size: cover; background-position: center right; color: rgba(255, 255, 255, .88); padding: 110px 0; }
.mec-final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 16, 34, .9) 0%, rgba(8, 16, 34, .55) 55%, rgba(8, 16, 34, .1) 100%); }
.mec-final__grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; align-items: center; }
.mec-final h2 { color: #fff !important; font-size: clamp(36px, 4.6vw, 56px); font-weight: 500 !important; margin: 0 0 22px; }
.mec-final__strong { color: #fff; font-weight: 700; }
.mec-final .mec-btn { margin-top: 12px; }
.mec-final__badge { justify-self: center; width: 340px; }
@media (max-width: 800px) { .mec-final__grid { grid-template-columns: 1fr; } .mec-final__badge { width: 260px; justify-self: start; } }

/* =========================================================
   PÁGINA: Kids Club
   ======================================================= */
.mec-khero { position: relative; background-color: #fff6e6; background-size: cover; background-position: right top; padding: 60px 0 90px; }
.mec-khero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 250, 240, .95) 0%, rgba(255, 250, 240, .85) 36%, rgba(255, 250, 240, 0) 58%); }
.mec-khero__inner > * { max-width: 540px; position: relative; }
.mec-khero__logo { width: 220px; display: block; margin-bottom: 26px; }
.mec-khero .mec-kicker { color: var(--mec-gold); }
.mec-khero__title { font-size: clamp(38px, 5vw, 60px); margin: 0 0 18px; color: var(--mec-navy) !important; font-weight: 500 !important; }
.mec-khero__title em { color: #e0931f; }
.mec-khero__text { font-size: 17px; color: var(--mec-navy); }
.mec-khero__h2 { font-size: 26px !important; margin: 26px 0 16px; color: var(--mec-navy) !important; }
.mec-khero__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.mec-khero__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--mec-navy); }
.mec-khero__list img { width: 44px; height: 44px; flex: none; }
@media (max-width: 900px) {
	.mec-khero { background-size: 180% auto; background-position: 85% top; padding-top: 300px; }
	.mec-khero::before { background: linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, .9) 260px, #fffaf0 330px); }
	.mec-khero__list { grid-template-columns: 1fr; }
}

.mec-kacc { background: #fffaf0; padding: 70px 0 60px; }
.mec-kacc__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.mec-kacc__img { position: relative; }
.mec-kacc__img > img:first-child { width: 100%; border-radius: 22px; display: block; }
.mec-kacc__script { position: absolute; left: -10px; top: 12px; width: 150px; }
.mec-kacc__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.mec-kacc__head img { width: 70px; }
.mec-kacc__head p { margin: 0 !important; line-height: 1; }
.mec-kacc__head small { display: block; font: 500 13px/1 var(--mec-sans); letter-spacing: .4em; text-transform: uppercase; color: var(--mec-navy); margin-bottom: 6px; }
.mec-kacc__head strong { font: 800 36px/1 var(--mec-sans); text-transform: uppercase; color: var(--mec-navy); }
.mec-kacc__body > p { font-size: 17px; color: var(--mec-navy); }
.mec-kacc__body .mec-btn { margin: 10px 0 12px; }
.mec-kacc__wa { margin-top: 8px !important; }
.mec-kacc__slogan { text-align: center; margin: 50px 0 0 !important; font: italic 500 18px/1.4 var(--mec-serif); color: var(--mec-navy); }
@media (max-width: 900px) { .mec-kacc__grid { grid-template-columns: 1fr; gap: 36px; } .mec-kacc__script { width: 110px; } }

/* Legal */
.mec-legal h1 { font-size: 42px; margin: 0 0 24px; }
.mec-legal a { color: var(--mec-red); }

/* =========================================================
   VENTANAS EMERGENTES (formulario y videos)
   ======================================================= */
.mec-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.mec-modal[hidden] { display: none; }
.mec-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 14, 26, .7); animation: mecFade .25s; }
.mec-modal__box { position: relative; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: mecPop .3s; max-height: calc(100vh - 40px); }
@keyframes mecFade { from { opacity: 0; } }
@keyframes mecPop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.mec-site .mec-modal__close { border: 0 !important; box-shadow: none !important; }
.mec-modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; font-size: 24px; color: var(--mec-ink); cursor: pointer; display: grid; place-items: center; }
.mec-modal__close:hover { background: #f1f1f1; }
.mec-modal__close--light { color: #fff; }
.mec-modal__close--light:hover { background: rgba(255, 255, 255, .15); }
.mec-modal-open { overflow: hidden; }

.mec-popup { display: grid; grid-template-columns: 0.9fr 1fr; width: min(900px, 100%); }
.mec-popup__img { position: relative; background: #eee; }
.mec-popup__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mec-popup__img img[hidden] { display: none; }
.mec-popup__body { padding: 30px 32px 20px; overflow-y: auto; max-height: calc(100vh - 40px); }
.mec-evcard { display: flex; gap: 14px; align-items: center; background: #f6f5f2; border-radius: 10px; padding: 16px; font-size: 12.5px; line-height: 1.5; }
.mec-evcard[hidden] { display: none; }
.mec-evcard p { margin: 0 !important; }
.mec-evcard strong { display: block; font-size: 13px; text-transform: uppercase; color: var(--mec-ink); }
.mec-evcard .mec-date--soon small { font-size: 9.5px; max-width: 80px; }
.mec-form h3 { font: 800 17px/1.2 var(--mec-sans) !important; margin: 16px 0 12px !important; color: var(--mec-ink); }
.mec-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mec-form label { display: block; margin-bottom: 10px; }
.mec-form input[type=text], .mec-form input[type=tel], .mec-form input[type=email], .mec-form select { width: 100%; height: 44px; border: 1px solid #d6d6d6; border-radius: 7px; padding: 0 14px; font: 500 14px var(--mec-sans); color: var(--mec-ink); background: #fff; box-shadow: none; margin: 0; }
.mec-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f24' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
.mec-form input:focus, .mec-form select:focus { border-color: var(--mec-navy); outline: none; box-shadow: 0 0 0 3px rgba(16, 33, 63, .12); }
.mec-form .is-invalid { border-color: var(--mec-red) !important; background-color: #fff6f6 !important; }
.mec-form__check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: var(--mec-text); cursor: pointer; }
.mec-form__check input { margin-top: 2px; accent-color: var(--mec-red); width: 16px; height: 16px; flex: none; }
.mec-form__hp { position: absolute !important; left: -9999px; }
.mec-form__msg { font-size: 13.5px; margin: 10px 0 0 !important; min-height: 1em; font-weight: 600; }
.mec-form__msg.is-error { color: var(--mec-red); }
.mec-form__msg.is-ok { color: #147a3d; }
.mec-form__legal { font-size: 11px; color: var(--mec-muted); margin: 4px 0 0 !important; }
.mec-form__legal a { color: inherit; }
.mec-form.is-sending button { opacity: .6; pointer-events: none; }
.mec-form.is-done .mec-form__row, .mec-form.is-done label, .mec-form.is-done button { display: none !important; }
.mec-form.is-done .mec-form__msg { font-size: 16px; padding: 18px; background: #eef8f1; border-radius: 10px; }
.mec-popup__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.mec-popup__foot img { width: 180px; }
.mec-script { font: italic 600 18px/1 var(--mec-serif); color: var(--mec-ink); transform: rotate(-8deg); }
@media (max-width: 760px) {
	.mec-modal { padding: 0; place-items: stretch; }
	.mec-modal__box { border-radius: 0; max-height: 100vh; }
	.mec-popup { grid-template-columns: 1fr; height: 100vh; }
	.mec-popup__img { display: none; }
	.mec-popup__body { max-height: 100vh; padding: 22px 20px; }
	.mec-form__row { grid-template-columns: 1fr; gap: 0; }
}

.mec-videos { background: #0c0f16; width: min(1100px, 100%); padding: 56px 20px 24px; }
.mec-videos__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.mec-videos__track iframe { flex: 0 0 min(340px, 82vw); aspect-ratio: 9 / 16; height: auto; max-height: calc(100vh - 140px); border: 0; border-radius: 10px; background: #000; scroll-snap-align: start; }
.mec-videos__track iframe.is-wide { flex-basis: min(960px, 92vw); aspect-ratio: 16 / 9; }

/* Aparición suave al hacer scroll */
.mec-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.mec-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.mec-reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================
   v1.1 – AVIATION ENGLISH y páginas de programa
   ======================================================= */
.mec-btn--gold { background: transparent; border-color: #c9a24a; color: #8a6a1f !important; font-size: 12.5px; padding: 12px 22px; }
.mec-btn--gold:hover { background: #c9a24a; color: #fff !important; }
.mec-evcard__lugar { display: block; font-style: normal; font-weight: 700; color: var(--mec-red); margin-bottom: 2px; }
.mec-placa__date p { line-height: 1.45; }

.mec-ahero { position: relative; background-color: #f6efe4; background-size: cover; background-position: right center; min-height: 600px; display: flex; align-items: center; }
.mec-ahero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 245, 236, .97) 0%, rgba(250, 245, 236, .88) 34%, rgba(250, 245, 236, 0) 60%); }
.mec-ahero__inner { position: relative; padding-top: 60px; padding-bottom: 60px; }
.mec-ahero__inner > * { max-width: 500px; }
.mec-ahero__logo { width: 170px; display: block; margin-bottom: 30px; }
.mec-ahero .mec-kicker { color: var(--mec-gold); }
.mec-ahero__title { font-size: clamp(38px, 5vw, 62px); margin: 0 0 18px; color: var(--mec-navy) !important; font-weight: 500 !important; }
.mec-ahero__title em { color: var(--mec-gold); }
.mec-ahero__text { font-size: 18px; color: var(--mec-navy); }
.mec-ahero__nota { font: italic 500 18px/1.3 var(--mec-serif); color: var(--mec-gold); }
.mec-ahero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 560px !important; }
.mec-ahero__jump a { font: 700 12px/1 var(--mec-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mec-navy) !important; text-decoration: none !important; border: 1.5px solid rgba(16, 33, 63, .25); border-radius: 999px; padding: 10px 16px; background: rgba(255, 255, 255, .7); }
.mec-ahero__jump a:hover { border-color: var(--mec-navy); background: #fff; }
@media (max-width: 900px) {
	.mec-ahero { min-height: 0; background-size: auto 340px; background-position: 70% top; background-repeat: no-repeat; padding-top: 300px; }
	.mec-ahero::before { background: linear-gradient(180deg, rgba(250, 245, 236, 0) 0%, rgba(250, 245, 236, .92) 290px, #faf5ec 340px); }
	.mec-ahero__inner { padding-top: 0; padding-bottom: 40px; }
	.mec-ahero__logo { display: none; }
}

.mec-roles { background: #fbf8f2; padding-top: 70px; }
.mec-roles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mec-rol { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(16, 33, 63, .09); transition: transform .25s, box-shadow .25s; scroll-margin-top: calc(var(--mec-header) + 16px); }
.mec-rol:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 33, 63, .14); }
.mec-rol__img { width: 100%; aspect-ratio: 249 / 296; object-fit: cover; display: block; }
.mec-rol__body { display: flex; flex-direction: column; flex: 1; padding: 6px 24px 28px; }
.mec-rol__rol { font: 700 12px/1 var(--mec-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mec-gold); margin: 0 0 8px !important; }
.mec-rol__title { font-size: 25px !important; color: var(--mec-navy) !important; margin: 0 0 12px; font-weight: 600 !important; }
.mec-rol__text { font-size: 14.5px; line-height: 1.55; }
.mec-rol__inc { font: 700 13px/1 var(--mec-sans) !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--mec-ink) !important; margin: 10px 0 14px !important; }
.mec-rol__list { list-style: none; margin: 0 0 24px; padding: 0; }
.mec-rol__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--mec-navy); padding: 7px 0; border-bottom: 1px dashed #e6e0d4; }
.mec-rol__list li:last-child { border-bottom: 0; }
.mec-rol__list img { width: 26px; height: 26px; flex: none; }
.mec-rol .mec-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .mec-roles__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 640px) {
	.mec-roles { padding-top: 40px; }
	.mec-roles__grid { grid-template-columns: 1fr; gap: 22px; }
	.mec-rol__img { aspect-ratio: 16 / 11; object-position: center 30%; }
}

.mec-acierre { position: relative; background-color: #f4ece0; background-size: cover; background-position: center; padding: 90px 0; text-align: center; }
.mec-acierre::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 245, 236, .2) 0%, rgba(250, 245, 236, .82) 45%, rgba(250, 245, 236, .82) 100%); }
.mec-acierre__inner { position: relative; }
.mec-acierre__kicker { display: inline-block; font-size: 26px !important; margin-bottom: 10px !important; }
.mec-acierre__frase { font-size: clamp(28px, 3.6vw, 44px); color: var(--mec-navy); margin: 0 0 28px !important; font-style: italic; font-weight: 500 !important; }

.mec-ppage { background: var(--mec-cream); padding-top: 80px; }
.mec-ppage__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.mec-ppage__title { font-size: clamp(40px, 5vw, 60px); margin: 0 0 12px; font-weight: 500 !important; }
.mec-ppage__sub { font: italic 500 21px/1.4 var(--mec-serif); color: var(--mec-navy); }
.mec-ppage__list { list-style: none; margin: 0 0 28px; padding: 0; }
.mec-ppage__list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: var(--mec-ink); }
.mec-ppage__list .mec-ico { color: var(--mec-red); }
.mec-ppage__cta { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }
.mec-ppage__img img { width: 100%; border-radius: var(--mec-radius); box-shadow: var(--mec-shadow); display: block; }
@media (max-width: 900px) { .mec-ppage__grid { grid-template-columns: 1fr; gap: 36px; } .mec-ppage__img { order: -1; } }

/* v1.3 – Tarjetas de fechas en el formulario */
.mec-dates { border: 0; margin: 4px 0 14px; padding: 0; min-width: 0; }
.mec-dates[hidden] { display: none; }
.mec-dates legend { font: 700 11.5px/1 var(--mec-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mec-ink); margin: 0 0 10px; padding: 0; float: left; width: 100%; }
.mec-dates__grid { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.mec-datecard { position: relative; display: flex !important; flex-direction: column; align-items: stretch; width: 78px; padding: 10px 10px 9px; margin: 0 !important; border: 2px solid #e2ddd3; border-radius: 12px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s, transform .15s; user-select: none; }
.mec-datecard:hover { border-color: #e9a3a5; transform: translateY(-2px); }
.mec-datecard input { position: absolute; opacity: 0; pointer-events: none; }
.mec-datecard__sem { font: 600 9.5px/1 var(--mec-sans); letter-spacing: .14em; color: var(--mec-muted); }
.mec-datecard__dia { font: 800 40px/1 var(--mec-sans); color: var(--mec-red); margin: 4px 0 2px; letter-spacing: -.02em; }
.mec-datecard__mes { display: flex; justify-content: space-between; font: 700 11px/1 var(--mec-sans); color: var(--mec-ink); padding: 0 2px; }
.mec-datecard__mes i { font-style: normal; }
.mec-datecard__nota { display: block; margin-top: 6px; font: 500 9px/1.25 var(--mec-sans); color: var(--mec-muted); }
.mec-datecard:has(input:checked) { border-color: var(--mec-red); background: #fff5f5; }
.mec-datecard:has(input:checked)::after { content: "✓"; position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--mec-red); color: #fff; font: 700 12px/20px var(--mec-sans); text-align: center; }
.mec-datecard:has(input:focus-visible) { outline: 3px solid var(--mec-yellow); outline-offset: 2px; }
.mec-dates.is-invalid { background: none !important; }
.mec-dates.is-invalid .mec-datecard:not(:has(input:checked)) { border-color: var(--mec-red); border-style: dashed; }

/* v1.5 */
.mec-form.is-done h3, .mec-form.is-done .mec-dates, .mec-form.is-done .mec-form__legal { display: none !important; }
.mec-datecard { width: 92px; }
.mec-datecard__nota { overflow-wrap: anywhere; }

/* v1.5.2 – Cita: foto a la izquierda, texto a la derecha (sin texto sobre la foto) */
.mec-quote { display: grid !important; grid-template-columns: minmax(280px, 40%) 1fr; align-items: stretch !important; min-height: 340px; background: #fbf6ee !important; background-image: none !important; padding: 0 !important; }
.mec-quote::before { display: none !important; }
.mec-quote__foto { position: relative; overflow: hidden; min-height: 340px; align-self: stretch; }
.mec-quote__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.mec-quote__foto::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 30%; background: linear-gradient(90deg, rgba(251, 246, 238, 0), #fbf6ee); }
.mec-quote__body { position: relative; display: flex; align-items: center; gap: 40px; padding: 50px clamp(24px, 6vw, 90px); }
.mec-site .mec-quote .mec-quote__body blockquote { margin: 0 !important; max-width: 560px; padding: 0 !important; }
.mec-quote__sello { width: 190px; flex: none; opacity: .85; }
@media (max-width: 1100px) { .mec-quote__sello { display: none; } }
@media (max-width: 800px) {
	.mec-quote { grid-template-columns: 1fr; }
	.mec-quote__foto { height: 220px; min-height: 220px; }
	.mec-quote__foto::after { inset: auto 0 0 0; width: 100%; height: 40%; background: linear-gradient(180deg, rgba(251, 246, 238, 0), #fbf6ee); }
	.mec-quote__body { padding: 28px 24px 44px; }
}
