/* DEV-1138 · Landing de Ale Rubio (about_alerubio.php). Medidas del Figma «Landing»,
   página «Landing Ale Rubio (DEV-1138)»: escritorio 1440 y celular 390. */
@font-face {
  font-family: 'Arupala Grotesk';
  src: url('../../masterclass/assets/fonts/ArupalaGrotes/ArupalaGroteskW05-SuperBold.woff2') format('woff2'),
       url('../../masterclass/assets/fonts/ArupalaGrotes/ArupalaGroteskW05-SuperBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.ale {
  --ale-ink: #1a1a2e;
  --ale-coral: #ff7356;
  --ale-amarillo: #eee788;
  --ale-gris: #6c757d;
  color: var(--ale-ink);
  background: #fff;
}
.ale-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.ale p { margin: 0; }

/* El menú de la landing es fijo: el hero le deja su espacio */
.ale--landing .ale-hero { padding-top: calc(var(--landing-navbar-height, 56px) + 12px + 72px); }
#fby-navbar-wrapper a[href="about_alerubio.php"].nav-link { color: #ff7356; }

/* Tipografía */
.ale-h1 {
  font-family: 'Arupala Grotesk', 'Liebling', sans-serif;
  font-weight: 700; font-size: 80px; line-height: .95; margin: 0; letter-spacing: 0;
}
.ale-h1 span, .ale-h2 span { color: var(--ale-coral); }
.ale-h2 { font-weight: 700; font-size: 38px; line-height: 1.15; margin: 0; }
.ale-h2 span { display: block; }
.ale-h2--arupala { font-family: 'Arupala Grotesk', 'Liebling', sans-serif; font-size: 52px; line-height: 1; }
.ale-eyebrow { display: block; font-weight: 500; font-size: 15.2px; line-height: 1; color: var(--ale-coral); }
.ale-eyebrow--amarillo { color: var(--ale-amarillo); }
.ale-p { font-size: 16.8px; line-height: 1.5; color: var(--ale-gris); }
.ale-p--oscuro { color: #4a4a55; }
.ale-p--fuerte { color: var(--ale-ink); font-weight: 500; }

.ale-btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  border: 0; border-radius: 24px; padding: 9px 24px; font-size: 18px; line-height: 24px;
  background: var(--ale-coral); color: #fff; text-decoration: none; cursor: pointer;
  transition: opacity .15s ease;
}
.ale-btn:hover { opacity: .88; color: #fff; }
.ale-btn--borde { background: #fff; color: var(--ale-coral); border: 1px solid var(--ale-coral); font-weight: 700; font-size: 16px; }
.ale-btn--borde:hover { color: var(--ale-coral); }

/* 01 · Hero */
.ale-hero { background: #faf8f3; padding: 72px 0 120px; }
.ale-hero__grid { display: flex; align-items: center; gap: 72px; }
.ale-hero__texto { flex: 0 1 508px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.ale-pill { background: var(--ale-ink); color: var(--ale-amarillo); font-weight: 700; font-size: 18px; line-height: 18px; padding: 6px 14px; border-radius: 20px; }
.ale-hero__sub { font-weight: 500; font-size: 24px; line-height: 1.4; }
.ale-hero__p { font-size: 19px; }
.ale-cita { margin: 0; align-self: stretch; background: var(--ale-amarillo); border-radius: 24px; padding: 24px 28px; }
.ale-cita p { font-weight: 700; font-size: 22px; line-height: 1.35; }
.ale-cita footer { margin-top: 10px; font-weight: 500; font-size: 16px; line-height: 1; color: rgba(26, 26, 46, .7); }
.ale-hero__foto { position: relative; flex: 0 0 520px; height: 660px; }
.ale-hero__foto img { position: absolute; right: 0; top: 0; width: 460px; height: 640px; object-fit: cover; border-radius: 36px; }
.ale-dato { position: absolute; background: #fff; border-radius: 20px; padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, .10); }
.ale-dato strong { font-weight: 700; font-size: 26px; line-height: 1; }
.ale-dato span { font-size: 14px; line-height: 1; color: var(--ale-gris); white-space: nowrap; }
.ale-dato--a { left: 0; top: 430px; }
.ale-dato--b { right: 10px; top: 560px; }

/* 02 · Mi historia */
.ale-historia { padding: 120px 0; }
.ale-historia__grid { display: flex; align-items: center; gap: 80px; }
.ale-historia__foto { flex: 0 0 460px; width: 460px; height: 640px; object-fit: cover; border-radius: 36px; }
.ale-historia__texto { flex: 1; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ale-destacada { font-weight: 700; font-size: 28px; line-height: 1.25; border-left: 4px solid var(--ale-coral); padding: 6px 0 6px 24px; }

/* Secciones con tarjeta */
.ale-sec { padding: 0 0 120px; }
.ale-sec--ultima { padding-bottom: 24px; }
.ale-card { border-radius: 40px; display: flex; align-items: center; }

/* 03 · Por qué nació FIT by You */
.ale-proposito { background: #ebe9dc; gap: 64px; padding: 72px; }
.ale-proposito__texto { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ale-proposito__sub { font-weight: 500; font-size: 21px; line-height: 1.4; }
.ale-proposito__foto { position: relative; flex: 0 0 440px; height: 600px; }
.ale-proposito__foto img { position: absolute; right: 0; top: 0; width: 360px; height: 600px; object-fit: cover; border-radius: 32px; }
.ale-checks { position: absolute; left: 0; top: 20px; width: 224px; background: #fff; border-radius: 22.4px; padding: 24px 22.4px; box-shadow: 0 6.4px 19.2px rgba(0, 0, 0, .10); }
.ale-checks h3 { font-weight: 700; font-size: 24px; line-height: 1.1; margin: 0 0 14.4px; }
.ale-checks h3 span { display: block; color: var(--ale-coral); }
.ale-checks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14.4px; }
.ale-checks li { position: relative; min-height: 22px; padding-left: 32px; font-weight: 500; font-size: 13.6px; line-height: 1.05; display: flex; align-items: center; }
.ale-checks li::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--ale-amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.2l3.4 3.4 6-6.6' fill='none' stroke='%231a1a2e' stroke-width='1.92' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* 04 · TEDx */
.ale-tedx { background: var(--ale-ink); gap: 56px; padding: 56px; color: #fff; }
.ale-tedx__video { flex: 0 0 560px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; }
.ale-tedx__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ale-tedx__play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.ale-tedx__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ale-tedx__icono { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .92); transition: transform .15s ease; }
.ale-tedx__icono::after { content: ''; position: absolute; left: 29px; top: 24px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--ale-coral); }
.ale-tedx__play:hover .ale-tedx__icono { transform: scale(1.06); }
.ale-tedx__texto { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ale-tedx .ale-h2 { font-size: 40px; color: #fff; }
.ale-tedx .ale-p { color: rgba(255, 255, 255, .75); }

/* 05 · En los medios */
.ale-medios__titulo { font-size: 40px; margin: 10px 0 40px; }
.ale-notas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ale-nota { display: flex; flex-direction: column; gap: 14px; background: #f4f4f4; border-radius: 28px; padding: 14px 14px 22px; color: var(--ale-ink); text-decoration: none; transition: transform .15s ease; }
.ale-nota:hover { color: var(--ale-ink); transform: translateY(-3px); }
.ale-nota img { width: 100%; aspect-ratio: 323 / 190; object-fit: cover; border-radius: 18px; }
.ale-nota__texto { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 4px 8px 0; }
.ale-nota__medio { font-weight: 700; font-size: 13px; line-height: 1; color: var(--ale-coral); text-transform: uppercase; }
.ale-nota h3 { font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0; flex: 1; }
.ale-nota__leer { font-weight: 700; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; gap: 6px; }

/* 06 · Instagram */
.ale-ig { background: #fff1ec; gap: 48px; padding: 56px; }
.ale-ig__texto { flex: 0 0 300px; display: flex; flex-direction: column; gap: 18px; }
.ale-ig .ale-h2 { font-size: 40px; }
.ale-ig__posts { flex: 1; display: flex; gap: 16px; min-width: 0; }
.ale-post { position: relative; flex: 1 1 0; aspect-ratio: 202 / 266; border-radius: 20px; overflow: hidden; display: block; transition: transform .15s ease; }
.ale-post:hover { transform: translateY(-3px); }
.ale-post img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ale-post span { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92); color: var(--ale-ink); font-weight: 700; font-size: 12px; line-height: 12px; padding: 4px 10px; border-radius: 12px; }

/* Laptop chica */
@media (min-width: 992px) and (max-width: 1099.98px) {
  .ale-hero__grid, .ale-historia__grid { gap: 40px; }
  .ale-h1 { font-size: 64px; }
  .ale-hero__foto { flex-basis: 400px; height: 560px; }
  .ale-hero__foto img { width: 360px; height: 540px; }
  .ale-dato--a { top: 350px; }
  .ale-dato--b { top: 470px; }
  .ale-historia__foto { flex-basis: 360px; width: 360px; height: 520px; }
  .ale-proposito { gap: 40px; padding: 48px; }
  .ale-proposito__foto { flex-basis: 360px; height: 520px; }
  .ale-proposito__foto img { width: 290px; height: 520px; }
  .ale-h2--arupala { font-size: 42px; }
  .ale-tedx { gap: 40px; padding: 40px; }
  .ale-tedx__video { flex-basis: 46%; }
  .ale-tedx .ale-h2 { font-size: 32px; }
  .ale-ig { gap: 32px; padding: 40px; }
  .ale-ig__texto { flex-basis: 250px; }
}

/* Celular (Figma 390) y tablet vertical: una sola columna */
@media (max-width: 991.98px) {
  .ale-hero { padding: 32px 0 64px; }
  .ale--landing .ale-hero { padding-top: calc(var(--landing-navbar-height, 56px) + 12px + 32px); }
  .ale-hero__grid { flex-direction: column; align-items: stretch; gap: 40px; }
  .ale-hero__texto { flex: none; gap: 24px; }
  .ale-pill { font-size: 16px; }
  .ale-h1 { font-size: 50px; }
  .ale-hero__sub { font-size: 19px; }
  .ale-hero__p { font-size: 15px; }
  .ale-cita p { font-size: 18px; }
  .ale-cita footer { font-size: 14px; }
  .ale-hero__foto { flex: none; height: auto; width: 100%; max-width: 420px; margin: 0 auto; padding: 0 0 30px 40px; }
  .ale-hero__foto img { position: static; width: 100%; height: auto; aspect-ratio: 310 / 440; border-radius: 32px; display: block; }
  .ale-dato { padding: 12px 20px; }
  .ale-dato strong { font-size: 24px; }
  .ale-dato span { font-size: 13px; }
  .ale-dato--a { left: 0; top: 57%; }
  .ale-dato--b { right: 0; top: auto; bottom: 0; }

  .ale-historia { padding: 64px 0; }
  .ale-historia__grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .ale-historia__foto { flex: none; width: 100%; max-width: 520px; margin: 0 auto; height: auto; aspect-ratio: 350 / 440; border-radius: 32px; }
  .ale-historia__texto { gap: 20px; }
  .ale-h2 { font-size: 28px; }
  .ale-p { font-size: 15px; }
  .ale-destacada { font-size: 21px; }

  .ale-sec { padding-bottom: 64px; }
  .ale-sec--ultima { padding-bottom: 8px; }
  .ale-card { flex-direction: column; align-items: stretch; border-radius: 32px; }
  .ale-proposito { gap: 36px; padding: 40px 24px; }
  .ale-h2--arupala { font-size: 33px; }
  .ale-proposito__sub { font-size: 18px; }
  .ale-proposito__foto { flex: none; width: 100%; max-width: 420px; margin: 0 auto; height: auto; padding: 0 0 20px 40px; }
  .ale-proposito__foto img { position: static; width: 100%; height: auto; aspect-ratio: 262 / 420; display: block; }
  .ale-checks { top: auto; bottom: 0; width: 232px; }

  .ale-tedx { gap: 28px; padding: 24px 24px 28px; }
  .ale-tedx__video { flex: none; border-radius: 20px; }
  .ale-tedx .ale-h2 { font-size: 28px; }
  .ale-btn { font-size: 17px; }

  .ale-medios__titulo { font-size: 28px; margin-bottom: 28px; }
  .ale-notas { grid-template-columns: 1fr; gap: 16px; }

  .ale-ig { gap: 28px; padding: 40px 24px 36px; }
  .ale-ig__texto { flex: none; }
  .ale-ig .ale-h2 { font-size: 28px; }
  .ale-btn--borde { font-size: 16px; }
  .ale-ig__posts { flex: none; gap: 12px; margin-right: -24px; padding-right: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ale-ig__posts::-webkit-scrollbar { display: none; }
  .ale-post { flex: 0 0 170px; scroll-snap-align: start; }
}

/* Tablet vertical: mismas columnas apiladas, con más aire y las 3 notas en fila */
@media (min-width: 768px) and (max-width: 991.98px) {
  .ale-wrap { padding: 0 40px; }
  .ale-hero__texto, .ale-historia__texto { max-width: 620px; margin: 0 auto; width: 100%; }
  .ale-notas { grid-template-columns: repeat(3, 1fr); }
  .ale-nota h3 { font-size: 17px; }
  .ale-tedx__video { max-width: 620px; margin: 0 auto; width: 100%; }
  .ale-post { flex: 1 1 0; }
}
