/* ==========================================================================
   Escuela Sulayr · Pie de página 2026
   CTA gigante, aurora, montañas, columnas dinámicas y wordmark a todo ancho.
   ========================================================================== */

/* Por si el pie antiguo (Theme Builder / Divi) volviera a activarse */
.sul-has-footer .et-l--footer,
.sul-has-footer #main-footer { display: none !important; }

.sulf {
	--f-c: #00b2e3; --f-c2: #0086c9; --f-or: #ff671d; --f-navy: #04202f;
	--f-ease: cubic-bezier(.22, 1, .36, 1);
	position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--f-navy);
	font-family: "Open Sans", system-ui, sans-serif; line-height: 1.5;
}
.sulf, .sulf * { box-sizing: border-box; }
.sulf p, .sulf ul, .sulf li, .sulf h2 { margin: 0; padding: 0; list-style: none; font-family: "Open Sans", system-ui, sans-serif; text-shadow: none; }
.sulf a { text-decoration: none; box-shadow: none; }
.sulf button { appearance: none; -webkit-appearance: none; border: 0; padding: 0; margin: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.sulf :focus-visible { outline: 2px solid #7fe3ff; outline-offset: 3px; border-radius: 10px; }
.sulf-ico { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- fondo ---------- */
.sulf__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sulf__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.sulf__blob--a { width: 58vw; height: 58vw; right: -18vw; top: -22vw; background: radial-gradient(circle, rgba(0, 178, 227, .85), transparent 65%); animation: sulfDrift 18s ease-in-out infinite alternate; }
.sulf__blob--b { width: 46vw; height: 46vw; left: -16vw; bottom: 8vw; background: radial-gradient(circle, rgba(255, 103, 29, .55), transparent 65%); animation: sulfDrift 22s ease-in-out -6s infinite alternate-reverse; }
@keyframes sulfDrift { to { transform: translate3d(4vw, 3vw, 0) scale(1.12); } }
.sulf__peaks { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(180px, 26vw, 360px); }
.sulf__peaks .p1 { fill: rgba(255, 255, 255, .05); }
.sulf__peaks .p2 { fill: rgba(255, 255, 255, .06); }

/* ---------- contenedor y aparición ---------- */
.sulf__in { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(70px, 9vw, 130px) 28px 0; }
.sulf__in--bar { padding-top: 0; padding-bottom: 0; }
.sulf.is-js [data-sulf] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--f-ease), transform 1.1s var(--f-ease); transition-delay: var(--d, 0s); }
.sulf.is-js [data-sulf].is-in { opacity: 1; transform: none; }

/* ---------- CTA ---------- */
.sulf__cta {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(26px, 4vw, 60px); align-items: center;
	padding: clamp(30px, 4.6vw, 70px); border-radius: clamp(32px, 4vw, 56px);
	background: linear-gradient(135deg, rgba(0, 178, 227, .3) 0%, rgba(255, 255, 255, .05) 52%, rgba(255, 103, 29, .26) 100%);
	border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8);
}
.sulf__cta-txt { min-width: 0; }
.sulf__cta::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); transform: skewX(-20deg); animation: sulfShine 7s ease-in-out infinite;
}
@keyframes sulfShine { 0%, 55% { left: -40%; } 100% { left: 140%; } }
.sulf .sulf__eyebrow {
	display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 999px; margin-bottom: 18px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26);
}
.sulf__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--f-or); box-shadow: 0 0 0 0 rgba(255, 103, 29, .7); animation: sulfPulse 2.2s infinite; }
@keyframes sulfPulse { 70% { box-shadow: 0 0 0 10px rgba(255, 103, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 103, 29, 0); } }
.sulf .sulf__big {
	font-size: clamp(44px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: 1; padding: 0 .12em .1em 0; color: #fff; white-space: nowrap;
	background: linear-gradient(100deg, #fff 0%, #bff3ff 45%, #ff9a63 105%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sulf .sulf__lead { margin-top: 14px; max-width: 34ch; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .84); }
.sulf__ctas { display: grid; gap: 14px; justify-items: stretch; min-width: min(100%, 320px); }
.sulf a.sulf-btn {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; height: 64px; padding: 0 12px 0 24px; border-radius: 999px;
	font-size: 17px; font-weight: 700; letter-spacing: .01em; line-height: 1; white-space: nowrap; color: #fff;
	transition: transform .45s var(--f-ease), box-shadow .45s, background .3s, color .3s;
}
.sulf a.sulf-btn:hover { transform: translateY(-3px); }
.sulf a.sulf-btn span { flex: 1; }
.sulf a.sulf-btn--main { background: linear-gradient(135deg, #25ccf7 0%, var(--f-c) 40%, var(--f-c2) 100%); box-shadow: 0 20px 36px -14px rgba(0, 134, 201, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.sulf a.sulf-btn--ghost { padding-right: 24px; font-size: 15px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.sulf a.sulf-btn--ghost:hover { background: #fff; color: var(--f-navy); }
.sulf-btn__go { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .24); transition: transform .5s var(--f-ease); font-style: normal; }
.sulf a.sulf-btn:hover .sulf-btn__go { transform: rotate(45deg); }

/* ---------- rejilla de columnas ---------- */
.sulf__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: clamp(28px, 3.4vw, 56px); padding: clamp(56px, 7vw, 100px) 0 0; }
.sulf__logo { display: inline-block; justify-self: start; width: max-content; max-width: 100%; padding: 12px 18px; border-radius: 22px; background: #fff; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .75); transition: transform .5s var(--f-ease); }
.sulf__logo:hover { transform: rotate(-2deg) scale(1.04); }
.sulf__logo img { display: block; width: 138px; height: auto; max-width: 100%; }
.sulf .sulf__about { margin-top: 22px; max-width: 34ch; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.sulf .sulf__rating { margin-top: 22px; display: inline-flex; }
.sulf .sulf__h { margin-bottom: 20px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #7fe3ff; }
.sulf__col li { margin-bottom: 4px; }
.sulf__col a, .sulf__col li > span {
	position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, .88);
	transition: color .25s, transform .45s var(--f-ease);
}
.sulf__col a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--f-c), var(--f-or)); transition: right .5s var(--f-ease); }
.sulf__col a:hover { color: #fff; transform: translateX(5px); }
.sulf__col a:hover::after { right: 0; }
.sulf__contact .sulf-ico { color: #7fe3ff; }
.sulf__contact a, .sulf__contact li > span { align-items: flex-start; }
.sulf__contact .sulf-ico { margin-top: 2px; }

/* ---------- wordmark ---------- */
.sulf .sulf__mark {
	--mx: 50%; position: relative; margin: clamp(46px, 6vw, 96px) 0 -.1em; padding: 0 .02em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
	font-size: 11.2vw; font-weight: 800; letter-spacing: -.055em; line-height: .86; text-transform: uppercase;
	color: transparent; -webkit-text-fill-color: transparent;
	background:
		radial-gradient(34vw circle at var(--mx) 24%, rgba(0, 178, 227, .95), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(160, 235, 255, .5) 42%, rgba(255, 255, 255, 0) 94%);
	-webkit-background-clip: text; background-clip: text;
}

/* ---------- barra inferior ---------- */
.sulf__bar {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
	padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 13.5px; color: rgba(255, 255, 255, .74);
}
.sulf__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sulf__bar a { color: rgba(255, 255, 255, .88); font-weight: 600; transition: color .25s; }
.sulf__bar a:hover { color: #7fe3ff; }
.sulf__top {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff;
	background: linear-gradient(135deg, var(--f-c), var(--f-c2)); box-shadow: 0 16px 28px -12px rgba(0, 134, 201, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
	transition: transform .45s var(--f-ease);
}
.sulf__top:hover { transform: translateY(-5px); }
.sulf__top .sulf-ico { width: 22px; height: 22px; stroke-width: 2.2; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.sulf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sulf__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px 28px; align-items: center; }
	.sulf .sulf__about, .sulf .sulf__rating { margin-top: 0; }
}
@media (max-width: 860px) {
	.sulf__cta { grid-template-columns: minmax(0, 1fr); }
	.sulf .sulf__big { font-size: clamp(44px, 11vw, 104px); }
	.sulf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sulf__brand { grid-template-columns: minmax(0, 1fr); justify-items: start; }
	.sulf__contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.sulf__in { padding-left: 20px; padding-right: 20px; }
	.sulf__cta { text-align: center; padding: 30px 22px; }
	.sulf .sulf__big { font-size: 12.4vw; padding-right: .1em; }
	.sulf .sulf__lead { margin-left: auto; margin-right: auto; }
	.sulf__grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: 40px; }
	.sulf__brand { justify-items: center; }
	.sulf .sulf__brand .sulf__logo { justify-self: center; margin-left: auto; margin-right: auto; }
	.sulf .sulf__about { margin-left: auto; margin-right: auto; }
	.sulf__col { width: 100%; }
	.sulf__col ul { display: flex; flex-direction: column; align-items: center; }
	.sulf__col a, .sulf__col li > span { justify-content: center; text-align: center; }
	.sulf__contact a, .sulf__contact li > span { align-items: center; }
	.sulf__contact .sulf-ico { margin-top: 0; }
	.sulf a.sulf-btn { height: 60px; font-size: 16px; }
	.sulf a.sulf-btn--ghost { font-size: 14px; }
	.sulf__bar { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
	.sulf__legal { justify-content: center; }
	.sulf__top { position: static; }
	.sulf .sulf__mark { font-size: 12.6vw; }
}
@media (prefers-reduced-motion: reduce) {
	.sulf *, .sulf *::before, .sulf *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.sulf.is-js [data-sulf] { opacity: 1; transform: none; }
}
