/* ============================================================
   THE BANK HOTEL · Recruitment Day — Valencia 2026
   Hoja de estilos compartida (index.html + faqs.html)
   ============================================================ */

:root {
  --ink: #0e1216;          /* casi negro, fondo hero */
  --ink-soft: #161c22;
  --paper: #f4f1ea;        /* marfil cálido */
  --paper-soft: #ece8de;
  --white: #ffffff;
  --gold: #b99a5f;         /* champán / latón */
  --gold-light: #d6bf92;
  --text-dark: #23272c;
  --text-mute: #6d7176;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(14, 18, 22, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(14, 18, 22, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: block; }

.logo img {
  height: 54px;
  width: auto;
  transition: height 0.35s ease;
}

.site-header.scrolled .logo img { height: 44px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a:hover { opacity: 1; }

/* ---------- Botones ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn:hover { background: var(--gold); color: var(--ink); }

.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero video,
.hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,18,22,0.55) 0%, rgba(14,18,22,0.15) 35%, rgba(14,18,22,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin-inline: auto;
  padding: 140px 0 90px;
}

.hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(10, 13, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(214, 191, 146, 0.6);
  padding: 11px 20px;
  margin-bottom: 28px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-badge .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.06;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero p.lead {
  max-width: 56ch;
  margin-top: 22px;
  font-size: 1.06rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  animation: floaty 2.6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Sección formulario ---------- */

.section-form {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 100px 0 110px;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.form-intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
}

.form-intro h2 em { font-style: italic; color: var(--gold-light); }

.form-intro p {
  margin-top: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 44ch;
}

.form-intro .event-meta {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
}

.event-meta .meta-row { display: flex; gap: 14px; align-items: baseline; }

.event-meta .meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  min-width: 86px;
}

.form-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  padding: 44px 42px 48px;
  backdrop-filter: blur(4px);
}

.form-card .form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

.field { margin-bottom: 24px; }

.field label,
.field .field-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 9px;
}

.field label .req, .field .field-label .req { color: var(--gold-light); }

.field label.label-long {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d6bf92' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.field select option { color: var(--text-dark); background: var(--white); }

.field textarea { min-height: 110px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.35); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* radios de horario */
.choice-row { display: flex; gap: 14px; flex-wrap: wrap; }

.choice {
  position: relative;
  flex: 1 1 200px;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.choice span {
  display: block;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}

.choice input:checked + span {
  border-color: var(--gold);
  background: rgba(185, 154, 95, 0.16);
  color: var(--gold-light);
}

.choice input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* input de archivo */
.file-drop {
  border: 1px dashed rgba(214,191,146,0.45);
  background: rgba(255,255,255,0.03);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-weight: 300;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}

.file-drop:hover { border-color: var(--gold); background: rgba(255,255,255,0.06); }

.file-drop input { display: none; }

.file-drop .file-name { color: var(--gold-light); }

.file-drop small { display: block; margin-top: 6px; color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* RGPD */
.legal {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin: 30px 0 28px;
}

.legal input {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--gold);
  flex: none;
}

.legal a { color: var(--gold-light); }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  font-size: 0.9rem;
  border: 1px solid var(--gold);
  background: rgba(185,154,95,0.12);
}

.form-status.error { border-color: #c96b5f; background: rgba(201,107,95,0.12); }

.form-status.visible { display: block; }

/* ---------- Bloques cultura (claro) ---------- */

.section-culture {
  background: var(--paper);
  color: var(--text-dark);
  padding: 110px 0;
}

.section-culture .kicker,
.section-form .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  margin-top: 56px;
}

.culture-item {
  padding: 44px 36px 10px;
  border-left: 1px solid var(--line-dark);
}

.culture-item:first-child { border-left: none; padding-left: 0; }
.culture-item:last-child { padding-right: 0; }

.culture-item .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.culture-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.culture-item p {
  font-weight: 300;
  font-size: 0.97rem;
  color: #4c5157;
  margin-bottom: 14px;
}

.section-culture h2.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 22ch;
  line-height: 1.15;
}

.section-culture h2.section-title em { font-style: italic; color: var(--gold); }

/* ---------- Banda FAQ ---------- */

.faq-band {
  background: var(--ink);
  padding: 84px 0;
}

.faq-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.faq-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  max-width: 26ch;
  line-height: 1.2;
}

.faq-band h2 em { font-style: italic; color: var(--gold-light); }

.faq-band p { font-weight: 300; color: rgba(255,255,255,0.7); margin-top: 10px; max-width: 52ch; }

/* ---------- Pie ---------- */

.site-footer {
  background: #0a0d10;
  padding: 46px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Página FAQs ---------- */

.page-faqs {
  background: var(--paper);
  color: var(--text-dark);
  min-height: 100vh;
}

.faqs-hero {
  background: var(--ink);
  padding: 170px 0 80px;
  color: var(--white);
}

.faqs-hero .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.faqs-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  max-width: 24ch;
}

.faqs-hero h1 em { font-style: italic; color: var(--gold-light); }

.faqs-hero p {
  margin-top: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 62ch;
}

.faqs-body { padding: 80px 0 100px; }

.faqs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  align-items: start;
}

.faqs-index {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 4px;
}

.faqs-index a {
  text-decoration: none;
  font-size: 0.86rem;
  padding: 10px 14px;
  color: var(--text-mute);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.faqs-index a:hover { color: var(--text-dark); border-left-color: var(--gold); }

.faq-group {
  margin-bottom: 64px;
  /* Al navegar desde el índice, el título queda visible bajo la cabecera fija */
  scroll-margin-top: 120px;
}

.faq-group h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.9rem;
  margin-bottom: 8px;
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.faq-group h2 .g-num {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}

.faq-group .pending {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 18px;
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  font-weight: 400;
  font-size: 1.02rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.25s;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item .answer {
  padding: 0 0 22px;
  font-weight: 300;
  color: #4c5157;
  max-width: 68ch;
}

.faqs-cta {
  margin-top: 30px;
  border-top: 1px solid var(--line-dark);
  padding-top: 48px;
  text-align: center;
}

.faqs-cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .culture-grid { grid-template-columns: 1fr; border-top: none; margin-top: 30px; }
  .culture-item {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    padding: 36px 0 6px;
  }
  .culture-item:first-child { border-top: 1px solid var(--line-dark); }
  .faqs-layout { grid-template-columns: 1fr; gap: 40px; }
  .faqs-index { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-badge { font-size: 0.68rem; letter-spacing: 0.2em; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 22px 36px; }
  .nav a.nav-link-plain { display: none; }
  .hero-content { padding-bottom: 110px; }
  .faqs-index { grid-template-columns: 1fr; }
}
