/*
Theme Name: Alejo Yepes Hub
Theme URI: https://alejoyepes.oveler.com
Author: Jörg
Version: 1.0
Text Domain: alejo-hub
Description: Eine einzige mobile Hub-Seite für Alejo Yepes. Alles statisch im Template.
*/

:root {
  --carbon: #131210;
  --papel: #F2EBDD;
  --oro-lobo: #D4A72C;
  --oro-sombra: #8C6D1F;
  --humo: #7A7264;
  --vela-verde: #2E6B4F;
  --vela-roja: #8E3A2D;
}

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin.woff2') format('woff2');
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--carbon);
  color: var(--papel);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

/* Identidad */
.identidad {
  position: relative;
  margin-bottom: 32px;
}

.identidad-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.portrait-frame {
  width: 160px;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--oro-sombra);
  overflow: hidden;
  flex-shrink: 0;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 12%;
}

.identidad-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.identidad h1 {
  font-family: 'Fraunces', Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
  font-variation-settings: 'opsz' 96, 'wght' 700;
  margin: 0;
  color: var(--papel);
}

.identidad-claim {
  font-size: 16px;
  line-height: 1.45;
  color: var(--papel);
  margin: 0;
}

.identidad-meta {
  font-size: 13px;
  line-height: 1.4;
  color: var(--humo);
  margin: 0;
}

/* Chart-Linie */
.chart-line {
  position: absolute;
  left: -24px;
  right: -24px;
  top: 50%;
  height: 1px;
  background: var(--oro-lobo);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* CTA */
.cta {
  position: relative;
  margin-bottom: 48px;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.whatsapp-button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--oro-lobo);
  color: var(--carbon);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp-button:hover,
.whatsapp-button:focus {
  background: var(--oro-sombra);
  color: var(--papel);
}

.whatsapp-button:focus {
  outline: 2px solid var(--papel);
  outline-offset: 2px;
}

.button-sub {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--humo);
  text-align: center;
}

.cta .chart-break {
  position: absolute;
  left: 60%;
  bottom: 100%;
  width: 1px;
  height: 60px;
  background: var(--oro-lobo);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.cta .chart-break::after {
  content: '';
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--oro-lobo);
}

/* En vivo */
.en-vivo {
  margin-bottom: 48px;
}

.en-vivo h2 {
  font-family: 'Fraunces', Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  font-variation-settings: 'opsz' 72, 'wght' 600;
  margin: 0 0 16px;
  color: var(--papel);
}

.live-teaser {
  position: relative;
  background: var(--carbon);
  border: 1px solid var(--oro-sombra);
  padding: 32px 24px;
  overflow: hidden;
}

.live-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/wolf.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.live-teaser p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--papel);
}

.live-teaser p:last-child {
  margin-bottom: 0;
}

.live-teaser .whatsapp-text {
  color: var(--oro-lobo);
  text-decoration: underline;
  text-decoration-color: var(--oro-sombra);
  text-underline-offset: 3px;
}

.live-teaser .whatsapp-text:hover,
.live-teaser .whatsapp-text:focus {
  color: var(--papel);
}

/* Canales */
.canales {
  margin-bottom: 48px;
}

.canales-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.canales-list li {
  border-top: 1px solid var(--oro-sombra);
}

.canales-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--papel);
}

.canales-list a:hover,
.canales-list a:focus {
  color: var(--oro-lobo);
}

.canales-list .label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.canales-list .arrow {
  color: var(--humo);
  font-size: 14px;
}

/* Programa */
.programa {
  margin-bottom: 48px;
}

.vela-signet {
  display: block;
  margin: 0 0 20px;
}

.programa-link {
  display: inline;
  font-size: 16px;
  line-height: 1.5;
  color: var(--papel);
  text-decoration: underline;
  text-decoration-color: var(--oro-sombra);
  text-underline-offset: 3px;
}

.programa-link:hover,
.programa-link:focus {
  color: var(--oro-lobo);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--oro-sombra);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--humo);
}

.footer-wolf {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--oro-sombra);
  object-fit: cover;
  flex-shrink: 0;
}

/* Desktop */
@media (min-width: 600px) {
  .site-wrap {
    padding: 48px 32px 80px;
  }

  .identidad-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
  }

  .portrait-frame {
    width: 220px;
  }

  .identidad h1 {
    font-size: 64px;
  }

  .identidad-claim {
    font-size: 18px;
  }

  .whatsapp-button {
    width: auto;
    display: inline-block;
    min-width: 340px;
  }

  .button-sub {
    text-align: left;
  }

  .chart-line {
    left: -32px;
    right: -32px;
  }
}

@media (min-width: 720px) {
  .identidad h1 {
    font-size: 72px;
  }
}
