/*
 * iStudy English Centre — estilos del diseño entregado por el cliente
 * ("iStudy English Centre — Landing.html"). Los valores salen tal cual de los
 * estilos en línea del diseño; las unidades cqi se refieren al ancho de .site
 * (container-type: inline-size), igual que en el original.
 *
 * Ojo: el diseño no usa "box-sizing: border-box" global (los campos del
 * formulario miden 50px + borde); no añadirlo.
 *
 * Paleta: #0B2554 azul marino · #C8200E rojo · #F2C14E amarillo ·
 * #1F5FA6 azul · #1D3460 texto secundario · #FFF8EC crema · #F3EAD8 arena ·
 * #DCE9F7 azul claro · #FFFDF7 papel.
 */

/* ---------- Animaciones (idénticas al diseño) ---------- */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.rv { animation: rv-in linear both, rv-out linear forwards; animation-timeline: view(), view(); animation-range: entry 0% cover 28%, exit 25% exit 100%; }
		.px { animation: px-move linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
	}
	.hero-in { animation: hero-in 0.9s cubic-bezier(0.2,0.7,0.2,1) both; }
	.hero-in-2 { animation: hero-in 0.9s 0.2s cubic-bezier(0.2,0.7,0.2,1) both; }
	.stamp-in { animation: stamp-in 0.8s 0.7s cubic-bezier(0.3,1.5,0.5,1) both; }
}
@keyframes rv-in { from { opacity: 0; translate: 0 56px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes rv-out { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -40px; } }
@keyframes px-move { from { translate: 0 -10%; } to { translate: 0 10%; } }
@keyframes hero-in { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@keyframes stamp-in { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }

/* ---------- Bordes de papel rasgado ---------- */
.tear1 { -webkit-mask: url('../img/tears/mask-1.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-1.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }
.tear2 { -webkit-mask: url('../img/tears/mask-2.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-2.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }
.tear3 { -webkit-mask: url('../img/tears/mask-3-top.svg') top center / 2880px 64px no-repeat, url('../img/tears/mask-3-bottom.svg') bottom center / 2880px 64px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 120px) no-repeat; mask: url('../img/tears/mask-3-top.svg') top center / 2880px 64px no-repeat, url('../img/tears/mask-3-bottom.svg') bottom center / 2880px 64px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 120px) no-repeat; }
.tear5 { -webkit-mask: url('../img/tears/mask-5.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-5.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }
.tear6 { -webkit-mask: url('../img/tears/mask-6.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-6.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }
.tear7 { -webkit-mask: url('../img/tears/mask-7.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-7.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }
.tear8 { -webkit-mask: url('../img/tears/mask-8.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-8.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }
.tear9 { -webkit-mask: url('../img/tears/mask-9.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; mask: url('../img/tears/mask-9.svg') top center / 2880px 64px no-repeat, linear-gradient(#000, #000) 0 60px / 100% 100% no-repeat; }

/* Papel + sombra que asoman bajo cada borde rasgado. */
.tear-edge { position: relative; height: 0; z-index: 1; }
.tear-edge__clip { position: absolute; left: 0; right: 0; top: -44px; height: 64px; overflow: hidden; }
.tear-edge img { position: absolute; left: 50%; top: 0; margin-left: -1440px; display: block; width: 2880px; height: 64px; max-width: none; }
.tear-edge--flip .tear-edge__clip { top: -20px; }
.tear-edge--flip img { transform: scaleY(-1); }

/* ---------- Base ---------- */
body { margin: 0; }
.site {
	container-type: inline-size;
	width: 100%;
	font-family: 'Nunito', system-ui, sans-serif;
	color: #0B2554;
	background-color: #FFF8EC;
	background-image: radial-gradient(rgba(11,37,84,0.06) 1px, transparent 1.3px);
	background-size: 7px 7px;
	font-size: 17px;
	line-height: 1.6;
	position: relative;
}
.narrow-only { display: none !important; }
@media (max-width: 899.98px) {
	.wide-only { display: none !important; }
	.narrow-only { display: flex !important; }
}

.star { color: #F2C14E; }
.script { font-family: 'Caveat', cursive; font-weight: 700; line-height: 1; }
.script--red { font-size: 28px; color: #C8200E; }
.h2 { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 3.4cqi, 52px); line-height: 1.05; }
.lede { margin: 0; font-size: 18px; color: #1D3460; }
.lede--white { color: #FFFFFF; }

.section { position: relative; z-index: 2; margin-top: -44px; padding: clamp(64px, 7cqi, 112px) clamp(20px, 4cqi, 48px); }
.section--104 { padding: clamp(64px, 7cqi, 104px) clamp(20px, 4cqi, 48px); }
.section--cream { background-color: #FFF8EC; background-image: radial-gradient(rgba(11,37,84,0.06) 1px, transparent 1.3px); background-size: 7px 7px; }
.section--sand { background: #F3EAD8; background-image: radial-gradient(rgba(11,37,84,0.06) 1px, transparent 1.3px); background-size: 7px 7px; }
.section--blue { background: #DCE9F7; background-image: radial-gradient(rgba(11,37,84,0.06) 1px, transparent 1.3px); background-size: 7px 7px; }
.section--met { margin-bottom: -44px; }

.wrap { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; }
.wrap--gap32 { gap: 32px; }
.wrap--gap40 { gap: 40px; }
.wrap--gap48 { gap: 48px; }
.wrap--gap56 { gap: 56px; }
.wrap--880 { max-width: 880px; }

.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.section-head--720 { max-width: 720px; }
.section-head--center { max-width: none; align-items: center; text-align: center; }

.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; }
.split-head--met { gap: 40px 64px; }
.split-head__title { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split-head__title--gap10 { gap: 10px; }
.split-head__text { min-width: 0; margin: 0; font-size: 18px; color: #1D3460; }
.split-head__text--420 { flex: 1 1 420px; }
.split-head__text--380 { flex: 1 1 380px; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #FFF8EC; border-bottom: 5px double #0B2554; box-shadow: 0 4px 14px rgba(11,37,84,0.08); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.topbar { background: #0B2554; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.site-header__bar { max-width: 1280px; margin: 0 auto; padding: 10px clamp(16px, 4cqi, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #0B2554; }
.brand__logo { width: 64px; height: 64px; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.brand__sub { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1F5FA6; }
.brand__est { font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #C8200E; padding-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { color: #0B2554; text-decoration: none; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav__star { color: #C8200E; font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-header { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 6px; background: #C8200E; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; font-size: 16px; box-shadow: 3px 3px 0 #0B2554; }

/* Selector ES / GL: las "pastillas" (botones en el diseño, enlaces aquí). */
.lang-pills { display: flex; border: 1px solid #C9D4E6; border-radius: 999px; padding: 3px; }
.lang-pills--menu { border: 0; border-radius: 0; padding: 14px 0 0; gap: 8px; }
.lang-pill { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 1px 6px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 14px; line-height: normal; text-decoration: none; background: transparent; color: #0B2554; }
.lang-pill.is-current { background: #0B2554; color: #FFFFFF; }

.header-mobile { align-items: center; gap: 8px; }
.btn-header-short { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 6px; background: #C8200E; color: #FFFFFF; font-weight: 800; text-decoration: none; font-size: 14px; }
.burger { width: 44px; height: 44px; border-radius: 6px; border: 1px solid #C9D4E6; background: #FFFFFF; color: #0B2554; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 16px 20px; border-top: 1px solid #E4E9F2; background: #FFFFFF; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 12px 4px; color: #0B2554; text-decoration: none; font-weight: 700; border-bottom: 1px solid #EEF2F8; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7cqi, 120px) clamp(20px, 4cqi, 48px) clamp(64px, 7cqi, 128px); position: relative; overflow: hidden; background: #0B2554; color: #FFFFFF; }
.hero__bg, .england__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img, .england__bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: 62% 45%; display: block; }
.hero__overlay { position: absolute; inset: 0; background: rgba(11,37,84,0.76); }
.hero__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5cqi, 72px); position: relative; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__badge { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: #FFFFFF; border: 1.5px solid #F2C14E; outline: 1px solid rgba(242,193,78,0.5); outline-offset: 3px; padding: 4px 12px; }
.hero__script { font-size: 30px; color: #F2C14E; }
.hero__title { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 5cqi, 74px); line-height: 1.02; letter-spacing: 0.005em; color: #FFFFFF; }
.hero__title em { font-style: normal; color: #F2C14E; text-decoration: underline; text-decoration-color: #C8200E; text-decoration-thickness: 6px; text-underline-offset: 8px; }
.hero__lede { margin: 0; font-size: clamp(18px, 1.5cqi, 21px); max-width: 560px; color: #FFFFFF; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.btn-hero { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 6px; background: #C8200E; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 20px; text-decoration: none; box-shadow: 4px 4px 0 #F2C14E; }
.btn-hero--ghost { padding: 0 28px; background: transparent; border: 2px solid #FFFFFF; box-shadow: none; }
.hero__note { margin: 0; font-size: 15px; color: #FFFFFF; display: flex; align-items: center; gap: 8px; }

.hero__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; position: relative; padding: 24px 0; }
.polaroid { margin: 0; background: #FFFFFF; padding: 16px 16px 64px; border-radius: 6px; box-shadow: 0 24px 50px rgba(0,0,0,0.35); transform: rotate(-2.5deg); width: 100%; max-width: 500px; box-sizing: border-box; position: relative; }
.polaroid__clip { position: absolute; top: -34px; left: 50%; margin-left: -17px; }
.polaroid__photo { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #DCE9F7; border: 2px dashed #1F5FA6; border-radius: 4px; color: #0B2554; font-size: 14px; font-weight: 800; text-align: center; padding: 16px; box-sizing: border-box; }
.polaroid__caption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: 'Caveat', cursive; font-weight: 700; font-size: 28px; color: #0B2554; }
.stamp { position: absolute; top: -10px; right: clamp(0px, 1cqi, 24px); width: 156px; height: 156px; border-radius: 50%; background: #C8200E; color: #FFFFFF; transform: rotate(10deg); box-shadow: 0 10px 24px rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; }
.stamp__ring { position: absolute; inset: 8px; border: 2px dashed rgba(255,255,255,0.8); border-radius: 50%; }
.stamp__text { position: relative; width: 110px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stamp__big { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.05; text-transform: uppercase; }
.stamp__small { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; line-height: 1.2; text-transform: uppercase; padding-top: 6px; }
.hello { position: absolute; bottom: 4px; left: clamp(0px, 1cqi, 16px); background: #FFFFFF; color: #0B2554; border-radius: 16px 16px 16px 4px; padding: 10px 18px; font-family: 'Caveat', cursive; font-weight: 700; font-size: 26px; line-height: 1; box-shadow: 0 8px 18px rgba(0,0,0,0.3); }

/* ---------- Fotos (hueco del diseño o imagen real) ---------- */
.is-placeholder > svg { flex-shrink: 0; }
.has-image { padding: 0 !important; overflow: hidden; border-style: solid !important; }
.has-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.polaroid__photo.has-image { border: 0; }
.intl-card__photo.has-image { border-bottom: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.frame-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #DCE9F7; border: 2px dashed #1F5FA6; border-radius: 6px; outline: 8px solid #FFFFFF; outline-offset: 0; box-shadow: 0 0 0 9px rgba(11,37,84,0.15), 6px 10px 18px rgba(11,37,84,0.12); color: #0B2554; font-size: 14px; font-weight: 800; text-align: center; padding: 16px; box-sizing: border-box; }
.frame-photo--43 { aspect-ratio: 4 / 3; }
.frame-photo--11 { aspect-ratio: 1 / 1; }
.frame-photo.has-image { border: 0; }

/* ---------- Franja roja ---------- */
.trust { background: #C8200E; position: relative; z-index: 2; margin-top: -44px; padding: 48px clamp(20px, 4cqi, 48px) 72px; }
.trust__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1280px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 16px; color: #FFFFFF; }
.trust__list li { display: flex; align-items: center; gap: 8px; }

/* ---------- Programas ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card { background: #FFFDF7; border-radius: 6px; padding: 30px; display: flex; flex-direction: column; gap: 14px; border: 2px solid #0B2554; box-shadow: inset 0 0 0 5px #FFFDF7, inset 0 0 0 6px rgba(11,37,84,0.35), 6px 6px 0 #DCE9F7; }
.card--new { border-color: #C8200E; box-shadow: inset 0 0 0 5px #FFFDF7, inset 0 0 0 6px rgba(200,32,14,0.4), 6px 6px 0 #F5D3CE; position: relative; }
.card__badge { position: absolute; top: -14px; right: 24px; background: #C8200E; color: #FFFFFF; padding: 3px 18px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%); font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.06em; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__icon { width: 60px; height: 60px; border-radius: 50%; background: #DCE9F7; border: 2px dashed #1F5FA6; outline: 2px solid #0B2554; outline-offset: 3px; display: flex; align-items: center; justify-content: center; }
.card__tag { background: #0B2554; color: #FFFFFF; padding: 5px 20px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%, 10px 50%); }
.card__title { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 25px; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.03em; padding-bottom: 10px; border-bottom: 3px double #0B2554; }
.card__text { margin: 0; color: #1D3460; }
.card__list { margin: 0; padding: 12px 14px; list-style: none; background: #FFF8EC; border-radius: 6px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.card__note { margin: 0; padding: 10px 14px; background: #FFF8EC; border-radius: 6px; font-size: 15px; }
.card__note strong { color: #C8200E; }
.card__quote { margin: 0; font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; line-height: 1.2; color: #1F5FA6; }
.btn-arrow { margin-top: auto; align-self: flex-start; background: #C8200E; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 34px 0 18px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }

/* ---------- Metodología ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.feature { padding: 12px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.feature__icon { width: 88px; height: 88px; border-radius: 50%; background: #0B2554; outline: 2px dashed #C8200E; outline-offset: 5px; box-shadow: inset 0 0 0 4px #0B2554, inset 0 0 0 5px rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.feature__title { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; color: #C8200E; }
.feature__text { margin: 0; font-size: 16px; color: #1D3460; }

/* ---------- Banner Inglaterra ---------- */
.england { position: relative; overflow: hidden; min-height: clamp(380px, 40cqi, 580px); display: flex; align-items: center; justify-content: center; text-align: center; background: #0B2554; color: #FFFFFF; padding: 112px clamp(20px, 4cqi, 48px) 72px; }
.england__bg img { object-position: 55% 40%; }
.england__overlay { position: absolute; inset: 0; background: rgba(11,37,84,0.66); }
.england__content { position: relative; max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.england__script { font-size: 34px; color: #F2C14E; }
.england__title { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 4.4cqi, 66px); line-height: 1.04; }
.england__text { margin: 0; font-size: 19px; max-width: 620px; }
.england .btn-solid { margin-top: 8px; }
.btn-solid { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 6px; background: #C8200E; color: #FFFFFF; font-weight: 800; text-decoration: none; }

/* ---------- Internacional ---------- */
.intl { background: #0B2554; color: #FFFFFF; padding: clamp(64px, 7cqi, 112px) clamp(20px, 4cqi, 48px); position: relative; overflow: hidden; }
.intl__skyline { position: absolute; right: 2%; top: 40px; opacity: 0.18; max-width: 60%; height: auto; }
.intl__inner { position: relative; }
.intl__script { font-size: 30px; color: #F2C14E; }
.intl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.intl-card { background: #FFFDF7; color: #0B2554; border-radius: 6px; overflow: hidden; border: 6px solid #FFFDF7; outline: 2px solid #F2C14E; outline-offset: -12px; display: flex; flex-direction: column; }
.intl-card__photo { aspect-ratio: 16 / 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #DCE9F7; border-bottom: 2px dashed #1F5FA6; color: #0B2554; font-size: 14px; font-weight: 800; text-align: center; padding: 16px; box-sizing: border-box; }
.intl-card__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.pill { align-self: flex-start; background: #C8200E; color: #FFFFFF; border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: 14px; }
.pill--navy { background: #0B2554; }
.intl-card__title { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 30px; line-height: 1.1; }
.intl-card__text { margin: 0; color: #1D3460; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 16px; font-weight: 700; font-size: 16px; }
.checks li { display: flex; gap: 8px; align-items: center; }
.intl-card__note { margin: 0; font-size: 15px; color: #1D3460; }
.intl-card__quote { margin: 0; font-family: 'Caveat', cursive; font-weight: 700; font-size: 26px; line-height: 1.15; color: #1F5FA6; }
.intl-card .btn-solid { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonios ---------- */
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.testimonial { margin: 0; background: #FFF8EC; border: 2px dashed #8C99AE; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial__quote { margin: 0; font-size: 18px; font-weight: 700; color: #1D3460; }
.testimonial__cite { font-size: 15px; color: #1D3460; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: #FFFDF7; border-radius: 6px; border: 2px solid #0B2554; padding: 0 24px; }
.faq summary { cursor: pointer; padding: 20px 0; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 20px; letter-spacing: 0.03em; text-transform: uppercase; }
.faq p { margin: 0 0 20px; color: #1D3460; }

/* ---------- Contacto ---------- */
.contact { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact-card { flex: 1 1 560px; min-width: 0; background: #FFFDF7; border: 2px solid #0B2554; border-radius: 6px; padding: clamp(24px, 3cqi, 44px); box-shadow: inset 0 0 0 6px #FFFDF7, inset 0 0 0 7px rgba(11,37,84,0.35), 8px 8px 0 #0B2554; display: flex; flex-direction: column; gap: 22px; }
.contact-card__head { display: flex; flex-direction: column; gap: 6px; }
.contact-card__badge { align-self: flex-start; background: #C8200E; color: #FFFFFF; border-radius: 8px; padding: 3px 12px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-card__title { margin: 6px 0 0; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 3cqi, 46px); line-height: 1.05; }
.contact-card__text { margin: 0; color: #1D3460; }

/* Rejilla del formulario (también sobre el <form> de Contact Form 7). */
.cf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.cf-full { grid-column: 1 / -1; }
.cf-field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.cf-field input, .cf-field select { min-height: 50px; border: 1.5px solid #9AA8C0; border-radius: 6px; padding: 0 14px; font: inherit; font-weight: 600; color: #0B2554; background: #FFFFFF; margin: 0; }
.cf-accept { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #1D3460; }
.cf-accept input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #C8200E; flex-shrink: 0; }
.cf-accept a { color: #1F5FA6; }
.cf-submit { grid-column: 1 / -1; min-height: 56px; border: 0; border-radius: 6px; background: #C8200E; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 20px; cursor: pointer; box-shadow: 4px 4px 0 #0B2554; }
.admin-note { margin: 0; font-size: 14px; color: #C8200E; }

/* Ajustes para el markup de Contact Form 7. */
.contact-form--cf7 .wpcf7-form-control-wrap { display: flex; flex-direction: column; }
.contact-form--cf7 .wpcf7-not-valid-tip { font-size: 14px; font-weight: 700; color: #C8200E; padding-top: 4px; }
.contact-form--cf7 .cf-accept .wpcf7-form-control-wrap,
.contact-form--cf7 .cf-accept .wpcf7-list-item { display: block; margin: 0; }
.contact-form--cf7 .cf-accept label { display: flex; gap: 10px; align-items: flex-start; }
.contact-form--cf7 .cf-row-submit { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.contact-form--cf7 .cf-row-submit .cf-submit { width: 100%; margin: 0; }
.contact-form--cf7 .wpcf7-spinner { position: absolute; margin: 0; right: 16px; bottom: 16px; }
.contact-form--cf7 .cf-row-submit { position: relative; }
.contact-form--cf7 .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 12px 14px !important; border-radius: 6px; font-size: 15px; font-weight: 700; }
.contact-form--cf7 .wpcf7-turnstile:empty, .contact-form--cf7 .cf-turnstile:empty { display: none; }
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-side { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.wa-card { display: flex; align-items: center; gap: 16px; background: #0B2554; color: #FFFFFF; border-radius: 6px; padding: 22px 24px; text-decoration: none; }
.wa-card__icon { width: 52px; height: 52px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-card__text { display: flex; flex-direction: column; line-height: 1.25; }
.wa-card__title { font-weight: 800; font-size: 19px; }
.wa-card__sub { font-size: 16px; }
.info-box { background: #FFFFFF; border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.info-box__row { margin: 0; display: flex; gap: 12px; align-items: center; }
.info-box__row > svg { flex-shrink: 0; }
.info-box__row--top { align-items: flex-start; }
.info-box__row--top > svg { margin-top: 2px; }
.info-box__row a { color: #0B2554; font-weight: 800; text-decoration: none; }
.map-box { background: #FFFFFF; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.map-box__placeholder { height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #EEF3FA; border-bottom: 2px dashed #1F5FA6; color: #0B2554; font-size: 14px; font-weight: 800; text-align: center; padding: 16px; box-sizing: border-box; }
.map-box__link { display: flex; align-items: center; justify-content: center; min-height: 52px; color: #1F5FA6; font-weight: 800; text-decoration: none; }

/* ---------- Pie ---------- */
.footer-spacer { height: 56px; }
.site-footer { background: #0B2554; position: relative; z-index: 2; margin-top: -44px; color: #FFFFFF; border-bottom: 10px solid #C8200E; padding: 56px clamp(20px, 4cqi, 48px) 32px; }
.site-footer__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: space-between; }
.site-footer__brand { display: flex; align-items: center; gap: 20px; }
.site-footer__logo { background: #FFFFFF; border-radius: 6px; padding: 8px; display: flex; }
.site-footer__logo img { width: 96px; height: 96px; object-fit: contain; display: block; }
.site-footer__script { font-size: 40px; color: #F2C14E; }
.site-footer__info { display: flex; flex-wrap: wrap; gap: 20px 40px; font-size: 16px; }
.site-footer__info p { margin: 0; line-height: 1.5; }
.site-footer__info a { color: #FFFFFF; font-weight: 800; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.site-footer__bottom a { color: #FFFFFF; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #C8200E; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(11,37,84,0.35); }

/* ---------- Páginas de texto (legales, 404) — diseño propio con el sistema del Home ---------- */
.text-page { padding: clamp(48px, 6cqi, 96px) clamp(20px, 4cqi, 48px) 24px; }
.text-page__article { max-width: 760px; margin: 0 auto; background: #FFFDF7; border: 2px solid #0B2554; border-radius: 6px; padding: clamp(24px, 4cqi, 56px); box-shadow: inset 0 0 0 6px #FFFDF7, inset 0 0 0 7px rgba(11,37,84,0.35), 8px 8px 0 #DCE9F7; }
.text-page__title { margin: 0 0 24px; padding-bottom: 14px; border-bottom: 3px double #0B2554; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 3.4cqi, 46px); line-height: 1.05; }
.text-page__content { color: #1D3460; }
.text-page__content > :first-child { margin-top: 0; }
.text-page__content h2 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; color: #0B2554; margin: 36px 0 10px; line-height: 1.2; }
.text-page__content h3 { font-size: 18px; font-weight: 800; color: #0B2554; margin: 24px 0 8px; }
.text-page__content p, .text-page__content ul, .text-page__content ol { margin: 0 0 14px; }
.text-page__content a { color: #1F5FA6; font-weight: 700; }
.text-page__content strong { color: #0B2554; }
.text-page__content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.text-page__content th, .text-page__content td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #DCE3EE; }
.text-page__content th { font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #0B2554; background: #FFF8EC; }
@media (max-width: 640px) {
	.text-page__content table, .text-page__content tbody, .text-page__content tr, .text-page__content td { display: block; width: auto; }
	.text-page__content thead { display: none; }
	.text-page__content tr { border: 1.5px solid #C9D4E6; border-radius: 6px; margin-bottom: 12px; padding: 6px 0; background: #FFFFFF; }
	.text-page__content td { border: 0; padding: 4px 14px; }
	.text-page__content td::before { content: attr(data-label); display: block; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #C8200E; }
}

/* ---------- Aviso de cookies — diseño propio ---------- */
.consent { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); box-sizing: border-box; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; justify-content: space-between; background: #FFFDF7; color: #0B2554; border: 2px solid #0B2554; border-radius: 6px; padding: 18px 22px; box-shadow: 6px 6px 0 #0B2554; font-family: 'Nunito', system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent__text { margin: 0; flex: 1 1 320px; }
.consent__text a { color: #1F5FA6; font-weight: 800; }
.consent__actions { display: flex; gap: 10px; }
.consent__btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: #C8200E; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.consent__btn--ghost { background: transparent; color: #0B2554; box-shadow: inset 0 0 0 2px #0B2554; }
@media (max-width: 899.98px) { .consent { bottom: 88px; } }
