/* =====================================================================
   3 GARRAFAS NEVERÍA — trabaja.css
   Estilos exclusivos de "Trabaja en 3 Garrafas"
   ===================================================================== */

.page-trabaja { padding-top: 106px; }

.tra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px 15px 26px;
  border: none;
  border-radius: 100px;
  font-family: 'Grift', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .3s ease, background-color .2s ease;
  white-space: nowrap;
}
.tra-btn--primary { background: #6b4023; color: #fcf1d8; }
.tra-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(107,64,35,0.55); }
.tra-btn--ghost {
  background: transparent;
  color: #6b4023;
  border: 2px solid #6b4023;
}
.tra-btn--ghost:hover { background: #6b4023; color: #fcf1d8; transform: translateY(-2px); }
.tra-btn--submit { padding: 17px 28px 17px 32px; font-size: 15px; align-self: flex-start; margin-top: 8px; }
.tra-btn--wa {
  background: #25d366;
  color: #fff;
  padding: 17px 30px 17px 34px;
  font-size: 15px;
}
.tra-btn--wa:hover { transform: translateY(-2px); background: #22c05c; box-shadow: 0 14px 28px -10px rgba(37,211,102,0.5); }
.tra-btn-arrow {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #ffd400;
  color: #6b4023;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tra-btn:hover .tra-btn-arrow { transform: translateX(2px) rotate(-12deg); }

/* ═════ HERO ═════ */
.tra-hero {
  background: #fce0e5;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.tra-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.tra-hero-content { max-width: 520px; }
.tra-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6b4023;
  margin: 0 0 22px;
}
.tra-hero-eyebrow-dots {
  display: inline-flex;
  gap: 3px;
}
.tra-hero-eyebrow-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.tra-hero-eyebrow-dots span:nth-child(1) { background: #ffd400; }
.tra-hero-eyebrow-dots span:nth-child(2) { background: #5448dd; }
.tra-hero-eyebrow-dots span:nth-child(3) { background: #e95068; }

.tra-hero-title {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(52px, 8vw, 90px);
  line-height: 0.92;
  letter-spacing: -1.5px;
  color: #6b4023;
  margin: 0 0 24px;
}
.tra-hero-sub {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #6b4023;
  opacity: 0.9;
  margin: 0 0 32px;
}
.tra-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tra-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tra-hero-visual img,
.tra-hero-visual svg {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.tra-hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tra-decor-dot { position: absolute; border-radius: 50%; }
.tra-decor-dot--1 { width: 10px; height: 10px; top: 12%; left: 5%; background: #6b4023; }
.tra-decor-dot--2 { width: 14px; height: 14px; top: 28%; right: 8%; background: #c22962; }
.tra-decor-dot--3 { width: 8px; height: 8px; bottom: 20%; left: 12%; background: #3d33a8; }
.tra-decor-dot--4 { width: 12px; height: 12px; bottom: 15%; right: 5%; background: #6b4023; }

/* ═════ SECTION HEADERS ═════ */
.tra-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.tra-eyebrow {
  display: inline-block;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #e95068;
  margin: 0 0 14px;
}
.tra-eyebrow--onyellow { color: #6b4023; }
.tra-eyebrow--oncafe { color: #ffd400; }
.tra-section-title {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1;
  letter-spacing: -1px;
  color: #6b4023;
  margin: 0 0 18px;
}
.tra-section-title--sm { font-size: clamp(32px, 4vw, 44px); }
.tra-section-sub {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #6b4023;
  opacity: 0.8;
  margin: 0;
}
.tra-req { color: #e95068; }

/* ═════ POR QUÉ 3 GARRAFAS (fondo amarillo) ═════ */
.tra-porque {
  background: #ffd400;
  padding: 90px 0;
}
.tra-porque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tra-porque-card {
  padding: 32px 24px;
  background: #fcf1d8;
  border-radius: 18px;
  border: 2px solid #6b4023;
  text-align: center;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease;
}
.tra-porque-card:hover {
  transform: translateY(-6px);
  box-shadow: 6px 6px 0 #6b4023;
}
.tra-porque-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid #6b4023;
}
.tra-porque-card h3 {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.3px;
  color: #6b4023;
  margin: 0 0 10px;
}
.tra-porque-card p {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6b4023;
  opacity: 0.8;
  margin: 0;
}

/* ═════ VACANTES ═════ */
.tra-vacantes {
  background: #fcf1d8;
  padding: 90px 0;
}
.tra-vacantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.tra-vacante-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border-top: 6px solid #5448dd;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.tra-vacante-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(107,64,35,0.3);
}
.tra-vacante-header { margin-bottom: 16px; }
.tra-vacante-card h3 {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.4px;
  color: #6b4023;
  margin: 0 0 12px;
}
.tra-vacante-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tra-vacante-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #fcf1d8;
  border-radius: 100px;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #6b4023;
}
.tra-vacante-desc {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6b4023;
  opacity: 0.85;
  margin: 0 0 20px;
  flex: 1;
}
.tra-vacante-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #5448dd;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: gap .25s ease;
  align-self: flex-start;
}
.tra-vacante-cta:hover { gap: 14px; }
.tra-vacante-cta .tra-btn-arrow {
  width: 22px; height: 22px;
  background: #5448dd;
  color: #ffd400;
}

/* Placeholder cuando no hay vacantes */
.tra-vacantes-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  border: 2px dashed #6b4023;
}
.tra-vacantes-empty-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #ffe066;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.tra-vacantes-empty h3 {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: #6b4023;
  margin: 0 0 12px;
}
.tra-vacantes-empty p {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #6b4023;
  opacity: 0.8;
  margin: 0 0 26px;
}

/* ═════ FORMULARIO POSTULACIÓN ═════ */
.tra-form-section {
  background: #ede0f7;
  padding: 90px 0;
}
.tra-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: #fcf1d8;
  padding: 44px 44px 40px;
  border-radius: 24px;
}
.tra-form-header { text-align: center; margin-bottom: 32px; }
.tra-form-header .tra-section-title,
.tra-form-header .tra-section-sub { text-align: center; }
.tra-form { display: flex; flex-direction: column; gap: 20px; }
.tra-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tra-form-row:has(.tra-field--sm) { grid-template-columns: 2fr 1fr; }
.tra-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tra-label {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #6b4023;
  letter-spacing: 0.3px;
}
.tra-field input,
.tra-field textarea,
.tra-field select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #6b4023;
  border-radius: 10px;
  background: #fff;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 15px;
  color: #6b4023;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tra-field input:focus,
.tra-field textarea:focus,
.tra-field select:focus {
  outline: none;
  border-color: #5448dd;
  box-shadow: 0 0 0 3px rgba(84,72,221,0.15);
}
.tra-field textarea { resize: vertical; min-height: 90px; }
.tra-select-wrap { position: relative; }
.tra-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.tra-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b4023;
  pointer-events: none;
}
.tra-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 14px;
  color: #6b4023;
  line-height: 1.4;
  cursor: pointer;
}
.tra-checkbox input {
  margin-top: 3px;
  accent-color: #5448dd;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.tra-checkbox a { color: #5448dd; font-weight: 700; }

/* Upload CV custom */
.tra-field--file .tra-label { margin-bottom: 4px; }
.tra-file-drop {
  position: relative;
  display: block;
  padding: 32px 24px;
  background: #fff;
  border: 2px dashed #6b4023;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.tra-file-drop:hover,
.tra-file-drop.is-dragover {
  background: #fef4c8;
  border-color: #5448dd;
  transform: translateY(-2px);
}
.tra-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.tra-file-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.tra-file-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #ffe066;
  color: #6b4023;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tra-file-text { display: flex; flex-direction: column; gap: 2px; }
.tra-file-primary {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #6b4023;
}
.tra-file-hint {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 12px;
  color: #6b4023;
  opacity: 0.6;
  letter-spacing: 0.3px;
}
.tra-file-drop.has-file .tra-file-icon {
  background: #5448dd;
  color: #ffd400;
}
.tra-file-drop.has-file .tra-file-primary { color: #5448dd; }

.tra-form-status {
  margin-top: 8px;
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 14px;
  min-height: 24px;
}
.tra-form-status.is-success { color: #2a8a4a; font-weight: 700; }
.tra-form-status.is-error   { color: #c22962; font-weight: 700; }

/* ═════ CTA FINAL ═════ */
.tra-cta-final {
  background: #6b4023;
  padding: 90px 0;
  color: #fcf1d8;
}
.tra-cta-inner { display: flex; justify-content: center; text-align: center; }
.tra-cta-content { max-width: 620px; }
.tra-cta-title {
  font-family: 'MidcentDisco', 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1;
  letter-spacing: -1px;
  color: #ffd400;
  margin: 0 0 16px;
}
.tra-cta-sub {
  font-family: 'Grift', 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #fcf1d8;
  opacity: 0.9;
  margin: 0 0 32px;
}

/* ═════ RESPONSIVE ═════ */
@media (max-width: 960px) {
  .tra-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .tra-hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .tra-porque-grid { grid-template-columns: repeat(2, 1fr); }
  .tra-form-row { grid-template-columns: 1fr; gap: 16px; }
  .tra-form-row:has(.tra-field--sm) { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-trabaja { padding-top: 88px; }
  .tra-hero { padding: 40px 0 60px; }
  .tra-porque, .tra-vacantes, .tra-form-section, .tra-cta-final { padding: 70px 0; }
  .tra-porque-grid { grid-template-columns: 1fr; }
  .tra-form-wrap { padding: 32px 24px 30px; }
  .tra-section-header { margin-bottom: 40px; }
  .tra-vacantes-empty { padding: 44px 24px; }
  .tra-hero-ctas { flex-direction: column; align-items: stretch; }
  .tra-hero-ctas .tra-btn { justify-content: center; }
  .tra-file-drop { padding: 24px 18px; }
  .tra-file-icon { width: 42px; height: 42px; }
}
