/* Pantalla de TV 1920×1080 en modo claro, colores y tipografías de la guía del huésped del Summum. app.js escala .stage si la tele usa otra resolución.
   Colores escritos a mano: las teles Tizen antiguas (Chromium 47) no admiten variables CSS. */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f6f1e8;
  color: #2a241e;
  font-family: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.app {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  background-color: #f6f1e8;
  /* Debajo de las fotos (.bg): ilustración de Palma y degradado cálido, por si una foto no carga. */
  background-image: url('../img/fondo-palma.svg'),
    linear-gradient(160deg, #fbf8f3 0%, #f6f1e8 55%, #efe6d8 100%);
  background-size: 1920px 1080px, cover;
  background-repeat: no-repeat;
}

/* Foto de la pantalla (patio en el inicio, una por sección) con velo claro para leer el texto. */
.bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(246, 241, 232, 0.96) 0%, rgba(246, 241, 232, 0.82) 50%, rgba(246, 241, 232, 0.35) 100%);
}

.screen {
  position: absolute;
  left: 96px;
  right: 96px;
  top: 54px;
  bottom: 54px;
}

.serif { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; }

/* Cabecera */
.top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
}
.brand { position: absolute; left: 0; top: 0; height: 110px; }
.brand img { width: 92px; height: 92px; position: absolute; left: 0; top: 9px; }
.brand-text { position: absolute; left: 108px; top: 14px; white-space: nowrap; }
.brand-name { font-size: 52px; line-height: 56px; letter-spacing: 6px; color: #7d5a22; font-weight: 600; }
.brand-tag { font-size: 28px; line-height: 32px; color: #5e5246; letter-spacing: 2px; }

.status { position: absolute; right: 0; top: 18px; height: 74px; white-space: nowrap; }
.status > * { display: inline-block; vertical-align: middle; }
.time { font-size: 48px; font-weight: 400; margin-right: 28px; color: #2a241e; }
.weather { font-size: 34px; color: #2a241e; margin-right: 36px; }
.weather.is-hidden { display: none; }
.weather svg { width: 40px; height: 40px; vertical-align: -6px; color: #7d5a22; }

.langs > * { display: inline-block; }
.lang {
  font-size: 28px;
  line-height: 56px;
  width: 84px;
  text-align: center;
  margin-left: 12px;
  border-radius: 28px;
  border: 2px solid rgba(125, 90, 34, 0.35);
  color: #5e5246;
  background: rgba(255, 255, 255, 0.6);
}
.lang.is-active { background: #7d5a22; border-color: #7d5a22; color: #fff; }

/* Elementos enfocables */
.focusable {
  -webkit-transition: -webkit-transform 150ms ease-out, opacity 150ms ease-out;
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}
.focusable.is-focused {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
  box-shadow: 0 0 0 4px #a07f52, 0 18px 40px rgba(90, 64, 24, 0.22);
}

/* Inicio */
.welcome { position: absolute; left: 0; top: 230px; }
.welcome h1 { margin: 0; font-size: 104px; line-height: 112px; font-weight: 400; color: #2a241e; }
.welcome p { margin: 18px 0 0; font-size: 34px; color: #5e5246; }

.cards { position: absolute; left: 0; right: 0; bottom: 110px; height: 330px; white-space: nowrap; }
.card {
  display: inline-block;
  vertical-align: top;
  width: 262px;
  height: 310px;
  margin-right: 23px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(125, 90, 34, 0.18);
  box-shadow: 0 8px 24px rgba(90, 64, 24, 0.08);
  position: relative;
  white-space: normal;
}
.card:last-child { margin-right: 0; }
.card.is-focused { background: #fffaf0; }
.card-icon { position: absolute; left: 95px; top: 44px; width: 72px; height: 72px; color: #a07f52; }
.card-photo {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 168px;
  border-radius: 20px 20px 0 0;
  background-size: cover;
  background-position: center;
}
.card-icon svg { width: 72px; height: 72px; }
.card-title { position: absolute; left: 28px; right: 20px; bottom: 26px; font-size: 40px; line-height: 44px; font-weight: 600; color: #2a241e; }

/* Sección */
.section-head { position: absolute; left: 0; right: 0; top: 140px; }
.section-title { margin: 0; font-size: 72px; line-height: 80px; font-weight: 400; color: #2a241e; }
.section-hint { position: absolute; right: 0; top: 22px; font-size: 28px; line-height: 48px; padding: 0 24px; border-radius: 24px; color: #5e5246; background: rgba(251, 248, 242, 0.9); }

.list {
  position: absolute;
  left: 0;
  top: 250px;
  bottom: 90px;
  width: 540px;
  margin: 0;
  padding: 10px 16px;
  box-sizing: border-box;
  list-style: none;
  overflow: hidden;
}
.list-item {
  font-size: 30px;
  line-height: 36px;
  padding: 10px 24px;
  margin-bottom: 6px;
  border-radius: 12px;
  color: #5e5246;
}
.list-item.is-selected { color: #2a241e; background: rgba(255, 255, 255, 0.6); }
.list-item.is-focused { background: #fffaf0; color: #2a241e; }

.detail {
  position: absolute;
  left: 600px;
  right: 0;
  top: 260px;
  bottom: 90px;
  padding: 36px 48px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(125, 90, 34, 0.18);
  box-shadow: 0 8px 24px rgba(90, 64, 24, 0.08);
  overflow: hidden;
  color: #2a241e;
}
.detail h2 { margin: 0 0 22px; font-size: 52px; line-height: 58px; font-weight: 600; color: #7d5a22; }
.detail p { margin: 0; font-size: 34px; line-height: 48px; }
.detail ul { margin: 0; padding: 0 0 0 30px; font-size: 30px; line-height: 42px; }
.detail ul.many { -webkit-column-count: 2; column-count: 2; -webkit-column-gap: 56px; column-gap: 56px; }
.detail li { margin-bottom: 8px; -webkit-column-break-inside: avoid; break-inside: avoid; }

/* Franja inferior */
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  line-height: 60px;
  font-size: 30px;
  color: #2a241e;
  padding: 0 24px;
  border-radius: 14px;
  background: rgba(251, 248, 242, 0.9);
  white-space: nowrap;
  overflow: hidden;
}
.footer strong { color: #7d5a22; font-weight: 600; }

/* Respaldo */
.fallback .welcome h1 { font-size: 88px; line-height: 100px; }
.fallback .welcome p { font-size: 32px; line-height: 46px; }
