/*
 * Surftill100. Figma haXUVFi9kU0BGDNFZMfNXa. Colores 416596 y E7E1D6, Plus Jakarta Sans.
 * Pulido 2026-11-16 (bitácora D09): contenedor de 1240, escala más contenida, grano de papel, motion ambiental.
 * Dirección: revista de surf vintage. Papel crema con grano, azul de océano, olas dibujadas que respiran.
 */
:root {
	--st-azul: #416596;
	--st-azul-osc: #2f4c74;
	--st-azul-hondo: #233a5a;
	--st-crema: #e7e1d6;
	--st-crema-2: #efeae1;
	--st-gris: #5d5d5d;
	--st-tinta: #1d2735;
	--st-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	--st-max: 1240px;
	--st-pad: clamp(20px, 4vw, 48px);
	--st-sec: clamp(72px, 9vw, 128px);
	--st-ease: cubic-bezier(0.23, 1, 0.32, 1);
	--st-header: 96px;
	--st-r: 10px;
	--st-sombra: 0 24px 48px -24px rgb(35 58 90 / 0.45);
	--st-grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body { background: var(--st-azul); font-family: var(--st-font); color: var(--st-tinta); margin: 0; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; background-image: var(--st-grano); opacity: 0.06; mix-blend-mode: multiply; }
.elementor .e-con, .elementor .e-con-inner { padding: 0; gap: 0; --container-max-width: 100%; }
/* Texto seleccionado con los colores de la marca (el tema base usa un gris translúcido que se ensucia sobre azul y crema). */
::selection { background: var(--st-azul); color: var(--st-crema); }
:is(.st-hero, .st-banda, .st-marquesina, .st-banner, .st-card__link, .st-footer, .st-historia, .st-texto--azul, .st-drawer, .st-btn--azul) ::selection { background: var(--st-crema); color: var(--st-azul-hondo); }
a, button { -webkit-tap-highlight-color: transparent; }
.st-wrap { width: 100%; max-width: calc(var(--st-max) + 2 * var(--st-pad)); margin-inline: auto; padding-inline: var(--st-pad); box-sizing: border-box; position: relative; }
.st-num { font-variant-numeric: tabular-nums lining-nums; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--st-azul); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.st-skip:focus { top: 12px; }
#st-main { position: relative; top: calc(-1 * var(--st-header)); }
.st-ico { width: 1.05em; height: 1.05em; vertical-align: -0.15em; display: inline-block; flex: none; }
.st-ico--bandera { width: 1.2em; height: 0.8em; vertical-align: -0.05em; border-radius: 2px; }
.elementor a.st-btn, .elementor a.st-btn:hover { text-decoration: none; }
:where(.st-header, .st-drawer, .st-footer, .elementor, .st-post__head, .st-post__fin) a:focus-visible,
:where(.st-burger, .st-drawer__close):focus-visible { outline: 3px solid var(--st-azul); outline-offset: 4px; border-radius: 6px; }
:where(.st-footer, .st-drawer, .st-banda, .st-marquesina, .st-banner, .st-historia, .st-texto--azul) a:focus-visible,
.st-drawer__close:focus-visible { outline-color: var(--st-crema); }

/* ---------- Cabecera ---------- */
.st-header { position: sticky; top: 0; z-index: 50; height: var(--st-header); background: rgb(231 225 214 / 0.92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgb(65 101 150 / 0); transition: height 240ms var(--st-ease), border-color 240ms ease, box-shadow 240ms ease; }
.admin-bar .st-header { top: 32px; }
.st-header.is-scrolled { --st-header: 72px; border-bottom-color: rgb(65 101 150 / 0.12); box-shadow: 0 10px 30px -18px rgb(35 58 90 / 0.4); }
.st-header__row { height: 100%; display: flex; align-items: center; gap: 32px; }
.st-header__logo { display: block; width: 84px; height: 84px; flex: none; transition: width 240ms var(--st-ease), height 240ms var(--st-ease); }
.st-header.is-scrolled .st-header__logo { width: 62px; height: 62px; }
.st-header__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.st-nav { margin-inline: auto; }
.st-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(24px, 3.4vw, 52px); }
.st-nav__item { position: relative; }
.st-nav__link { position: relative; display: inline-block; padding: 10px 0; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; color: var(--st-azul); text-transform: uppercase; text-decoration: none; }
.st-nav__link.is-active { font-weight: 800; }
/* Subrayado en forma de ola: entra de izquierda a derecha */
.st-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3c3 0 3-2 6-2s3 2 6 2 3-2 6-2 3 2 6 2' fill='none' stroke='%23416596' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 6px; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--st-ease); }
.st-nav__link:hover::after, .st-nav__link.is-active::after, .st-nav__link:focus-visible::after { transform: scaleX(1); }
.st-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: -16px; top: calc(100% + 6px); min-width: 210px; background: var(--st-crema-2); border-radius: var(--st-r); box-shadow: var(--st-sombra); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 180ms var(--st-ease), transform 180ms var(--st-ease); }
.st-nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.st-nav__sub a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-azul); text-decoration: none; white-space: nowrap; transition: background-color 150ms ease; }
.st-nav__sub a .st-ico { transition: transform 200ms var(--st-ease); }
.st-nav__sub a:hover, .st-nav__sub a[aria-current] { background: rgb(65 101 150 / 0.1); }
.st-nav__sub a:hover .st-ico { transform: translateX(3px); }
.st-nav__item--sub:hover .st-nav__sub, .st-nav__item--sub:focus-within .st-nav__sub { opacity: 1; transform: none; pointer-events: auto; }
.st-header__cta { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--st-azul); color: var(--st-azul); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--st-ease); }
.st-header__cta:hover { background: var(--st-azul); color: #fff; }
.st-header__cta:active { transform: scale(0.97); }

.st-burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--st-azul); border-radius: 10px; cursor: pointer; padding: 0; }
.st-burger__lines { display: grid; gap: 6px; width: 26px; margin: 0 auto; }
.st-burger__lines span { height: 2.5px; background: currentColor; border-radius: 2px; }
.st-burger__lines span:nth-child(2) { width: 70%; justify-self: end; }
.st-burger:active { transform: scale(0.97); }
.st-drawer { position: fixed; inset: 0; z-index: 100; background: var(--st-azul); color: var(--st-crema); overflow: hidden; }
.st-drawer::after { content: ""; position: absolute; inset: 0; background-image: var(--st-grano); opacity: 0.08; pointer-events: none; }
.st-drawer[hidden] { display: none; }
.st-drawer__panel { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 16px 20px 32px; animation: st-fade 200ms var(--st-ease); box-sizing: border-box; }
.st-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.st-drawer__close { width: 48px; height: 48px; border: 0; background: transparent; color: var(--st-crema); cursor: pointer; border-radius: 10px; }
.st-drawer__close svg { width: 26px; height: 26px; }
.st-drawer__menu { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.st-drawer__menu li { animation: st-in 360ms var(--st-ease) both; animation-delay: calc(var(--i, 0) * 50ms + 60ms); }
.st-drawer__menu a { color: var(--st-crema); text-decoration: none; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.st-drawer__menu a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.st-drawer__menu a.st-drawer__sub { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: 0; margin-top: 10px; opacity: 0.85; }
.st-drawer__mail { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--st-crema); font-size: 16px; font-weight: 600; text-decoration: none; }
.st-drawer__olas { position: absolute; right: -40px; bottom: 90px; width: 200px; opacity: 0.25; }
html.st-sin-scroll { overflow: hidden; }

/* ---------- Botones ---------- */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; border-radius: var(--st-r); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; text-decoration: none; transition: transform 180ms var(--st-ease), background-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.st-btn .st-ico { width: 18px; height: 18px; transition: transform 220ms var(--st-ease); }
.st-btn:hover { transform: translateY(-2px); box-shadow: var(--st-sombra); }
.st-btn:hover .st-ico { transform: translateX(4px); }
.st-btn:active { transform: scale(0.97); }
.st-btn--azul { background: var(--st-azul); color: #fff; }
.st-btn--azul:hover { background: var(--st-azul-osc); color: #fff; }
.st-btn--crema { background: var(--st-crema); color: var(--st-azul); }
.st-btn--crema:hover { background: #fff; color: var(--st-azul); }

.st-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--st-gris); }
.st-kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: 0.6; }
.st-kicker--blanco { color: var(--st-crema); }
.st-olas { position: absolute; width: clamp(110px, 13vw, 190px); height: auto; pointer-events: none; animation: st-respira 7s ease-in-out infinite alternate; }
.st-flechas { display: block; margin: 0 auto; width: 40px; height: auto; animation: st-flota 2.6s ease-in-out infinite; opacity: 0.9; }

/* ---------- Hero ---------- */
.st-hero { position: relative; isolation: isolate; min-height: clamp(560px, 86vh, 780px); overflow: hidden; color: var(--st-crema); display: flex; }
.st-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: st-kenburns 22s ease-out both; }
.st-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 25 40 / 0.35) 0%, rgb(15 25 40 / 0.28) 45%, rgb(15 25 40 / 0.62) 100%); }
.st-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--st-grano); opacity: 0.12; mix-blend-mode: overlay; }
.st-hero__inner { display: flex; flex-direction: column; }
.st-hero__title { margin: 0; font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; line-height: 0.95; letter-spacing: -0.055em; color: var(--st-crema); text-wrap: balance; text-shadow: 0 2px 40px rgb(15 25 40 / 0.35); }
.st-hero--centro .st-hero__inner { align-items: center; justify-content: center; text-align: center; padding-block: 72px 112px; }
.st-hero--centro .st-hero__logo { width: clamp(130px, 13vw, 184px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 24px rgb(15 25 40 / 0.4)); }
.st-hero--izquierda .st-hero__inner { justify-content: flex-end; padding-block: 120px clamp(64px, 9vh, 104px); }
.st-hero--izquierda .st-hero__title { max-width: 720px; }
.st-hero--izquierda .st-hero__bg { object-position: 30% 20%; }
.st-hero__bg { will-change: translate; }
.st-hero__sub { margin: 26px 0 0; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-crema); max-width: 720px; line-height: 1.6; }
.st-hero__firma { display: block; width: clamp(220px, 24vw, 340px); height: auto; margin-top: 12px; opacity: 0.95; }
.st-hero__olas { right: 0; top: 34%; width: clamp(160px, 26vw, 380px); }
.st-hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 40px; margin-left: -13px; border: 1.5px solid rgb(231 225 214 / 0.7); border-radius: 14px; }
.st-hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--st-crema); animation: st-rueda 1.8s var(--st-ease) infinite; }

/* ---------- Banda ---------- */
.st-banda { position: relative; background: var(--st-azul); padding-block: clamp(64px, 7vw, 96px); overflow: hidden; }
.st-banda__grid { display: grid; grid-template-columns: 190px minmax(0, 860px); justify-content: center; align-items: center; gap: clamp(32px, 6vw, 88px); }
.st-banda__olas { position: static; width: 100%; }
.st-banda__text { margin: 0; font-size: clamp(21px, 2.1vw, 30px); line-height: 1.32; font-weight: 700; letter-spacing: -0.01em; color: #fff; text-wrap: pretty; }

/* ---------- Fundador ---------- */
.st-fundador { position: relative; background: var(--st-crema); padding-block: var(--st-sec); overflow: hidden; }
.st-fundador__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 520px); justify-content: space-between; align-items: center; gap: 64px; }
.st-fundador__foto { position: relative; aspect-ratio: 1; }
.st-fundador__foto img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; mix-blend-mode: luminosity; transition: transform 600ms var(--st-ease); }
.st-fundador__foto:hover img { transform: scale(1.02); }
.st-fundador__aro { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); animation: st-gira 60s linear infinite; }
.st-fundador__aro circle { fill: none; stroke: var(--st-azul); stroke-width: 0.35; stroke-dasharray: 1.2 2.4; opacity: 0.55; }
.st-fundador__nombre { margin: 0 0 14px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: 0.02em; color: var(--st-gris); text-transform: uppercase; line-height: 1.1; }
.st-fundador__titulo { margin: 0 0 36px; max-width: 500px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.04; font-weight: 800; color: var(--st-azul); letter-spacing: -0.03em; text-wrap: balance; }
.st-fundador__olas { right: 0; bottom: 64px; }

/* ---------- Marquesina ---------- */
.st-marquesina { position: relative; background: var(--st-azul); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.st-marquesina__track { overflow: hidden; border-block: 1px solid rgb(231 225 214 / 0.18); padding-block: 6px; }
.st-marquesina__move { display: flex; width: max-content; animation: st-marquesina 34s linear infinite; }
.st-marquesina__move span { display: inline-flex; align-items: center; font-size: clamp(64px, 9.4vw, 140px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.15; white-space: nowrap; letter-spacing: -0.02em; }
.st-marquesina__move span::after { content: ""; display: inline-block; width: 0.28em; height: 0.28em; margin-inline: 0.45em; border-radius: 50%; background: var(--st-crema); opacity: 0.85; }
.st-marquesina__move span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.75); }
.st-marquesina:hover .st-marquesina__move { animation-play-state: paused; }
.st-marquesina__sub { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 860px; font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; color: var(--st-crema); text-align: center; text-wrap: balance; }

/* ---------- Banner ---------- */
.st-banner { position: relative; background: var(--st-azul); padding-top: clamp(40px, 5vw, 64px); overflow: hidden; }
.st-banner__img { position: relative; aspect-ratio: 1240 / 560; overflow: hidden; border-radius: var(--st-r); box-shadow: 0 40px 80px -40px rgb(15 25 40 / 0.6); }
.st-banner__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--st-ease); }
.st-banner__img:hover img { transform: scale(1.025); }
.st-banner__cta { display: flex; justify-content: center; padding-block: 48px var(--st-sec); }
.st-banner__olas { left: 0; bottom: 96px; }

/* ---------- Blog ---------- */
.st-blog { position: relative; background: var(--st-crema); padding-block: var(--st-sec); }
.st-blog__head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.st-blog__head .st-kicker::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: 0.6; }
.st-blog__title { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--st-azul); text-wrap: balance; }
.st-blog__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.st-blog__vacio { text-align: center; color: var(--st-azul); font-size: 18px; }
.st-card__link { display: flex; flex-direction: column; height: 100%; background: var(--st-azul); color: #fff; text-decoration: none; border-radius: var(--st-r); overflow: hidden; transition: transform 260ms var(--st-ease), box-shadow 260ms var(--st-ease); }
.st-card__link:hover { transform: translateY(-6px); box-shadow: var(--st-sombra); }
.st-card__img { position: relative; display: block; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--st-azul-hondo); }
.st-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.15); transition: transform 600ms var(--st-ease), filter 400ms ease; }
.st-card__link:hover .st-card__img img { transform: scale(1.05); filter: none; }
.st-card__fecha { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--st-tinta); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.st-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.st-card__meta { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.72); }
.st-card__title { display: block; margin-top: 10px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.st-card__mas { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-crema); }
.st-card__mas .st-ico { transition: transform 220ms var(--st-ease); }
.st-card__link:hover .st-card__mas .st-ico { transform: translateX(4px); }

/* ---------- Pie ---------- */
.st-footer { position: relative; overflow: hidden; background: var(--st-azul-hondo); color: #fff; padding-block: clamp(64px, 7vw, 96px) 28px; }
.st-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgb(65 101 150 / 0.9), transparent 60%); pointer-events: none; }
.st-footer .st-wrap { position: relative; }
.st-footer__olas { position: absolute; left: -40px; bottom: 70px; width: 220px; opacity: 0.14; animation: st-respira 8s ease-in-out infinite alternate; }
.st-footer__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 5vw, 72px); }
.st-footer__logo { width: clamp(110px, 12vw, 168px); }
.st-footer__logo img { width: 100%; height: auto; display: block; }
.st-footer__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(231 225 214 / 0.75); }
.st-footer__mail { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: clamp(24px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.st-footer__mail .st-ico { width: 0.8em; height: 0.8em; opacity: 0.7; transition: transform 220ms var(--st-ease), opacity 200ms ease; }
.st-footer__mail:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.st-footer__mail:hover .st-ico { transform: translate(3px, -3px); opacity: 1; }
.st-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-footer__nav a { color: var(--st-crema); text-decoration: none; font-size: 16px; font-weight: 600; transition: color 150ms ease; }
.st-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.st-redes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px; }
.st-redes a { display: block; width: 44px; height: 44px; border-radius: 50%; transition: transform 160ms var(--st-ease); }
.st-redes a:hover { transform: translateY(-2px); }
.st-redes img { width: 100%; height: 100%; display: block; }
.st-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgb(231 225 214 / 0.16); font-size: 14px; color: rgb(231 225 214 / 0.75); }
.st-footer__bar p { margin: 0; }
.st-footer__lema { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 700; }

/* ---------- Historia ---------- */
.st-historia { position: relative; background: var(--st-azul); padding-block: var(--st-sec); overflow: hidden; }
.st-historia__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.st-historia__title { margin: 0 0 22px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--st-crema); text-wrap: balance; }
.st-historia__text { font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; line-height: 1.6; color: rgb(255 255 255 / 0.92); max-width: 560px; text-wrap: pretty; }
.st-historia__text p { margin: 0 0 18px; }
.st-historia__fotos { position: relative; min-height: 560px; }
.st-historia__foto { position: absolute; margin: 0; overflow: hidden; background: #fff; border-radius: var(--st-r); box-shadow: 0 40px 70px -36px rgb(15 25 40 / 0.7); transition: transform 500ms var(--st-ease); }
.st-historia__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-historia__foto:first-child { left: 0; top: 0; width: 64%; aspect-ratio: 473 / 597; z-index: 2; }
.st-historia__foto:last-child { right: 0; bottom: 0; width: 52%; aspect-ratio: 473 / 597; transform: rotate(3deg); }
.st-historia__foto:last-child img { object-position: left center; filter: sepia(0.2); }
.st-historia__fotos:hover .st-historia__foto:last-child { transform: rotate(5deg) translateX(10px); }

/* ---------- Saludo ---------- */
.st-saludo { position: relative; background: var(--st-crema); padding-block: var(--st-sec) 56px; text-align: center; }
.st-saludo__head { position: relative; max-width: 987px; margin: 0 auto 40px; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 40px; }
.st-saludo__olas { position: static; width: 100%; }
.st-saludo__title { margin: 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--st-azul); text-align: right; text-wrap: balance; }
.st-tarjeta { position: relative; max-width: 987px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #fff; aspect-ratio: 987 / 499; box-shadow: 0 50px 90px -50px rgb(35 58 90 / 0.55); }
.st-tarjeta__foto { position: absolute; top: 0; left: -3.1%; width: 107.66%; height: 100%; object-fit: fill; display: block; max-width: none; }
.st-tarjeta__info { position: absolute; left: 3.75%; top: 10.4%; display: flex; align-items: center; gap: 36px; text-align: left; }
.st-tarjeta__sello { width: clamp(150px, 19vw, 260px); height: auto; display: block; }
.st-tarjeta__dato { margin: 0; font-size: clamp(13px, 1.3vw, 18px); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--st-azul); line-height: 1.3; }
.st-saludo__text { max-width: 820px; margin: 56px auto 0; font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; line-height: 1.55; color: var(--st-azul); }
.st-saludo__text p { margin: 0 0 20px; }
.st-saludo__text strong { font-weight: 700; }
.st-saludo__remate { margin: 8px 0 48px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--st-azul); line-height: 1.1; }

/* ---------- Bloque de texto ---------- */
.st-texto { position: relative; padding-block: clamp(64px, 7vw, 104px); text-align: center; overflow: hidden; }
.st-texto--azul { background: var(--st-azul); color: var(--st-crema); }
.st-texto--crema { background: var(--st-crema); color: var(--st-azul); }
.st-texto--partido { background: linear-gradient(var(--st-azul) 0 240px, var(--st-crema) 240px); color: var(--st-azul); padding-top: 0; }
.st-texto__img { width: 320px; max-width: 64%; margin: 0 auto 36px; filter: drop-shadow(0 34px 34px rgb(15 25 40 / 0.28)); animation: st-flota-suave 6s ease-in-out infinite; }
.st-texto__img img { width: 100%; height: auto; display: block; }
.st-texto__inner { max-width: calc(860px + 2 * var(--st-pad)); }
.st-texto__title { margin: 0 0 22px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.st-texto--partido .st-texto__title { font-size: clamp(44px, 5vw, 72px); margin-bottom: 14px; }
.st-texto__logo { display: block; margin: 0 auto 44px; width: 170px; height: auto; }
.st-texto__body { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; font-weight: 400; }
.st-texto__body p { margin: 0 0 20px; }
.st-texto__body strong { font-weight: 700; }
.st-texto__body .st-grande { display: inline-block; margin-block: 14px 4px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.st-texto__body .st-medio { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: rgb(231 225 214 / 0.12); border: 1px solid rgb(231 225 214 / 0.3); font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; }
.st-texto__body ol { counter-reset: paso; list-style: none; text-align: left; max-width: 760px; margin: 28px auto; padding: 0; display: grid; gap: 14px; }
.st-texto__body ol li { counter-increment: paso; position: relative; padding: 20px 22px 20px 74px; border-radius: var(--st-r); background: rgb(231 225 214 / 0.08); border: 1px solid rgb(231 225 214 / 0.18); line-height: 1.5; }
.st-texto__body ol li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 22px; top: 18px; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--st-crema); opacity: 0.8; }
.st-texto .st-flechas { margin-top: 36px; }
.st-texto .st-btn { margin-top: 20px; }
.st-texto__olas--izq { left: 0; top: 18%; }
.st-texto__olas--der { right: 0; top: 52%; }

/* ---------- Entrada del blog ---------- */
.single-post .site-main { max-width: none; margin: 0; padding: 0 0 var(--st-sec); background: var(--st-crema); }
.single-post .page-content { max-width: calc(760px + 2 * var(--st-pad)); margin: 0 auto; padding: 56px var(--st-pad) 0; box-sizing: border-box; }
.st-post__head { margin-bottom: 32px; }
.st-post__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--st-azul); font-size: 14px; font-weight: 700; text-decoration: none; }
.st-post__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.st-post__title { margin: 0; font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--st-azul); text-wrap: balance; }
.st-post__img { margin: 0 0 40px; border-radius: var(--st-r); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--st-sombra); }
.st-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-post__body { font-size: 19px; line-height: 1.7; color: var(--st-tinta); }
.st-post__body p { margin: 0 0 22px; }
.st-post__body h2 { margin: 40px 0 14px; font-size: 26px; font-weight: 800; color: var(--st-azul); letter-spacing: -0.02em; }
.st-post__fin { margin-top: 48px; }

/* Elementor fuerza height:auto y max-width:100% en img dentro de widgets (trampa de CONPERU D20). */
.elementor :is(.st-hero__bg, .st-banner__img img, .st-card__img img, .st-historia__foto img, .st-fundador__foto img) { height: 100%; }
.elementor .st-tarjeta__foto { height: 100%; max-width: none; }

/* ---------- Motion ---------- */
@keyframes st-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes st-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes st-marquesina { to { transform: translateX(-50%); } }
@keyframes st-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes st-flota-suave { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes st-respira { from { transform: translateX(-8px); } to { transform: translateX(8px); } }
@keyframes st-gira { to { transform: rotate(360deg); } }
@keyframes st-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes st-rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.st-js .st-in { animation: st-in 560ms var(--st-ease) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.st-js .st-reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--st-ease), transform 700ms var(--st-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.st-js .st-reveal.is-in { opacity: 1; transform: none; }
.elementor-editor-active .st-reveal { opacity: 1 !important; transform: none !important; }
/* El tema base pinta todo enlace con :hover de gris oscuro (themes/avanc3/style.css). Aquí cada enlace del sitio
   conserva su color al pasar el mouse, al tener foco y al hacer clic (bitácora D14). */
:is(.st-nav__link, .st-nav__sub a, .st-post__back):is(:hover, :focus, :active) { color: var(--st-azul); }
:is(.st-card__link, .st-footer__mail, .st-footer__logo, .st-redes a, .st-skip):is(:hover, :focus, :active) { color: #fff; }
:is(.st-drawer__menu a, .st-drawer__sub, .st-drawer__mail):is(:hover, :focus, :active) { color: var(--st-crema); }
.st-footer__nav a:is(:focus, :active) { color: #fff; }
.st-header__cta:is(:focus, :active) { color: var(--st-azul); }
.st-header__cta:hover { color: #fff; }
.st-btn--azul:is(:hover, :focus, :active) { color: #fff; }
.st-btn--crema:is(:hover, :focus, :active) { color: var(--st-azul); }
:is(.st-texto, .st-post__body, .st-historia, .st-saludo, .st-fundador, .st-banda) a:not(.st-btn):is(:hover, :focus, :active) { color: inherit; }

@media (prefers-reduced-motion: reduce) {
	.st-js .st-in, .st-js .st-reveal { animation: none; opacity: 1; transform: none; transition: none; }
	.st-marquesina__move, .st-flechas, .st-olas, .st-footer__olas, .st-hero__bg, .st-fundador__aro, .st-texto__img, .st-hero__scroll::after, .st-drawer__menu li { animation: none; }
	.st-card__img img, .st-banner__img img, .st-card__link, .st-btn { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.st-header__cta { display: none; }
	.st-fundador__grid { gap: 48px; }
	.st-historia__fotos { min-height: 480px; }
	.st-blog__grid { gap: 18px; }
	.st-card__body { padding: 18px; }
	.st-card__title { font-size: 18px; }
}
@media (max-width: 900px) {
	:root { --st-header: 80px; }
	.st-header.is-scrolled { --st-header: 68px; }
	.st-header__logo { width: 64px; height: 64px; }
	.st-header.is-scrolled .st-header__logo { width: 54px; height: 54px; }
	.st-nav { display: none; }
	.st-burger { display: block; }
	.st-banda__grid { grid-template-columns: 1fr; gap: 28px; }
	.st-banda__olas { width: 150px; }
	.st-fundador__grid { grid-template-columns: 1fr; justify-items: start; }
	.st-fundador__foto { width: min(420px, 80%); justify-self: center; }
	.st-fundador__olas { bottom: 32px; }
	.st-historia__grid { grid-template-columns: 1fr; }
	.st-historia__text { max-width: none; }
	.st-historia__fotos { min-height: 0; aspect-ratio: 1 / 0.9; max-width: 560px; width: 100%; justify-self: center; }
	.st-blog__grid { grid-template-columns: 1fr 1fr; }
	.st-blog__grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.st-blog__grid li:last-child:nth-child(odd) .st-card__link { flex-direction: row; }
	.st-blog__grid li:last-child:nth-child(odd) .st-card__img { width: 50%; aspect-ratio: auto; }
	.st-footer__row { grid-template-columns: auto 1fr; }
	.st-footer__nav { grid-column: 1 / -1; }
	.st-footer__nav ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
	.st-saludo__head { grid-template-columns: 140px 1fr; gap: 24px; }
	.st-tarjeta__info { gap: 16px; }
}

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
	.st-hero { min-height: 600px; }
	.st-hero__title { letter-spacing: -0.045em; line-height: 0.98; }
	.st-hero--izquierda .st-hero__inner { padding-bottom: 56px; }
	.st-hero__sub { font-size: 12px; letter-spacing: 0.1em; margin-top: 18px; }
	.st-hero__olas { top: 110px; right: -30px; width: 170px; opacity: 0.85; }
	.st-hero__scroll { display: none; }
	.st-banda__olas { width: 120px; }
	.st-fundador__foto { width: 86%; }
	.st-fundador__olas { width: 110px; bottom: 24px; }
	.st-btn { padding: 16px 24px; font-size: 13px; }
	.st-banner__img { aspect-ratio: 4 / 3; }
	.st-banner__olas { width: 110px; bottom: 40px; }
	.st-blog__grid { grid-template-columns: 1fr; }
	.st-blog__grid li:last-child:nth-child(odd) .st-card__link { flex-direction: column; }
	.st-blog__grid li:last-child:nth-child(odd) .st-card__img { width: auto; aspect-ratio: 4 / 3.1; }
	.st-footer__row { grid-template-columns: 1fr; }
	.st-footer__logo { width: 104px; }
	.st-footer__bar { flex-direction: column; }
	.st-historia__text { font-size: 17px; }
	.st-saludo__head { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
	.st-saludo__olas { width: 140px; }
	.st-saludo__title { text-align: center; }
	.st-tarjeta { aspect-ratio: 675 / 360; border-radius: 14px; }
	.st-tarjeta__info { left: 10px; top: 7%; gap: 8px; }
	.st-tarjeta__sello { width: 104px; }
	.st-tarjeta__dato { font-size: 9.5px; }
	.st-texto--partido { background: linear-gradient(var(--st-azul) 0 150px, var(--st-crema) 150px); }
	.st-texto__img { width: 210px; }
	.st-texto__olas { display: none; }
	.st-texto__body ol li { padding: 18px 18px 18px 60px; }
	.st-texto__body ol li::before { left: 18px; font-size: 19px; }
}
