/* Fuentes servidas desde aquí (latin, que cubre el español): sin esperar a Google Fonts. Licencia OFL. */
@font-face {
  font-family: 'Big Shoulders Display';
  font-weight: 100 900;
  font-display: swap;
  src: url(/en/demo/fonts/big-shoulders-display.woff2) format('woff2');
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-weight: 400 900;
  font-display: swap;
  src: url(/en/demo/fonts/schibsted-grotesk.woff2) format('woff2');
}

:root {
  /* Identidad Chairfy (negro + naranja). Nombres heredados: verde = acción, latao = acento. */
  --verde: #ff5a2c;
  --verde-escuro: #d9431a;
  --verde-claro: #ffe6dd;
  --latao: #ff5a2c;
  --latao-escuro: #c73d14;
  --latao-claro: #ffe6dd;
  --papel: #f6f3ee;
  --branco: #ffffff;
  --tinta: #141413;
  --cinza: #5b5b57;
  --cinza-claro: #a3a29d;
  --linha: #e0dbd2;
  --vinho: #b4232a;
  --vinho-claro: #fbe3e3;
  --azul-poste: #111111;
  --poste-branco: #ff5a2c;
  /* roles: el tema (/tema.css) sobrescribe estos valores */
  --marca: #111111;
  --sobre-marca: #ffffff;
  --sobre-verde: #160904;
  --sobre-latao: #160904;
  --linha-fraca: #ece8e1;

  --display: 'Schibsted Grotesk', system-ui, sans-serif;
  --texto: 'Schibsted Grotesk', system-ui, sans-serif;

  --poste: linear-gradient(var(--latao), var(--latao));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--papel);
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--latao);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--verde);
  color: var(--sobre-verde);
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s,
    transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

.btn:hover {
  background: var(--verde-escuro);
}

.btn:disabled {
  background: var(--linha);
  color: var(--cinza-claro);
  cursor: not-allowed;
}

.btn-sec {
  background: transparent;
  color: var(--verde);
  box-shadow: inset 0 0 0 1.5px var(--verde);
}

.btn-sec:hover {
  background: var(--verde-claro);
}

.campo {
  display: block;
  margin-bottom: 18px;
}

.campo span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.campo input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--linha);
  border-radius: 10px;
  background: var(--branco);
  font-size: 17px;
}

.campo input:focus {
  outline: none;
  border-color: var(--verde);
}

.campo small {
  display: block;
  margin-top: 6px;
  color: var(--cinza);
  font-size: 13px;
}

.erro {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--vinho-claro);
  color: var(--vinho);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Foto en lugar de la inicial, en cualquier avatar */
.avatar {
  overflow: hidden;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
